[Bug]: "Channel size too big" error can occur on the TRANSFER TO SPENDING page

Describe the bug
"Channel size too big" error can occur on the TRANSFER TO SPENDING value input page. I suspect this is only when max is selected and Blocktanks maximum changes. Seeing the whole capacity value in the error isn't useful to the user as they only have control of the spending balance here. We could reset the max or improve the error when this occurs.
Reproduce

Go to transfer from savings to spending
On the TRANSFER TO SPENDING value input page, select max value
Wait a while for exchange price to change in the backend
Try to proceed
Observe "Channel size too big" error

Screenshots / Recording
https://github.com/user-attachments/assets/24dbcfb0-e5bf-45fc-b39e-b87e8e538696
Operating system
Android 13 TKQ1.221114.001
Bitkit version
v1.0.4 6404b079a1dd23f079515b3d7a14865baf959914
Log output
No response

Fixed here by adding a 10% buffer to account for fluctuations while making the order.

Fixed https://github.com/synonymdev/bitkit/pull/2197 by adding a 10% buffer to account for fluctuations while making the order.

I appreciate this will almost always avoid this issue, but 10% is quite a big sacrifice for a scenario that most will never encounter.
It may also be causing this problem when I select Max and get an error (need to test with other balances)

Tried again just now and got a different error. Would be good to try this more and see if it is related to this or a new issue.

Tested on 1.0.6 (138)
10% has been applied, unable to reproduce issue.


Detect touch in card game

I was wondering how to detect touch for each individual card? I tried adding a getBoundingRectangle method to the Card class but failed ..Kindly give us a hint

https://github.com/libgdx/libgdx/wiki/Issue-Tracker


add override at code to solve compile error

Hey @codev911 Thanks for the PR!
The error you are encountering are because of the compiler version you are using. Since solidity version 0.8.8 a contract inheriting a function defined in a single inherited interface won't need the override keyword. It's the case for execute and setData. Check here first point.
I suggest you use a compiler version starting or higher than 0.8.8 so the code can compile successfully.
We might want to switch our pragma to start from 0.8.8 but that's an internal discussion we will have soon.

@codev911 Can you try to clone the repo and try to compile it?

@codev911 thanks for pointing this out. That's a good thing to have flagged.
I will merge your PR so that the contracts can be compiled with solc version older than 0.8.8.
Regarding this

@YamenMerhi i have try at latest compiler 0.8.17 at remix and got the error of override, and test it at hardhat

I have tried compiling with 0.8.17 earlier and it compiled successfully on my side.


Fixed issue that prevented FMS authentication with OBS Studio

The FMS authentication available at https://github.com/marinalohova/red5-example/blob/master/authdemo/src/org/red5/demo/auth/FMSAuthenticationHandler.java
did not work with OBS Studio because of the issue corrected below.

I'll have to look a bit closer at this when I can. Thanks for your submission.

Any updates on this? haven't seen any activity since beginning of Dec last year.


Guetzli doesn't seem to respect PNG color profiles

I don't know whether this is a problem with Guetzli, but I thought I'd report it.
The attached PNG looks very different when its embedded color profile is respected, but Guetzli doesn't seem to respect it or include it (or any metadata) in the JPEG produced.

The resulting JPEG looks dark and drab... the color has shifted because the color data was assumed to be something (sRGB?) instead of being treated as the ProPhotoRBG that it is.
One could just copy the color profile over to the resulting JPEG, but since Guetzli takes into account human perception, one would assume that it should analyze the proper colors to begin with, so it should apply the color profile before actually inspecting the colors as data.....

That's correct, we do assume sRGB. We have seen incorrect/broken PNG gAMA and JFIF ICC profiles, so interpreting them might be counterproductive. For the moment we've left it up to the user (who knows best what the inputs actually are) to convert to a known color space, i.e. sRGB.

How would implementing alternate color spaces work? Would it be possible to access the system color profiles by name? If so, (this would probably quite a bit of work) it might be possible to choose a color space with a parameter like --colorspace ProPhotoRGB

To add to what @jan-wassenberg said, the behaviour of image viewers is inconsistent here. Many browsers and desktop image viewers ignore color profiles in JPEG files. Some others (notably Preview on Mac) do take them into account.
@Smilebags That depends on whether we are considering color spaces close to SRGB, or very far from it. For spaces close to SRGB that would involve transforming to SRGB when we call Butteraugli. For spaces that are far away from SRGB, it would also involve retuning and/or modifying the coefficient importance heuristics.

One more important thing to note is that JPEG has highest color precision in sRGB.
Any larger profile requires more than 8 bits of precision. While JPEG theoretically supports 12-bit mode, in practice all viewers support only 8-bit mode. So you either have to use sRGB or you will have lower quality image with posterization caused by stretching of values to fit the large color space. ProPhoto is especially terrible choice for 8-bit image formats.

Thanks for the reply @jan-wassenberg.  If sRGB is assumed regardless of a specific indication otherwise, it might perhaps be good to at least mention it in the docs. Better still would be to recognize it and throw an error, to remind the user who might have forgotten to convert to sRGB.
@Smilebags (greatname), color profiles are included in the image, or (for two common, specific known color spaces) referenced by flags.  This introduction to digital-image color spaces that I wrote 10 years ago still explains it well: http://regex.info/blog/photo-tech/color-spaces-page1
@robryk, it's true that not all software respects color profiles, but these days it's fair to say that most does. In any case, we're not talking about random software here, but software that specifically concerns itself with the perception of color, and of the visual quality of the result (not to mention that it's software from Google, which sets the bar high to begin with).
@pornel, I'm not sure what to make of "JPEG has highest color precision in sRGB", since at face value it's not true (One can certainly make a color space that describes fewer colors, thereby describing those it handles with more precision, which is great if all the image's colors can be represented). In any case, if an image contains colors that sRGB can not even describe, but ProPhotoRGB can, then ProPhotoRGB is anything but "terrible", so I don't understand the basis of your statements.  I think you overestimate the effect of the larger color space here; indeed, for colors that both can describe, sRGB is slightly more precise, but I don't think it's possible to come up with an example image where the difference is expressed in "posterization" that a human can perceive. However, interpreting color data in a different space than it was created can be obviously manifest, as the example image I attached in the initial post demonstrates.

Great post, very informative. I'll do a test to see how much difference it'll make and post the results. Between sRGB and ProPhoto. The other thing is potential 16bit input support?

@pornel @jeffrey-friedlI understand both your points and ultimately agree with

but I don't think it's possible to come up with an example image where the difference is expressed in "posterization" that a human can perceive. However, interpreting color data in a different space than it was created can be obviously manifest, as the example image I attached in the initial post demonstrates.

...but ultimately compression takes place as a final step in image-delivery workflow and thus is in 99% of the cases bound to sRGB for the same reason you describe, any other color-space can easily ruin the image during conversion at the clients side
so I think resources are better spend on improving speed first, then improving speed and then worrying about color profiles

The issue is not about the limits of sRGB. The problem is with an incorrect mapping of colours. Colours can look way off if the colour profile is not respected. Sadly there is a lot of software which ignores colour profiles entirely.
I think we can all agree that the best output colour space is sRGB, since the primary use of this will be high quality images on the web, but being able to respect and use the input image's colour profile would be beneficial.

@Smilebags  sums it up well...  respecting profiles is nice if you can do it, but in the end sRGB makes the most sense for the vast majority of use cases.  I'd just like to suggest that if sRGB is assumed, it be documented, or better yet, warn/die if non-sRGB is detected.

I've tried Guetzli for the first time and I'm still evaluating the difference in image quality and filesize. Not having the ability to set a profile is problematic. I've used a colorsync script to embed sRGB after the process but don't know if the script is re-compressing the file. Wish the image process would leave metadata and profile in place.

@jgrande35 Do I understand correctly that you are fine with the input and output being sRGB, but you want the output to contain an explicit sRGB color profile?
If so, could you say something more about the usecase? To the best of my knowledge JPEGs without an explicit color profile should always be assumed to use the sRGB color profile.

Hi Robryk, I want to keep the profile I embedded in the png prior to jpg processing. I'd rather use AdobeRGB, but sRGB is the web standard. So my workaround is to use a colorsync script to embed the profile post-jpg. Is there a way to keep Guetzli from stripping out the png's profile? Thanks.

so you want to keep the Adobe profile and then after compressing the file you want to convert from Adobe to sRGB?
Maybe convert first and the issue is solved (at least as a workaround)

@robryk , the bit about "assume sRGB if there's no profile" thing is a common practice borne out of practicality, but is certainly not any kind of "standard".
I don't know Google's intention in releasing this software, but it seems perfectly reasonable to say "it's a back-end tool built to demonstrate the library; the tool converts sRGB pixels", leaving any color conversion or profile handling to other parts of a pipeline a developer might set up.
That being said, it's easy enough to mark the output as sRGB (it can be marked as sRGB by reference via an Exif tag), but such a thing should never be done unless you know for certain that the input is sRGB. Incorrect data is worse than no data.


Problem about tf.data.Dataset.from_sparse_tensor_slices

Please go to Stack Overflow for help and support:
https://stackoverflow.com/questions/tagged/tensorflow
If you open a GitHub issue, here is our policy:

It must be a bug or a feature request.
The form below must be filled out.
It shouldn't be a TensorBoard issue. Those go here.

Here's why we have that policy: TensorFlow developers respond to issues. We want to focus on work that benefits the whole community, e.g., fixing bugs and adding features. Support only helps individuals. GitHub also notifies thousands of people when issues are filed. We want them to see you communicating an interesting problem, rather than being redirected to Stack Overflow.

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):No
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):Win10
TensorFlow installed from (source or binary):source
TensorFlow version (use command below):1.4
Python version: 3.52
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:8.0,6.46
GPU model and memory:2GB
Exact command to reproduce:

You can collect some of this information using our environment capture script:
https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh
You can obtain the TensorFlow version with
python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
Describe the problem
I used the tf.data.Dataset.from_sparse_tensor_slices to built a dataset. But the website has no enought information.
Here's my code
    point_cloud_feature_dataset = tf.data.Dataset.from_sparse_tensor_slices(sparse_feature)     point_cloud_feature_dataset = point_cloud_feature_dataset.shuffle(buffer_size = 100000)     point_cloud_feature_dataset = point_cloud_feature_dataset.batch(batch_size = BATCH_SIZE)     point_cloud_feature_dataset = point_cloud_feature_dataset.repeat()     iterator_feature = point_cloud_feature_dataset.make_one_shot_iterator()
when I called the iterator_feature.get_nest(). It return 3 Tensors of shape [none,none,1]. Instead of a SparseTensor.  The input Sparse Tensor of dataset has a shape of [1000000,300000]. Each row is a example. I hope talents can replenish the Doc. Thanks!!
Source code / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached. Try to provide a reproducible test case that is the bare minimum necessary to generate the problem.

Could you elaborate a little bit more on what the problem is? Are you in a position to send a PR with more explanations?
/CC @mrry

OK. thanks for your respond.
As the code I copy. When I call the iterator_feature.get_next(), it return (,,)
Are they represent the element's position,value and dense shape? I guess they are. I mean you could specific them. So that we can use the lib more convinient.

In TensorFlow 1.5, we'll deprecate tf.data.Dataset.from_sparse_tensor_slices() and fold its behavior into tf.data.Dataset.from_tensor_slices(): you'll be able to use a tf.SparseTensor in place of a tf.Tensor in that API (and many more), and it will work better with batching etc. You can try this out by installing the tf-nightly PIP package, or building from source. You'll be able to write:
point_cloud_feature_dataset = tf.data.Dataset.from_tensor_slices(sparse_feature)
point_cloud_feature_dataset = point_cloud_feature_dataset.shuffle(buffer_size = 100000)
point_cloud_feature_dataset = point_cloud_feature_dataset.batch(batch_size = BATCH_SIZE)
point_cloud_feature_dataset = point_cloud_feature_dataset.repeat()
iterator_feature = point_cloud_feature_dataset.make_one_shot_iterator()

For your current code, the Dataset.from_sparse_tensor_slices() source yields three tensors, representing the indices, values, and dense_shape of a sparse tensor. However, the batching will be incorrect, because it will apply to the indices, values, and dense_shape separately, and the resulting output of the iterator might not be a valid tf.SparseTensor.

Thanks for your help. Now, SparseTensor can be put into the model easily.  But I got other bug like "index out of other" and "index repeat". I think I can fix it. And doesn't the tf-nightly have GPU-version.?It is a little bit slow....

There's a tf-nightly-gpu package that includes the GPU build.

I have try the GPU version,  but the tf.data.Dataset.from_tensor_slices method doesn't support the sparse tensor. Will it be updated?

Ah, I assume you are running on Windows? It doesn't look like the packages are pushed to PyPI, but you can directly install the packages from these URLs:

Python 3.5: https://ci.tensorflow.org/view/tf-nightly/job/tf-nightly-windows/M=windows-gpu,PY=35/lastSuccessfulBuild/artifact/cmake_build/tf_python/dist/tf_nightly_gpu-1.5.0.dev20171120-cp35-cp35m-win_amd64.whl
Python 3.6: http://ci.tensorflow.org/view/tf-nightly/job/tf-nightly-windows/M=windows-gpu,PY=36/lastSuccessfulBuild/artifact/cmake_build/tf_python/dist/tf_nightly_gpu-1.5.0.dev20171120-cp36-cp36m-win_amd64.whl

thanks! I have solved the problem by writing a custom input function. I will try it later.

When I tried to open URLs. It failed because of not found. And I have searched the website,but didn't found it.

Does it be closed?
@mrry

Hmm, it looks like the Windows GPU Nightly is no longer being built. (I seem to recall that that build was taking a very long time, so maybe it was timing out or otherwise failing—does that sound right, @av8ramit?)

@mrry yes we had disabled the nightly windows build because of CUDA issues. I'll try and fix this.

http://ci.tensorflow.org/view/tf-nightly/job/tf-nightly-windows/M=windows-gpu,PY=35/

I work very well! Thanks! But this install pkg looks like doesn't include tensorboard.. I didn't find tensorboard.exe in Scripts. So I can't open it by CMD. Is there any other way to open tensorboard?


need some sample for integration of redis or mongo in test project for custom implementation of ISagaStateRepository

need some sample for integration of redis or mongo in test project for custom implementation of ISagaStateRepository

try implementing this code.
Should work perfectly fine.


TITLE MENU PROBLEM

Describe your problem here.
First of all, i wanna change the beat hit of the title screen but i don't find the part where the code is, can someone tell me where is it?
What i've meant with that is by changing how fast the GF dance title moves and the same with the logo
And i don't think u can make this on Lua, if someone achieves to do it in Lua, can he pass the script?
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
nope

gfDanceTitle.json

in gfDanceTitle.json
you can change the bpm there

bruh im so dumb, thank you guys


Add DisptachedTupleSet, bump version

This PR adds DispatchedTupleSet, and subtypes a newly added AbstractDispatchedTuple. DispatchedTupleSet's require unique keys and return values instead of tuples of values.

bors r+


implemented fix for groupby date bug, #11324

This is a fix for issue #11324 in which grouping when datetime fields are involved raises an exceptoin

pls add a whatsnew comment (bug fix section), and squash.

Added comments to test, made an entry in v0.17.1.txt, and squashed commits.

merged via https://github.com/pydata/pandas/commit/5df693fafa7eedf732d414cc9eb8310b5391dfae
thanks!


docsting spelling mistake fix: now

Noticed a tiny spelling mistake while I was reading the documentation...figured I'd go ahead and patch it.

Coverage remained the same at 93.136% when pulling 9a0e82b7cee3e4c32adb8904a63774677f919c69 on kjplunkett:fix_docstring_typo_in_readme into 3d74084a191d6a731bbb8a6b3b412868a632e27a on rochacbruno:master.


Update a.ts

Added Awesome Certificates to a.ts
Pull Request Template
Please ensure all items below are checked before creating a pull request:

[✔] My changes were made in the resources folder, not in the auto-generated README.md file or db folder
[✔] My submission is formatted according to the guidelines in the contributing guide
[✔] My submission is ordered alphabetically based on the resource name
[✔] My submission has a useful description
[✔] I have searched the repository for any relevant issues or pull requests

Hi, thank you for contributing.
We recently revamped our categories structure.
I went ahead and added your suggested resource on this commit.


Multiple dashboards for each application environment

Hi Team,
I need to deploy multiple instances of dashboards for each of my application environments (e.g., Staging, Production). How can I modify the template to achieve the same?
Currently, I am encountering an error when launching the stack using the provided CloudFormation template for the second time. I tried to change a few mapping values in the template, such as these:
Original Mappings
"Mappings": {
    "Solution": {
      "Data": {
        "ID": "SO0018",
        "Version": "v1.2.2",
        "AppRegistryApplicationName": "cloudwatch-monitoring-on-aws",
        "SolutionName": "amazon-cloudwatch-monitoring-framework",
        "ApplicationType": "AWS-Solutions",
        "AttributeGroupName": "Solution-Metadata"
      }
    }
  }

Modified Mappings
"Mappings": {
    "Solution": {
      "Data": {
        "ID": "SO0019",
        "Version": "v1.2.2",
        "AppRegistryApplicationName": "prod-cloudwatch-monitoring-on-aws",
        "SolutionName": "prod-amazon-cloudwatch-monitoring-framework",
        "ApplicationType": "AWS-Solutions",
        "AttributeGroupName": "prod-Solution-Metadata"
      }
    }
  }

but the template contains nested templates for NginxStack, NginxDemoStack, etc., which is causing the error.
Is there an automated way to generate a new CloudFormation template with nested templates, each having different resource IDs?
Attaching screenshot for reference:

Thank you!

Thanks, we are looking into this.

Currently, there is no automatic way to generate a workload.  Changing mappings is not enough. The three workloads/dashboards are examples. You will have to manually create another workload / dashboard following the same pattern.

When I try to deploy multiple Apache dashboards I see the following error:
Resource handler returned message: "Resource of type 'AWS::Events::Rule' with identifier 'Apache-SSMRule' already exists."


RUSTSEC-2023-0018

Cargo audit just recently came up with a new vulnerability, RUSTSEC-2023-0018.
Dependency tree:
remove_dir_all 0.5.3
└── tempfile 3.3.0
    └── native-tls 0.2.11

tempfile removes the dependency in 3.4.0, so it may be a simple update in dependency to fix this

https://github.com/sfackler/rust-native-tls/issues/251
https://github.com/sfackler/rust-native-tls/pull/249
https://github.com/sfackler/rust-native-tls/pull/250


[FEATURE] Improvements for including Embedded Audio Player in the component header

Scope
I'm messing with music and have figured out a set up I like to include an embedded player in the Header for relevant components. This thread is two things in one:

[Feature Request] Some improvements to the default model lists (more details below) and allow selection of Music in the Relationship Manager.
[Question] Do you anticipate any future conflicts in my setup? I suspect I'm not doing things as expected/intended, so I don't want to break things later if I proceed to add all my audio files the way described below.

The need my set up is solving for:

When running a Scene or traveling to a Location, I want easy to easily control music that is relevant to the situation at hand. I have various mp3s (most from Tabletop Audio) stored in my Vault. Ideally, I could access a media player embedded in the relevant notes for these files at the bottom of the header model and right before my note contents.

TL;DR (summary of the details below):

Move the list for Music components to the head model (as opposed to the foot) for Scenes so that you can click "Play" when you start the scene.
Add Music to the default list for Location (and any other components it could relevant?) so that you can access music that is location-dependent, but not scene-dependent. (This is particularly helpful if your party goes to the "Yawning Portal" when you did not expect it and don't have a scene prepped).

Bonus: Add it as the last list in the model so it is positioned immediately before your notes for the Location. This will make it easier to access later if you have scrolled down and need to scroll back up to manage audio controls.

Allow the ability to select Music in the Relationship Manager so it is easy to add.

Describe the solution you'd like
For my set up, I am using the Media Extended plugin for the feature that let's you play the audio on loop from an embedded player. You can include a non-loopable embed audio player with Obisidian's default player by adding ![[filename.mp3]] in a note. Correction, apparently the default embedded player does not display in the codeblock.
In the Data code block, I include the embedded link to the mp3 file in my Vault as the url. I initially included the description in the synopsis, but the media player is too wide to have both displayed in the Relationship List section of related notes, so I appended the description to the url instead and turned off synopsis for Music Lists in options.
Example:
```RpgManagerData
data:
  synopsis: ""
  complete: false
  url: "![[23_The_Slaughtered_Ox.mp3#loop]] A horn of mead, a bowl of stew and a hook to hang your 50 feet of rope, The Slaughtered Ox has been catering to the adventuring class for eons. (Ambience + Music)"
```

What it looks like in the Music note:

This is where an update could be super helpful:

To include the Music to a Location, I have to add musics: {} to the model lists manually and include a link to the Music component file in the body of the note. This is where my main feature requests come in:

I would like to (1) add Music component relationships to locations from the Relationship Manager and (2) for musics: {} to be include in the model lists by default (last in the order of all the lists so it's most accessible by scrolling up later if I need to access the controls).

To add Music to a Scene, I also can't seem to add it from the Relationship Manager, so I have to include it by linking to it in the body of the note. However, I also notice that the model lists for this component populates at the foot of the note in a separate model (after my notes and customs template) instead of the head. For other model lists, this has been fine – but for music controls, I think it would be ideal to include it in the model at the top of the note so I can press play when I begin the scene (if other lists are included in the first model I would still include music in the last of those lists for the reasons included above).

Example of how I accomplish this manually in a Scene:
```RpgManager
models:
  header: true
  lists:
    musics:
      relationship: "unidirectional"
```

And what it looks like for a Scene (sidenote: that this is the shortest width I can get from the Media Extended plugin's audio player):

Alternatives
Right now, my manual setup works (unless you think I'm gonna break the updater). If you have ideas for better alternatives though, go for it.

@cjolson the issue with playing the music from the note itself is that many things may refresh the note, hence restarting the music.
An option would be to create a separate view in the right leaf, containing a player, and using the note to trigger the start/stop of the music.
Something for me to think about (and to find a flexible enough media player to embed in obsidian)

@carlonicora Sounds good. For now I've taken to embedding a block in the scene and playing it from the embed. If I notice other hiccups or issues, I'll keep you updated.

Rolling this into internal rewriting list.


Renovate pre-commit hook exceeds pre-commit.ci tier max size

pre-commit.ci limits file size to 250MiB.
Is it possible to reduce the size?
https://results.pre-commit.ci/run/github/849736738/1733269225.7CEAHAS_Tfmga8vtCVKyZQ

not possible


The TripletLossLayer is missing in the online documents.

Observed in <IP_ADDRESS>

Fixed post <IP_ADDRESS>


command not found error

Describe the bug
An error occurred after exec navi in powershell:
/bin/bash: line1: C:Users***.cargobinnavi.exe: command not found
To Reproduce
Steps to reproduce the behavior:

cargo install navi
exec navi in powershell
error occurred

Expected behavior
A clear and concise description of what you expected to happen.
no error
Screenshots
If applicable, add screenshots to help explain your problem.

Versions:
2.20.1

OS: windows11
Shell Version PowerShell 7.2.6

Additional context
Add any other context about the problem here.
Using windows terminal

get same error
OS: Windows
Version: navi 2.20.1
installed by scoop (i chided install by cargo buy is the same prorble)

I have found a workaround for this problem.
You can set the following environment variables in your .bashrc:
export NAVI_FZF_OVERRIDES="--preview='navi preview {}'"
export NAVI_FZF_OVERRIDES_VAR="--preview='navi preview-var {+} {q} variable '"
If navi is in your PATH this will enable most of navis previewing capabilities.
@denisidoro
I did not program in rust before so I can't make a PR out of that but it seems that
in actor.rs line 64: let exe = fs::exe_string();
in structures.rs line 48: filesystem::exe_string()
do not work well under windows how it is currently used because of the classic slash backslash problem.


Plugin crashes Node.js process in Brackets 1.2

The following uncaught error occurs:

... which crashes the Node.js process, and thus breaks file watchers and Brackets-Git.
Brackets version: Release 1.2 experimental build 1.2.0-15697 (release 8f82e2a97)
The issue only occurs since the most recent update of the plugin. I don't know whether having a global Node.js install (ie. not specific to Brackets) makes any difference, but I've updated that to v0.12 a few days ago.

It's the same error described in issue #106 , check my comment with a fix https://github.com/jasonsanjose/brackets-sass/issues/106#issuecomment-100088939


[BUG]Edit in table file trigger rerender in embedded file

Describe the bug
I can't select a new type for column when I open the table file and also embed it into a note. And both the note and file is opened.
https://github.com/trey-wallis/obsidian-notion-like-tables/assets/13215013/b389f745-347c-4ac0-a56a-fa8d656c8633
Steps to reproduce

Create a new table file.
Embed it into note.
Open this table file and also the note.
Click on any column Thead.
See error.

Expected behavior
Edit on table file should not cause other files rerender.
Are you using the mobile app?
No
Obsidian debug info
SYSTEM INFO:
	Obsidian version: v1.3.6
	Installer version: v1.2.7
	Operating system: Windows 10 Pro for Workstations 10.0.19045
	Login status: logged in
	Catalyst license: vip
	Insider build toggle: on
	Live preview: on
	Legacy editor: off
	Base theme: light
	Community theme: Minimal v6.3.3
	Snippets enabled: 11
	Restricted mode: off
	Plugins installed: 67
	Plugins enabled: 66
		1: Longform v2.0.3
		2: Obsidian Memos v1.9.7
		3: Obsidian42 - BRAT v0.7.0
		4: Pandoc Plugin v0.4.1
		5: QuickAdd v1.0.2
		6: QuickShare v1.3.1
		7: Readwise Official v2.0.1
		8: Pane Relief v0.5.0
		9: Quick Explorer v0.2.8
		10: Paste image rename v1.6.1
		11: Outliner v4.7.1
		12: Projects v1.15.3
		13: Privacy Glasses v0.7.1
		14: Hover Editor v0.11.11
		15: Icon Folder v2.1.2
		16: Lapel v0.1.1
		17: Link Favicons v1.8.1
		18: Double Click Tab v1.1.2
		19: Export Image plugin v1.0.4
		20: Footnote Shortcut v0.1.2
		21: Commander v0.5.0
		22: Another Quick Switcher v8.12.0
		23: Better Command Palette v0.15.0
		24: Plugin Groups v2.1.0
		25: Canvas Mindmap v0.1.3
		26: Canvas Block Reference v0.0.4
		27: Latex Suite v1.7.2
		28: Link Nodes In Canvas v0.0.5
		29: Icon Shortcodes v0.9.7
		30: Auto Link Title v1.4.1
		31: Better Word Count v0.9.6
		32: Kanban v1.5.3
		33: Floating Search v3.3.1
		34: Gemmy v0.0.3
		35: Zoom v1.1.2
		36: Word Splitting for Simplified Chinese in Edit Mode and Vim Mode v1.10.0
		37: Webpage HTML Export v1.6.0
		38: WakaTime v1.0.0
		39: ToggleList v1.2.0
		40: Templater v1.16.0
		41: Tasks v3.10.0
		42: Task Progress Bar v1.6.1
		43: Tag Wrangler v0.5.11
		44: Table Enhancer v0.4.1
		45: Tab Switcher v0.0.2
		46: Surfing v0.8.16
		47: Style Settings v1.0.6
		48: Obsidian42 - Strange New Worlds (SNW) v1.2.2
		49: Natural Language Dates v0.6.1
		50: Linter v1.15.2
		51: Hider v1.2.4
		52: Easy Typing v5.1.9
		53: Excalidraw v1.9.3
		54: Dataview v0.5.56
		55: Vault name in status bar v1.0.1
		56: Dynamic Timetable v1.4.0
		57: Copy document as HTML v0.4.3
		58: Awesome Image v0.1.2
		59: Smart Rename v1.0.1
		60: Advanced Paste v2.4.0
		61: Tasks Calendar Wrapper v0.1.16
		62: Better Default Setting v0.0.1
		63: Surfing Key v0.0.1
		64: Notion-Like Tables v6.17.0
		65: Banners v1.3.3
		66: Dynamic Highlights v0.3.1

RECOMMENDATIONS:
	Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.
	Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.

Relevant log output
No response

@Quorafind Thanks for this report. This is something I hadn't tested. Will fix today.

@Quorafind Fixed in 6.18.0


Feed generator: link to skyfeed.app

Is your feature request related to a problem? Please describe.
I wanted a feed that only shows my own posts.
I clicked on 'See this guide' (https://bsky.app/settings/saved-feeds) which led me here https://github.com/bluesky-social/feed-generator.
Which looked like something I couldn't do on my own.
Describe the solution you'd like
Via reddit I found  https://skyfeed.app
A link to this would fit well under "Getting started" on https://github.com/bluesky-social/feed-generator, in my opinion.
Additional context
I think many new users will be looking for a link to their Likes and Media (which both are available via feeds, but could maybe also be added to the user settings or as default feeds), same for 'Only my own posts', which twitter doesn't have.

We'll eventually integrate this, either by third party tools like skyfeed or in-app tools. I'm not sure atm about bouncing users to an alternative client for features.

not sure atm about bouncing users to an alternative client for features

Ok, I understand that.
Glad to hear it will be integrated somehow.


Enable CodeQL

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

/azp run net - keyvault

/azp run net - core

The failures were unrelated to this change so going ahead and getting this merged so that we can test this against the default branch.


[DS-3397] Fix error when getting bitstream policies in REST API

Fixes https://jira.duraspace.org/browse/DS-3397
Added null checks for EPerson and Group

Looks well, but should this be against master or 6_x?

Created a 6.x version of this PR at #1799


Feature Request: Support Humidity Sensor Override

Since there's a temp property which overrides the forecast with the currently measured data, it would make sense to extend this feature to humidity as well.

Humidity sensors may be in the form of sensor.humidity_1d, ensor.humidity_2d, ensor.humidity_3d,... in day mode or  sensor.humidity_1h, ensor.humidity_2h, ensor.humidity_3h,... for hourly mode.


Apache segmentation fault when relative URL is set to the logout query parameter

Environment

mod_auth_openidc version 2.3.3
Apache version 2.4.10
platform/distro : Red Hat Entreprise Linux Server release 6.9 (Santiago)

Example
To reproduce :
OIDCRedirectURI https://<redirect_uri>
Request the logout URL : https://<redirect_uri>?logout=/<my_relative_URL>
Expected behaviour
The agent redirects to the relative URL, on the same actual domain, after the logout
Actual behaviour
A segmentation fault is throw from Apache and no redirection is done. Depending on the environnment , the Apache can fall down and send HTTP 503 to all requests. In such case, a restart is necessary.
If I specify the URL domain, the logout works fine : https://<redirect_uri>?logout=<my_domain>/<my_relative_URL>.

This was addressed in 38172c73e027d1348225f6f08809f6e6c95db145 and released with 2.3.4.

Hi,
Thanks for your reactivity.
Regards,
Vivien


Hello, during build I am getting this error
error[E0425]: cannot find function `get_unix_connector` in this scope
   --> C:\Users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\docker-api-0.8.0\src\docker.rs:116:28
    |
116 |                     .build(get_unix_connector()),
    |                            ^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `get_http_connector`
    ```

Hello, during build I am getting this error
error[E0425]: cannot find function `get_unix_connector` in this scope
   --> C:\Users\User\.cargo\registry\src\github.com-1ecc6299db9ec823\docker-api-0.8.0\src\docker.rs:116:28
    |
116 |                     .build(get_unix_connector()),
    |                            ^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `get_http_connector`
    ```

Thanks for sharing the error! I don't have a Windows machine to test it out but I added some changes in 055eff1992fb6b45243e6dd506055f48c402f1fc that should fix the error. I also added test on windows to CI in 354a185c4141d8429e6cbdf5b91fa2b6eff2b188 so that in the future errors like this will get picked up automatically.


notebook option: change  default cwd

With the --notebook option, Jupyterlab thinks the directory with the notebook is the working directory. This is irritating because AFAICT, you can't navigate anywhere else. It also prevents saving a read-only notebook to a different file (I think this might be possible if I could change the working directory).
I notice that notebook-dir and notebook are mutually exclusive. Is it possible to relax that restriction?

Ah did some digging today: this  looks like an upstream fix: https://github.com/jupyterlab/jupyterlab/pull/10667 . It's due to be released next week so we can revisit after that.


Using 7.7.7 (@babel/core 7.7.7) required babel.config.json.

.babelrc no workie for me
Used the same contents from readme.md:
{
"presets": [
[
"@babel/preset-env",
{
"targets": [
"last 2 versions",
"safari >= 7"
]
}
],
"@babel/preset-react"
]
}

@spendres
could you share ur filestructure, where .bablerc is visible.

Not sure where I put the .babelrc file when it didn't work. I tried to
recreate the error but it turns out that either a babel.config.json or a
.babelrc file at the react project root works with the contents listed in
the readme.md:
{
"presets": [
[
"@babel/preset-env",
{
"targets": [
"last 2 versions",
"safari >= 7"
]
}
],
"@babel/preset-react"
]
}
On Wed, Apr 8, 2020 at 8:19 PM arshmakker<EMAIL_ADDRESS>wrote:

@spendres https://github.com/spendres
could you share ur filestructure, where .bablerc is visible.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ericelliott/riteway/issues/243#issuecomment-611259237,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEVLYC2SCNZUSLJJ7REHC3RLUIBDANCNFSM4MEF57HA
.

@spendres
Babel or most of theses kinds of tools, which support .**rc file, they need to have the config files at the root/top level of the project.
Hope it helps.

Yep. Works great!
On Wed, Apr 8, 2020 at 8:47 PM arshmakker<EMAIL_ADDRESS>wrote:

@spendres https://github.com/spendres
Babel or most of theses kinds of tools, which support .**rc file, they
need to have the config files at the root/top level of the project.
Hope it helps.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ericelliott/riteway/issues/243#issuecomment-611266729,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEVLYHKSD2FAR4WN7KSTRTRLULIPANCNFSM4MEF57HA
.

Working with babel is documented.


MQTT_MAX_PACKET_SIZE

Wat is the limit for this?? I need to publis 32k data.. can I publish??

Hi @darshansm .. did you have any updates for this ?


Unavailable Owncloud configuration menu

Using owncloud-server 10.4.1 and app version 4.2.1 (installed either through market or manually extracting the tar archive in apps directory):

no configuration menu appears
URL ~/index.php/settings/admin#onlyoffice yields nothing related to onlyoffice, simply displays the same content as ~/settings/admin?sectionid=general
I can find no error in logs

Hello @sei-nicolas, check that onlyoffice app is enabled, attach a screenshot with settings / admin / additional page.

Never mind (and thanks for the quick repy), I found the settings, at URL ~/admin?sectionid=additional [may the URL changed across version?]


Add Document and Audio parsing and classificaiton solution. Initial c…

.. Commit
Describe your Changes
A knowledge mining solution that uses Azure Cognitive Search and Azure Cognitive services to parse documents and audio files,  checks for duplicates and classify the documents based on user-defined search text.
Issue ticket number and link if relevant
Checklist before requesting a review

[ X ] I have performed a self-review of my code and documentation
[ X ] I have updated the README to denote my solution/training/whitepaper
[ X ] I have identified which clouds this can run (Azure Cloud / Azure Government)

Looks great!


Path is always behind GPS

Hello, I just saw your video on LIORF Mapping and I'm genuinely impressed. I implemented your code and the LiDar map produced was of extremely high quality. However, I do notice that during map generation that GPS location is much faster ahead of the generated path (blue line). Do you know what might be the issue causing this? Thank you so much!

@rayxie11 It may be caused by the accuracy of GNSS device.


Linker issue on ARM: add support for note.gnu.* on all ARM devices

The newer version of GCC seems to add a notes header.
It's not handled by the current linker files so ld puts it at the beginning, ruining the boot for all ARM platforms in the process.
It might be time to factor the link for all ARM platforms anyway.

This only happens with the Xilinx toolchain for now btw.
Shouldn't happen with the official ARM one but it's better to fix it now before someone runs into trouble.


Error when running local rmq

Just started the script to run a local rabbit message queue when got this error message:
 ##  ##      RabbitMQ 4.0.3
  ##  ##
  ##########  Copyright (c) 2007-2024 Broadcom Inc and/or its subsidiaries
  ######  ##
  ##########  Licensed under the MPL 2.0. Website: https://rabbitmq.com

  Erlang:      <IP_ADDRESS> [jit]
  TLS Library: OpenSSL - OpenSSL 3.3.2 3 Sep 2024
  Release series support status: see https://www.rabbitmq.com/release-information

  Doc guides:  https://www.rabbitmq.com/docs
  Support:     https://www.rabbitmq.com/docs/contact
  Tutorials:   https://www.rabbitmq.com/tutorials
  Monitoring:  https://www.rabbitmq.com/docs/monitoring
  Upgrading:   https://www.rabbitmq.com/docs/upgrade

  Logs: <stdout>

  Config file(s): /etc/rabbitmq/conf.d/10-defaults.conf

  Starting broker...2024-11-08 16:03:49.493558+00:00 [info] <0.254.0>
2024-11-08 16:03:49.493558+00:00 [info] <0.254.0>  node           : rabbit@70895a937078
2024-11-08 16:03:49.493558+00:00 [info] <0.254.0>  home dir       : /var/lib/rabbitmq
2024-11-08 16:03:49.493558+00:00 [info] <0.254.0>  config file(s) : /etc/rabbitmq/conf.d/10-defaults.conf
2024-11-08 16:03:49.493558+00:00 [info] <0.254.0>  cookie hash    : 0qpEZ+Ja9O0MuNKBqzzKDA==
2024-11-08 16:03:49.493558+00:00 [info] <0.254.0>  log(s)         : <stdout>
2024-11-08 16:03:49.493558+00:00 [info] <0.254.0>  data dir       : /var/lib/rabbitmq/mnesia/rabbit@70895a937078
2024-11-08 16:03:49.498450+00:00 [notice] <0.44.0> Application mnesia exited with reason: stopped

2024-11-08 16:03:49.498540+00:00 [error] <0.254.0>
2024-11-08 16:03:49.498540+00:00 [error] <0.254.0> BOOT FAILED
2024-11-08 16:03:49.498540+00:00 [error] <0.254.0> ===========
2024-11-08 16:03:49.498540+00:00 [error] <0.254.0> Error during startup: {error,
2024-11-08 16:03:49.498540+00:00 [error] <0.254.0>                           {cannot_read_enabled_plugins_file,
2024-11-08 16:03:49.498540+00:00 [error] <0.254.0>                               "/etc/rabbitmq/enabled_plugins",eacces}}
2024-11-08 16:03:49.498540+00:00 [error] <0.254.0>
BOOT FAILED
===========
Error during startup: {error,
                          {cannot_read_enabled_plugins_file,
                              "/etc/rabbitmq/enabled_plugins",eacces}}

2024-11-08 16:03:50.499987+00:00 [error] <0.253.0>   crasher:
2024-11-08 16:03:50.499987+00:00 [error] <0.253.0>     initial call: application_master:init/4
2024-11-08 16:03:50.499987+00:00 [error] <0.253.0>     pid: <0.253.0>
2024-11-08 16:03:50.499987+00:00 [error] <0.253.0>     registered_name: []
2024-11-08 16:03:50.499987+00:00 [error] <0.253.0>     exception exit: {{cannot_read_enabled_plugins_file,
2024-11-08 16:03:50.499987+00:00 [error] <0.253.0>                          "/etc/rabbitmq/enabled_plugins",eacces},
2024-11-08 16:03:50.499987+00:00 [error] <0.253.0>                      {rabbit,start,[normal,[]]}}
2024-11-08 16:03:50.499987+00:00 [error] <0.253.0>       in function  application_master:init/4 (application_master.erl, line 142)
2024-11-08 16:03:50.499987+00:00 [error] <0.253.0>     ancestors: [<0.252.0>]
2024-11-08 16:03:50.499987+00:00 [error] <0.253.0>     message_queue_len: 1
2024-11-08 16:03:50.499987+00:00 [error] <0.253.0>     messages: [{'EXIT',<0.254.0>,normal}]
2024-11-08 16:03:50.499987+00:00 [error] <0.253.0>     links: [<0.252.0>,<0.44.0>]
2024-11-08 16:03:50.499987+00:00 [error] <0.253.0>     dictionary: []
2024-11-08 16:03:50.499987+00:00 [error] <0.253.0>     trap_exit: true
2024-11-08 16:03:50.499987+00:00 [error] <0.253.0>     status: running
2024-11-08 16:03:50.499987+00:00 [error] <0.253.0>     heap_size: 2586
2024-11-08 16:03:50.499987+00:00 [error] <0.253.0>     stack_size: 28
2024-11-08 16:03:50.499987+00:00 [error] <0.253.0>     reductions: 167
2024-11-08 16:03:50.499987+00:00 [error] <0.253.0>   neighbours:
2024-11-08 16:03:50.499987+00:00 [error] <0.253.0>
Runtime terminating during boot (terminating)
2024-11-08 16:03:50.504439+00:00 [notice] <0.44.0> Application rabbit exited with reason: {{cannot_read_enabled_plugins_file,"/etc/rabbitmq/enabled_plugins",eacces},{rabbit,start,[normal,[]]}}

Crash dump is being written to: /var/log/rabbitmq/erl_crash.dump...done
[os_mon] cpu supervisor port (cpu_sup): Erlang has closed
[os_mon] memory supervisor port (memsup): Erlang has closed

OTOH this command works:

podman run -it --rm --name dev-rabbitmq -p 5552:5552 -p 15672:15672 -p 5673:5673 -e RABBITMQ_SERVER_ADDITIONAL_ERL_ARGS='-rabbitmq_stream advertised_host localhost'  rabbitmq:3.13

moreover I'd like to be able to easily send mock data over the created RMQ instance

Hmm, unable to reproduce locally, could you tell me more about your environment? Be aware that script will not work on RHEL7

Be aware that script will not work on RHEL7

this crucial fact might have been added in the PR...
https://github.com/DiamondLightSource/blueapi/pull/668/files

Oh, this should probably be resolved by https://github.com/DiamondLightSource/blueapi/pull/731, @stan-dot  try adding :z to the end of the bind mount, see https://devops.stackexchange.com/questions/11267/permission-denied-within-mounted-volume-inside-podman-container


SliverAppBar.large bad behavior with short SliverList

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
I think this is caused by the same problem as this other issue https://github.com/flutter/flutter/issues/136069
Implement the provided code. Use a short list that doesn't have enough items to scroll. The title will scroll but it won't appear on the appbar.
Expected results
On short lists that doesn't have enough items to scroll them, scroll should not be possible.
Actual results
The short list scrolls and when it does, the AppBar title hides.
Code sample
Code sample
NestedScrollView(
        headerSliverBuilder: (context, innerBoxIsScrolled) => [
          SliverOverlapAbsorber(
            handle: NestedScrollView.sliverOverlapAbsorberHandleFor(context),
            sliver: SliverAppBar.large(
              title: Text("Settings"),
            )
          )
        ],
        body: SafeArea(
          top: false,
          bottom: false,
          child: Builder(
            builder: (context) => CustomScrollView(
              slivers: [
                SliverOverlapInjector(
                  handle: NestedScrollView.sliverOverlapAbsorberHandleFor(context),
                ),
                SliverList.list(
                  children: [
                    ListTile(
                      title: Text("Settings tile"),
                    )
                  ],
                )
              ],
            ),
          )
        )
      ),

Screenshots or Video

Screenshots / Video demonstration
https://github.com/flutter/flutter/assets/47545344/e935389a-3c7a-4520-9cae-e6757df7b4a0

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.13.8, on macOS 13.6 22G120 darwin-arm64, locale es-ES)
    • Flutter version 3.13.8 on channel stable at /Users/juan/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 6c4930c4ac (2 weeks ago), 2023-10-18 10:57:55 -0500
    • Engine revision 767d8c75e8
    • Dart version 3.1.4
    • DevTools version 2.25.0

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/juan/Library/Android/sdk
    • Platform android-33, build-tools 31.0.0
    • ANDROID_HOME = /Users/juan/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15A507
    • CocoaPods version 1.12.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

[✓] VS Code (version 1.83.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.74.0

[✓] Connected device (3 available)
    • sdk gphone64 arm64 (mobile) • emulator-5554 • android-arm64  • Android 13 (API 33) (emulator)
    • macOS (desktop)             • macos         • darwin-arm64   • macOS 13.6 22G120 darwin-arm64
    • Chrome (web)                • chrome        • web-javascript • Google Chrome 118.0.5993.117

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Hi @JGeek00
I think this is similar to https://github.com/flutter/flutter/issues/136069. Per https://github.com/flutter/flutter/issues/136069#issuecomment-1756344987 and I also tested, that issue also happens when the content list is short.
Thus, I'm going to close this issue in favor of that one. Please follow up on it for updates. Thank you!


HOSTEDCP-1514: support Azure diagnostics on NodePools

What this PR does / why we need it: supports Azure diagnostics on NodePools
Which issue(s) this PR fixes
Fixes # https://issues.redhat.com/browse/HOSTEDCP-1514
Checklist

[ ] Subject and description added to both, commit and PR.
[ ] Relevant issues have been referenced.
[ ] This change includes docs.
[ ] This change includes unit tests.

/approve

/test all

/test all

/test all

/test all

/test e2e-azure

/retest-required

/test e2e-azure

/test e2e-azure

/retest

/retest

/test e2e-azure

/lgtm

/unhold

/test all


Add module to the stdlib with wrapper functions for common (all?) opcodes

Like #38 , the goal here would be to minimize the usage of assembly needed while building out the stdlib (and other libraries) by providing utilities for calling opcodes in a simpler way (in terms of writing , reviewing and reading/maintaining).
wrapper functions could be chained together to achieve whatever is needed for the current task at hand.
Idea by @otrho .

I'm not a huge fan of ASM blocks in general, but especially in the core & std libs.  They definitely have their place, but they end up being black boxes as far as non-trivial optimisations go (i.e., in the IR stage).  They can be quite buggy too, as they're not type checked and make assumptions about compiler codegen, which could change in the future (and probably should change as Sway matures) but we wouldn't necessarily notice them breaking if they did.
Introducing compiler 'intrinsics' -- typed functions which are axiomatically provided by the compiler -- which essentially wrap around useful special case opcodes, like those for hashing or copying memory, would prevent breaks based on assumptions and allow the IR to do its job.
Some GCC examples to illustrate what I mean: https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gcc/Other-Builtins.html#Other-Builtins
https://en.wikipedia.org/wiki/Intrinsic_function

@otrho Should we move this issue to the sway repo if the idea is to implement as part of the compile rather than as std-lib functions?
Also, I vote for assigning this fairly high priority so as not to not stall std-lib development.

We could have a twin in the Sway repo I think.  It doesn't make as much sense to have these until we've switched to IR as the default, so yeah, high priority but pretty much blocked until then.

https://github.com/FuelLabs/sway/issues/855


Repeat payment support

SagePay's repeat payment support is pretty simple and useful for subscription services, so I'm planning to submit a PR roughly based on #1 to add this functionality.
I'm keen to do this in a gateway-agnostic fashion (in terms of what parameters are set on the request). Is anyone aware of any other Omnipay drivers that support repeat billing so that I can see if there are any standards (naming conventions, etc) already in place for this?

The Stripe and PayPal gateway plugins have the most complete subscription service support, AFAIK. Basing your plugin on one of those would be preferable, however it should be noted that every gateway does subscription support very differently so you should code whatever works for your gateway.

@delatbabel Just a note that Sage Pay's repeat billing is not a subscription service in the strictest sense. It is closer to using a card token to make customer-not-present payments, but using the card details stored in a past transaction on the Sage Pay servers rather than using a card token. I believe at this stage Sage Pay are not allowed to hold CVV details, so either a non-CVV repeat payment can be made (necessary if automating a regular payment in the merchant site, but with less merchant protection) or a new CVV can be passed in if the customer is present (e.g if buying from a shop or manually paying an invoice).

It seems like a crazy system TBH - each further payment you take gives you another transaction that can support repeat payments. It's not like there is just a single card token for a given credit card hanging around for a single site at any one time that can be used, revoked, inspected etc.


If user is left with no mobile or email, set a 'bad mobile' placeholder.

What's this PR do?
When we sanitize or unset mobile numbers in our data cleanup scripts, sometimes we might end up with a user who has neither a real email or a mobile number. This happened to ~4000 users when testing on Thor. Of those users, only 255 had ever logged in.
How should this be reviewed?
These scripts should do the same thing, but if the user end up without a "real" email or a mobile number, then it should give them a "valid" placeholder email so they can just sync and be forgotten.
Any background context you want to provide?
💃
Relevant tickets
References #6409.
Checklist

[ ] Documentation added for new features/changed endpoints.
[ ] Tested on staging.
[ ] Pinged a PM if this is a larger PR that would benefit from some additional testing love.

:ship:


Add handovers

Correct!
However, I'm closing this PR as I've just pushed new code including more things. I'll create a new one.


Updates to documentation, parameters

This adds some additional parameters for network security (CIDR range restriction) as well as enhancements to the documentation in the README.md and the parameter descriptions in the cloudformation template.

Merged and committed changes.


Use Spring Cloud Contract to spec the broker API

Do you need help with this?

We could probably use some consultation, yes. :) I started on a very basic test that seems to work. https://github.com/spring-cloud/spring-cloud-cloudfoundry-service-broker/commit/8b48eac15e926a5dec71182789d269b7787b3783

Looks great!

@marcingrzejszczak would you mind providing feedback on https://github.com/spring-cloud/spring-cloud-open-service-broker/commit/9702ed076e8de929b782a13790ce61bb4b730af0? Since we're testing a contract, should we be using a regex pattern here instead of specific values? For example, should we be making the same kind of validation as this integration test? @scottfrederick and I feel like it may be duplicating test efforts that will require extra maintenance in the future. Curious about your thoughts. Thanks!

Those values seem to be non-generated. So I don't think that any regex is required, but maybe I don't follow what you're doing. If you don't have some specific generated values then you can create mocks in an easy way and stubs too for the consumer tests.


Get transaction date from chain instead of browser date

          we have `EthereumTimestamp` for this as well

Originally posted by @KillariDev in https://github.com/DarkFlorist/lunaria/pull/197#discussion_r1311232168

this is not what I meant, I meant use the variable type "EthereumTimestamp" that we have in interceptor


why can't select year

It's inconvenient.

Have you tried setting showYearDropdown, like in https://hacker0x01.github.io/react-datepicker/#example-18?


PrometheusExporter::Server::Collector#process JSON::ParserError

Hey, I have a ruby app, sending metrics to the built-in collector through the client.
For some reason, I'm getting 500 response to POST /send-metrics with log messages like: #<JSON::ParserError: 767: unexpected token at (full message below) with this trace:
server /usr/local/lib/ruby/2.6.0/json/common.rb:156:in `parse'
server /usr/local/lib/ruby/2.6.0/json/common.rb:156:in `parse'
server /usr/local/bundle/gems/prometheus_exporter-0.5.1/lib/prometheus_exporter/server/collector.rb:29:in `process'
server /usr/local/bundle/gems/prometheus_exporter-0.5.1/lib/prometheus_exporter/server/web_server.rb:82:in `block in handle_metrics'
server /usr/local/lib/ruby/2.6.0/webrick/httprequest.rb:546:in `read_chunked'
server /usr/local/lib/ruby/2.6.0/webrick/httprequest.rb:506:in `read_body'
server /usr/local/lib/ruby/2.6.0/webrick/httprequest.rb:256:in `body'
server /usr/local/bundle/gems/prometheus_exporter-0.5.1/lib/prometheus_exporter/server/web_server.rb:79:in `handle_metrics'
server /usr/local/bundle/gems/prometheus_exporter-0.5.1/lib/prometheus_exporter/server/web_server.rb:69:in `block in initialize'
server /usr/local/lib/ruby/2.6.0/webrick/httpservlet/prochandler.rb:39:in `do_GET'
server /usr/local/lib/ruby/2.6.0/webrick/httpservlet/abstract.rb:105:in `service'
server /usr/local/lib/ruby/2.6.0/webrick/httpserver.rb:140:in `service'
server /usr/local/lib/ruby/2.6.0/webrick/httpserver.rb:96:in `run'
server /usr/local/lib/ruby/2.6.0/webrick/server.rb:307:in `block in start_thread'

My usage is pretty basic, kind of copy-paste from the readme:
collector:
CMD ["bundle", "exec", "prometheus_exporter", "-b", "<IP_ADDRESS>", "-t", "3", "--prefix", "my_app_"]

client:
PrometheusExporter::Client.default = PrometheusExporter::Client.new(custom_labels: {app: 'workers', env: 'production'})
Prometheus::Client.register_counter('order_links', 'order links')

Prometheus::Client.increment('order_links', link:: 'billing_phone')

Full Message:
server #<JSON::ParserError: 767: unexpected token at '{"type":"counter","help":"order links","name":"order_links","keys":{"link":"billing_phone"},"value":1,"prometheus_exporter_action":"increment","custom_labels":{"app":"workers","env":"production"}}{"type":"counter","help":"order links","name":"order_links","keys":{"link":"customer_last_name"},"value":1,"prometheus_exporter_action":"increment","custom_labels":{"app":"workers","env":"production"}}{"type":"counter","help":"order links","name":"order_links","keys":{"link":"shipping_first_name"},"value":1,"prometheus_exporter_action":"increment","custom_labels":{"app":"workers","env":"production"}}{"type":"counter","help":"order links","name":"order_links","keys":{"link":"customer_first_name"},"value":1,"prometheus_exporter_action":"increment","custom_labels":{"app":"workers","env":"production"}}{"type":"counter","help":"order links","name":"order_links","keys":{"link":"shipping_address1"},"value":1,"prometheus_exporter_action":"increment","custom_labels":{"app":"workers","env":"production"}}{"type":"counter","help":"order links","name":"order_links","keys":{"link":"shipping_phone"},"value":1,"prometheus_exporter_action":"increment","custom_labels":{"app":"workers","env":"production"}}{"type":"counter","help":"order links","name":"order_links","keys":{"link":"shipping_last_name"},"value":1,"prometheus_exporter_action":"increment","custom_labels":{"app":"workers","env":"production"}}{"type":"counter","help":"order links","name":"order_links","keys":{"link":"billing_first_name"},"value":1,"prometheus_exporter_action":"increment","custom_labels":{"app":"workers","env":"production"}}{"type":"counter","help":"order links","name":"order_links","keys":{"link":"billing_address1"},"value":1,"prometheus_exporter_action":"increment","custom_labels":{"app":"workers","env":"production"}}{"type":"counter","help":"order links","name":"order_links","keys":{"link":"billing_address1"},"value":1,"prometheus_exporter_action":"increment","custom_labels":{"app":"workers","env":"production"}}{"type":"counter","help":"order links","name":"order_links","keys":{"link":"wp_billing_formatted_address"},"value":1,"prometheus_exporter_action":"increment","custom_labels":{"app":"workers","env":"production"}}{"type":"counter","help":"order links","name":"order_links","keys":{"link":"billing_address1"},"value":1,"prometheus_exporter_action":"increment","custom_labels":{"app":"workers","env":"production"}}{"type":"counter","help":"order links","name":"order_links","keys":{"link":"wp_billing_formatted_address"},"value":1,"prometheus_exporter_action":"increment","custom_labels":{"app":"workers","env":"production"}}{"type":"counter","help":"order links","name":"order_links","keys":{"link":"billing_address1"},"value":1,"prometheus_exporter_action":"increment","custom_labels":{"app":"workers","env":"production"}}{"type":"counter","help":"order links","name":"order_links","keys":{"link":"wp_billing_formatted_address"},"value":1,"prometheus_exporter_action":"increment","custom_labels":{"app":"workers","env":"production"}}{"type":"counter","help":"order links","name":"order_links","keys":{"link":"billing_address1"},"value":1,"prometheus_exporter_action":"increment","custom_labels":{"app":"workers","env":"production"}}{"type":"counter","help":"order links","name":"order_links","keys":{"link":"wp_billing_formatted_address"},"value":1,"prometheus_exporter_action":"increment","custom_labels":{"app":"workers","env":"production"}}{"type":"counter","help":"order links","name":"order_links","keys":{"link":"billing_address1"},"value":1,"prometheus_exporter_action":"increment","custom_labels":{"app":"workers","env":"production"}}{"type":"counter","help":"order links","name":"order_links","keys":{"link":"wp_billing_formatted_address"},"value":1,"prometheus_exporter_action":"increment","custom_labels":{"app":"workers","env":"production"}}{"type":"counter","help":"order links","name":"order_links","keys":{"link":"billing_address1"},"value":1,"prometheus_exporter_action":"increment","custom_labels":{"app":"workers","env":"production"}}{"type":"counter","help":"order links","name":"order_links","keys":{"link":"wp_billing_formatted_address"},"value":1,"prometheus_exporter_action":"increment","custom_labels":{"app":"workers","env":"production"}}{"type":"counter","help":"order links","name":"order_links","keys":{"link":"billing_address1"},"value":1,"prometheus_exporter_action":"increment","custom_labels":{"app":"workers","env":"production"}}{"type":"counter","help":"order links","name":"order_links","keys":{"link":"wp_billing_formatted_address"},"value":1,"prometheus_exporter_action":"increment","custom_labels":{"app":"workers","env":"production"}}{"type":"counter","help":"order links","name":"order_links","keys":{"link":"billing_address1"},"value":1,"prometheus_exporter_action":"increment","custom_labels":{"app":"workers","env":"production"}}{"type":"counter","help":"order links","name":"order_links","keys":{"link":"wp_billing_formatted_address"},"value":1,"prometheus_exporter_action":"increment","custom_labels":{"app":"workers","env":"production"}}{"type":"counter","help":"order links","name":"order_links","keys":{"link":"billing_address1"},"value":1,"prometheus_exporter_action":"increment","custom_labels":{"app":"workers","env":"production"}}{"type":"counter","help":"order links","name":"order_links","keys":{"link":"wp_billing_formatted_address"},"value":1,"prometheus_exporter_action":"increment","custom_labels":{"app":"workers","env":"production"}}{"type":"counter","help":"order links","name":"order_links","keys":{"link":"billing_address1"},"value":1,"prometheus_exporter_action":"increment","custom_labels":{"app":"workers","env":"production"}}{"type":"counter","help":"order links","name":"order_links","keys":{"link":"wp_billing_formatted_address"},"value":1,"prometheus_exporter_action":"increment","custom_labels":{"app":"workers","env":"production"}}{"type":"counter","help":"order links","name":"order_links","keys":{"link":"billing_address1"},"value":1,"prometheus_exporter_action":"increment","custom_labels":{"app":"workers","env":"production"}}{"type":"counter","help":"order links","name":"order_links","keys":{"link":"wp_billing_formatted_address"},"value":1,"prometheus_exporter_action":"increment","custom_labels":{"app":"workers","env":"production"}}{"type":"counter","help":"order links","name":"order_links","keys":{"link":"billing_last_name"},"value":1,"prometheus_exporter_action":"increment","custom_labels":{"app":"workers","env":"production"}}{"type":"counter","help":"order links","name":"order_links","keys":{"link":"billing_phone"},"value":1,"prometheus_exporter_action":"increment","custom_labels":{"app":"workers","env":"production"}}{"type":"counter","help":"order links","name":"order_links","keys":{"link":"billing_first_name"},"value":1,"prometheus_exporter_action":"increment","custom_labels":{"app":"workers","env":"production"}}{"type":"counter","help":"order links","name":"order_links","keys":{"link":"billing_last_name"},"value":1,"prometheus_exporter_action":"increment","custom_labels":{"app":"workers","env":"production"}}{"type":"counter","help":"order links","name":"order_links","keys":{"link":"billing_phone"},"value":1,"prometheus_exporter_action":"increment","custom_labels":{"app":"workers","env":"production"}}{"type":"counter","help":"order links","name":"order_links","keys":{"link":"billing_first_name"},"value":1,"prometheus_exporter_action":"increment","custom_labels":{"app":"workers","env":"production"}}{"type":"counter","help":"order links","name":"order_links","keys":{"link":"billing_last_name"},"value":1,"prometheus_exporter_action":"increment","custom_labels":{"app":"workers","env":"production"}}{"type":"counter","help":"order links","name":"order_links","keys":{"link":"billing_phone"},"value":1,"prometheus_exporter_action":"increment","custom_labels":{"app":"workers","env":"production"}}{"type":"counter","help":"order links","name":"order_links","keys":{"link":"billing_first_name"},"value":1,"prometheus_exporter_action":"increment","custom_labels":{"app":"workers","env":"production"}}{"type":"counter","help":"order links","name":"order_links","keys":{"link":"billing_last_name"},"value":1,"prometheus_exporter_action":"increment","custom_labels":{"app":"workers","env":"production"}}{"type":"counter","help":"order links","name":"order_links","keys":{"link":"billing_phone"},"value":1,"prometheus_exporter_action":"increment","custom_labels":{"app":"workers","env":"production"}}{"type":"counter","help":"order links","name":"order_links","keys":{"link":"billing_first_name"},"value":1,"prometheus_exporter_action":"increment","custom_labels":{"app":"workers","env":"production"}}{"type":"counter","help":"order links","name":"order_links","keys":{"link":"billing_last_name"},"value":1,"prometheus_exporter_action":"increment","custom_labels":{"app":"workers","env":"production"}}{"type":"counter","help":"order links","name":"order_links","keys":{"link":"billing_phone"},"value":1,"prometheus_exporter_action":"increment","custom_labels":{"app":"workers","env":"production"}}'>

I guess this is a WEBrick log, right? should it be a valid json? (there are no commas between items)

@SamSaffron

I saw this, ban you try to debug what is wrong with the json? what is the unexpected token?

Look at the Full Message, it looks like all chunks are sent over the TCP connection instead of each chunk separately.
I'm trying to reproduce on my machine but no success so far.

@SamSaffron I tried to write my own web server (with Go) and kept getting the same JSON parse errors.
That reduces the issue to the client.
Still trying to reproduce it.

Also seeing problems with chunking.
 Without it all packets are ignored and the body block is never yielded.
    def handle_metrics(req, res)
      @sessions_total.observe
#    req.body do |block|
        begin
          @metrics_total.observe
#        @collector.process(block)
          @collector.process(req.body)
        rescue => e
          if @verbose
            STDERR.puts
            STDERR.puts e.inspect
            STDERR.puts e.backtrace
            STDERR.puts
          end
          @bad_metrics_total.observe
          res.body = "Bad Metrics #{e}"
          res.status = e.respond_to?(:status_code) ? e.status_code : 500
          return
        end
#    end

Where is the client, is there a proxy between the client and server?

Sorry wasn't that clearly communicated, they're both in the same docker container with no proxy in between. I thought that this next bit of info is irrelevant but who knows: on the host itself the docker domain uses socat forwarding for IPv6. Shouldn't matter for traffic that's purely inside the container though, at least that was my assumption.

Can you repro this on local? If so a failing test case would be enormously useful.

The setup mentioned above is kind of local as the exporter client connects to a locally running prometheus_exporter server, both in the same container.
Not sure right now, how to simulate a chunked connection with a server running simultaneously in a test and a client that is not actually sending chunked packets.

Actually with 0.6.0 the new queue metrics are finally included. Maybe it's those socket fixes in that release. We'll test it out now.

I have similar error in a K8S deployment. I added rescue puts "#{obj}" to https://github.com/discourse/prometheus_exporter/blob/v2.0.3/lib/prometheus_exporter.rb#L18, and print out examples like:
{"type":"web","timings":{"sql":{"duration":0.0008798960188869387,"calls":1},"total_duration":0.01029436700628139},"queue_time":null,"status":200,"default_labels":{"action":"index","controller":"site"},}{"type":"web","timings":{"sql":{"duration":0.0008893409976735711,"calls":1},"total_duration":0.010752125002909452},"queue_time":null,"status":200,"default_labels":{"action":"index","controller":"site"},}{"pid":346,"type":"active_record","hostname":"web-app-6fb6dffb99-rw845","metric_labels":{"pool_name":"primary","dbconfig_database":"production","dbconfig_host":"postgresql"},"size":5,"connections":1,"busy":0,"dead":0,"idle":1,"waiting":0,"checkout_timeout":5.0}

It's three json objects combined together without comma amount them. You may check with json lint tool like https://jsonformatter.curiousconcept.com.
I can't reproduce in my local dev environment, but it must appear in K8S production environment.

I also ran into this issue while running prometheus_exporter behind nginx  in docker, and its fairly easy to reproduce locally.
FROM ruby:2.7
# 3.x also could be used

RUN apt-get update && \
    apt-get install -y nginx
ADD nginx.conf /etc/nginx/sites-available/default

WORKDIR /app

ADD Gemfile Gemfile.lock /app
RUN bundle install --jobs=4
ADD . /app

EXPOSE 9394
EXPOSE 80

CMD ["bundle", "exec", "foreman", "start"]

My Gemfile:
source "https://rubygems.org"

gem "prometheus_exporter"
gem "foreman"

Procfile:
prometheus_exporter: bundle exec prometheus_exporter -t 10 -v -b <IP_ADDRESS>
nginx: nginx -g 'daemon off;'

nginx.conf:
upstream ruby {
  server <IP_ADDRESS>:9394;
}

server {
  listen 80 default_server;
  listen [::]:80 default_server;

  access_log /dev/stdout;
  error_log /dev/stdout;

  server_name _;

  location / {
    proxy_pass http://ruby;
    proxy_redirect off;
    proxy_set_header Host             $host;
    proxy_set_header X-Real-IP        $remote_addr;
    proxy_set_header X-Forwarded-For  $proxy_add_x_forwarded_for;

    # needs to be set, otherwise nginx errors out with HTTP 499
    proxy_ignore_client_abort on;
  }
}

I have not found a fix yet.

I needed to get the prometheus_exporter working with nginx, so i monkey-patched the collector code for the time being:
diff --git a/lib/prometheus_exporter/server/collector.rb b/lib/prometheus_exporter/server/collector.rb
index a26263a..b3afcc3 100644
--- a/lib/prometheus_exporter/server/collector.rb
+++ b/lib/prometheus_exporter/server/collector.rb
@@ -30,7 +30,9 @@ module PrometheusExporter::Server
     end

     def process(str)
-      process_hash(@json_serializer.parse(str))
+      read_json_blocks(str) do |line|
+        process_hash(@json_serializer.parse(line))
+      end
     end

     def process_hash(obj)
@@ -102,5 +104,29 @@ module PrometheusExporter::Server
     def symbolize_keys(hash)
       hash.inject({}) { |memo, k| memo[k.first.to_sym] = k.last; memo }
     end
+
+    def read_json_blocks(str)
+      start = nil
+      nest  = 0
+      read  = 0
+
+      0.upto(str.length - 1) do |idx|
+        if str[idx] == '{'
+          start ||= idx
+          nest += 1
+        elsif str[idx] == '}' && start && (nest -= 1) == 0
+          yield str[start..idx]
+          read += 1
+          start = nil
+        end
+      end
+
+      if read == 0
+        yield str
+        read += 1
+      end
+
+      read
+    end
   end
 end

I'll keep digging on the chunking issue later this week.


customFilter bug ( CRITICAL) #bug

 filter: customFilter({type: FILTER_TYPES.MULTISELECT}),
          filterRenderer: (onFilter, column) => (
              <DropDownFilter onFilter={onFilter} column={column}/>
          )

in header-cell.js it calls  onExternalFilter(column, filter.props.type); and filter.props.type is undefined

solved this bug with this code
filter={ filterFactory(FILTER_TYPES.MULTISELECT) }  and
filter: customFilter({comparator: Comparator.EQ, type: FILTER_TYPES.MULTISELECT}),
but I think it is still bug


I changed change_status to change_presence due to it been outdated

I had updated the file to make sure it follows the latest, I have tested it also and it works.

Looks like that change was in discord.py 0.13.0, so requirements needs an update, too..


All messages are "Note On", even on release of the key.

Hello,
I'm using a M-Audio Keyrig 49 keyboard on Linux.
When trying the input example I successfully connect to the key board but every time I press a key it reads as "Note On", even on release. It seems that everytime, the first number in the MIDI message is 144.

@Saskcwatch Can you confirm that when you release the last element in the raw midi message is 0? Cause then we need to handled that case as well. It is because you keyboard is using a different approach to indicate a key release.

Hello,
Yes I'm using the latest version of the crate.
And secondly I'm almost sure that the last element beeing 0 signifies release. I kinda patched it myself by modifying the is_note_on and is_note_off functiuns in lib.rs to return self.msg[2] != 0 and self.msg[2] == 0. But as you said this is something that may only work on my keyboard.

Hello,
First off all I tested it on the example that I got when cloning this repo so I would say main.
And secondly I'm almost sure that the last element beeing 0 signifies release. I kinda patched it myself by modifying the is_note_on and is_note_off functiuns in lib.rs to return self.msg[2] != 0 and self.msg[2] == 0. But as you said this is something that may only work on my keyboard.

@Saskcwatch This is part of the MIDI standard. Velocity of 0 is analogous to an key off event.


Failed to install on Arch with pip

Hi, am I missing something?
angristan@xps ~> pip install beautysh
Collecting beautysh
  Using cached beautysh-3.3.tar.gz
Installing collected packages: beautysh
  Running setup.py install for beautysh ... error
    Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-i4efxqie/beautysh/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-g3mimjnp-record/install-record.txt --single-version-externally-managed --compile:
    running install
    running build
    running build_py
    file beautysh.py (for module beautysh) not found
    creating build
    creating build/lib
    creating build/lib/beautysh
    copying beautysh/__main__.py -> build/lib/beautysh
    copying beautysh/__init__.py -> build/lib/beautysh
    copying beautysh/beautysh.py -> build/lib/beautysh
    file beautysh.py (for module beautysh) not found
    running install_lib
    creating /usr/lib/python3.6/site-packages/beautysh
    error: could not create '/usr/lib/python3.6/site-packages/beautysh': Permission denied

    ----------------------------------------
Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-i4efxqie/beautysh/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-g3mimjnp-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-i4efxqie/beautysh/

Yes, you are missing permissions to write to that directory. I answered a similar question on SO, you may reference it for a solution:
https://stackoverflow.com/questions/35894511/upgrade-pip-error-message/35895124#35895124

Thanks 👍


set_epoch() is only called on the train dataloader. impossible to shuffle val/test dataset in DDP.

On this line, set_epoch() is called on the train dataloader. This allows shuffling to work properly when using DDP. See #224 for context on why this was necessary.
However, set_epoch() is not called for the test or val dataloaders. Typically, these aren't shuffled, so it's fine. But sometimes the user wants to shuffle these datasets also, and as is, that doesn't work (and there's no indication to the user why it's not working). I can't see any reason not to call set_epoch() on these other dataloaders also.

Dear @zplizzi,
Would you be willing to contribute a fix depending on the sampler / shuffle value ?
Best,
T.C

"impossible to shuffle val/test dataset in DDP"
I wanted to say that ,  we should not be able to shuffle val/test ,  even when it is required in practice?

Is anyone already working on this? I would like to contribute.

Go for it!

Sure, I shall work on this today, thanks!

@zplizzi out of curiosity could you describe why ordering matters for your validation/test sets?

"impossible to shuffle val/test dataset in DDP"
I wanted to say that , is it required to be able to shuffle val/test , even when it is required in practice?

@ananthsub    i had already asked ? same doubt is it required?

In this case, I am visualizing the first batch of validation samples, and I would like my visualization to not always be of the same batch of frames. But more generally, it seems wrong to allow the user to specify shuffle=True and then silently not shuffle. Why not just let the user get the behavior they ask for (when the effort required is trivial, as it is here)?

How could I call set_epoch() on DistributedSampler in pytorch lightning? Although I set distributedsampler(shuffle = True), the train index is always the same at every epoch. What should I do to make the train index become different at every epoch?
my dataloader:
DataLoader(self.trainset,sampler=BatchSampler(DistributedSampler(self.trainset, shuffle=True), batch_size=self.batch_size,drop_last=False), num_workers=self.num_workers)


[RPA-1516] Implement secrets manager backend.

Description
removed version from db.yml because of this warning:
WARN[0000] /mnt/c/Users/Lenovo/code/runbotics/runbotics/db.yml: the attribute version is obsolete, it will be ignored, please remove it to avoid potential confusion

Motivation and Context

Types of changes

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

I agree to the terms of the RunBotics Contributor License Agreement.

Good job @stun-is-law  @marcin-depcik


.mlx not classified as MATLAB code

Hi!  It looks like MATLAB LiveScript files (.mlx) are not classified as MATLAB.  Only .m and .matlab are classified as MATLAB, as shown here in languages.yml:
https://github.com/github/linguist/blob/e2f638d17598e84f6f91c2d03c2f3e27f22a2163/lib/linguist/languages.yml
Could you add .mlx to list of extensions classified by linguist as MATLAB code?
Example projects classified as 100% MATLAB, where the classification only comes from the .m file, not the .mlx file (apparent after clicking on "MATLAB 100%" at the bottom right):
https://github.com/gh-BumsooKim/DeepLearning-MATLAB
https://github.com/cuixing158/yoloX-yoloV5-onnx-matlab
My project, which is primarily MATLAB LiveScript (.mlx); but MATLAB is not included in the code classification, only TeX, since linguist doesn't recognize .mlx: https://github.com/LCRuth/4noteGuitarChordModulationExercise
Thank you!  (I'm a n00b here, let me know if I should be going about this differently!)

MLX files don't seem to be plaintext. Is that right? Only text-based languages get support in Linguist as GitHub ignores non-text files when applying language statistics.

Yup, they're identified as "Microsoft OOXML" which means they're technically zipped XML files:
$ file FourNoteGuitarModulationExercise.mlx
FourNoteGuitarModulationExercise.mlx: Microsoft OOXML
$ unzip -c FourNoteGuitarModulationExercise.mlx | head -1
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?><Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types"><Default ContentType="application/vnd.openxmlformats-package.relationships+xml" Extension="rels"/><Default ContentType="application/vnd.mathworks.matlab.code.document+xml" Extension="xml"/><Override ContentType="text/xml" PartName="/matlab/output.xml"/><Override ContentType="application/vnd.openxmlformats-package.core-properties+xml" PartName="/metadata/coreProperties.xml"/><Override ContentType="application/vnd.mathworks.package.coreProperties+xml" PartName="/metadata/mwcoreProperties.xml"/><Override ContentType="application/vnd.mathworks.package.corePropertiesExtension+xml" PartName="/metadata/mwcorePropertiesExtension.xml"/><Override ContentType="application/vnd.mathworks.package.corePropertiesReleaseInfo+xml" PartName="/metadata/mwcorePropertiesReleaseInfo.xml"/></Types><?xml version="1.0" encoding="UTF-8" standalone="yes" ?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId1" Target="matlab/document.xml" Type="http://schemas.mathworks.com/matlab/code/2013/relationships/document"/><Relationship Id="rId2" Target="matlab/output.xml" Type="http://schemas.mathworks.com/matlab/code/2013/relationships/output"/><Relationship Id="rId3" Target="metadata/mwcoreProperties.xml" Type="http://schemas.mathworks.com/package/2012/relationships/coreProperties"/><Relationship Id="rId4" Target="metadata/mwcorePropertiesExtension.xml" Type="http://schemas.mathworks.com/package/2014/relationships/corePropertiesExtension"/><Relationship Id="rId5" Target="metadata/mwcorePropertiesReleaseInfo.xml" Type="http://schemas.mathworks.com/package/2019/relationships/corePropertiesReleaseInfo"/><Relationship Id="rId6" Target="metadata/coreProperties.xml" Type="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties"/></Relationships><?xml version="1.0" encoding="UTF-8"?><w:document xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main"><w:body><w:p><w:pPr><w:pStyle w:val="text"/><w:jc w:val="left"/></w:pPr><w:r><w:t>Put M, m, hm, hM into matrix. Find 4-note chords, printing intervals, key, mode, scale, and notes.</w:t></w:r></w:p><w:p><w:pPr><w:pStyle w:val="code"/></w:pPr><w:r><w:t><![CDATA[M=[2 2 1 2 2 2 1];  %Major
$

More deets on the format at https://uk.mathworks.com/help/releases/R2016a/matlab/matlab_prog/live-script-file-format.html
Zip can't be read as-is so are treated as binaries are so are ignored when it comes to to analysing for languages. We can't change this, as such I'm closing this issue.


test\matrix2.cpp is incompatible with C++17

Hi,
The issue can be illustrated as follows:
#include <algorithm>

namespace dlib
{
	struct matrix_exp {};

	template<typename T, int n = 2>
	struct matrix : matrix_exp {
		operator T() const {
			static_assert(n == 1);
		}
	};
	void clamp(matrix_exp&, matrix_exp&, matrix_exp&) {}
}

// test\matrix2.cpp

using namespace dlib;
using namespace std;

void f()
{
	matrix<int> x, l, u;
	// std::clamp is added in C++17 and chosen by the overload resolution because it is an exact match.
	// To resolve 'operator <', the compiler is required to instantiate matrix<int>::operator int
	// Then the assertion in it will be hit
	clamp(x, l, u);
}

One possible way to workaround this in the test is to use 'dlib::clamp' explicitly.

Yeah, putting dlib:: in front is sensible.  Do you want to submit a PR? :)

If busy I can take this. Want to start contributing to dlib :)


add is_set / is_clear methods

follow up of #84
cc @whitequark

@homunkulus r+

:pushpin: Commit 3af4e87 has been approved by japaric

:hourglass: Testing commit 3af4e87 with merge 3af4e87...

:sunny: Test successful - status-appveyor, status-travis
Approved by: japaric
Pushing 3af4e878701e650da19e0cabe177a0f87a0db03b to master...