Develop

@froster82: I need a small translation:
https://github.com/pachi81/GlucoDataHandler/pull/137/files#diff-0908d478f1e1608a4d8bf0d6e84f3c23dd963a61f2ff17a7984af7e3e9f938d1
Thank you! Is not urgent!

@pachi81 PL version of 299-300 done.
IoB in Juggluco ver. 7.5.0 still not available ;/

@froster82 I have changed some more string for GlucoDataAuto.
Can you translate them? Thank you!
I also have tried the last version of Juggluco and it is gone. jka also does not answer to my feature request, so it seems, he does not want it...

@pachi81, I will take a look at them tomorrow.
As for JKA, try and write to him in an email. I always get an answer when I write that way.

@froster82 Hi, I need some more translation, as google forced me, to remove the automatically set a permission. Now, I have to ask the user...

@pachi81, hi! I will read about the wording of those permissions in Polish and will translate it. Do you have the German version for 'schedule exact alarm'? Sometimes it's easier to find the right Polish equivalent using also German.

This is the setting I mean. In code it is called SCHEDULE EXACT ALARM...

It is used to trigger the app after an interval for example for the obsolete values or to request data from nightscout or librelink.

@froster82 I have updated the strings again and removed the part with google, as it is not relevant...
Here is the german to polish translation:
W przypadku wszystkich zadań związanych z czasem i interwałami aplikacja wymaga autoryzacji alarmów i przypomnień.
Aplikacja nie zmienia żadnych alarmów ani przypomnień skonfigurowanych przez użytkownika. Wymaga jedynie autoryzacji dla wewnętrznych wyzwalaczy.
Po naciśnięciu przycisku OK aplikacja przekieruje użytkownika do odpowiednich ustawień autoryzacji. Należy aktywować tę autoryzację dla GlucoDataHandler.

@pachi81 I didn't mean translation already into Polish ;) I can deale with that ;) Sometimes, however, when I am not familiar with the exact vocabulary concerning a specific field, it is easier to have two language versions. German is a bit more similar to Polish in some cases, because we have a lot more borrowings form German than form English.

@froster82 OK, I get it :-)
Yes, in English there are less words, so I know, what you are meaning. You can always check the German translation in the related string files:
https://github.com/pachi81/GlucoDataHandler/pull/137/files#diff-1369f26acce2dcc2d7d2807f3ebe092dd654da291430c78db8f1fe1491df65d5
Add the moment I´m really annoyed by Google policies... Which each release they are finding a new reason for reject my app. This setting for example, I´m using since the beginning of my app and now, they complain about :-(

@pachi81, Polish version done. That above screen really helped me a lot, because in my Android 10 I think I do not have this permission required. I hope Google doesn't mess around with you too much and you will be able to deal with all their complaining.

@pachi81 on A10 everything looks fine. No errors or crashes.

@pachi81, hi! I am writing with an idea for future development.
One parent on the Polish FB group suggested that it would be useful to have a log of say 5 recent delta changes. This would show the rate of glucose change. Of course, if possible, you could log and show on a widget the glucose level, delta from the previous value, and maybe time.
This is just an idea to consider. What do you think?
Have a nice day!

@froster82 I don´t think, this make sense. This sounds more like a graph, where you can see it. And graph support will come later.
I think a better way is doing it like in AAPS to have a delta/minute, delta/5 minutes and delta/15 minutes.
But also for these values I need historical values, which will come with the graph...

OK, this was just an idea based on the lack of graph - so far. But if you plan to introduce it in the future, then you are right - it loses its validity :)


Add timeline offload mechanism

Implements an initial mechanism for offloading of archived timelines.
Offloading is implemented as specified in the RFC.
For now, there is no persistence, so a restart of the pageserver will retrigger downloads until the timeline is offloaded again.
We trigger offloading in the compaction loop because we need the signal for whether compaction is done and everything has been uploaded or not.
Part of #8088

marking as ready for review as I can add a test in a later PR (it needs additional functionality to manually offload).


Upstream changes?

Hey psibi,
do you have any plans on upstreaming these changes? (AFAIK you have a commit bit on https://github.com/brotzeit/rustic right?)
On another note, would it be worth it to transfer the repository to rust-lang, much like rust-mode already it?

@slotThe Sorry for the late reply, I missed this issue.

do you have any plans on upstreaming these changes? (AFAIK you have a commit bit on https://github.com/brotzeit/rustic right?)

Yes, unfortunately the situation is slightly complicated. While I can merge other's PR, I cannot merged my own PR. And I have not been able to reach @brotzeit, I hope he is doing okay. I did send a mail to him couple of months ago and didn't hear back from him.

On another note, would it be worth it to transfer the repository to rust-lang, much like rust-mode already it?

Yes, if possible. But I don't know where to start. Do you know what is the procedure ?

Yes, unfortunately the situation is slightly complicated. While I can merge other's PR, I cannot merged my own PR. And I have not been able to reach @brotzeit, I hope he is doing okay. I did send a mail to him couple of months ago and didn't hear back from him.

Ah, that explains the situation.

On another note, would it be worth it to transfer the repository to rust-lang, much like rust-mode already it?

Yes, if possible. But I don't know where to start. Do you know what is the procedure ?

I do not—I saw you around the rust-mode repo, so I figured that you might :) I can ask around on the Rust discourse (which I guess is the place to ask that kind of stuff) if you want

I can ask around on the Rust discourse (which I guess is the place to ask that kind of stuff) if you want

Yeah, that would be helpful. Thanks!

https://users.rust-lang.org/t/process-to-add-a-repository-to-rust-lang/109149
I guess no one knows… :)

Ah, okay. Thanks for asking it in the rust forum. :-)

@slotThe We have a new home for rustic: https://github.com/emacs-rustic/rustic  More details here: https://psibi.in/posts/rustic.html
Probably this issue can be closed now ? :-)

Oh, that's a great development! Thanks for keeping me updates, this can then indeed be closed


chore: fix vulnerabilities with npm audit fix

Pull Request Test Coverage Report for Build 147

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 140:
0.0%

Covered Lines:
50

Relevant Lines:
50

💛  - Coveralls

Pull Request Test Coverage Report for Build 147

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 140:
0.0%

Covered Lines:
50

Relevant Lines:
50

💛  - Coveralls


Add Terraform cloud module registry plugin

Hey, I just made a Pull Request!
Added a new plugin to pull terraform modules from Terraform Cloud, and add them to the software catalog. This will also grab all the terraform resources created as part of the module, and add these with dependencies to the module.

Related to #8624
:heavy_check_mark: Checklist

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

@nigelwright-roam wondering if this plugin would also work with Terraform Enterprise?

wondering if this plugin would also work with Terraform Enterprise?

@regicsolutions  Hmm good question. I believe it should work, but I don't have a Terraform Enterprise instance to test against..cloud/enterprise APIs are generally the same it appears.

Thanks @benjdlambert - apologies for being blind here what is the nit left to fix? Appreciate the help getting this across the line!

@nigelwright-roam hahah I have no idea. 🙈  Something messed up but I can't seem to find what it was. This looks good, just waiting for all the checks to run and should be good to :ship:

@nigelwright-roam I think I've fixed the build - was something to do with out of date packages in package.json and it not pulling in the latest versions from the workspace I believe. 🤞

Hey @nigelwright-roam - I've tried to get this working to get into the release today, but it looks like there's some unit tests failures. Can you take a look and fix these up?

Hey @benjdlambert - thanks for the assist. I'll take a look shortly and get this sorted.

@nigelwright-roam if you want to come pick this up again, please let us know and we can re-open this PR! 👍

@nigelwright-roam i tested this with terraform-enterprise and getting a 404 when trying to fetch resources, the target url seems to be attempting to fetch the /1.0.0 version when trying this in postman I am able to replicate the same 404/not-found, wondering if you came across this in terraform-cloud?

Hi @nigelwright-roam! :) What would be needed to finish the work...? This would be a really great add-on for any Terraform Cloud/Enterprise user...

Heya @nigelwright-roam, I know this hasn't been looked at in a year but having an integration with TFC would be a killer feature for Backstage! Wanted to echo what @iiro said above and see if there's anything that we can do to help get this pulled in?

I'm also really interested in this. What's the status?


Make Tinylicious port configurable (default 3000)

Related to #5438 and #5415.

7070 is memorable and happens to be "FF" in ASCII (dec).

7070 is memorable and happens to be "FF" in ASCII (dec).

I really like that.


Per-connection CatalogCache prototype

Taken from Doxygen for CatalogCache object:

Simple cache for DatabaseCatalog lookups that's scoped per connection (ownership and lifecycle). This is designed to be injected as a dependency of CatalogAccessor at its instantiation, and components requesting information from the CatalogAccessor will transparently look in a cache first if it exists. If the cache is passed in as nullptr, then the CatalogAccessor performs its lookup from the DatabaseCatalog as normal. Most operations are expected to only be performed by CatalogAccessor, which is why most of this class is private and the CatalogAccessor is designated as a friend class.
Right now it only caches lookups for table and index pointers, and indexes on a table. In the future if we see other DatabaseCatalog requests proving expensive, we can add them to the cache.

If this is a design that we're satisfied with, we may consider going back and modifying the StatementCache to follow the similar timestamp semantics so it's also resilient to DDL changes.

From what I saw the catalog cache was always set as a nullptr in the benchmarks. Should there be a test that runs the cache code to ensure no future changes fail in the cache logic, perhaps in catalog_benchmark.cpp?

You need to go over the wire (have a ConnectionContext) to exercise this code path, which we don't do in our C++ benchmarks. We rely on JUnit and oltpbench for end-to-end correctness.


Could anyone deploy the latest update in the library?

Yesterday a PR got merged to master but that latest fix hasn't been published yet.
Could any contributors or author publish it please?
(the latest change is basically adding react 18 to peerDependencies in package.json)

Sorry about the delay. Just bumped version to v0.13 https://github.com/react-container-query/react-container-query/commit/c7b607098a8fa9e7a13e4d6d1bdc73fc0249e686 and publish to NPM.


Support for multiple accounts

I have a personal and a work GitHub account and it would be really nifty to have an option to switch between them, or at least have the option to log out, because the only way I see how to switch is by reinstalling the app, which is entirely impractical.

Alright, so how do we want this?
a) When you logout we keep your auth token in that account and let you switch easily.
b) We remove your account and auth token when you log out (You will need to re-enter credentials)
c) We only remove your auth token and let you switch (You will need to re-enter credentials)

I don't see the need. GitHub supports multiple orgs, that's enough for me.
We should try to reflect basically what the site supports.
On Wed, Oct 7, 2015 at 2:00 AM Henrik Olsson<EMAIL_ADDRESS>wrote:

Alright, so how do we want this?
a) When you logout we keep your auth token in that account and let you
switch easily.
b) We remove your account and auth token when you log out (You will need
to re-enter credentials)
c) We only remove your auth token and let you switch (You will need to
re-enter credentials)
@fadils https://github.com/fadils @hzsweers
https://github.com/hzsweers
—
Reply to this email directly or view it on GitHub
https://github.com/pockethub/PocketHub/issues/510#issuecomment-146123018
.

Alright just seen this pop up earlier so thought we just chat about it.

Although there is the multiple orgs support in GitHub there are also reasons for having completely independent accounts for the same person. Some organisations/companies have legal restrictions how to use company-related accounts. So I think some basic support for having multiple accounts in the app would be great.
Option a) would be preferred by me, but b) or c) would be fine also.


Update start.en.php - minor typo fix.

Thank you. I merge this, but it will be a while before it is reflected.

Thank you. I merge this, but it will be a while before it is reflected.

Glad I helped! Thanks for maintaining this!


Automations not auto deploying after restart

Since upgrading to .69 when I reboot my HASS the automations do not auto deploy I have to go in and manually start them by pressing the refresh automations button.  Also updating to 0.69.1 didn't help I've reached out on the forms and it seams I am not the only one with this issue.

Same but it seems only be automations in the packages folders

/move home-assistant/home-assistant


:arrow_up: enzyme

fixes #215

Pull Request Test Coverage Report for Build 1700

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 96.218%

Totals

Change from base Build 1697:
0.0%

Covered Lines:
313

Relevant Lines:
322

💛  - Coveralls


Add support for Markdown

Resolves #17

FTR (because this PR is mentioned here), this got changed to use PandocRoute here: https://github.com/fpindia/fpindia-site/commit/550608a4b044e60446aaebc537a051c19e9ed654


Release schedule

Hello,
as the maintainers of CWA fork Corona Contact Tracing Germany, we are wondering about your release schedule.
For example, for the Android app, there is simultaneously ongoing work in release/1.8.x and release/1.9.x while multiple RCs have been tagged for different versions like 1.8.0, 1.8.1 and 1.9.0. Therefore, we are unsure when we can expect what version to be released and try to maintain our changes on top of different branches at the same time.
That's why, to avoid unnecessary effort on our side, it would be very helpful if you were to provide us with a release schedule.
I decided to open this issue here and not in the Android repository because I expect that a release schedule for the iOS app would be helpful for some, too.

Related https://github.com/corona-warn-app/cwa-wishlist/issues/258

Internal Tracking ID: EXPOSUREAPP-3643

See also: https://github.com/corona-warn-app/cwa-wishlist/issues/258

This doesn't answer the question about future planning, but past releases are documented on the blog including version 1.10 which is currently being rolled out.

There's currently a lot of confusion again about the 1.13. vs 1.14 release... some better communication/documentation about the release schedule in general would still be appreciated. :-)

Since the activation of the @coronawarnapp Twitter channel, the channel owners have started mentioning a date for the next release, even if they are not giving a schedule for all future releases.
https://twitter.com/coronawarnapp/status/1410175948528439298?s=20 talks about the release of 2.5 mid July 2021.

Unless there are bug fixes, CWA 3.2 is probably the last version to be released
See https://www.coronawarn.app/en/blog/2023-04-19-cwa-3-2/ and

https://github.com/corona-warn-app/cwa-documentation/issues/948


Make the method cupy.random.RandomState.interval private

This was inconsistent with numpy and so with functions in cupy.random.

jenkins, test this please.

Jenkins CI test (for commit dac7fbde6dbc834feb3249aff5a9815bc076f370) failed with status FAILURE.
(For contributors, please wait until the reviewer confirms the details of the error.)

Jenkins, test this please.

Jenkins CI test (for commit 2dc0881156745512bd0ba032cf064984d8e6ee49) succeeded without errors!

LGTM!


Fix a typo in the #ifdef for release builds #trivial

Fixes a typo that failed a build of the beta: https://circleci.com/gh/artsy/eigen/1834
As we run tests in debug, this slipped past us.

I also bumped the build version

1 Warning

:warning:
Found unstubbbed networking requests

ARArtworkFavoritesNetworkModelSpec in test_getFavorites__makes_request_if_no_request_is_in_progress
ARArtworkViewControllerBuyButtonSpec in test_buy_button__posts_order_if_artwork_has_no_edition_sets
ARCreateAccountViewControllerSpec in test_warning_view__displays_a_message
ARCreateAccountViewControllerSpec in test_warning_view__displays_a_message
AREmbeddedModelPreviewViewControllerSpec in test_iPhone_peek__shows_favorite_and_follow_buttons_for_logged_in_user
AREmbeddedModelPreviewViewControllerSpec in test_iPhone_peek__shows_favorite_and_follow_buttons_for_logged_in_user
AREmbeddedModelPreviewViewControllerSpec in test_iPhone_peek__passes_artwork_to_share_controller
ARFairViewControllerSpec in test_creates_an_NSUserActivity
ARGeneViewControllerSpec in test_creates_an_NSUserActivity
ARGeneViewControllerSpec in test_creates_an_NSUserActivity
ARTopMenuViewControllerSpec in test_navigation__favorites__logged_in__tab_behavior__already_selected__pops_to_root

  Generated by :no_entry_sign: danger

Ah, this build got confusing.
OK, so Circle CI did a build based on the commit - which went to the beta branch first, which triggered a deploy process, which always is a red.

Good catch :+1:


Update Terraform.gitignore

Reasons for making this change:
Ignore override files as they are usually used locally
to override resources or variables without changing the code
Links to documentation supporting these rule changes:
https://www.terraform.io/docs/configuration/override.html

@obounaim thanks!


add improvements to the code

@joshtorres
here are the changes of https://github.com/tipoff/invoices/pull/45 and https://github.com/tipoff/invoices/pull/43
since the amount is not null in the database, if by mistake the user leaves empty, automaticly fills with 0 (ZERO).. I think the best approach is create the rule required and if its empty show the message cannot be null.... I think this will improve the user performance


Fix typo when cluster resize fails

Typo here.
Should be pool.resize_errors instead of pool.resize_error.

duplicate #10


fix empty list of input handling

The bug is caught in PyTorch CI tests

Is https://github.com/microsoft/onnx-script/issues/386 related?

Is #386 related?

No, this happens in fixed shape model


Using _fzf_complete with zsh _alternative

Category

[ ] fzf binary
[ ] fzf-tmux script
[ ] Key bindings
[ x] Completion
[ ] Vim
[ ] Neovim
[ ] Etc.

OS

[x ] Linux
[ ] Mac OS X
[ ] Windows
[ ] Windows Subsystem for Linux
[ ] Etc.

Shell

[ ] bash
[ x] zsh
[ ] fish

zsh 5.0.2 (x86_64-redhat-linux-gnu)
fzf 0.17.5 (b46227d)
This is my completion function
#compdef dummy

_fzf_dummy_names() {
  _fzf_complete "--reverse" "$@" < <(
    echo "one"
    echo "two"
    echo "three"
  )
}

_alternative 'names:dummy name:_fzf_dummy_names'

Looks  like it mostly works, fzf is running with my selection, but after a selection is made
I see
_fzf_complete:13: read-only variable: LBUFFER
and the selection is not returned to my prompt.

Same error when use zle -N _fzf_complete to complete some executable.


provide clearer output of whether install 'worked'

how can we tell if the result of 'vagrant  ssh -c "launcher/test.sh' is giving us the 'right' thing?
@fmetze's request, sending the output of this (others should post this as well, just run vagrant  ssh -c "launcher/test.sh" > yourname_sh.txt and find the file in your DiViMe folder).
bergelsontest_sh.txt

Don't forget to add basic info about your machine!
OS: El Capitan (version: 10.11.6)
Processor: 1.7 GHz Intel Core i5
RAM: 4 GB 1333 MHz DDR3
Hard drive: Macintosh HD SATA Disk
middycasillas_sh.txt

from another user:
OS: macOS Mojave - 10.14.5 (build 18F132)
Processor: 2.7 GHz Intel Core i5 (dual core)
RAM: 8GB ( 2x 4GB DDR3 1867 MHz)
zachtest_sh.txt
Hard drive: 250 GB Apple SSD


TOS

is this against the TOS, and will they ban accounts for this? You should let people know ahead of time, that this is not an "unofficial api", this is literally a webscraper.
from: https://www.microsoft.com/en-us/servicesagreement
"ii. Extracting Data. Unless explicitly permitted, you may not use web scraping, web harvesting, or web data extraction methods to extract data from the AI services."

@endomorphosis stop being police and contribute to open source, you'll be much happier.


Update README.md to use new template

Update the Readme.md to fix the UX templete
Existing Sample Changes
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes Issue#
External Dependencies
List any external dependencies created as a result of this change.
Type of change
Please delete options that are not relevant. Add a 'X' to the one that is applicable.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Implement fixes for ONSAM Jiras

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[ ] Command Line
[ ] oneapi-cli
[ ] Visual Studio
[ ] Eclipse IDE
[ ] VSCode
[ ] When compiling the compliler flag "-Wall -Wformat-security -Werror=format-security" was used

Delete this line and everything below if this is not a PR for a new code sample
Delete this line and all above it if this PR is for a new code sample
Adding a New Sample(s)
Description
Please include a description of the sample
Checklist
Administrative

[ ] Review sample design with the appropriate Domain Expert:
[ ] If you have any new dependencies/binaries, inform the oneAPI Code Samples Project Manager

Code Development

[ ] Implement coding guidelines and ensure code quality. see wiki for details
[ ] Adhere to readme template
[ ] Enforce format via clang-format config file
[ ] Adhere to sample.json specification. https://github.com/oneapi-src/oneAPI-samples/wiki/sample-json-specification
[ ] Ensure/create CI test configurations for sample (ciTests field) https://github.com/oneapi-src/oneAPI-samples/wiki/sample-json-ci-test-object
[ ] Run jsonlint on sample.json to verify json syntax. www.jsonlint.com

Security and Legal

[ ] OSPDT Approval (see Project Manager for assistance)
[ ] Compile using the following compiler flags and fix any warnings, the falgs are: "/Wall -Wformat-security -Werror=format-security"
[ ] Bandit Scans (Python only)
[ ] Virus scan

Review

[ ] Review DPC++ code with Paul Peterseon. (GitHub User: pmpeter1)
[ ] Review readme with Tom Lenth(@tomlenth) and/or Project Manager
[ ] Tested using Dev Cloud when applicable

Updated here: https://github.com/oneapi-src/oneAPI-samples/blob/development/AI-and-Analytics/Getting-Started-Samples/IntelTensorFlow_GettingStarted/README.md
I will merge the README changes in 2024.2.


Is SDK support React-Native?

Use https://github.com/davodesign84/react-native-mixpanel
it works great for us.

hi @adylevy @ANDY9101 , we have launched the official React Native SDK, please check it out. https://github.com/mixpanel/mixpanel-react-native


Unable to disable the IAM user console access

Hello,
I am trying to create a IAM user without enabling the console access for it, but IAM user is getting created with console access enabled. Inspite of setting the parameter 'create_iam_user_login_profile' to false the plan is showing that it will add the 'aws_iam_user_login_profile.this'.
I have tried to disable the IAM console access from AWS console, but in plan it shows it be created:
Terraform will perform the following actions:
module.iam_user["XXX_service_user"].aws_iam_user_login_profile.this[0] will be created

resource "aws_iam_user_login_profile" "this" {

encrypted_password      = (known after apply)
id                      = (known after apply)
key_fingerprint         = (known after apply)
password                = (known after apply)
password_length         = 20
password_reset_required = true
user                    = "XXXXXXXXXXXXXXXXXX"
}

Please note that I have set the 'create_iam_user_login_profile = false'
not sure if I am missing something here, or if it is a bug

Working fine


Git integration

Motivation
When working on a project or task and people rush me for an hotfix or so, I need to change my branches so that I can resolve their issue, but then when I want to get back to my task I need to remember the branch I was on stash pop my changes if I didn't have time to commit etc. Sometimes the task or project spans over multiple repos, so now I need to checkout the correct branches on all the repos.
Description
It would be nice if I had a command to link branches to my tasks or projects and when I want to continue working on that I should have an "activate" command that will checkout the correct branches etc. This would make switching between tasks much easier.
Possible Implementation
Use the git2 crate for the git interactions in the Rust code and store the repo and branch with the task infos in the sqlite, either directly in the same table or with dedicated repo and branch tables for normalization.
Additional Context
This could later also be extended to github integration to add the issues and track if PR's for the branch have been opened, merged, closed etc.

One could even ask which editor the user works in, which then can be opened with the activate command in the repo with the correct branch.


Android app compilation fails: fatal error: gif_lib_private.h: No such file or directory

Hi.
I'm unable to compile the Android app. Here is the error message:
ERROR: /home/arnaud/.cache/bazel/_bazel_arnaud/5d461d587a2aa81b3eca305842d75a99/external/gif_archive/BUILD:14:1: C++ compilation of rule '@gif_archive//:gif' failed: namespace-sandbox failed: error executing command /home/arnaud/.cache/bazel/_bazel_arnaud/5d461d587a2aa81b3eca305842d75a99/execroot/tensorflow/_bin/namespace-sandbox ... (remaining 46 argument(s) skipped).
external/gif_archive/giflib-5.1.4/lib/quantize.c:17:29: fatal error: gif_lib_private.h: No such file or directory
compilation terminated.
Target //tensorflow/examples/android:tensorflow_demo failed to build
Use --verbose_failures to see the command lines of failed build steps.

Environment info
Operating System: Ubuntu 16.04
Installed version of CUDA and cuDNN: N/A
(please attach the output of ls -l /path/to/cuda/lib/libcud*):
If installed from binary pip package, provide:

Which pip package you installed.
The output from python -c "import tensorflow; print(tensorflow.__version__)".

If installed from sources, provide the commit hash: https://github.com/tensorflow/tensorflow/commit/a3f61c1d5c76339e6c9655dac426bb3822659772
Steps to reproduce

bazel build //tensorflow/examples/android:tensorflow_demo

What have you tried?

install the giflib from Ubuntu, but I understand that bazel downloads during the build process

Logs or other output that would be helpful
With max verbosity:
ERROR: /home/arnaud/.cache/bazel/_bazel_arnaud/5d461d587a2aa81b3eca305842d75a99/external/gif_archive/BUILD:14:1: C++ compilation of rule '@gif_archive//:gif' failed: namespace-sandbox failed: error executing command
  (cd /home/arnaud/.cache/bazel/_bazel_arnaud/5d461d587a2aa81b3eca305842d75a99/execroot/tensorflow && \
  exec env - \
    PATH=/home/arnaud/Documents/Python/anaconda2/bin:/home/arnaud/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/arnaud/.rvm/bin:/home/arnaud/.rvm/bin:/home/arnaud/Documents/Android/android-studio/bin \
  /home/arnaud/.cache/bazel/_bazel_arnaud/5d461d587a2aa81b3eca305842d75a99/execroot/tensorflow/_bin/namespace-sandbox @/home/arnaud/.cache/bazel/_bazel_arnaud/5d461d587a2aa81b3eca305842d75a99/execroot/tensorflow/bazel-sandbox/aeac231e-239e-4110-a556-7f20a424a56a-197.params -- /usr/bin/gcc -U_FORTIFY_SOURCE '-D_FORTIFY_SOURCE=1' -fstack-protector -Wall -Wl,-z,-relro,-z,now -B/usr/bin -B/usr/bin -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 -DNDEBUG -ffunction-sections -fdata-sections -g0 -DHAVE_CONFIG_H -iquote external/gif_archive -iquote bazel-out/host/genfiles/external/gif_archive -iquote external/bazel_tools -iquote bazel-out/host/genfiles/external/bazel_tools -isystem external/gif_archive/giflib-5.1.4/lib -isystem bazel-out/host/genfiles/external/gif_archive/giflib-5.1.4/lib -isystem external/bazel_tools/tools/cpp/gcc3 -fno-canonical-system-headers -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -MD -MF bazel-out/host/bin/external/gif_archive/_objs/gif/external/gif_archive/giflib-5.1.4/lib/gif_err.d -c external/gif_archive/giflib-5.1.4/lib/gif_err.c -o bazel-out/host/bin/external/gif_archive/_objs/gif/external/gif_archive/giflib-5.1.4/lib/gif_err.o).
external/gif_archive/giflib-5.1.4/lib/gif_err.c:10:29: fatal error: gif_lib_private.h: No such file or directory
compilation terminated.
Target //tensorflow/examples/android:tensorflow_demo failed to build

I'm not certain why this is happening yet, but running ./configure seems to make it go away for me.

There is a dependency chain between //tensorflow/core:android_tensorflow_lib_lite and @gif_archive//:gif:

$ bazel query "somepath(tensorflow/core:android_tensorflow_lib_lite, @gif_archive//:gif)"
//tensorflow/core:android_tensorflow_lib_lite
//tensorflow/core:android_srcs
//tensorflow/core:proto_text_srcs_all
//tensorflow/tools/proto_text:gen_proto_text_functions
//tensorflow/core:lib
//tensorflow/core:lib_internal
//tensorflow/core/platform/default/build_config:platformlib
@gif_archive//:gif

@martinwicke @raingo I think this may be from https://github.com/tensorflow/tensorflow/pull/3264
As gif support is unnecessary for the Android build, is there any easy way we can make the build proceed despite gif_archive not having been configured?

platformlib also depends on png and jpeg -- are those also unnecessary in android? If so, we could split all image support out into a separate target, but it would be a fair amount of work to separate core:lib_internal into two (or more) targets.

All that the Android build needs from platformlib is the proto_text_srcs_all output which depends on platformlib. It doesn't use the actual platformlib binary for compilation -- all srcs are compiled from scratch using the resulting android_srcs filegroup.
So if somehow we could reduce the complexity of generating proto_text_srcs_all, that would reduce Android issues going forward.

@keveman can the protos be built without any of the other lib stuff? It seems this quickly turning into a requirement for mobile.

//tensorflow/core:proto_text_srcs_all is not part the proto library, but something that @cwhipkey wrote. I doubt it can be built independent of core:lib, but maybe @cwhipkey can answer it better.

It's generated by the cc_binary tool gen_proto_text_functions, which only uses the following basic TF includes:
#include "third_party/tensorflow/core/lib/strings/str_util.h"
#include "third_party/tensorflow/core/lib/strings/strcat.h"
#include "third_party/tensorflow/core/platform/macros.h"
#include "third_party/tensorflow/core/platform/types.h"
#include "third_party/tensorflow/core/platform/init_main.h"
#include "third_party/tensorflow/core/platform/logging.h"
#include "third_party/tensorflow/core/platform/protobuf.h"
The entirety of platformlib apart from protos_cc should not be required for this binary, so maybe there is some way to refactor the targets involved.

I think it's possible to get it down to just the dependency on protobuf.h
(I have a change somewhere where I did that, but it was ultimately not
needed).  Would that help?  The protobuf.h code would still need to be made
available somehow.
On Mon, Jul 18, 2016 at 5:31 PM, Andrew Harp<EMAIL_ADDRESS>wrote:

It's generated by the cc_binary tool gen_proto_text_functions, which only
uses the following basic TF includes:
#include "third_party/tensorflow/core/lib/strings/str_util.h"
#include "third_party/tensorflow/core/lib/strings/strcat.h"
#include "third_party/tensorflow/core/platform/macros.h"
#include "third_party/tensorflow/core/platform/types.h"
#include "third_party/tensorflow/core/platform/init_main.h"
#include "third_party/tensorflow/core/platform/logging.h"
#include "third_party/tensorflow/core/platform/protobuf.h"
The entirety of platformlib apart from protos_cc should not be required
for this binary, so maybe there is some way to refactor the targets
involved.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/issues/3374#issuecomment-233498639,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQw4wTIMRhpw5AqW_-mgPcWCNpet80S1ks5qXBr3gaJpZM4JPJoG
.

@cwhipkey Yes, that was exactly what was needed. Starting from that CL I was able to get something building that fixes this issue by creating a minimal dependency tree for gen_proto_text_functions.

I can confirm that the ./configure works for me. So we can close this issue, or keep it open for reference, if someone wants to remove the unnecessary dependencies.

I've submitted a fix internally; it should show up externally in the next push -- I'll close the issue when it does.

Separate compilation path added for proto tool in https://github.com/tensorflow/tensorflow/commit/4e9a42b7d3764928bdb6625c26f2dbd8f0415834, so Android build should be simpler/faster now.


Added Linting and precommit

Closes #6
Added standerd JS rules precommit and husky

How about using the AirBNB style guide (full-react-version) from the start?
Without an eslinrc file run ./node_modules/.bin/eslint --init and choose the airbnb option from use a popular styleguide

@MrNime I appreciate your comment but as @JesseRWeigel doesn't use linter in his code editor airbnb rules will surely piss him off when he will commit lol. Airbnb even errors you out if you don't put methods in right order. Standered JS rules are not that hard

Ah yes, without redsquiggly lines in your editor window it will be very frustrating.
"react/sort-comp": 0 rule to disable method order rule.

Yes, I did check out the AirBnB style guide recently. I liked it, but I like Standard better and am more familiar with it.
Also, @pantharshit00 I recently set up StandardJS linting for my editor, so I will have the red squigglies!


Tests aren't running in Actions

The tests in this repository aren't running during the build e.g. see: https://github.com/mobie/mobie-io/runs/4966733184?check_suite_focus=true#step:6:102 For some reason they're not being found by maven.

They also don't run locally with mvn clean install

Probably we should include develop here?
Do you think that could be the issue?

Ah, sorry, on the develop branch it is fine, in fact: https://github.com/mobie/mobie-io/blob/5ff3e1b7d195fd3a28c4f856e5289bac59e2cd3f/.github/workflows/build-main.yml#L4

I think it's something to do with the dependencies in the pom - maybe the junit version vs maven version? (since it doesn't run locally either)

Adding this dependency seems to fix it:
<dependency>
            <groupId>org.junit.jupiter</groupId>
            <artifactId>junit-jupiter-engine</artifactId>
            <version>5.5.2</version>
            <scope>test</scope>
</dependency>

But some of the tests currently fail. I can add it to the current PR I'm working on.

I added it here: https://github.com/mobie/mobie-io/pull/55

Solved by #55


Package for bridge to gaia

As per discussion in #55, I have added the package coq-gaia-hydras based on Dune in this branch created by @Casteran. However, this branch is currently in conflict with master due to changes previous to my commits in the regular ordinals part that are unrelated to the gaia proofs or packaging.
Since I'm not sure how to proceed to get the branch mergeable (e.g., rebase and fix conflicts or just cherry-pick the gaia work in another branch?) I'm opening this draft PR.

@palmskog  I fixed the conflicts in my (local )branch Bridge. So, the procedure is now to commit, then push Bridge ?

@Casteran yes, if you fixed the conflicts on top of my (unrelated) changes, all you need to do is to commit locally and push to the upstream (GitHub) Bridges branch.

OK,
I plan to complete the file T1Bridge.v : relationship between hydra-battle's and gaia's T1.
When it's OK, we may discuss about the style (proof scripts, theorem naming, documentation) before writing other modules.
For the time being, I'm writing in a strange cocktail of vanilla Coq and SSreflect, but I hope I'll improve the consistency of my scripts soon ...

@Casteran feel free to roll back my SSReflect proof changes if you want. Also, recall that you can get lia and nia to work with MathComp operators if you install the package coq-mathcomp-zify, and do after the usual MathComp requires:
From mathcomp Require Import zify.

See an example.

Well, I think SSreflect is fine. Since I’m a beginner, my first scripts in Bridge will have several old-fashioned features.
In Bordeaux, our Coq working-group want also to learn Ssreflect (since there are librairies they want to use).
I find it very interesting to build a bridge between a plain Coq library and a Mathcomp development.
Just one point: I’ll  use the ‘ Set Bullet Behavior "Strict Subproofs ». ‘ option (compatible with SSreflects) which really helps me do structure my proofs.

Le 14 août 2021 à 19:07, Karl Palmskog @.***> a écrit :
@Casteran https://github.com/Casteran feel free to roll back my SSReflect proof changes if you want. Also, recall that you can get lia and nia to work with MathComp operators if you install the package coq-mathcomp-zify, and do after the usual MathComp requires:
From mathcomp Require Import zify.
See an example https://github.com/math-comp/mczify/blob/master/examples/divmod.v.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/coq-community/hydra-battles/pull/56#issuecomment-898931266, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJW6FCQKUZVX2E7523RXIUDT42PEZANCNFSM5CFFUSTA.
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email.

@palmskog @Zimmi48
I've achieved the importation of Gaia's theorem asserting associativity of multiplication on T1 into theories/gaia.
The script is an awfull draft, so I will clean it up before commiting it.


Update licensing-governance.md

updates to obo licensing

@billmath
Can you review the proposed changes?
Important: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off

#sign-off


Revert clang-format.sh and disable from precommit git hook

Revert clang-format.sh due to issues with dry-run of staged content on some versions and disable in precommit githook for now due to incompatible sets of cmd-line argument across versions.

Approved.
When are we looking at having this run again? It would be good to be formatting regularly during our commits

Shooting for some time this week, but looking into better way of doing rather than homegrown hook script.


Model out of sync with database in new project

I have just installed Piranha in a new MVC project. After reaching the install screen and entering in the required details, I receive an InvalidOperationException:
The model backing the 'DataContext' context has changed since the database was created.
Might be worth mentioning that I have changed the default piranha connection string to use a local SQL express database rather included SQLCE.
Full stack trace:
[InvalidOperationException: The model backing the 'DataContext' context has changed since the database was created. Consider using Code First Migrations to update the database (http://go.microsoft.com/fwlink/?LinkId=238269).]
   System.Data.Entity.CreateDatabaseIfNotExists`1.InitializeDatabase(TContext context) +392
   System.Data.Entity.Internal.<>c__DisplayClass8.<PerformDatabaseInitialization>b__6() +19
   System.Data.Entity.Internal.InternalContext.PerformInitializationAction(Action action) +60
   System.Data.Entity.Internal.InternalContext.PerformDatabaseInitialization() +181
   System.Data.Entity.Internal.LazyInternalContext.<InitializeDatabase>b__4(InternalContext c) +7
   System.Data.Entity.Internal.RetryAction`1.PerformAction(TInput input) +110
   System.Data.Entity.Internal.LazyInternalContext.InitializeDatabaseAction(Action`1 action) +185
   System.Data.Entity.Internal.LazyInternalContext.InitializeDatabase() +73
   System.Data.Entity.Internal.InternalContext.ForceOSpaceLoadingForKnownEntityTypes() +60
   System.Data.Entity.DbContext.System.Data.Entity.Infrastructure.IObjectContextAdapter.get_ObjectContext() +25
   Piranha.DataContext..ctor() in c:\Proj\GitHub\Piranha\Piranha\DataContext.cs:59
   Piranha.WebPages.WebPiranha.RegisterDefaultHostNames() in c:\Proj\GitHub\Piranha\Piranha\WebPages\WebPiranha.cs:191
   Piranha.WebPages.WebPiranha.Init() in c:\Proj\GitHub\Piranha\Piranha\WebPages\WebPiranha.cs:227
   Piranha.Web.ApplicationModule.Start() in c:\Proj\GitHub\Piranha\Piranha\Web\ApplicationModule.cs:29

Thanks!

I am having the same issue yet I did install MVC template (double checked it in Nuget and I have Core, MVC and template for ASP.NET MVC packages installed).
The partial view 'Partial/Menu' was not found or no view engine supports the searched locations.


Update QueryBuilder.php

Hello,
thank you very much for your work, it's awesome!
I found a minor error in PHPDOC for method setParameter. Argument "type" can be a string or null but can be also an int if it comes from \PDO::PARAM_*. So I've changed typehint "string" into "mixed".

@fmagnan awesome! 🚢


“http://” is missing from create canary endpoint

“http://” is missing from the canary endpoint.
As a result, the canary it created fails.

https://github.com/aws-observability/application-signals-demo/pull/51

Will track in https://github.com/aws-observability/application-signals-demo/pull/51, I don't think we need this issue open.


Issue templates

This PR introduces templates with automatically assigned labels for bug reports, feature requests and uncategorised issues 🚢

Thanks for the suggestions both! Made some changes.
Yes @bl-ue, no punctuation at the end of the short descriptions is the intended 👍🏻


API docs on readthedocs.org

It would be nice to have (at least) API docs available on readthedocs.org. Probably https://breathe.readthedocs.io/en/latest/ could be an option to also include doxygen API docs in the Python docs.

I fully agree.

Documentation is now available at http://turbodbc.readthedocs.io/en/latest/


feat/better-form-validation

Please review before merging.

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


Add missing trait in custom ZincWorkerModule example

While following the instructions to use a custom ZincWorkerModule, things didn't compile until CoursierModule was added too. (It seems it's a self type of ZincWorkerModule now.) This PR updates the documentation accordingly.

You're right about the self type. Thank you!


Bing map 'uncaught invalid usage" console error

From @yfzwinnie on January 2, 2019 19:34
This error appears whenever you update your location and when you filter on the search result page (home page, search result filtering):

Copied from original issue: Microsoft/Access2Justice#958

We could not reproduce that. For remaining error new bug issue is created #852.


📝 Add external link: PyCharm Guide to FastAPI

Added link to the PyCharm Guide : Developing FastAPI Application using K8s & AWS
Reference : https://www.jetbrains.com/pycharm/guide/tutorials/fastapi-aws-kubernetes/

Great, thanks! :rocket:


Roll events off when the end date/time passes, rather than the start time

@Nunie123 I had the OpenWorks dashboard up on Thursday when we had three meetups there at the same time.
The security guard walked someone up and asked me to help the visitor find their meetup.  I looked at the dashboard to ask which group they were looking for and noticed the events had rolled off the list since the start time had passed.
Not sure if you have the end time, or if that's universally available, but it may be more practical to show an event up until it's over to avoid situations like this one where seeing the event info while it was happening would have helped.
Thoughts?

@allella ha, yeah, that makes sense.  I think the end time data is sketchy, but I can set it up so that all events for today will show up regardless if they have already started.

@allella This is deployed.  Rather than dealing with timezone issues, I just set the default start datetime to 1 day before the time of the request.
I'm not closing this yet, as there are no events today to verify this is working in production.  Everything appears to be working fine, but we will know if the changes are working on Monday.

@Nunie123 this looked good on the OpenWorks dashboard tonight. The Code For Greenville event was still listed when it was over.


New Version is comming soon

Currently I am working on a new version.
This will be mainly a bugfix version (Many thx to Mark @msp1974 ) but I also implemented some new features

there will be an option to set variables in HA if the next 3 departures of defined lines are late or cancelled .... or in time
there will be a 2nd lovalace card for single card use. Means with big font so that you can put it on a screen or on an Amazon Show 15 (with the silk browser and the kiosk mode HA addon)
improved error handling, additionally there will be an indicator on the card (Stop Name - nicht aktuell) if the data is outdated (older than 1 minute)

I hope I can release this version in the next days.
The next step in the future will be to make this custom component available in HACS, but this will last some time.

New Version 1.3.0 released


One Click Trading

What is the purpose of the change

ClickUp Task
ClickUp Task URL
Brief Changelog

Testing and Verifying

Documentation and Release Note

@jonator @MaxMillington The smart account page is now hidden. I plan to add the feature flag in the next PRs for layout updates. For now, this PR will be a temporary solution because we can't merge it to the stage yet, due to the ongoing development of the Smart Account chain feature. Any updates to the proto in the main branch won't be reflected in the smart accounts branch, and I want to ensure we don't delay other updates

@jonator This is not a POC. Despite having Feature Flags, we cannot merge this PR yet because any updates to the proto in the main branch won't be reflected in the chain smart accounts branch, and I want to ensure we don't delay other updates.


[SR-4294] Warn on excessive right-angle brackets

To warn against the consecutive use of 6 or more right-angle brackets in generic arguments (to avoid confusion with source-control conflict markets), the parser checks after each succesful parseExprIdentifier for generic type expressions and counts successive
I'm open to improvements on the implementation. I did it there to make sure we only warn once we've successfully parsed a generic type expression.
Resolves SR-4294.

Swift and Clang already have logic to detect and warn about conflict markers encountered during parsing.  Do we really need this heuristic?

Swift and Clang already have logic to detect and warn about conflict markers encountered during parsing. Do we really need this heuristic too?

I'm happy to cancel the PR if it's determined that it's not necessary.

@CodaFi It looks like there are linters out in the wild that are overly generous in what they consider a conflict marker: https://twitter.com/steipete/status/843896945718546434

To me it looked like they were using Xcode to search for >>>> and manually trying to find instances of the markers themselves - a workflow I'm guilty of using too.  I would be surprised if there were linters that didn't check for the complete conflict shed or at least that the markers started on separate lines.

To me it looked like they were using Xcode to search for >>>> and manually trying to find instances of the markers themselves - a workflow I'm guilty of using too. I would be surprised if there were linters that didn't check for the complete conflict shed or at least that the markers started on their own distinct lines.

Do you argue that the warning is un-necessary?

Do you argue that the warning is un-necessary?

Yes.  Checking for conflict sheds is more sensitive to lexical structure than just checking for a bunch of >'s in a row.

There hasn't been movement on this in 2 years. Closing this out.  Please reopen it and rebase it if you want to try again.
Thanks for your work here in the mean time @hartbit!


Always use trust for official docker images

Target is to get into Experimental docker for 1.11

PR being worked on here https://github.com/docker/docker/pull/20844


Provide setup instructions for installing binderhub-service

Partial livestream of me trying out and making this PR here: https://www.youtube.com/watch?v=WMymAqFd6mQ

Thanks, @consideRatio!


⚠ Bofrost.de has degraded performance

In 51b3ad4, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 875 ms

Resolved: Bofrost.de performance has improved in ee5a4aa after 6 minutes.


raise-effect !feature request

I like the effect of raising buttons. But this effect should not be exclusive to buttons but rather be applied to any object like the wave-effect for example.
For now I solve this by a bit of jQuery script:
$('.card').hover(
function() {
$(this).toggleClass('z-depth-2');},
function() {
$(this).toggleClass('z-depth-2');}
);
That solution however is not ideal as it may cause some flickering of the card element.

You should just transition between the box shadows which you can see in the css file.


Installation problems

Hey,
have some problems after added the package via the package manager (unity 2020.3.11f1) Library\PackageCache\com.e7.protobuf-unity@2956da0dde\Runtime\ProtoBinaryManager.cs(88,19): error CS0246: The type or namespace name 'IMessage<>' could not be found (are you missing a using directive or an assembly reference?) (one of the error messages)

Already cleared the PackageCache
Protoc is available

Hi, that type came from Google's protobuf DLL. The generated code will all
have dependencies to that.
You need to search for that in the Nuget. After a certain version (where it
says it supports .NET Standard 2.0 IIRC?) it will start using some other
DLL that Unity does not have as well, I recommends sticking with the
version that works with only 1 Protobuf DLL added.
On Thu, Jul 22, 2021 at 10:38 PM Lucas Löffel @.***>
wrote:

Hey,
have some problems after added the package via the package manager (unity
2020.3.11f1) @.***\Runtime\ProtoBinaryManager.cs(88,19):
error CS0246: The type or namespace name 'IMessage<>' could not be found
(are you missing a using directive or an assembly reference?)
Already cleared the PackageCache
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/5argon/protobuf-unity/issues/20, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABLEGHBVZWOWAQIMJWDQ2GTTZA3QJANCNFSM5A2IQXFA
.


Only close the ftp connection if it's open

If an error occured causing the connection to not be opened, this close will trigger an additional exception, as we can't close a closed socket.
/usr/local/Cellar/ruby/2.3.1/lib/ruby/2.3.0/net/ftp.rb:114:in `read_timeout=': undefined method `read_timeout=' for #<TCPSocket:(closed)> (NoMethodError)
Did you mean?  readline
    from /usr/local/Cellar/ruby/2.3.1/lib/ruby/2.3.0/net/ftp.rb:1175:in `ensure in close'
    from /usr/local/Cellar/ruby/2.3.1/lib/ruby/2.3.0/net/ftp.rb:1175:in `close'
    from /usr/local/lib/ruby/gems/2.3.0/gems/double-bag-ftps-0.1.3/lib/double_bag_ftps.rb:33:in `ensure in open'
    from /usr/local/lib/ruby/gems/2.3.0/gems/double-bag-ftps-0.1.3/lib/double_bag_ftps.rb:33:in `open'

This change makes sure we only close connections if they are open.

Thanks for the patch, and sorry for my delay in responding to it.
This is very interesting, and looks like it is related to https://github.com/bnix/double-bag-ftps/pull/1/commits/043ba70309ed622302d3aa5c6f3169872d1211ca .  This gem forces Ruby's ftp library to work with OpenSSL sockets, but those sockets lack some methods, such as #read_timeout=, that Ruby's ftp library reasonably expects a socket to have.  That patch adds those methods right after OpenSSL makes the socket.
Your patch is probably fine, but I want to understand what's happening before merging it.

By the way: Do we have a code example that reproduces this?

Hey,
I haven't experienced this myself. But I have a stacktrace and description here: dmathieu/glynn/issues/64

Merged... thanks!


feat(vscode): enable more compatible plugins

Enable dial.nvim, yanky.nvim, and mini.move, all extras which are compatible with vscode.

Thanks!


Unimaginable super slow iteration

Describe the bug
Assuming there is a dataset with 52000 sentences, each with a length of 500, it takes 20 seconds to extract a sentence from the dataset……？Is there something wrong with my iteration?
Steps to reproduce the bug
import datasets
import time
import random

num_rows = 52000
num_cols = 500

random_input = [[random.randint(1, 100) for _ in range(num_cols)] for _ in range(num_rows)]
random_output = [[random.randint(1, 100) for _ in range(num_cols)] for _ in range(num_rows)]

s=time.time()
d={'random_input':random_input,'random_output':random_output}
dataset=datasets.Dataset.from_dict(d)
print('from dict',time.time()-s)
print(dataset)

for i in range(len(dataset)):
    aa=time.time()
    a,b=dataset['random_input'][i],dataset['random_output'][i]
    print(time.time()-aa)

corresponding output
from dict 9.215498685836792
Dataset({
    features: ['random_input', 'random_output'],
    num_rows: 52000
})
19.129778146743774
19.329464197158813
19.27668261528015
19.28557538986206
19.247620582580566
19.624247074127197
19.28673791885376
19.301053047180176
19.290496110916138
19.291821718215942
19.357765197753906

Expected behavior
Under normal circumstances, iteration should be very rapid as it does not involve the main tasks other than getting items
Environment info

datasets version: 2.19.0
Platform: Linux-3.10.0-1160.71.1.el7.x86_64-x86_64-with-glibc2.17
Python version: 3.10.13
huggingface_hub version: 0.21.4
PyArrow version: 15.0.0
Pandas version: 2.2.1
fsspec version: 2024.2.0

In every iteration you load the full "random_input" column in memory, only then to access it's i-th element.
You can try using this instead
a,b=dataset[i]['random_input'],dataset[i]['random_output']


BModal deactivates focus trap on esc key

Describe the bug
When using BModal with noCloseOnEsc set to true or when one of the modal's child elements wants to handle esc key and prevent dialog closure manually, pressing esc key inside the modal dialog will always deactivate the focus trap.
In this scenario scenario, the modal dialog will not close but the focus will not remain within the modal element as intended. The focus will switch to the modal element and the currently focused element inside the modal (e.g input) will lose focus (only on first time esc is pressed, after that focus trap not active anymore).
Solution:
Pass false to escapeDeactivates option to vueuse's useFocusTrap() (which will pass it to focus-trap library). Since the modal dialog closes anyway when noCloseOnEsc is false and modal dialog should never lose focus otherwise, making it the default behavior makes sense.
Reproduction
https://stackblitz.com/edit/github-cw3lum?file=src%2FApp.vue
Used Package Manager
npm
Validations

[X] Have tested with the latest version. This is still alpha version and sometime things change rapidly.
[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
[X] The provided reproduction is a minimal reproducible of the bug.

Pass false to escapeDeactivates option to vueuse's useFocusTrap() (which will pass it to focus-trap library). Since the modal dialog closes anyway when noCloseOnEsc is false and modal dialog should never lose focus otherwise, making it the default behavior makes sense.

I agree


[CI] Gtest segfaults when compiled with sanitizers and GCC 9+

OS: Ubuntu 20.04.5 LTS
Compiler: GCC 9.4.0

When I build XGBoost with sanitizers enabled, I get a segfault.
Reproduction:
cmake .. -GNinja -DUSE_SANITIZER=ON   -DENABLED_SANITIZERS="address;leak;undefined" \
   -DCMAKE_BUILD_TYPE=Debug -DGOOGLE_TEST=ON -DUSE_DMLC_GTEST=ON
ninja
./testxgboost  # segfaults

Backtrace:
#0  0x0000000000000000 in ?? ()
#1  0x00007ffff76aa045 in __sanitizer::MaybeInstallSigaction (signum=11,
    handler=0x7ffff7693690 <__asan::AsanOnDeadlySignal(int, void*, void*)>)
    at ../../../../src/libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cc:213
#2  0x00007ffff76aa4c2 in __sanitizer::InstallDeadlySignalHandlers (
    handler=0x7ffff7693690 <__asan::AsanOnDeadlySignal(int, void*, void*)>)
    at ../../../../src/libsanitizer/sanitizer_common/sanitizer_posix_libcdep.cc:222
#3  0x00007ffff76994f3 in __asan::AsanInitInternal () at ../../../../src/libsanitizer/asan/asan_rtl.cc:442
#4  __asan::AsanInitInternal () at ../../../../src/libsanitizer/asan/asan_rtl.cc:384
#5  0x00007ffff7fe0cf6 in _dl_init (main_map=0x7ffff7ffe190, argc=1, argv=0x7fffffffe2b8, env=0x7fffffffe2c8)
    at dl-init.c:104
#6  0x00007ffff7fd013a in _dl_start_user () from /lib64/ld-linux-x86-64.so.2

Just tried it with GCC 9 and 10, and it still segfaults.
Interestingly, the current CI uses GCC 7, and the gtest doesn't segfault there. So the bug is associated with GCC 9+ versions.

@trivialfis Any idea as to why this is happening? I am hoping to run sanitizers without having to use GCC 7.

Hmm, I'm using ubuntu 22.04 and its default gcc is 11.3.

Using only libasan.so.6 works. Segfault if ubsan is also used:

Warning: REAL(sigaction_symname) == nullptr. This may happen if you link with ubsan statically. Sigaction will not work.

I'm linking ubsan dynamically:
ldd ./testxgboost
        linux-vdso.so.1 (0x00007ffd9114c000)
        libasan.so.6 => /lib/x86_64-linux-gnu/libasan.so.6 (0x00007fb4e7e00000)
        liblsan.so.0 => /lib/x86_64-linux-gnu/liblsan.so.0 (0x00007fb4e7800000)
        libubsan.so.1 => /lib/x86_64-linux-gnu/libubsan.so.1 (0x00007fb4e7000000)

libasan.so.8 doesn't work

==100348==Shadow memory range interleaves with an existing memory mapping. ASan cannot proceed correctly. ABORTING.
==100348==ASan shadow was supposed to be located in the [0x00007fff7000-0x10007fff7fff] range.
==100348==This might be related to ELF_ET_DYN_BASE change in Linux 4.12.
==100348==See https://github.com/google/sanitizers/issues/856 for possible workarounds.

Using only ubsan works.
Using only thread sanitizer works.


salt_copy_filter does not filter files

The salt_copy_filter option is only applied to directories, not individual files.

+1

+100500

@simonmcc any updates? When is this going to be released?

@dennisfoconnor @smecsia @vania-pooh sorry folks, I got side tracked on trying to get some kind of CI & testing running, I'll merge it now.


fix(catalog-backend-module-azure): Fixed issue where specifying a branch for discovery did not work

Hey, I just made a Pull Request!
Was having trouble getting Discovery to work when specifying a specific branch. Apparently, the Azure DevOps search API will only return hits for the default branch unless the name of the branch to be searched is explicitly provided as a filter, even if the branch to be searched has been indexed and is set as searchable. I honestly think this is a bug in the DevOps API, so I'd probably consider this a workaround. The behavior is the same for the newest version of the API (7.1-preview.1).
This PR contains fixes for both for the Catalog Provider and the Static Location configuration techniques. For the Static Location way of discovery, just include a &version=GB<branchname> in the URL. This is the same format as the Azure DevOps UI uses for the address bar, so the URL is copy-pasteable from there.
:heavy_check_mark: Checklist

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

Will help review this tomorrow 👍

@awanlin thank you for the review! I've made some changes and replied to your comments :)


Cannot find name '.....' in typescript files

Describe the bug
When building my Vue project including this library I get errors during the build:
`    4 |  */
ERROR in<EMAIL_ADDRESS>ERROR in /home/node/app/node_modules/@panzoom/panzoom/dist/src/css.d.ts(1,47):
1:47 Cannot find name 'from'.

1 | import type { CurrentValues, PanzoomOptions } from './types';
|                                               ^
2 | /**
3 |  * Gets a style value expected to be a number
4 |  /
ERROR in<EMAIL_ADDRESS>ERROR in /home/node/app/node_modules/@panzoom/panzoom/dist/src/css.d.ts(14,80):
14:80 Cannot find name 'PanzoomOptions'.
12 |  * and takes care of prefixing the transition and transform
13 |  /
14 | export declare function setTransition(elem: HTMLElement | SVGElement, options: PanzoomOptions): void;
|                                                                                ^
15 | /
16 |  * Set the transform using the proper prefix
17 |  *
ERROR in<EMAIL_ADDRESS>ERROR in /home/node/app/node_modules/@panzoom/panzoom/dist/src/css.d.ts(34,94):
34:94 Cannot find name 'CurrentValues'.
32 |  *     33 |  */ 34 | export declare function setTransform(elem: HTMLElement | SVGElement, { x, y, scale, isSVG }: CurrentValues, _options?: PanzoomOptions): void;        |                                                                                ^     35 | /**     36 |  * Dimensions used in containment and focal point zooming     37 |  */ ERROR in<EMAIL_ADDRESS>ERROR in /home/node/app/node_modules/@panzoom/panzoom/dist/src/css.d.ts(34,120): 34:120 Cannot find name 'PanzoomOptions'.     32 |  *
33 |  /
34 | export declare function setTransform(elem: HTMLElement | SVGElement, { x, y, scale, isSVG }: CurrentValues, _options?: PanzoomOptions): void;
|                                                                                ^
35 | /*
36 |  * Dimensions used in containment and focal point zooming
37 |  */
ERROR in<EMAIL_ADDRESS>ERROR in /home/node/app/node_modules/@panzoom/panzoom/dist/src/panzoom.d.ts(11,15):
11:15 Cannot find name 'PanzoomObject'.
9 |  */
10 | import './polyfills';
11 | import type { PanzoomObject, PanzoomOptions } from './types';
|               ^
12 | declare function Panzoom(elem: HTMLElement | SVGElement, options?: Omit<PanzoomOptions, 'force'>): PanzoomObject;
13 | declare namespace Panzoom {
14 |     var defaultOptions: PanzoomOptions;
ERROR in<EMAIL_ADDRESS>ERROR in /home/node/app/node_modules/@panzoom/panzoom/dist/src/panzoom.d.ts(11,15):
11:15 Left side of comma operator is unused and has no side effects.
9 |  */
10 | import './polyfills';
11 | import type { PanzoomObject, PanzoomOptions } from './types';
|               ^
12 | declare function Panzoom(elem: HTMLElement | SVGElement, options?: Omit<PanzoomOptions, 'force'>): PanzoomObject;
13 | declare namespace Panzoom {
14 |     var defaultOptions: PanzoomOptions;
ERROR in<EMAIL_ADDRESS>ERROR in /home/node/app/node_modules/@panzoom/panzoom/dist/src/panzoom.d.ts(11,30):
11:30 Cannot find name 'PanzoomOptions'.
9 |  */
10 | import './polyfills';
11 | import type { PanzoomObject, PanzoomOptions } from './types';
|                              ^
12 | declare function Panzoom(elem: HTMLElement | SVGElement, options?: Omit<PanzoomOptions, 'force'>): PanzoomObject;
13 | declare namespace Panzoom {
14 |     var defaultOptions: PanzoomOptions;
ERROR in<EMAIL_ADDRESS>ERROR in /home/node/app/node_modules/@panzoom/panzoom/dist/src/panzoom.d.ts(11,47):
11:47 Cannot find name 'from'.
9 |  */
10 | import './polyfills';
11 | import type { PanzoomObject, PanzoomOptions } from './types';
|                                               ^
12 | declare function Panzoom(elem: HTMLElement | SVGElement, options?: Omit<PanzoomOptions, 'force'>): PanzoomObject;
13 | declare namespace Panzoom {
14 |     var defaultOptions: PanzoomOptions;
ERROR in<EMAIL_ADDRESS>ERROR in /home/node/app/node_modules/@panzoom/panzoom/dist/src/panzoom.d.ts(12,73):
12:73 Cannot find name 'PanzoomOptions'.
10 | import './polyfills';
11 | import type { PanzoomObject, PanzoomOptions } from './types';
12 | declare function Panzoom(elem: HTMLElement | SVGElement, options?: Omit<PanzoomOptions, 'force'>): PanzoomObject;
|                                                                         ^
13 | declare namespace Panzoom {
14 |     var defaultOptions: PanzoomOptions;
15 | }
ERROR in<EMAIL_ADDRESS>ERROR in /home/node/app/node_modules/@panzoom/panzoom/dist/src/panzoom.d.ts(12,100):
12:100 Cannot find name 'PanzoomObject'.
10 | import './polyfills';
11 | import type { PanzoomObject, PanzoomOptions } from './types';
12 | declare function Panzoom(elem: HTMLElement | SVGElement, options?: Omit<PanzoomOptions, 'force'>): PanzoomObject;
|                                                                                ^
13 | declare namespace Panzoom {
14 |     var defaultOptions: PanzoomOptions;
15 | }
ERROR in<EMAIL_ADDRESS>ERROR in /home/node/app/node_modules/@panzoom/panzoom/dist/src/panzoom.d.ts(14,25):
14:25 Cannot find name 'PanzoomOptions'.
12 | declare function Panzoom(elem: HTMLElement | SVGElement, options?: Omit<PanzoomOptions, 'force'>): PanzoomObject;
13 | declare namespace Panzoom {
14 |     var defaultOptions: PanzoomOptions;
|                         ^
15 | }
16 | export * from './types';
17 | export default Panzoom;`

Your environment

Version of panzoom: 4.5.1

Steps to reproduce
Create a Vue project and include panzoom library. Try to build the project.

Thanks for opening an issue. It looks like your vue project is importing the types, but does not support import in those types. This can happen sometimes depending on your project setup, but is not something Panzoom can fix for you. It's likely a setting you can change, either in TS config, vue config, or something else.


Ubuntu Linux porting of source code or similar app

Hello SAP privileges app team,
Is it possible to port this source code to Ubuntu Linux platform? Or is there a similar open source app for privileges recording and management for Ubuntu Linux?

We are not planning to port to any platform other than macOS.


CFFL

CFFL

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_31ziu8zbmh/clone/recipe/meta.yaml:18: cython_must_be_in_host: Cython should be in the host section
ERROR: /tmp/abs_31ziu8zbmh/clone/recipe/meta.yaml:25: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_31ziu8zbmh/clone/recipe/meta.yaml:26: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_31ziu8zbmh/clone/recipe/meta.yaml:27: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_31ziu8zbmh/clone/recipe/meta.yaml:29: missing_wheel: For pypi packages, wheel should be present in the host section
ERROR: /tmp/abs_31ziu8zbmh/clone/recipe/meta.yaml:35: cython_must_be_in_host: Cython should be in the host section
ERROR: /tmp/abs_31ziu8zbmh/clone/recipe/meta.yaml:40: missing_pip_check: For pypi packages, pip check should be present in the test commands
ERROR: /tmp/abs_31ziu8zbmh/clone/recipe/meta.yaml:46: missing_dev_url: The recipe is missing a dev_url
ERROR: /tmp/abs_31ziu8zbmh/clone/recipe/meta.yaml:46: http_url: http://github.com/lmcinnes/hdbscan is not https
ERROR: /tmp/abs_31ziu8zbmh/clone/recipe/meta.yaml:46: missing_documentation: The recipe is missing a doc_url or doc_source_url
WARNING: /tmp/abs_31ziu8zbmh/clone/recipe/meta.yaml:46: missing_description: The recipe is missing a description
ERROR: /tmp/abs_31ziu8zbmh/clone/recipe/meta.yaml:46: missing_license_family: The recipe is missing the about/license_family key.
Errors were found


Support findAndModify

Closes #164.

All new functions and methods should have documentation comments.
And please resolve lll's warning

Done.

some checks (i.e. inclusion/exclusion) of user input are in $elemMatch PR #551.

Thanks, I've missed those checks.

Cannot specify arrayFilters and remove=true
Cannot specify arrayFilters and a pipeline update

I don't sure we support arrayFilters right now. Although we definitely don't support pipeline updates.
I've added other 3 tests.

Thank you!

I don't sure we support arrayFilters right now. Although we definitely don't support pipeline updates.

Maybe mention somewhere in the issue description that the findAndModify is supported w/o arrayFilters and pipeline updates?

Thank you!

I don't sure we support arrayFilters right now. Although we definitely don't support pipeline updates.

Maybe mention somewhere in the issue description that the findAndModify is supported w/o arrayFilters and pipeline updates?

arrayFilters are already mentioned in the issue and marked as unimplemented.


How to show variable value on Custom Html??

Hi @cotestatnt ,
I have some question,

After connected to SSID, we dont know the giving IP Address from router, is possible to add status of ESP? connected or not connected and IP address? so we can go back to the page if we know the IP.

Is possible to edit the Wifi Setup page? I read this but I fail, can you give hint more detail to generate setup_htm.h

Give me hint how to print or show value of variable on customElement.h? for example, I have x variable, and i want to show value of x to customHTML page.

Thanks, you are great!!

Hi @arimukhlas
I try to answer your questions:

This is a nice idea. I will implement as soon as I can;
I replied to you in detail on the other issue. Let me know if you are still having problems, maybe I have some npm module installed as global and need to add to dependencies;
Use an AJAX call to get the values you need from ESP and then fille the HTML elements with received data.

For example in the simpleServer.ino example, in the index.htm source there is this JavaScript script
      function toggleLed() {
        const pars = new URLSearchParams({
          val:  document.getElementById('toggle-led').checked ? '1' : '0'
        });

        fetch('/led?' + pars )                // Do the request
        .then(response => response.text())    // Parse the response
        .then(text => {                       // DO something with response
          console.log(text);
          document.getElementById('esp-response').innerHTML = text + ' <i>(Builtin LED is ON with a low signal)</i>';
        });
      }

      // Add event listener to the LED checkbox (the function will be called on every change)
      document.getElementById('toggle-led').addEventListener('change', toggleLed );

The function toggleLed() is defined and tied to the HTML switch  element with id = toggle-led (the last istruction)
In this way on every 'change' event of 'toggle-led' element, the function will be called and send a GET request to ESP with a parameter built according to the HTML switch element state.
Once we have a reply from ESP webserver, the HTML element 'esp-response' will be fitted with esp response (+ some other text).
You need to write a similar HTML code and use as shown in customHTML.ino example.

Excellent

Still error, cant find module 'node"zlib', what is your node.js version?
Thanks for hint, i will try

Good morning @arimukhlas
I've just tested to build again deleting first all my global installed npm modules and it works.
This is my actual npm and node.js version (on Windows machine).

npm: 9.6.4
node.js: v19.6.0

Anyway, if you install the zlib modules, it works?

Good morning @arimukhlas I've just tested to build again deleting first all my global installed npm modules and it works. This is my actual npm and node.js version (on Windows machine).
* npm: 9.6.4

* node.js: v19.6.0

Anyway, if you install the zlib modules, it works?

Done, didnt work on Win7 Ultimate, but perfectly work on Win10, Thanks


[Not Solved: #2848 issue] Cloud Manager build giving error on image/placeholders

Required Information
Existing issue https://github.com/Adobe-Consulting-Services/acs-aem-commons/issues/2848.
Issues not resolved. After upgrade also ( to 5.3.2) same errors are coming on pipeline build

[ ] AEM Version, including Service Packs, Cumulative Fix Packs, etc: _______
[ ] ACS AEM Commons Version: 5.3.2_
[ ] Reproducible on Latest? yes

Expected Behavior
Pipeline test should not give ClientlibProxyResource finding as Bug.
Actual Behaviour:-
When we are running pipeline in cloud service, in build we are getting bugs in ACS-AEM-Commons:
The resource /apps/acs-commons/widgets/source/images/placeholders/cq-ad-placeholder.png is contained in a proxy client library /apps/acs-commons/widgets and must be below /apps/acs-commons/widgets/resources to be served correctly on publish.
The resource /apps/acs-commons/widgets/source/images/placeholders/cq-ul-placeholder.png is contained in a proxy client library /apps/acs-commons/widgets and must be below /apps/acs-commons/widgets/resources to be served correctly on publish.
The resource /apps/acs-commons/widgets/source/images/placeholders/cq-audio-placeholder.png is contained in a proxy client library /apps/acs-commons/widgets and must be below /apps/acs-commons/widgets/resources to be served correctly on publish.
The resource /apps/acs-commons/widgets/source/images/placeholders/cq-textlines-placeholder.png is contained in a proxy client library /apps/acs-commons/widgets and must be below /apps/acs-commons/widgets/resources to be served correctly on publish.
The resource /apps/acs-commons/widgets/source/images/placeholders/cq-dl-placeholder.png is contained in a proxy client library /apps/acs-commons/widgets and must be below /apps/acs-commons/widgets/resources to be served correctly on publish.
The resource /apps/acs-commons/widgets/themes/default/source/audio.png is contained in a proxy client library /apps/acs-commons/widgets/themes/default and must be below /apps/acs-commons/widgets/themes/default/resources to be served correctly on publish.
Steps to Reproduce
Step1: Use the version 5.3.2 acs common package.
Step2: Run the pipeline.
Step3: In report we are getting these findings.
Links
/apps/acs-commons/widgets/themes/default/source/audio.png
/apps/acs-commons/widgets/source/images/placeholders/cq-dl-placeholder.png
/apps/acs-commons/widgets/source/images/placeholders/cq-textlines-placeholder.png
/apps/acs-commons/widgets/source/images/placeholders/cq-audio-placeholder.png
/apps/acs-commons/widgets/source/images/placeholders/cq-ul-placeholder.png
/apps/acs-commons/widgets/source/images/placeholders/cq-ad-placeholder.png

Hi @davidjgonzalez Could you please look into the issue.
It's still coming in build after upgrading the acs-aem-common verstion to 5.3.2.

@SearchFoundation2022 would have time to make PR?

@davidjgonzalez yes sure. Let me when you are done.

@davidjgonzalez could you please confirm if are making new code changes and wants me to pull / redeploy version 5.3.2 or.

@SearchFoundation2022  should be fine - im re-running the failed tests. It looks like Github has an internal failure on the 2 runs that failed. One of the failed test completed successfully on the re-try, and the other one is still running (should be done soon)

@davidjgonzalez if it pass could you please merge back to 5.3.2. Then we will start the fresh build with that version (acs-commons) and check in pipeline

Hi @davidjgonzalez could you please suggest if it's going to be available with next version or still any testing is required?

Fixed in 5.3.4


Can not access Docker registry from a different machine.

Currently I am using the latest Docker Toolbox 18.01 under Windows 10.
I created a  Docker Registry  in one machine, and tried to  run other dockers for my projects in another machine.  In this Docker registry machine,  docker pull and push commands worked well.
In the machine for my project, I added localhost:5000 or <IP_ADDRESS>:5000 into the machine specific config.json.
            "InsecureRegistry": [
                "localhost:5000",
                "<IP_ADDRESS>:5000"
            ],

Docker push  did not work at all.
$ docker push localhost:5000/auth-service:latest
The push refers to repository [localhost:5000/auth-service]
Get http://localhost:5000/v2/: dial tcp <IP_ADDRESS>:5000: getsockopt: connection refused

BTW, I am sure I have set the port 5000 mapped to localhost in the docker registry machine, and I can access http://localhost:5000/v2/_catalog in my browser.

Localhost from inside a VM will refer to localhost inside that machine, so if the registry is running inside another VM, that’s expected

@thaJeztah  But I used docker registry machine ip to connect, it still does not work.

Looks like this is an issue in your setup; I'm not able to reproduce:
Create two machines:
docker-machine create --driver=virtualbox one
docker-machine create --driver=virtualbox two

NAME       ACTIVE   DRIVER       STATE     URL                         SWARM   DOCKER        ERRORS
one        -        virtualbox   Running   tcp://<IP_ADDRESS>:2376           v18.01.0-ce
two        *        virtualbox   Running   tcp://<IP_ADDRESS>:2376           v18.01.0-ce

Connect to machine "one", and start a registry;
eval $(docker-machine env one)
docker run -d -p 5000:5000 registry:2

Connect to machine "two", and push/pull from the registry on host "one"
eval $(docker-machine env two)

docker pull busybox
docker tag busybox <IP_ADDRESS>:5000/busybox
docker push <IP_ADDRESS>:5000/busybox

That works, but the registry is not configured as "insecure", push fails, but you can see that it's trying to push
The push refers to repository [<IP_ADDRESS>:5000/busybox]
Get https://<IP_ADDRESS>:5000/v2/: http: server gave HTTP response to HTTPS client

Got the same error even I added  <IP_ADDRESS>:5000 to the project machine config(InsecureRegistry of docker machine config.json, I have restarted it after changed the config.json).
"InsecureRegistry": [
        "<IP_ADDRESS>:5000"
],

@hantsy How would be able to access a registry on another machine if you are pushing and pulling from localhost?

@stevvooe  What I need is put the docker registry and app containers into different virtualbox machines.

@hantsy is this still an issues for you? If not, mind closing it.

Let's close this one; it's 6 Years old now.


rails: init at 6.0.1

Motivation for this change
Adds Ruby on Rails framework. It already exists a rails attribute in rubyPackages but it is completely outdated. I'm a little puzzled, but I think that the recommended current way of packaging gems is through bundix, as this PR does.
References #45980
Things done

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

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

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

Notify maintainers
cc @

Why not update instead? and cc the maintainer?

Hmmm... honestly I'm a bit confused. Why are there two different ways of packaging ruby packages in the first place? There are ruby applications much less used that rails, for example taskjuggler, which are packaged at the top namespace. On the other side, rails is under rubyPackages_x_x namespace. On top of that, reading at the docs it seems that bundix is the current recommended way. Maybe we should add this package through bundix and depreciate the one in rubyPackages_x_x...

TBH I have less knowledge then you. But, as in other packages sets, such as pythonPackages, I think a package you create using bundix is added to the rubyPackages_x_x set by adding it to a ruby-packages.nix file - I think it's this one:
https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/ruby-packages.nix

In the first place, why are there two different ways of packaging ruby packages?

@waiting-for-dev the ruby section document explain the differences https://github.com/NixOS/nixpkgs/blob/e16df73d3040526fdf5f6a34adae79dedb0387ba/doc/languages-frameworks/ruby.section.md. In this case you need to update the default gemset, in order to update rails.
For rails development, I recommend to use bundlerEnv with nix-shell

Thanks for pointing me out that documentation @marsam . TBH I hadn't seen it before.

In the nixpkgs tree, Ruby packages can be found throughout, depending on what they do, and are called from the main package set. Ruby gems, however are separate sets, and there's one default set for each interpreter (currently MRI only).

I'm still confused... I guess that for Ruby package we understand any Ruby program which hasn't been packed as a gem by its developers... Anyway, I'm not sure it's a consistent differentiation right now. For example, rubocop is a gem, and it appears twice in nixpkgs collection: one in ruby-packages and another one as a regular package.

I'm trying to update rails through ./maintainers/scripts/update-ruby-packages script, while at the same time I'm learning how this process works. Unless I'm missing something I think it works in a very unsustainable way.
According to my understanding, all gems that will be available through ruby.withPackages are taken from a pkgs/development/ruby-modules/with-packages/Gemfile. This basically means that each available gem must be compatible with any other gem listed there, even if you're not going to install it ever.
In this case, trying to update rails doesn't go beyond 4.2 version, only because another listed gem called cocoapods depends on activesupport >= 4 < 5, while rails 6 (last version) requires activesupport 6.
I think it's extremely problematic to depend on all gem maintainers keeping its dependencies updated in order to provide updated ruby packages for nix. WDYT?

Yea well, this is one of those issues with Nixpkgs in general that need attention you might want to get attention for in NixOS/rfcs. I don't have a strong opinion here as I'm not familiar with the Rails/Ruby ecosystem in Nixpkgs... Sorry.

Ruby package we understand any Ruby program which hasn't been packed as a gem by its developers

IIUC bundlerApp is meant to be used in applications (provides an executable), and rarely is required, chef is a good example.

For example, rubocop is a gem, and it appears twice in nixpkgs

keep in mind that  ruby.withPackages was just recently introduced last september, and the regular rubocop has been there way before.
IMHO we should remove the regular rubocop, with the recent extensions split it became less useful to keep as a single executable.

I think it's extremely problematic to depend on all gem maintainers keeping its dependencies updated in order to provide updated ruby packages for nix. WDYT?

Agree, this is a general issue when maintaining packagesets in nixpkgs, in {python,haskell}-packages we have to keep only one version of each package.
I use bundlerEnv to work with rails at work, and tbh I'm not sure if would be useful to add rails as regular expression to nixpkgs.
cc: @manveru would you mind shedding some light on this

I use bundlerEnv to work with rails at work, and tbh I'm not sure if would be useful to add rails as regular expression to nixpkgs.

The only but not minor benefit would be to be able to execute rails new when you start a fresh new project. Once the project is created, you don't need it anymore. Right now you have to workaround this creating a Gemfile with only rails, then bundix + nix-shell + rails new and bundix + nix-shell again for the new Gemfile, which is a bit of a PAIN :)

Still important to me

I use bundlerEnv to work with rails at work, and tbh I'm not sure if would be useful to add rails as regular expression to nixpkgs.

The only but not minor benefit would be to be able to execute rails new when you start a fresh new project. Once the project is created, you don't need it anymore. Right now you have to workaround this creating a Gemfile with only rails, then bundix + nix-shell + rails new and bundix + nix-shell again for the new Gemfile, which is a bit of a PAIN :)

@waiting-for-dev: Have you found a way round the above? I'm still using the workaround you mention above.

Please rebase


[main] Update community files

Cron -knative-prow-robot
/cc knative-sandbox/channel-wg-leads
/assign knative-sandbox/channel-wg-leads
Produced by: knative-sandbox/knobots/actions/update-community
Details:

/retest

Verify Deps failed,  and the fix progress is here https://knative.slack.com/archives/CCSNR4FCH/p1624474308108900?thread_ts=1623781993.092300&cid=CCSNR4FCH

/lgtm
/approve


RGBLED doesn't have blink() while docs say it does

I was trying out your awesome library and was slightly disapointed that RGBLED class doesn't actually have a blink() method while the docs here say, that it does:
http://pythonhosted.org/gpiozero/outputs/
It's probably cause RGBLED doesn't derive from DigitalOutputDevice like other two LED classes.

I gave up on trying to get the RGBLED working. reverted back to just using LED. :(

I think we may have removed blink and toggle due to the nature of the device not being a simple on/off. It probably should have these methods though, it just needs to remember the state during blinking. Do regular PWM devices do this?

Related to #121 I think?

Grrr ... again, my reST docs are correct ... but I digress (sorry, couldn't resist!). If I recall correctly, the reason that blink was removed is because it was non-trivial in the non-threaded counted case (i.e. the former implementation was simply wrong in that case ... or was it the threaded case ... anyway, one of the cases was just wrong and it wasn't an entirely simple fix so it got chopped pending further work).

If you are looking for a usecase, here is my pet project that needed a blink function:
https://github.com/zeenix/rasp-led-weather
You can see it in action here: https://plus.google.com/u/0/+ZeeshanAli/posts/EH6ZX1ZHn9k
You can see it in action here:

Given that PWMOutputDevice now has a blink() method with optional fade-in/fade-out args, I wonder if RGBLED could have a blink() method with extra optional on_colour and off_colour args, defaulting to 'white' and 'black'? Just a suggestion ;-)

@lurch Oooh ... nice idea! Yup, that can go in 1.1.

Incidentally, the docs side of this should have been fixed by the rest-docs implementation (the docs now can't contain anything which the code doesn't actually implement since they're derived from the code's docstrings)

I guess if you wanted to get super-fancy, you could even add the fade-in/fade-out args and have the RGBLED smoothly fade between the two colours! ;-)
(although it'd obviously be using RGB-fading, and so might look a bit weird when the user expects HSV-fading... hmmm.)

Yeah, it's RGB linear interpolation for the fading; HSV can be another ticket ;)


Update nginx ingress chart

https://charts.helm.sh/stable/ is outdated
Switch to https://github.com/kubernetes/ingress-nginx provided chart

Signed-off-by: Dinar Valeev<EMAIL_ADDRESS>

Fixes https://github.com/AbsaOSS/k8gb/issues/388, note this is not a chart maintained by Nginx, but rather official for ingress controller on k8s side. Advantage over official is, it supports setting udp-services-configmap which is crucial in our setup.

@kuritka for terratest, it fails randomly

@k0da, must be fixed otherwise. When we merge, master branch will fail randomly 😬 .

@kuritka sure, I'm working on it.

mergable

Any other comments?

@k0da please rebase with master

@ytsarev done

@kuritka pls rereview


Add tracking of DML inside function bodies.

Track the presence of DML statemnts and function calls that appear
inside function bodies.
Issue #1661

So do we want to have some environment variable or some other way of controlling whether the DML in functions is an error or a warning?

So do we want to have some environment variable or some other way of controlling whether the DML in functions is an error or a warning?

A per-database configuration variable.  We obviously need to implement per-database configuration support first.

OK, so if you have no other objections, we can merge this and then update the handling of DML in functions once we have per-database configs.


Remove assumption on sysids per udp packet

Resolves #1454

Yes! Not sure how often that happens (my opinion is that it should not), but nothing prevents it anywhere...


Microsoft Graph API: How to copy Shared Folder between Accounts in OneDrive Business

Is it possible to copy a shared folder to my own profile in OneDrive Business via Microsoft Graph API?
Both accounts are OneDrive Business Accounts. Account A shares a folder to Account B. Account B is logged in and can see all shared items from Account A. So Far so good.
How can I copy this shared folder to the profile of Account B?
When I try this POST I get a 401 - The caller is not authenticated.
POST https://graph.microsoft.com/v1.0/drives/<remoteItem.driveId>/items/<id>/copy

Content-Type: application/json
Authorization: Bearer xyz...

{
  "parentReference": {
    "path": "/drive/root:/Documents"
  }
}

The scope I use is:

mail.read
user.read
files.read
files.read.all
sites.read.all
files.readwrite

Any suggestions?

Ok we will find the Answer here, it is not possible right at the moment. Maybe soon... https://stackoverflow.com/questions/37700948/microsoft-graph-api-how-to-copy-shared-folder-between-accounts-in-onedrive-busi


okta auth

In general snowflake provides the ability to use oauth tokens to authenticate when using command line tools or even connectors within programs.  We should support the ability to provide an oauth token as a form of authentication.

@mhaley-miovision we have a potential use case for oauth access tokens - I just put out a PR for this. It's limited in scope since it requires you to have a valid, non-expired access token, but might satisfy your command line tool use case

We are closing this issue as part of a cleanup described in announcement. If you believe that the issue is still valid in v0.89.0, please open a new ticket.


[SPARK-48692][BUILD] Upgrade rocksdbjni to 9.2.1

What changes were proposed in this pull request?
The pr aims to upgrade rocksdbjni from 8.11.4 to 9.2.1.
Why are the changes needed?
The full release notes as follows:
https://github.com/facebook/rocksdb/releases/tag/v9.2.1
https://github.com/facebook/rocksdb/releases/tag/v9.1.1
https://github.com/facebook/rocksdb/releases/tag/v9.1.0
https://github.com/facebook/rocksdb/releases/tag/v9.0.1
https://github.com/facebook/rocksdb/releases/tag/v9.0.0
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Pass GA.
Was this patch authored or co-authored using generative AI tooling?
No.

At present, we are only testing rocksdbjni's 9 series in advance

Let's test 9.1.1

Let's test 9.1.1

Currently, the version 9.1.1 is not available on Maven Center Repo, and the rocksdbjni has been released too frequently recently.

We can wait for a relatively stable version.

ready to go ?

ready to go ?

Yea, the last upgrade was two months ago.

ready to go ?

Yea, the last upgrade was two months ago, Let me run the benchmark: StateStoreBasicOperationsBenchmark JDK17: https://github.com/panbingkun/spark/actions/runs/9640180869 JDK21: https://github.com/panbingkun/spark/actions/runs/9640184179

Done

Let's wait one more day

Merged into master. Thanks @panbingkun

Merged into master. Thanks @panbingkun

Thanks.


stacktile: init at 1.0.0

Description of changes
https://sr.ht/~leon_plickat/stacktile/
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
generated release notes
[x] Fits CONTRIBUTING.md.

Superseded by https://github.com/NixOS/nixpkgs/pull/251685


Question: How to connect rados with ceph cluster deployed using Rook

I have deployed a ceph cluster on kubernetes using rook. I have added the codes as documented and building the project using Dockerfile. Since ceph was deployed in kubernest, that's why intead of using mon host IP, I was using the server port address and a nodeport "32201" which is forwarder to mon default port "6789". The project ran successfully in docker. I have created some pools but no pools are showing. Can anyone please help me with this? I have attached my code.
func main()  {
	conn, err := rados.NewConn()
	if err != nil {
		fmt.Println("error when invoke a new connection:", err)
		return
	}
	args := []string{ "--mon-host", "<IP_ADDRESS>:32201" }
	err = conn.ParseCmdLineArgs(args)
	//err = conn.ReadDefaultConfigFile()
	if err != nil {
		fmt.Println("error when read default config file:", err)
		conn.Shutdown()
		return
	}
	pools, _ := conn.ListPools()
	fmt.Println("Here is the list of pools")
        conn.Shutdown()
}

The idea is that if you have the Ceph client tools configured (e.g. the ceph and rbd command), the defaults of go-ceph should be sufficient.
Alternatively, you can pass the configuration file and other parameters to the ParseCmdLineArgs() function. This function accepts the same options as the standard Ceph tools.

@nixpanic  I have added all the necessary dependencies in Dockerfile. I am trying to connect with the mon host pod using :. But unable to connect. Can you please suggest anything?

you can pass the configuration file and other parameters to the ParseCmdLineArgs() function. This function accepts the same options as the standard Ceph tools

You may need to pass some credentials? It really depends on how you configured your Ceph environment... Make sure that the ceph command works with the arguments that you pass, and if that works, you can pass the same arguments through go-ceph.
This really sounds like a Ceph client configuration issue, not really unique to go-ceph.

Your example code also does not list pools as the pools variable is not printed. If you are actually using the code you pasted you probably want to fix that.
Similar to nixpanic's suggestion you might want to start with the rook toolbox which ought to have all the needed ceph connectivity bits. Verify it by using standard ceph commands. Then copy your go-ceph binary into the container manually and verify that with the correct environment your code works as desired. Finally, try rebuilding your container image and then if it still doesn't work compare the environment and config files between the container images / setup to find out what is different.

@phlogistonjohn in above code I was actually watching the pools variable from debugging mode. I have also printed the pools but it was giving empty array.
@nixpanic @phlogistonjohn I have checked the connectivity and ceph commands from toolbox pod and it works fine from it.  Previously I was working on s3 apis with ceph object storage. I was able to connect the ceph object storage pod from outside using nodeport which is why I thought connecting the monitor pod will be similar.
Thank you very much for your suggestions.

Hi @shaekhhasanshoron, were you able to get it working now? If so, please close this issue.

@nixpanic I couldn't connect mon pod from outside. Maybe its the connection issue where I am struggling. It's not a go-ceph client issue.

re you able to get it working now? If so, please close this issue.