liquibase.ignoreRecycleBinWarning cannot be set in liquibase.properties

Environment
Liquibase Version: 4.2.2
Liquibase Integration & Version:  CLI
Database Vendor & Version: Oracle 12.2
Operating System Type & Version: Windows 10
Description
Documentation at https://docs.liquibase.com/workflows/liquibase-community/creating-config-properties.html says about Additional Liquibase properties:
You can include the following properties in the liquibase.properties file as of Liquibase 4.1. [...] liquibase.ignoreRecycleBinWarning
When I set this property in my liquibase.properties, Liquibase exists with an error.
Anyway, there is a typo in the documentation itself: liquibase.ignoreRecycleBinWarning=<false|fasle>
Steps To Reproduce
Set liquibase.ignoreRecycleBinWarning in liquibase.properties and run liquibase with --defaultsFile:
liquibase --defaultsFile dev.properties --changeLogFile db/changelog/db.changelog-master.xml updateSQL
Actual Behavior
liquibase.exception.CommandLineParsingException: Unknown parameter: 'liquibase.ignoreRecycleBinWarning'
        at liquibase.integration.commandline.Main.parsePropertiesFile(Main.java:1030)
        at liquibase.integration.commandline.Main.parseDefaultPropertyFileFromFile(Main.java:747)
        at liquibase.integration.commandline.Main.parseDefaultPropertyFiles(Main.java:709)
        at liquibase.integration.commandline.Main.parseOptions(Main.java:1161)
        at liquibase.integration.commandline.Main$1.run(Main.java:259)
        at liquibase.integration.commandline.Main$1.run(Main.java:193)
        at liquibase.Scope.child(Scope.java:169)
        at liquibase.Scope.child(Scope.java:145)
        at liquibase.integration.commandline.Main.run(Main.java:193)
        at liquibase.integration.commandline.Main.main(Main.java:156)

Expected/Desired Behavior
Liquibase accepts the property as other properties listed in documentation.

Hi @zholub Thanks for writing up this issue.  We will add it to the list of issues we are processing and update the misspelled documentation.

I have also created and issue on our docs page.
You can also submit PRs to fix the documentation.
Here is the one that I fixed
https://github.com/Datical/liquibase-docs/pull/107
and to submit additional fixes for the documentation.
https://github.com/Datical/liquibase-docs/pulls

Looks like it works for liquibase 4.15. Try upgrading to our latest version and see if it works for you. If not, please let us know and we will have a second look on it. Thanks!


how can i  select  front camera on create ?

how can i  select  front camera on create
and the camera preview is distorted

Hi,
There is no way to select front camera on create yet. We are currently busy on other project, so we do not have plan to develop this feature soon.
If you want to develop it on your side, we can give you clues on how to implement, then we will be pleased to merge your PR.
For your issue with camera preview, please fill the bug template (with a screenshot) in a separate issue.
Regards,
Thibault

Thanks for you work. i'm interested to create a RP for this later

Workaround : Just call switch camera in initstate.


pyenv shims openssl

Question, perhaps a suggestion about openssl. Today I ran which openssl and was surprised to see ~/.pyenv/shims/openssl.
I don't use python regularly but I do use ruby and rbenv regularly so I was surprised to see a tool not written in or specific to python managed by pyenv. I'm not against this, but I think it might be nice to give user's a heads up as it feels like an exceptional side-effect of a language-specific management tool.
This plus the fact that openssl is a keg-only brew: which can be problematic to have in the PATH?. FWIW, I imagine it's more about the numerous header-files than the single openssl binary in the path.
Given those two points I'd roughly suggest it might be worth mentioning in the docs somewhere (I couldn't find anything in the repo or wiki). Thanks.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/34061506-pyenv-shims-openssl?utm_campaign=plugin&utm_content=tracker%2F282009&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F282009&utm_medium=issues&utm_source=github).

pyenv will create shim for openssl if you're installing Anaconda installed. Though it'll be just ignored by pyenv's hook. See output of pyenv which openssl.
https://github.com/yyuu/pyenv/blob/2017dd0c25467caffd6b9d6749f80dc502128842/pyenv.d/which/anaconda.bash
% which openssl
/home/yyuu/.pyenv/shims/openssl
% pyenv which openssl
/usr/bin/openssl

Ah, side-effect of Anaconda specifically. Thanks for the clarification and snippet.


fzf fatal error mallocgc called without a P or outside bootstrapping

Describe the bug
When invoked, fzf is crashing
$ fzf
fatal error: mallocgc called without a P or outside bootstrapping
runtime: panic before malloc heap initialized

Steps To Reproduce

run fzf from nixpkgs-unstable 10ecda252ce1b3b1d6403caeadbcc8f30d5ab796
get an error

Expected behavior
It should work
Notify maintainers
@Br1ght0ne @Ma27 @zowoq
Metadata
 - system: `"x86_64-linux"`
 - host os: `Linux 5.19.1-xanmod1, NixOS, 22.11 (Raccoon), 22.11.20220930.10ecda2`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.11.0`
 - channels(root): `""`
 - nixpkgs: `/nix/store/dnmxp9a0mq2affmwq01nr2774y4mkkx1-source`

seems solved in https://github.com/NixOS/nixpkgs/pull/193868


Adds interfaces for handling Magic Transit - Static Routes

This PR implements methods for handling Magic Transit Static Routes

List Routes (https://api.cloudflare.com/#magic-transit-static-routes-list-routes)
Route Details / Get Route (https://api.cloudflare.com/#magic-transit-static-routes-route-details)
Create Route (https://api.cloudflare.com/#magic-transit-static-routes-create-routes)
Update Route (https://api.cloudflare.com/#magic-transit-static-routes-update-route)
Delete Route (https://api.cloudflare.com/#magic-transit-static-routes-delete-route)

$ go test $(go list ./...) -v -run MagicTransitStaticRoute
=== RUN   TestListMagicTransitStaticRoutes
--- PASS: TestListMagicTransitStaticRoutes (0.00s)
=== RUN   TestGetMagicTransitStaticRoute
--- PASS: TestGetMagicTransitStaticRoute (0.00s)
=== RUN   TestCreateMagicTransitStaticRoutes
--- PASS: TestCreateMagicTransitStaticRoutes (0.00s)
=== RUN   TestUpdateMagicTransitStaticRoute
--- PASS: TestUpdateMagicTransitStaticRoute (0.00s)
=== RUN   TestDeleteMagicTransitStaticRoute
--- PASS: TestDeleteMagicTransitStaticRoute (0.00s)
PASS

thanking you @cehrig 🍰


Change link to docs page

Motivation
Current godocs links direct to overview page instead of docs page.
Solution
Change links to point to docs page.

Review Error for annieke @ 2020-04-10 21:44:20 UTC
User failed mfa authentication, public email is not set on your github profile. see go/mfa-help

Review Error for annieke @ 2020-04-10 21:44:50 UTC
User failed mfa authentication, public email is not set on your github profile. see go/mfa-help

Review Error for annieke @ 2020-04-10 21:46:18 UTC
User failed mfa authentication, public email is not set on your github profile. see go/mfa-help

Review Error for annieke @ 2020-04-10 21:53:50 UTC
User failed mfa authentication, public email is not set on your github profile. see go/mfa-help

Review Error for annieke @ 2020-04-10 21:55:28 UTC
User failed mfa authentication, public email is not set on your github profile. see go/mfa-help


BL-76-Iterate-design-artifacts-to-include-viewing-case-data

Co-authored-by: Victor Brambilla<EMAIL_ADDRESS>Description
Added Video, Jira, Figma, and pdf Links for BL-76
Video Link
https://www.loom.com/share/7bd4c0b04e7440c0bd3aed9a2664ceaf
Jira Link
https://bloomtechlabs.atlassian.net/jira/software/c/projects/BL/boards/8?modal=detail&selectedIssue=BL-76
Figma Link
https://www.figma.com/file/zrTsnUUki4RsARx5GqFHBR/Viewing-Case-Data?node-id=0%3A1
pdf Link
https://1drv.ms/b/s!Ave7mpxi1nlfgcIyEAxl-9ZvfyTEBg
Checklist:

[X] My design/diagram follows the style guidelines of this project
[X] My docs are organized within an appropriate folder structure in our repo
[X] Pull request description clearly describes docs made & motivations for said additions

This end point "/cases/{id}" does exist. We currently only has one end point "/cases" that gets all cases. Also case id is of type string.
It won't allow to request changes or approve. Please stop the pull request.


TensorFlow to Core ML Giving Wrong Predictions.

After converting TensorFlow model to Core ML I created an iOS app to try to use it and check out the predictions. I used my already built app and replaced it with the new model. Unfortunately, the predictions it give were completely wrong. The predictions works correctly if I get the Core ML model from Apple's Machine Learning website.
But when I use the TensorFlow to Core ML converted model then it gives wrong predictions. I am attaching an image to show the problem and also a link to the Github repository that contains all the code I used to create the app.

Github URL: https://github.com/azamsharp/ImageRecognitionTensorFlow2CoreML

The app works correctly and give correct predictions if I use the Core ML model from Apple's website and not the TensorFlow generated model.

After conversion, it is best practice to compare the numerical predictions of CoreML (using coremltools predict method) and the original model in TF.
Have you compared the original TF model and CoreML predictions on a same input image?
(Note that you can load images using PIL package in python and pass them to the predict method in coremltools).

Yes I used the same input and same set of images on Apples Core ML model and the tensor flow converted model. Apple model produces correct result and tensor flow model just gives random predictions. I have attached code in previous post where I show the bug in the tensor flow converter.

Also it would be extremely beneficial for everyone if Google can write an article about the whole process. Take a TensorFlow model convert to CoreML and the show it in iOS App that it predicts correctly. It would save hours and hours of wild goose chase that we are experiencing

I suspect the issue is with the preprocessing parameters that you have set during conversion, i.e. the image scales and biases. In your .mlmodel at https://github.com/azamsharp/ImageRecognitionTensorFlow2CoreML, the biases are set to 0 and scale is 1. However, for the inceptionV1 model that you have converted they should be such that after preprocessing the values are in the range [-1,1]. That would mean setting the scale to be 2.0/256.0 and the biases as -1 for CoreML conversion since the raw images have range [0,256]. I am writing another ipython notebook to explain the preprocessing stuff. So stay tuned for a PR!
I assume the TF model you are converting is at : https://storage.googleapis.com/download.tensorflow.org/models/inception_v1_2016_08_28_frozen.pb.tar.gz
Can you kindly provide the link of the Core ML model from Apple's Machine Learning website that you referred to? Note that its likely that the source of the Apple's hosted model is not same as the TF model, so you cannot directly compare the two. An apples to apple comparison would be to check the numerical accuracy of the TF model to its converted mlmodel (something that is done in the end of https://github.com/tf-coreml/tf-coreml/blob/master/examples/ssd_example.ipynb).

Thanks! The link to the Inception Apple model is here: https://docs-assets.developer.apple.com/coreml/models/Inceptionv3.mlmodel
Why is using tfcoreml tools so insanely complicated? It is as difficult as setting the values on an Enigma machine. With so many different settings and so many different ways to produce a wrong result is this even useful to developers. The whole point of tfcoreml tool *was to provide a TensorFlow model and convert to the Core ML model thats it!
I checked on many different images as you can see in the Xcode project and for all the images TensorFlow model returned *wrong results. With absolutely no documentation, no sample project this project might end up like Iron Ruby, which was a great concept but failed to deliver because of lack of documentation.

No wonder the predictions do not match!!
Inception V3 and V1 are two totally different models with different weights (V3 is over 90 MB large and V1 is about 28 MB).
Moreover, incorrect image preprocessing is definitely an issue here. Please see PR #92. I have added a Jupiter notebook that explains the preprocessing step.
tfcoreml converts TF models into CoreML. For details on different parameters of CoreML, please refer to the Apple documentation and the coremltools documentation (https://github.com/apple/coremltools, https://apple.github.io/coremltools/)

So, can you provide me any image that the TensorFlow converted model can
detect successfully.
On Sun, Dec 17, 2017 at 1:42 PM, Aseem Wadhwa<EMAIL_ADDRESS>wrote:

No wonder the predictions do not match!!
Inception V3 and V1 are two totally different models with different
weights (V3 is over 90 MB large and V1 is about 28 MB).
Moreover, incorrect image preprocessing is definitely an issue here.
Please see PR #92 https://github.com/tf-coreml/tf-coreml/pull/92. I
have added a Jupiter notebook that explains the preprocessing step.
tfcoreml converts TF models into CoreML. For details on different
parameters of CoreML, please refer to the Apple documentation and the
coremltools documentation (https://github.com/apple/coremltools,
https://apple.github.io/coremltools/)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tf-coreml/tf-coreml/issues/91#issuecomment-352280023,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABA3FVT9zccxypVM33XNd3yhJx-u061ks5tBW6xgaJpZM4REsL5
.

--
Mohammad Azam
MVP (Most Valuable Professional)
www.highoncoding.com
www.azamsharp.com
Check out my iPhone apps at http://www.azamsharp.com

Hi,
After preprocesing it works as expected. Thanks for your help!
PS: The tfcoreml tool lacks documentation. Setting preprocessor, inputs,
outputs etc no developer will ever know how to set those things. The
process of converting from tfcoreml to Core ML model should be as painless
as possible. It looks like this tool can only be used by people who have
years or machine learning and TensorFlow experience. It is definitely not
intended for iOS developers.
On Sun, Dec 17, 2017 at 2:12 PM, Mohammad Azam<EMAIL_ADDRESS>wrote:

So, can you provide me any image that the TensorFlow converted model can
detect successfully.
On Sun, Dec 17, 2017 at 1:42 PM, Aseem Wadhwa<EMAIL_ADDRESS>wrote:

No wonder the predictions do not match!!
Inception V3 and V1 are two totally different models with different
weights (V3 is over 90 MB large and V1 is about 28 MB).
Moreover, incorrect image preprocessing is definitely an issue here.
Please see PR #92 https://github.com/tf-coreml/tf-coreml/pull/92. I
have added a Jupiter notebook that explains the preprocessing step.
tfcoreml converts TF models into CoreML. For details on different
parameters of CoreML, please refer to the Apple documentation and the
coremltools documentation (https://github.com/apple/coremltools,
https://apple.github.io/coremltools/)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tf-coreml/tf-coreml/issues/91#issuecomment-352280023,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABA3FVT9zccxypVM33XNd3yhJx-u061ks5tBW6xgaJpZM4REsL5
.

--
Mohammad Azam
MVP (Most Valuable Professional)
www.highoncoding.com
www.azamsharp.com
Check out my iPhone apps at http://www.azamsharp.com

--
Mohammad Azam
MVP (Most Valuable Professional)
www.highoncoding.com
www.azamsharp.com
Check out my iPhone apps at http://www.azamsharp.com

@aseemw Thanks for your great posting, especially for the PR #92. However, I have one question, I will be very happy  if you would like to answer.
In the article(https://github.com/tf-coreml/tf-coreml/blob/master/examples/inception_v1_preprocessing_steps.ipynb),

How do we know what preprocessing to apply? This can be tricky to find sometimes. The approach is to find the source of the pre-trained model and check for the preprocessing that the author of the model used while training and evaluation. In this case, the TF model comes from the SLIM library so we find the preprocessing steps here

Then I go to https://github.com/tensorflow/models/blob/edb6ed22a801665946c63d650ab9a0b23d98e1b1/research/slim/preprocessing/inception_preprocessing.py#L243
I find two code of it:
image = tf.subtract(image, 0.5)
image = tf.multiply(image, 2.0)

that is to say we have (image - 0.5) * 2, which means 2 * image - 1.
However, I find the content in your article:

We see that the image pixels have to be scaled to lie in the interval [-1,1]. Lets do that and get the TF predictions again!

img_tf = (2.0/255.0) * img_tf - 1

Firstly, how to we get the result which will be scaled to lie in the interval [-1, 1]?
Second, where the 255.0 to get? we have 2 * image - 1, I can not to understand the 255.0 (I guess which means 0 ~ 255 of RGB? how about color space of gray, not RGB?).
Thanks in advance, because our project based on this tools, I must make sure I understand very correctly of this import concept.

In the notebook example, when the image is loaded through PIL,  the values are in the interval [0,255]. That is, values in the img_tf bumpy array are in that range. Hence scaling it by 2.0/255.0 brings it to [0,2] and subtracting 1 makes it [-1,1].
In https://github.com/tensorflow/models/blob/edb6ed22a801665946c63d650ab9a0b23d98e1b1/research/slim/preprocessing/inception_preprocessing.py#L243 if you read the comment at
https://github.com/tensorflow/models/blob/edb6ed22a801665946c63d650ab9a0b23d98e1b1/research/slim/preprocessing/inception_preprocessing.py#L254, you will see that the input to the function preprocess_for_eval is a tf.float in range [0,1]  and hence
image = tf.subtract(image, 0.5)
image = tf.multiply(image, 2.0)

brings it to range 2 * [-0.5,0.5] = [-1,1], the same range.

@aseemw I understand it and your post is very detail. Thanks very much!

@aseemw The inception processing I understand completely. How about VGG Preprocessing? https://github.com/tensorflow/models/blob/edb6ed22a801665946c63d650ab9a0b23d98e1b1/research/slim/preprocessing/vgg_preprocessing.py#L319 I notice that tensorflow has two preprocessing methods. And vgg preprocessing is different completely than inception processing we talked before. And I don't find any restrict like must be [0, 1] or any others in the code of comment.

Thanks, I think I got it.


LibJS: Convert Reflect object tests to new testing framework

@mattco98 this (all Reflect object tests) is ready, feel free to merge into your branch :)

Thanks! :)


Dev blendmodes class

Better version of #4033

Takes care of premultiplied alpha
Allows to create your own blendmodes

var gl = WebGLRenderingContext;
var blend = new PIXI.BlendMode(gl.ZERO, gl.ONE_MINUS_SRC_ALPHA, gl.ONE, gl.ONE_MINUS_SRC_ALPHA); //RGB=000

sprite.blendMode = blend;

side effect: "renderer.setBlendMode" and "renderer.state.setBlendMode" aren't accepting numbers anymore. But you still can use "sprite.blendMode = 1" because of property fallback.

Note for users who save/load sprites/meshes:
sprite.blendMode.code; // <- this one is a number
PIXI.BlendMode.values[code]; // <-- that's how you get blendmode object by code

I'm not sure that this level of refactoring is a good idea in v4, and I'm not entirely happy with the API it produces. It is pretty complicated.

@englercj well, you asked for classes ;) What if @GoodBoyDigital takes it into v5, and we merge previous PR in v4.

Anyone know if this fixes the following?
https://codepen.io/wildtype/pen/NjeRMN

well, you asked for classes ;)

I didn't though, I said it was fine and that I would refactor it into classes-like structure for v5.

@ivanpopelyshev can this be closed because we merge the other blendmodes pr?

@bigtimebuddy this one yes, but I'll make it against v5 ("next" branch)

this one yes, but I'll make it against v5 ("next" branch)

I would hold off on that for a bit, I have a lot of local changes that may invalidate that need.

@englercj ok ;)

This will be rebased against v5, and I need this PR to be visible for people who want to test it in v4.

Hey @ivanpopelyshev, we will tackle this in v5 which is rolling right now on the next branch, but no major refactors for v4. I'm closing for now, when you are ready to add again to v5, let's re-open or resubmit.


Add doc comments to BitcoinExtKey and ExtKey

Mostly just adding doc comments (which appear as help in VS Intellisense) to methods.
Re-ordered a couple of methods to keep overloads together.
Fixed a small typo/bug in the argument validation of one constructor of ExtKey (it was comparing a length against itself).

2 nitpicks:

You're using spaces, while the original code is using tabs.
You're doing 3 changes, but mixing them in one commit, please separate each unit of work in one commit (one for adding docs, one for moving code, one for fixing typo/bug).

That's ok for the 1 commit, but can you fix the spaces?

That's ok for the 1 commit

Haven't looked at the particular typo/bug fix, but in general, mixing changes is not a good approach, moving forward. The reason is this: if in the future you find that a mistake was done in the commit, you may want to revert it, but if it contains changes for different purposes, then you need to do a partial-revert, which is more tricky, and makes the history not so clean. (You could even automate this from a CI point of view: you create a test that you know it's a regression and you tell CI to bisect the commit that caused the regression and revert it. In that case you don't want your CI to revert changes that are not related to the regression.)

yeah I know but that arrive rarely enough to bother. Particulary for a commit like this one that is trivial.
Also those two changes are about the same topic.

Hadn't got around to checking the comments; will change to use tabs and update.

knocte - I agree that the bug fix is a separate issue, so can put that in a separate branch (it was a trivial thing I noticed while adding the comments).
Are you okay if I leave changing the order of methods (just moving code, no actual changes) and adding doc comments, as they are both related to readability and neither actually makes any changes to the code? (If not, separating is fine too)

(First I have to say that I'm not a maintainer of NBitcoin so I don't dictate what goes in or not, I'm just giving advice of best practices.) Separating in 2 commits instead of 3 seems good enough.

Okay, I fixed the tabs and also removed the bug fix (to a separate pull request).  I amended the original commit, but also did a rebase on the latest master anyway (these shouldn't affect the PR at the branch level though).


add support for karyotyping

Addresses #604
In this PR, I add support for karyotyping. I have added the functionality to ag3.py, as it is specific to gambiae complex - not for funestus.
This works by reading in the tag SNPs directly from the compkaryo github (https://github.com/rrlove/compkaryo/tree/master/compkaryo/targets), subsetting to those positions, and calculating the mean genotype, returning a dataframe. Currently, the raw mean genotype is returned, but perhaps we should round it to 0,1,2 which might be less confusing for end users (the tag SNPs are not perfect).
I use biallelic snp calls only, because the compkaryo tag snps do not specify specific alleles and assume biallelism, which is a problem, because what was biallelic in their data could be multiallelic in yours. Still, they do work fine from what I can see.
Users may have to be advised that some tag SNPs are applicable only to certain species in the gambiae complex. For example, I have seen people try and report the frequency of tag snps of an inversion which isn't even segregating in their species. In theory we could prevent this within the function, but I'm not sure if that's necessary.

FFS, I forgot about the fork thing and CI. is there no way around that? @ahernank @alimanfoo

Closing this PR - will redo another from the main malariagen_data repo (not my fork), so that the CI will run properly


Move the #ternary? predicate method to IfNode module

I was playing around with some ternary stuff, and realized that there was quite an inconsistent treatment of ternary checks in the code base. Some instances had inlined the predicate (node.loc.respond_to?(:question)) in the code, while others used the #ternary_op? helper that was defined in a generic Util module, rather than IfNode, where I'd expect to find it.
This change suggests cleaning some of that up.

This change removes the old method from:
RuboCop::Cop::Util#ternary_op?
and moves its functionality into:
RuboCop::Cop::Mixin::IfNode#ternary?
It also replaces all use of the former, as well as all occurences of inlined duplication of the logic, with the latter.

:+1: Excellent work! I can't imagine how we managed to create this mess. I'm guessing we probably have the same problem with other helper methods.

Speaking only for myself, of course, it took a while to find the node helpers in the mixins. I think a lot of new contributors might not realize, and end up reinventing some of them.
I think I initially expected to find some of them in the API for RuboCop::Node, but I assume there are good reasons not to, like keeping its API footprint down, or even performance?


Compiler is failing to find limits.h and stddef.h on system

Steps to reproduce

On an Arch Linux install, install git.
Run:

git clone https://aur.archlinux.org/gvim-gtk2.git
cd gvim-gtk2

Make sure pkgver= is set to 9.0.1215 (in the PKGBUILD file) and the right checksum is used for the vim source tarball (should be "a1671ccdcea032ab55c7a6c16c4151849e84528e68c4c9492136e15a04826ea6").
Compile gvim-gtk2 9.0.1215 with makepkg -s.

Expected behaviour
For the build to complete successfully.
Version of Vim
9.0.1215
Environment
Operating system: Arch Linux.
Terminal: urxvt.
Shell: Zsh 5.9.
Logs and stack traces
The error message is:

/usr/include/glib-2.0/gobject/gtype.h:700:1: note: declared here
  700 | {
      | ^
In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31,
                 from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30,
                 from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30,
                 from /usr/include/gtk-2.0/gtk/gtk.h:126,
                 from gui.h:25,
                 from structs.h:114,
                 from vim.h:1909:
/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
   73 |   GTimeVal last_popdown;
      |   ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:34,
                 from /usr/include/glib-2.0/glib.h:32,
                 from /usr/include/glib-2.0/gobject/gbinding.h:30:
/usr/include/glib-2.0/glib/gtypes.h:576:8: note: declared here
  576 | struct _GTimeVal
      |        ^~~~~~~~~
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread    -g -O2  -D_REENTRANT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/pty.o pty.c
In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37,
                 from /usr/include/gtk-2.0/gtk/gtkwidget.h:36,
                 from beval.h:17,
                 from vim.h:1905,
                 from pty.c:43:
/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations]
  236 | void            gtk_type_init   (GTypeDebugFlags    debug_flags);
      | ^~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:26,
                 from /usr/include/glib-2.0/gobject/gbinding.h:31,
                 from /usr/include/glib-2.0/glib-object.h:24,
                 from /usr/include/glib-2.0/gio/gioenums.h:30,
                 from /usr/include/glib-2.0/gio/giotypes.h:30,
                 from /usr/include/glib-2.0/gio/gio.h:28,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from /usr/include/gtk-2.0/gtk/gtkwidget.h:34:
/usr/include/glib-2.0/gobject/gtype.h:700:1: note: declared here
  700 | {
      | ^
In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31,
                 from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30,
                 from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30,
                 from /usr/include/gtk-2.0/gtk/gtk.h:126,
                 from gui.h:25,
                 from structs.h:114,
                 from vim.h:1909:
/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
   73 |   GTimeVal last_popdown;
      |   ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:34,
                 from /usr/include/glib-2.0/glib.h:32,
                 from /usr/include/glib-2.0/gobject/gbinding.h:30:
/usr/include/glib-2.0/glib/gtypes.h:576:8: note: declared here
  576 | struct _GTimeVal
      |        ^~~~~~~~~
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread    -g -O2  -D_REENTRANT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/quickfix.o quickfix.c
In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37,
                 from /usr/include/gtk-2.0/gtk/gtkwidget.h:36,
                 from beval.h:17,
                 from vim.h:1905,
                 from quickfix.c:14:
/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations]
  236 | void            gtk_type_init   (GTypeDebugFlags    debug_flags);
      | ^~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:26,
                 from /usr/include/glib-2.0/gobject/gbinding.h:31,
                 from /usr/include/glib-2.0/glib-object.h:24,
                 from /usr/include/glib-2.0/gio/gioenums.h:30,
                 from /usr/include/glib-2.0/gio/giotypes.h:30,
                 from /usr/include/glib-2.0/gio/gio.h:28,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from /usr/include/gtk-2.0/gtk/gtkwidget.h:34:
/usr/include/glib-2.0/gobject/gtype.h:700:1: note: declared here
  700 | {
      | ^
In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31,
                 from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30,
                 from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30,
                 from /usr/include/gtk-2.0/gtk/gtk.h:126,
                 from gui.h:25,
                 from structs.h:114,
                 from vim.h:1909:
/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
   73 |   GTimeVal last_popdown;
      |   ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:34,
                 from /usr/include/glib-2.0/glib.h:32,
                 from /usr/include/glib-2.0/gobject/gbinding.h:30:
/usr/include/glib-2.0/glib/gtypes.h:576:8: note: declared here
  576 | struct _GTimeVal
      |        ^~~~~~~~~
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread    -g -O2  -D_REENTRANT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/regexp.o regexp.c
In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37,
                 from /usr/include/gtk-2.0/gtk/gtkwidget.h:36,
                 from beval.h:17,
                 from vim.h:1905,
                 from regexp.c:12:
/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations]
  236 | void            gtk_type_init   (GTypeDebugFlags    debug_flags);
      | ^~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:26,
                 from /usr/include/glib-2.0/gobject/gbinding.h:31,
                 from /usr/include/glib-2.0/glib-object.h:24,
                 from /usr/include/glib-2.0/gio/gioenums.h:30,
                 from /usr/include/glib-2.0/gio/giotypes.h:30,
                 from /usr/include/glib-2.0/gio/gio.h:28,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from /usr/include/gtk-2.0/gtk/gtkwidget.h:34:
/usr/include/glib-2.0/gobject/gtype.h:700:1: note: declared here
  700 | {
      | ^
In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31,
                 from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30,
                 from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30,
                 from /usr/include/gtk-2.0/gtk/gtk.h:126,
                 from gui.h:25,
                 from structs.h:114,
                 from vim.h:1909:
/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
   73 |   GTimeVal last_popdown;
      |   ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:34,
                 from /usr/include/glib-2.0/glib.h:32,
                 from /usr/include/glib-2.0/gobject/gbinding.h:30:
/usr/include/glib-2.0/glib/gtypes.h:576:8: note: declared here
  576 | struct _GTimeVal
      |        ^~~~~~~~~
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread    -g -O2  -D_REENTRANT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/register.o register.c
In file included from vim.h:78,
                 from register.c:14:
/usr/include/limits.h:124:26: error: no include path in which to search for limits.h
  124 | # include_next <limits.h>
      |                          ^
In file included from os_unix.h:21,
                 from vim.h:244:
/usr/include/stdio.h:33:10: fatal error: stddef.h: No such file or directory
   33 | #include <stddef.h>
      |          ^~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:3418: objects/register.o] Error 1
make[1]: Leaving directory '/data/AUR/gvim-gtk2/src/vim-9.0.1215/src'
make: *** [Makefile:29: first] Error 2

I should mention with previous versions of Vim building with the exact same configuration options happened without issue. The configuration options are present in the prepare() section of the PKGBUILD.

Odd, I just recompiled this package and it built without issue, so I'll close this issue.


API: datetimeindex subtraction

from SO and previous discussions
currently you cannot subtract 2 datetimeindexes ('-' is actually a set op). This is the ONLY valid numerical type of operation (e.g. you cannot add dti).
We current support pretty much the fully gamut of obvious ops, with dti-dti being the exception.
full list of tests are here: https://github.com/pydata/pandas/blob/master/pandas/tseries/tests/test_base.py#L434
I will propose
dti.sub(dti) to rectify this
thoughts

@jreback I think we should revisit this for 0.16 (or at least the deprecation)
We do want to be able to do numeric operations, so we should deprecate the set operation (in theory this was already deprecated in 0.15, but for datimeindexes, there was not deprecation warning raised)
on master:
In [6]: dti = pd.date_range('2012-01-01', periods=2)

In [7]: dti - dti
Out[7]: Index([], dtype='object')

yes could deprecate the actual subtraction op (which is the only thing left) on dti - dti for 0.16
(as .difference is the way to go)

@jorisvandenbossche this is in 0.19.0rc1 right? (need to check the issue)

Yes, indeed, but this issue was in the end for raising the deprecation warning, so I didn't reference it from the PR (but is could be referenced). PR that changed the setop to timedelta is https://github.com/pydata/pandas/pull/14164


[Event Request] codeunit 550 "VAT Rate Change Conversion" - OnIncludeLineOnTypeElse

Reference to the old issue marked as complete:
https://github.com/microsoft/ALAppExtensions/issues/19526
Not included in the Build ID 48357 (Update 1 for BC 2022 Wave 2)
please add new event in codeunit 550 "VAT Rate Change Conversion"
[IntegrationEvent(true, false)]
local procedure OnIncludeLineOnTypeElse(Type: Option " ","G/L Account",Item,Resource; var Result: Boolean; var IsHandled: Boolean)
begin
end;

local procedure IncludeLine(Type: Option " ","G/L Account",Item,Resource; No: Code[20]) Result: Boolean
var
    IsHandled: Boolean;
begin
    case Type of
        Type::"G/L Account":
            exit(IncludeGLAccount(No));
        Type::Item:
            exit(IncludeItem(No));
        Type::Resource:
            exit(IncludeRes(No));
        else begin
                OnIncludeLineOnTypeElse(Type, Result, IsHandled);
                if IsHandled then
                    exit(Result);
            end;
    end;
    exit(true);
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 49620.


A node with subcomponents cannot be directly deleted via API

According to the change log, as of version 2.12

DELETE requests to a node detail will also delete all the node's subcomponents

but that doesn't appear to the case. When attempting to delete a project with a single subcomponent
curl -X DELETE "https://api.osf.io/v2/nodes/8xc9y/" -H "Authorization: Bearer $PAT"

the following error is thrown
{
  "errors": [
    {
      "detail": "Any child components must be deleted prior to deleting this project."
    }
  ],
  "meta": {
    "version": "2.0"
  }
}

Am I missing something or misinterpret the docs?

It's because you're using version 2.0 of the API rather than version 2.12 or later. https://developer.osf.io/#tag/Versioning should get you the rest of the way there.

Thanks, Brian.
I can confirm it works as expected when the version is pinned using a query parameter but I hit the same problem when using header-based versioning
curl -X DELETE "https://api.osf.io/v2/nodes/hrbkg/" \
     -H "Authorization: Bearer $PAT" \
     -H "Accept-Header: application/vnd.api+json;version=2.12"

What do you get in the meta.version section of the API response? Still '2.0'?

Ah, I think the header is supposed to be Accept and not Accept-Header. We will need to change our documentation.

Changing Accept-Header to Accept did the trick! Thanks!


add extra logging for file search perf

Add some debug logs for https://github.com/microsoft/vscode/issues/183480. Adds logs for how long ripgrep takes to run, in addition to the total time take in the extension host to do the entire search.

@andreamah looks like a couple integration test failures (flaky?)


mix test.coverage --export-coverage fails

Environment

Elixir version (elixir -v): 1.13.3
Domo version (mix deps | grep domo | head -1): master
TypedStruct version (mix deps | grep typed_struct | head -1): N/A

Actual behavior

When exporting a test coverage report, the command seemingly fails due to missing *.TypeEnsurer Module Code.
domo/example_avialia on  master is 📦 v0.1.0 via 💧 v1.13.3 (OTP 24)
❯ mix test.coverage --export-coverage
 ... a lot of output ...

** (MatchError) no match of right hand side value: {:error, {:no_source_code_found, ExampleAvialia.Boardings.Passenger.TypeEnsurer}}
    (mix 1.13.3) lib/mix/tasks/test.coverage.ex:290: anonymous fn/3 in Mix.Tasks.Test.Coverage.html/2
    (elixir 1.13.3) lib/enum.ex:2396: Enum."-reduce/3-lists^foldl/2-0-"/3
    (mix 1.13.3) lib/mix/tasks/test.coverage.ex:289: Mix.Tasks.Test.Coverage.html/2
    (mix 1.13.3) lib/mix/task.ex:397: anonymous fn/3 in Mix.Task.run_task/3
    (mix 1.13.3) lib/mix/cli.ex:84: Mix.CLI.run_task/2

Full Log (click to expand)
domo/example_avialia on  master is 📦 v0.1.0 via 💧 v1.13.3 (OTP 24)
❯ mix test.coverage --export-coverage
warning: use Mix.Config is deprecated. Use the Config module instead
  config/config.exs:8

warning: use Mix.Config is deprecated. Use the Config module instead
  config/test.exs:1

13:24:13.899 [info]  The function passed as a handler with ID {Phoenix.Logger, [:phoenix, :channel_handled_in]} is a local function.
This means that it is either an anonymous function or a capture of a function without a module specified. That may cause a performance penalty when calling that handler. For more details see the note in `telemetry:attach/4` documentation.

https://hexdocs.pm/telemetry/telemetry.html#attach/4

13:24:13.910 [info]  The function passed as a handler with ID {Phoenix.Logger, [:phoenix, :channel_joined]} is a local function.
This means that it is either an anonymous function or a capture of a function without a module specified. That may cause a performance penalty when calling that handler. For more details see the note in `telemetry:attach/4` documentation.

https://hexdocs.pm/telemetry/telemetry.html#attach/4

13:24:13.910 [info]  The function passed as a handler with ID {Phoenix.Logger, [:phoenix, :endpoint, :start]} is a local function.
This means that it is either an anonymous function or a capture of a function without a module specified. That may cause a performance penalty when calling that handler. For more details see the note in `telemetry:attach/4` documentation.

https://hexdocs.pm/telemetry/telemetry.html#attach/4

13:24:13.910 [info]  The function passed as a handler with ID {Phoenix.Logger, [:phoenix, :endpoint, :stop]} is a local function.
This means that it is either an anonymous function or a capture of a function without a module specified. That may cause a performance penalty when calling that handler. For more details see the note in `telemetry:attach/4` documentation.

https://hexdocs.pm/telemetry/telemetry.html#attach/4

13:24:13.910 [info]  The function passed as a handler with ID {Phoenix.Logger, [:phoenix, :error_rendered]} is a local function.
This means that it is either an anonymous function or a capture of a function without a module specified. That may cause a performance penalty when calling that handler. For more details see the note in `telemetry:attach/4` documentation.

https://hexdocs.pm/telemetry/telemetry.html#attach/4

13:24:13.910 [info]  The function passed as a handler with ID {Phoenix.Logger, [:phoenix, :router_dispatch, :start]} is a local function.
This means that it is either an anonymous function or a capture of a function without a module specified. That may cause a performance penalty when calling that handler. For more details see the note in `telemetry:attach/4` documentation.

https://hexdocs.pm/telemetry/telemetry.html#attach/4

13:24:13.910 [info]  The function passed as a handler with ID {Phoenix.Logger, [:phoenix, :socket_connected]} is a local function.
This means that it is either an anonymous function or a capture of a function without a module specified. That may cause a performance penalty when calling that handler. For more details see the note in `telemetry:attach/4` documentation.

https://hexdocs.pm/telemetry/telemetry.html#attach/4
Domo will treat the following types as any() globally: Ecto.Schema.Metadata.t()
Domo is compiling type ensurer for 0 module (.ex)
Importing cover results: cover/html.coverdata

Percentage | Module
-----------|--------------------------
     0.00% | ExampleAvialia.Boardings.Passenger.TypeEnsurer
     0.00% | ExampleAvialia.Cargos.Measurement.TypeEnsurer
     0.00% | ExampleAvialia.Cargos.Shipment.TypeEnsurer
     0.00% | ExampleAvialia.Cargos.ShipmentDocument
     0.00% | ExampleAvialia.Cargos.ShipmentDocument.TypeEnsurer
     0.00% | ExampleAvialia.Cargos.ShipmentWeight
     0.00% | ExampleAvialia.DataCase
     0.00% | ExampleAvialia.SharedKernel
     0.00% | ExampleAvialiaWeb
     0.00% | ExampleAvialiaWeb.ChannelCase
     6.67% | ExampleAvialia.Cargos.Shipment
    16.67% | ExampleAvialia.Cargos.ShipmentKind
    20.00% | ExampleAvialia.Cargos
    20.00% | ExampleAvialiaWeb.ErrorHelpers
    25.00% | ExampleAvialia.Boardings.Passenger
    27.45% | ExampleAvialiaWeb.PageController
    33.33% | ExampleAvialia.Cargos.Measurement
    37.50% | ExampleAvialiaWeb.Router
    50.00% | ExampleAvialia.BoardingsRepo
    50.00% | ExampleAvialia.CargosRepo
    50.00% | ExampleAvialiaWeb.LayoutView
    50.00% | ExampleAvialiaWeb.PageView
    55.56% | ExampleAvialia.Boardings
    66.67% | ExampleAvialiaWeb.ErrorView
    75.00% | ExampleAvialia.Application
   100.00% | ExampleAvialia
   100.00% | ExampleAvialia.TaggedTupleEctoType
   100.00% | ExampleAvialiaWeb.ConnCase
   100.00% | ExampleAvialiaWeb.Endpoint
   100.00% | ExampleAvialiaWeb.Router.Helpers
-----------|--------------------------
    13.44% | Total

Coverage test failed, threshold not met:

    Coverage:   13.44%
    Threshold:  90.00%

** (MatchError) no match of right hand side value: {:error, {:no_source_code_found, ExampleAvialia.Boardings.Passenger.TypeEnsurer}}
    (mix 1.13.3) lib/mix/tasks/test.coverage.ex:290: anonymous fn/3 in Mix.Tasks.Test.Coverage.html/2
    (elixir 1.13.3) lib/enum.ex:2396: Enum."-reduce/3-lists^foldl/2-0-"/3
    (mix 1.13.3) lib/mix/tasks/test.coverage.ex:289: Mix.Tasks.Test.Coverage.html/2
    (mix 1.13.3) lib/mix/task.ex:397: anonymous fn/3 in Mix.Task.run_task/3
    (mix 1.13.3) lib/mix/cli.ex:84: Mix.CLI.run_task/2

Expected behavior
I'd expect the coverage export to not fail.
From the top of my head, I could imagine multiple ways to attempt a solution:

have the source code available to the coverage task
or to add the TypeEnsurer Modules to the ignore_modules List of the test_coverage config
or provide a Function to get a list of all the TypeEnsurer's to easily ignore them, maybe including an example as part of the setup guide

For now we are going to manually manage the ignore_modules List, which prevents the error but is an extra burden to remember for every Module we setup to use Domo.
If there is anything we can do to help implement a solution you think to be maintainable, we'd be happy to help out.

These modules are not covered by tests but are generated. So excluding them from analysis seems a good option.
Starting from Elixir v1.13 you can use regex in ignore_modules to exclude all TypeEnsurer modules like the following:
def project do
  [
    ...
    test_coverage: [ignore_modules: [~r/\.TypeEnsurer$/]]
  ]
end

Does it solves your issue?

Great didn’t realize Regex are an option there.
Would you accept a PR to add a note about this somewhere within the installation instructions?

Thank you. No need for PR. I already added the info to the Readme.MD for the next release.


🐛 | Jukebox don't updates / reads RFID ID over RC522 reader.

Bug
What I did
I installed like in the wiki described the raspios-buster-armhf-lite image 2021-12-02.
Set up wlan.
Used the stable script to install Jukebox. Setup my Pi with a RC522 Reader.
What happened
The RFID ID never get's updated / read
I expected this to happen
The RFID ID get's updated / read
Further information that might help
Manually using that script with deactivated rfid in the Webui gives me the ID:
#!/usr/bin/env python
import RPi.GPIO as GPIO
from mfrc522 import SimpleMFRC522

reader = SimpleMFRC522()

try:
        id, text = reader.read()
        print(id)
        print(text)
finally:
        GPIO.cleanup()

had to install mfrc522 python bib with:
sudo pip3 install mfrc522
Software
Base image and version
2021-12-02-raspbios-buster-armhf-lite.img
Branch / Release
master
Installscript
scripts/installscripts/buster-install-default.sh
Hardware
RaspberryPi version
1 B+
RFID Reader
RC522
followed the wiring described as default in the wiki.
Other notable hardware

This file doesn't exist in my installation.

What’s the output of tail /var/log/syslog -n 200?

Here:
http://ix.io/4oBq
Deleted mpd update data...

@s-martin sorry don't want to nag at you, but would be nice to get some feedback.
Is that normal: Unit phoniebox-gpio-control.service could not be found.

That’s not normal and I’m not sure why it’s missing.
In ~/RPi-Jukebox-RFID/phoniebox_logs should be logs from the installation.
could you paste the log of the installation?

GPIOconfig="NO"
Has it maybe something to do with me having no hardware buttons should not matter right?
I don't see anything here you go:
http://ix.io/4pk1

@s-martin so it's nice to find out what went wrong, but is there some sort of fix? Is there a package to install to get the gpio-control.service file installed? Or do you need more logs or anything, just would love to go forward with that project.
You have all the logs relevant right? So no reason to keep it in the bad state?

Hi, have you already tried a reinstallation with a fresh image (up to date image aswell, as yours is from 2021)? Does your problem persist?

@AlvinSchiller No, so you mean the bullseye image from here:
https://www.raspberrypi.com/software/operating-systems/#raspberry-pi-os-32-bit
Well it's just that the wiki recommends to use buster over this, now I gone the save "stable" and recommend route and it does not work. Well sure I will try it when I come to it maybe later today.

@AlvinSchiller Well in the Wiki there is a link to that image if you are not supposed to download that image should the wiki not point to the website like somewhere here maybe:
https://www.raspberrypi.com/software/operating-systems/#raspberry-pi-os-legacy
I don't know their release circle so I didn't know there are newer buster images that said should a apt update / upgrade not update everything?

Yes that should (in theory) make no difference and I cannot say it will not work.
But as I can confirm that this image will work with the installation and a rc522 reader, it will hopefully make it easier to find the issue, if you are going to try a fresh installation.

Well just am trying again, not much done after dd the image on the system wlan config (stick) ssh then copy the one-line command from the stable branch.
################################################
WIFIconfig=NO
WIFIcountryCode=DE
EXISTINGuse=NO
AUDIOiFace="Headphone"
SPOTinstall="NO"
MPDconfig="YES"
DIRaudioFolders="/home/pi/RPi-Jukebox-RFID/shared/audiofolders"
GPIOconfig="NO"
################################################

W: GPG error: https://apt.mopidy.com buster InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 78FD980E271D2943
E: The repository 'https://apt.mopidy.com buster InRelease' is not signed.
E: Unable to locate package libspotify-dev

Please select the RFID reader you want to use
1) USB-Reader (e.g. Neuftech)  3) PN532			      5) Multiple RFID reader
2) RC522		       4) Manual configuration
#? 2

[   26.172173] Under-voltage detected! (0x00050000)
[   28.252192] Voltage normalised (0x00000000)

Again same problem.
pi@raspberrypi:~ $ sudo pip3 install mfrc522
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting mfrc522
  Downloading https://files.pythonhosted.org/packages/d5/b5/d33c0634cece0931c3c4e0978b0db58f248045c3b379ccf2d512b76fe044/mfrc522-0.0.7-py3-none-any.whl
Requirement already satisfied: spidev in /usr/local/lib/python3.7/dist-packages (from mfrc522) (3.6)
Requirement already satisfied: RPi.GPIO in /usr/local/lib/python3.7/dist-packages (from mfrc522) (0.7.1)
Installing collected packages: mfrc522
Successfully installed mfrc522-0.0.7
pi@raspberrypi:~ $ python3 reader.py
/usr/local/lib/python3.7/dist-packages/mfrc522/MFRC522.py:151: RuntimeWarning: This channel is already in use, continuing anyway.  Use GPIO.setwarnings(False) to disable warnings.
  GPIO.setup(pin_rst, GPIO.OUT)
Error while reading!
Error while reading!
Error while reading!
841556827034

pi@raspberrypi:~ $ python3 reader.py
^CTraceback (most recent call last):
  File "reader.py", line 8, in <module>
    id, text = reader.read()
  File "/usr/local/lib/python3.7/dist-packages/mfrc522/SimpleMFRC522.py", line 19, in read
    id, text = self.read_no_block()
  File "/usr/local/lib/python3.7/dist-packages/mfrc522/SimpleMFRC522.py", line 38, in read_no_block
    (status, TagType) = self.READER.MFRC522_Request(self.READER.PICC_REQIDL)
  File "/usr/local/lib/python3.7/dist-packages/mfrc522/MFRC522.py", line 259, in MFRC522_Request
    (status, backData, backBits) = self.MFRC522_ToCard(self.PCD_TRANSCEIVE, TagType)
  File "/usr/local/lib/python3.7/dist-packages/mfrc522/MFRC522.py", line 217, in MFRC522_ToCard
    n = self.Read_MFRC522(self.CommIrqReg)
  File "/usr/local/lib/python3.7/dist-packages/mfrc522/MFRC522.py", line 162, in Read_MFRC522
    val = self.spi.xfer2([((addr << 1) & 0x7E) | 0x80, 0])
KeyboardInterrupt
pi@raspberrypi:~ $ python3 reader.py
841556827034

pi@raspberrypi:~ $

Don't know why it did not work the 2nd time but well now it works with the reader.py script. Very strange everything.

So still not working with phoniebox?
The undervoltage error seems strange. Is your power supply sufficient (this can cause the weirdest errors)?
And sry to bug with this, but can you post your current pinout configuration?

It would not make sense even if the cpu undervolts, which seems not the case because it states "normalized", well I use a smartphone powersupply, but why would phonieboxes reader need more power than the python script?
I find following about this in the internet:

Most “standard” 5V Micro-USB mobile phone, tablet, and digital camera chargers should work with the Raspberry Pi, although we (of course) would recommend that you utilise a high quality dedicated Raspberry Pi power supply to get the best results!

The powersupply I use currently and have used another one before has 2,4A max (at 5V), and because there is not much extra modules or I do no gaming or anything.

The recommended input voltage is 5V, and the recommended input current is 2A.

It works down to 1A according to that website (ThePiHut) but on heavy cpu/gpu load that can cause instabilities. I use not even X so what GPU load should there exist and I am way over the recommondated values.

Just trying to figure out what could be wrong and checking the errors.
So powersupply shouldn't be the issue.
The "W: GPG error" is caused from a change in mopidy, but as you are not using the spotify version, that shouldn't impact you.
Can you post your current pinout configuration, just to double check?
That it works with the script isn't a valid proof that it will work in phoniebox.

@AlvinSchiller I followed the wiki here:
https://github.com/MiczFlor/RPi-Jukebox-RFID/wiki/Wiring_for_RC522_card_reader
Should I post a photograph or something?

UPDATE: I think it somehow works now, when I tried to make a photo of the pins, I noticed one cable not being connected, after connecting it first I had no success, but also the script didn't find something, but and gave me, input output error with any comment. so some sort of crash, but after boot the web interface updates the ID.
I am not 100% sure but I would argue that with my second attempt it had to do with cable connection issues but with my first installation attempt it was the software.
Because back then I tried it much more extensively forth and back and the script always worked while the webinterface didn't so I suspect that still there is a software issue if you install the version directly linked in the wiki so even if we can't determine it definitely I would suggest to update the first buster link in the wiki on the install site.

Glad that it works now. I hope the rest will work too :)
I will update the wiki as soon as i can (there are some other links that don't match and could be confusing).

So this issue can be closed?

I think so yes


error handling during the query planning phase

Currently, we do not have any error handling during query planning. Hence, if an error occurs, the engine may either not notice or may crash with an uncaught exception. The purpose of this issue is to change that.

This TODO has been addressed as well now (see commit https://github.com/LiUSemWeb/HeFQUIN/commit/ec49147101659c65571460acc545d851f43bbfaf).
/cc @chengsijin0817 @scferrada
PS. This was the last one about extending the code base with declarations of exceptions that can be thrown.


Feat: Expose HTTPRequest intercept resolution state and clarify docs

What kind of change does this PR introduce?
New API methods on HTTPRequest
Did you add tests for your changes?
Yes
If relevant, did you update the documentation?
Yes
Summary
#6735 introduced cooperative request intercepts and we are now starting to see adoption. puppeteer-extra just started https://github.com/berstend/puppeteer-extra/pull/592 their support for cooperative mode. In the course of doing so, it became clear that exposing the intercept resolution state would be helpful along with a few doc clarifications.
Does this PR introduce a breaking change?
No
Other information
Requesting review by @jschfflr in particular :)

@FdezRomero Please sign the CLA now that your name is in the commit history :) https://cla.developers.google.com/

Hello @remusao and @Kikobeats from https://github.com/cliqz-oss/adblocker/pull/2281 :)
You are among the first to implement cooperative mode support, I would love to get your feedback/review on this PR.

@googlebot rescan

@FdezRomero CI is failing and awaiting your CLA, I wasn’t sure if you saw that.

@benallfree Yes, I did and I signed the CLA, but I can't get the bot to rescan it. I tried with @googlebot rescan but didn't work, so I think it would fix itself if you do another commit.

This looks great, thanks! For record keeping, this would also handle https://github.com/puppeteer/puppeteer/issues/7745 and https://github.com/puppeteer/puppeteer/issues/7747.
I think this does actually have breaking changes and needs to be a major version bump since changing alreay-handled to already-handled will break code that relies on it.

@Tyler-Murphy what if we save that spelling fix for v12 and roll the rest?

#7780 too

I'm happy for it to be in any version. Probably needs to be v13 now, since v12 was just released.

@Tyler-Murphy Fixed in #7813 for v13 and removed from this PR so we can do this as a dot release. Thanks for that catch!

@Androbin @OrKoN are either of you able to approve this PR? I’m looking for someone to review it.

I will try to find some time to review PRs next week.

@sadym-chromium could you PTAL as well?

Great work, thanks! I just got a bit confused by the Discussion prefix in the Discussion: Cooperative Request Continuation header.

@sadym-chromium Fixed, thank you! 👍


Update Check Authenticated Example

Motivation
Small update to the docs to prevent an Incompatible types error in Android Studio.

@aidenkeating Small one if you can take a look?


Grpc health checking

TL;DR
Support gRPC health checking.
Type

[ ] Bug Fix
[x] Feature
[ ] Plugin

Are all requirements met?

[x] Code completed
[ ] Smoke tested
[ ] Unit tests added
[ ] Code documentation added
[ ] Any pending items have an associated Issue

Complete description
The implementation of https://github.com/grpc/grpc/blob/master/doc/health-checking.md is part of go gRPC lib.
Tracking Issue
https://github.com/lyft/flyte/issues/489
Follow-up issue
NA

Codecov Report

Merging #118 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #118   +/-   ##
=======================================
  Coverage   62.39%   62.39%
=======================================
  Files         104      104
  Lines        7752     7752
=======================================
  Hits         4837     4837
  Misses       2345     2345
  Partials      570      570

Flag
Coverage Δ

#unittests
62.39% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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 6985f7a...302b0e4. Read the comment docs.


Merge feature/newlayout to master.

Coverage decreased (-1.2%) to 79.973% when pulling 56807d1b4903cb78e03ebe852d7626c4b3cd4518 on tswhison/newlayout into 26498a7ae8ab2523c60453352c364b9f7117cdcd on master.


Seed fails due to foreign key constraint

I have a number of seed files, but some depend on others having already populated their data. For example, I have a buildings table that has a foreign key (neighborhood_id) referencing the neighborhoods table. For the seeds to work correctly, neighborhood data must be populated before the buildings seed runs.
Surely I'm not the only one that's encountered this, but I haven't been able to turn up any solutions. I tried setting the pool to { min: 1, max: 1} based on a suggestion, but that didn't change anything. What's the recommended means of ensuring data gets populated in a particular order?

If particular seeds need to run in a certain order, it's best to include them in a single file for clarity:
insertSeed1().then(insertSeed2)


Show rules for lists that measure all children exceed maximum show rule depth

Description
#show list: it => context it.children.map(measure)

- A

errors with "Maximum show rule depth exceeded" at lines 1 and 3
Reproduction URL
No response
Operating system
Web app
Typst version

[X] I am using the latest version of Typst

The children are list items, which are again collected into lists. What you want to do is measure the item's bodies:
#show list: it => context it.children.map(child => measure(child.body))

- A


[backport] Fix NCCL version check error in ChainerMN

Backport of #6482

[automatic post] Jenkins, test this please.

Jenkins CI test (for commit 3bb29dcb82a3d8b8afb463f181c3cc51c123afe8, target branch v5) succeeded!


Envelope icon Open when it should be closed and Visa Versa

Please search to check for an existing issue (including closed issues, for which the fix may not have yet been released) before opening a new issue: https://github.com/k9mail/k-9/issues?q=is%3Aissue
Expected behavior
In the messages list, with checkboxes enabled.  At the bottom of the screen there are three icons The Wastebasket, The Envelope, and A Star.
When the message highlighted is in BOLD font, I would assume that this meant the message is UNREAD and the Envelope should be Closed?
Actual behavior
However, when the message highlighted is in BOLD font, and assuming that this meant the message is UNREAD, the Envelope at the bottom of the screen is OPEN?  Which I assume would indicate the the envelope is open and the message read?
Is it the wrong way round or am I getting mixed up?
Steps to reproduce

open up the messages view in K9
Make sure that a message is highlighted
look at the Envelope icon at the bottom of the screen, is it OPEN or Closed when the message is BOLD?

Environment
K-9 Mail version: 5.403
Android version: 8.0.0
Account type (IMAP, POP3, WebDAV/Exchange): POP3

If you select an unread message the action you can perform is "mark as read" (open envelope). "Mark as unread" (closed envelope) doesn't make sense if the message is already marked as such.
In the future please use the mailing list for support requests.


hello 2025 & removed year month labels from this repo

why

this repo doesn't require year month label
hello 2025

what

added 2025

❗important note: for_each uses map's key ❗
for_each key is very important. It's like an ID in database.
Even if you only have 1 repository, you should specify a map like ${repo}-${year_month} because this will used as a key of the resource.
https://github.com/go-zen-chu/github-config/pull/4/files#diff-d2dbdb82a8e641d1e09b63c27eb6b5eac0c050a0464bc93fe893eeb34bcbd39bR76-R77

close: https://github.com/go-zen-chu/github-config/issues/2


Update ibm_catalog.json

Description
Marked the extension DA as optional, as its not a hard dependency. The user can deploy the extension DA using a COS instance that may not of been provisioned with the dependant DA.
This is needed because catalog pushed a changed where by default, optional is now true.
Release required?

[x] No release
[ ] Patch release (x.x.X)
[ ] Minor release (x.X.x)
[ ] Major release (X.x.x)

Release notes content

Run the pipeline
If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.
Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:
/run pipeline

Checklist for reviewers

[ ] If relevant, a test for the change is included or updated with this PR.
[ ] If relevant, documentation for the change is included or updated with this PR.

For mergers

Use a conventional commit message to set the release level. Follow the guidelines.
Include information that users need to know about the PR in the commit message. The commit message becomes part of the GitHub release notes.
Use the Squash and merge option.

/run pipeline

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


Modify List Command to list expired tasks

Coverage decreased (-0.02%) to 86.259% when pulling 4e29813ade714ab593c3b1759113f53815e8e169 on chishien:master into fcab8995aadb15bbaee92636f9b5c5dac07927d1 on CS2103JUN2017-T4:master.


Change minimum size for message list widget to 2x2 cells

See https://developer.android.com/guide/practices/ui_guidelines/widget_design.html#anatomy_determining_size
Fixes #6352

just tested it and it's brilliant. The header (which reads which inbox is being displayed) is rather bulky as it (very much expectedly so) takes up 4 lines now (Gemein \n samer \n Posteing \n ang) but I can live with that other than that it's perfect (only thing missing now would be #3728 :P ). Thank you so much!


Add a button in front of an input

Hi guys! Out of every angular 2 dynamic forms library, you guys have the most versatile one 👍 .
I have a query though... Can I add a button in front of an input field? I have attached an image as well. Please let me know if you can help :)

@ShamsUlAzeem Hi! Thanks for your nice message!
At the moment a custom content / template is rendered after the actual form control. You could use CSS (float, Flexbox order, etc.). to position it the way you'd like. But I'm also thinking about adding a property to DynamicTemplateDirective for positioning.

@ShamsUlAzeem I've got great news! From 1.3.13 on you will be able to define where your template is placed: 'START' or 'END'

Omg @udos86 you're so freaking awesome man!!! Thank you thank you thank you :) Keep it up man!!!! Really this is a really helpful library :D


Not detecting policy drift changes from portal

After changing a policy (ie: updating the description) using the azure portal then running the manage policy action in incremental mode it does not detect the change and apply the policy from source.
looking at the digest of the policy in the repo and digest in the portal are not identical.
Steps
Copy policy json from portal into repo.
Modify policy description in portal.
Run action in incremental mode
Result
No changes found.
Expected
One change found and updated

Here is the exact error we're seeing:
Warning: Did not find any policies to create/update. No policy files match the given patterns or no changes were detected. If you have policy definitions or policy initiatives, please ensure that the files are named 'policy.json' and 'policyset.json' respectively. For more details, please enable debug logs by adding secret 'ACTIONS_STEP_DEBUG' with value 'true'. (https://docs.github.com/en/actions/managing-workflow-runs/enabling-debug-logging#enabling-step-debug-logging)


Serving from a subdirectory

If a path looks like /static/css/screen.css, and we want to only have a docroot for things inside /static, what's the way to go? (I.e. I have a file /foo/bar/css/screen.css and want to map /foo/bar onto /static)
Or another use case: in combination with prefixed Routers. Currently DocumentRoot looks at the full URI path and dispatches from there.
I know of amphp/http-server-router#3 which could solve the second case in particular, but we probably should provide a generic solution for this.

I guess a generic StripPrefixMiddleware can do that in combination with the router. We could also add other middlewares like a PrefixMiddleware. How about a package for those named amphp/http-server-uri-rewrite?

I'm going to close this issue, as it's not at the right place. Such a middleware can always be added in a separate repository or in the main repository.


typingSubscription not working

Specify the sample to which the issue belongs (use [x]):
[*] Chat sample
[ ] P2P Call sample
[ ] Conference Call sample
Platform (use [x])
[*] Android
[ ] iOS -- Not tested on iOS yet.
Device info
Manufacture: xiaomi
Model: redmi note 8 pro
OS version: 10
Describe the bug:
while i am in person listing screen. i am not getting other person's typing status
Steps to Reproduce:

just go to person listing in one mobile.
from other mobile try typing to that person
the person listing screen should update dialog status as isTyping..
However it is working fine on detail screen.
Logs:

log here

2020-10-06 10:33:59.013 13753-13961/com.connectycube.flutter.chat_sample I/flutter: response: <xmpp_stone>
</xmpp_stone>
2020-10-06 10:33:59.425 13753-13961/com.connectycube.flutter.chat_sample I/flutter: response: <xmpp_stone>
</xmpp_stone>
2020-10-06 10:33:59.630 13753-13961/com.connectycube.flutter.chat_sample I/flutter: response: <xmpp_stone>
</xmpp_stone>
or
Gist log
Actual result:
Expected behavior:
The expected behaviour should be while i am typing something i am able to get the typing status on dialog.
Additional info
Add any other context about the problem here.

@BhavyKoshti9spl did you add this functionality by yourself? The current version of the Chat sample uses this listener only on ChatDialogScreen, not on SelectDialogScreen.

nope i thought it was already implemented. as i saw typingStatusesManager in chat_dialog_screen.
i need to implement it on person listing screen is it possible to implement it there?

yes, you have to realize it by yourself. Chat sample is a demonstration app and, I think, current realisation is enough to show, how to work with TypingStatusesManager.


FS-73 Add sidebar support

Description
Add initial sidebar support in preparation for report and grid work.

Changelog

Add split screen sidebar
Refactor chat layout to fit in
Add IconButton for close handling. (based on Upload button)

I wonder if it is worth doing the heading and line as part of this PR

The header is only used when viewing a report and not when viewing a grid, so I've left out for now.


Remove manual request/response stats.

There's a lot of lines in our gRPC endpoints that are gathering metrics manually for requests/responses.
stats.Record(fnCtx, FeGrpcRequests.M(1))
stats.Record(fnCtx, FeGrpcErrors.M(1))

This isn't necessary because there's an stats collector interceptor that's already installed in the gRPC servers do this work automatically.
s := FrontendAPI{
		pool: pool,
                // Enables automatic stats collection!
		grpc: grpc.NewServer(grpc.StatsHandler(&ocgrpc.ServerHandler{})),
		cfg:  cfg,
	}

We should so verify that the auto stats are properly emitted and should be ingestible by the Prometheus/Grafana.
The dashboards are here, https://github.com/GoogleCloudPlatform/open-match/blob/master/install/helm/open-match/dashboards/grpc.json

They were originally there because you cannot tag (label, in Prometheus terms) the metrics emitted by the gRPC library.  So when we want to be able to segment call successes and failures by additional, open-match specific context, we're going to need these.  In particular, it seemed pretty likely we'd want to tag every success/failure in the backend call chain with the name of the MMF involved, since that's going to be the customization point the developer is actually interfacing with.

Can you provide some details like what tags are interesting here. Prometheus/grafana screenshots for example.

These aren't implemented yet.  If you feel very strongly, go ahead and remove these and I'll go back and re-add them later when ready to implement those metrics.

We shouldn't remove the code if you're just going to add it back. I'm interested in what you want instrumented though and I think we should explore more clean/concise ways to get what you want.  What ends up happening is refactorings and mistakes will make the metrics untrustworthy over time. This becomes problematic once the metrics eventually are key'ed off of alerts that might page someone.
In Prometheus there's re-write labeling and a bunch of other tricks you can do to make things tagged appropriately but it's important to understand what we are trying to measure and why.

I'm not terrifically experienced in Prom/Grafana metrics so if you feel it's an anti-pattern, go ahead and pull these.  We'll find another way to track this information after the 0.7 release.


Open Browser as a test development keyword

Is your feature request related to a problem?
Opening new page has defaults to fast execution (headless and other stuff).
There is a constant need also to open tests in “development mode” (headful, devtools, slowmo etc.) to make test development easy.
Describe the solution you'd like
Change open browser defaults to this development mode. Also rename open browser to “Open Development Browser” that explicitly states that now we are running in not so efficent development mode.
Describe alternatives you've considered
We could also add just another keyword for this. But then I think that new page and new browser  should work in other situations such as multibrowser testing.

I would prefer an argument.
debug_mode=False
The  this can easily toggled by vars.

But there are many options that will change when doing development vs when running automation. Headless, Slowmow, Devtools etc.

Dev tool do not really make sense, because these are overlapping the page and woth pressing F12 you can still open it.
But with debugmode=  you could easily switch your current test case to that uses Open Browser to debug.
With debugmode on we could also activate the env var PWDEBUG=1 to be able to debug selectors.

Test / task creation is not an edge case.

One goal here is to enforce good behaviour. In this case we do not want users to open browser when they could have reused an existing one. New Page should be the default for starting a new test session.
Open Development Browser should look different and should have different defaults. It should communicate clearly that this should be replaced with New Page, New Browser and New Context where needed.
It should also be very easy to just take Open Development Browser into use in places where New Page was previously used. To check and debug an existing test / task.

No


disable prop is not working

I need to disable the Dropdown for some specific condition. How can I achieve this?

problem solved....I had to use hide() method.


Invariant Violation: Invariant Violation: Function components cannot have refs. Did you mean to use React.forwardRef()?

here is my child component
  render() {     return (       <View style={styles.container}>         <PhoneInput           phoneRef={ref => {             this.phone = ref;           }}           onPressFlag={this.onPressFlag}         />       </View>     );   } }
here is my parent component
   <PhoneInput                 style={styles.phoneInput}                 ref="phone"                 onChangeText={handleChange("phoneInput")}                 onBlur={handleBlur("phoneInput")}                 placeholder="enter phone number"                 autoFocus                 offset={15}               />

Hey @Mnabawy! Can you please attach a full code sample? It's a little hard to tell what the issue is here from the info you provided.
My initial guess is that your parent component is a functional component, so using the deprecated ref="phone" would cause this error. Have you tried using a callback ref on PhoneInput in your parent component?

actually my question is how to use your package as a reusable component ?
with function component and hooks

Sure! Here's an example of using this package with a functional component and hooks:
import React, { useRef, useState } from 'react';
import { Text, View } from 'react-native';

import PhoneInput from 'react-native-phone-input';

export default function App() {
  const [phoneValue, setPhoneValue] = useState(null)
  const [isValidNumber, setIsValidNumber] = useState(false)
  const phoneRef = useRef(undefined);

  return (
    <View>
      <PhoneInput
        ref={phoneRef}
        onChangePhoneNumber={value => {
          setPhoneValue(value);
          setIsValidNumber(phoneRef.current.isValidNumber())
        }}
        placeholder="enter phone number"
        autoFocus
        offset={15} />
        <Text>Is Valid Number: {isValidNumber ? 'Yes' : 'No'}</Text>
    </View>
  );
}

You can see a working example here: https://snack.expo.io/@jaydenwindle/react-native-phone-input-ref-example

what about using a custom example

@Mnabawy what do you mean by a custom example? Do you mean adding the hooks example to the readme? If so, feel free to submit a PR :)


Porting LocStream Factory into MAPL3

Porting Locstream factory into MAPL3 is a necessary step to migrate sampler codes to mapl3.

Just in case the change points are not obvious:

GeomManager and associated factories live in ./geom_mgr.   Follow the pattern there for LatLon, though I expect your use case is even simpler in some respects.
I want unit tests in there too, but we don't want unit tests to read files if we can avoid it.   Consider a variant constructor for LocStream that accepts a list of lons and lats.  That will be easier to test.
We will want an extension to the regrid scenario in ./generic3g/tests/scenarios/regrid that include a LocStream use case.  Should be trivial - just makes sure the logic is exercised in the broader sense.


I use the "Select" field without setting the attribute "selected"

Describe the bug
I get an error result when using the "Select" field.
To Reproduce
Steps to reproduce the behavior:
Select::make('card.status')
      ->title('status')
      ->options(
          [
              0 => '资料审核中',
              1 => '正在组包中',
              2 => '处理完毕',
          ]
      )
      ->help(__('请选择要更改的状态')),

# This status value is 1.

Expected behavior
I hope the second value will be added with the attribute "selected".
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

OS: [Windows 10]
Browser [chrome]
Version [ 107.0.5304.122]

Server (please complete the following information):

Platfrom Version: [14.16]
Laravel Version: [10]
PHP Version:  [8.2]
Database:  [Mysql]
Database Version:  [8.0]

Additional context
Add any other context about the problem here.
Help me!

I'm trying to figure out if $value is a number to compare to $key, but I don't know if it makes sense, but in my project it works right now


Add support for Frosting

Closes #129, closes #255

run configurations

gutter icon

tool window

(Special icons for cake script and cake frosting would be nice)

[ ] snippets

[ ] verbosity run config?

[ ] add an inlay on top of gutter?

[ ] convert cake script configuration editor to ControlViewBuilder?

I took a very "do it as rider would" approach in this PR and ended up using a lot of rider types which changed quite a bit in rider 2022 (I suppose because of the unreal engine support) upping the version requirement.

This looks brilliant, I need some time to process this. (Setting pluginSinceBuild = 222 feels a bit of a hard cut - I need to chew on this.)

This looks brilliant, I need some time to process this. (Setting pluginSinceBuild = 222 feels a bit of a hard cut - I need to chew on this.)

I have started working on this on 212, mostly namespaces changes so it would be trivial to port to another version, just not with the same .jar/.dll

Does this also fix the inconsistency I observed in #255 ?
I have not looked into it yet, will do later

Does this also fix the inconsistency I observed in https://github.com/cake-build/cake-rider/pull/255 ?

I don't have a windows machine to test with atm but it should now be fixed with this
@nils-a What snippets would be needed? Just task/async task? Also is it possible to enable live templates only on a frosting project?

 Will test again tomorrow. Looks really cool so far.
One addition: If I open up a single frosting project (without a containing solution) the project picker in the run configuration does not list the project to be built.

What snippets would be needed? Just task/async task?

Since we have no snippets in the other IDEs to copy from, yes - let's go with that and see if more is needed.

Also is it possible to enable live templates only on a frosting project?

Not sure. I'd need to investigate.
I guess I would be possible to add another TemplateContext like
https://github.com/cake-build/cake-rider/blob/aa0cdc69d9d3965c5406b35923de3f71c4b0700d/src/rider/src/main/kotlin/net/cakebuild/liveTemplates/CakeContext.kt#L8-L13
and check for projects of type frosting and .cs..
Also, I'm not sure why the build currently fails - something with GitVersion being unable to calculate a nice version number for this PR. (Probably because I merged master into develop after screwing up the build 🙄)

One addition: If I open up a single frosting project (without a containing solution) the project picker in the run configuration does not list the project to be built.

Maybe it got fixed in the latest commit, but works fine for me?

@js6pak your changes have been merged, thanks for your contribution :+1:
I took the liberty to fix the linting problems in kotlin and also changed some styling in c#. Hope you don't mind.
I also added an .editorconfig to the c# project - so future styling should be easier 😁


Error on installation

I am receiving the error below when execute "npm install gcloud --save"
npm WARN EBUNDLEOVERRIDE Replacing bundled grpc > node-pre-gyp with new installed version
npm ERR! Linux 3.2.0-23-generic-pae
npm ERR! argv "/home/vagrant/.nvm/versions/node/v5.5.0/bin/node" "/home/vagrant/.nvm/versions/node/v5.5.0/bin/npm" "install" "gcloud" "--save"
npm ERR! node v5.5.0
npm ERR! npm  v3.3.12
npm ERR! path /vagrant/parse/city-chat-web/node_modules/.grpc.DELETE/node_modules/node-pre-gyp
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall rename

npm ERR! enoent ENOENT: no such file or directory, rename '/vagrant/parse/city-chat-web/node_modules/.grpc.DELETE/node_modules/node-pre-gyp' -> '/vagrant/parse/city-chat-web/node_modules/grpc/node_modules/node-pre-gyp'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent

@murgatroid99 any ideas?

I don't know. I've never seen that before. It looks like some sort of error in the npm install process.

I removed the node_modules folder and reinstalled all the packages again.
Then it worked.

Thanks for sharing the fix!


chore: update tooling (replace webpack by vite)

All of this just to be able to use latest TS 🙈
While doing it I updated most of the dev dependencies.


[Bug]: Images are unable to be downloaded from some sites due to missing user-agents

Describe the Bug
Eg:
2024-06-28 23:10:28,555:ERROR:werkzeug.channels: An error occurred while updating channel image: 403 Client Error: Forbidden. Please comply with the User-Agent policy: https://meta.wikimedia.org/wiki/User-Agent_policy for url: https://upload.wikimedia.org/wikipedia/commons/thumb/3/38/FS2_logo_2015.svg/192px-FS2_logo_2015.svg.png

Steps to Reproduce
No response
Expected Behavior
No response
Screenshots
No response
Relevant Settings
No response
Version
latest
Relevant log output
No response

can you tell the steps to reproduce it ?

Add an image from a site like above. https://upload.wikimedia.org/wikipedia/commons/thumb/3/38/FS2_logo_2015.svg/192px-FS2_logo_2015.svg.png
Add this as a channel logo

This will be fixed in a few mins.

Absolutely!
Join me on Discord and we can have a chat:
https://streamingtech.co.nz/discord
Message me (Josh.5) on the "tvh-iptv-config" channel


v5 modal close btn

https://getbootstrap.com/docs/5.0/migration/#close-button

[ ] rename .close to .btn-close for a less generic name
[ ] remove ×

https://github.com/kaliber5/ember-bootstrap/blob/a254a1ff8de05f0cc6fa5d51bbb92d3ad827b5ce/addon/components/bs-modal/header/close.hbs#L1

ok. nvm. wrong branch and such. i see the template has been updated.
Remember to also update ember-cli-build.js to use bootstrapVersion: 5