CLOUD-474: error handling for wrong resources

Return error instead of logging if failed to process given resources

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Test name
Status

storage
passed

scaling
failed

init-deploy
passed

recreate
failed

big-data
passed

scaling-proxysql
failed

limits
passed

self-healing
passed

restore-to-encrypted-cluster
failed

monitoring
failed

monitoring-2-0
failed

affinity
passed

upgrade
passed

one-pod
passed

auto-tuning
passed

self-healing-advanced
passed

upgrade-consistency
passed

security-context
failed

proxysql-sidecar-res-limits
passed

operator-self-healing
passed

demand-backup
passed

scheduled-backup
failed

demand-backup-encrypted-with-tls
failed

Test name
Status

recreate
failed

storage
passed

self-healing
passed

self-healing-advanced
passed

init-deploy
passed

operator-self-healing
passed

limits
passed

monitoring
failed

scaling
failed

big-data
passed

monitoring-2-0
passed

scaling-proxysql
passed

upgrade
passed

upgrade-consistency
passed

security-context
passed

affinity
passed

one-pod
passed

auto-tuning
passed

proxysql-sidecar-res-limits
passed

restore-to-encrypted-cluster
passed

demand-backup
passed

scheduled-backup
passed

demand-backup-encrypted-with-tls
failed

Test name
Status

big-data
passed

init-deploy
passed

limits
passed

monitoring
failed

storage
passed

self-healing
passed

self-healing-advanced
passed

operator-self-healing
passed

monitoring-2-0
passed

affinity
passed

one-pod
passed

auto-tuning
passed

proxysql-sidecar-res-limits
passed

recreate
failed

scaling
passed

scaling-proxysql
passed

upgrade
passed

upgrade-consistency
passed

security-context
passed

restore-to-encrypted-cluster
passed

demand-backup
passed

scheduled-backup
passed

demand-backup-encrypted-with-tls
failed

Test name
Status

storage
passed

self-healing
passed

self-healing-advanced
passed

operator-self-healing
passed

scaling
passed

big-data
passed

scaling-proxysql
passed

upgrade
passed

upgrade-consistency
passed

security-context
passed

init-deploy
passed

limits
passed

monitoring
passed

recreate
passed

monitoring-2-0
passed

affinity
passed

one-pod
passed

auto-tuning
passed

proxysql-sidecar-res-limits
passed

restore-to-encrypted-cluster
passed

demand-backup
passed

scheduled-backup
passed

demand-backup-encrypted-with-tls
failed

Test name
Status

scaling
passed

scaling-proxysql
passed

upgrade
passed

upgrade-consistency
passed

security-context
passed

storage
passed

self-healing
passed

self-healing-advanced
passed

operator-self-healing
passed

big-data
passed

recreate
passed

restore-to-encrypted-cluster
passed

demand-backup
passed

scheduled-backup
passed

demand-backup-encrypted-with-tls
failed

init-deploy
passed

limits
passed

monitoring
passed

monitoring-2-0
passed

affinity
passed

one-pod
passed

auto-tuning
passed

proxysql-sidecar-res-limits
passed

Test name
Status

Test name
Status

scaling
passed

scaling-proxysql
passed

upgrade
passed

upgrade-consistency
passed

security-context
passed

init-deploy
passed

limits
passed

monitoring
passed

monitoring-2-0
passed

affinity
passed

one-pod
passed

auto-tuning
passed

proxysql-sidecar-res-limits
passed

storage
passed

recreate
passed

self-healing
passed

restore-to-encrypted-cluster
passed

self-healing-advanced
passed

demand-backup
passed

operator-self-healing
passed

scheduled-backup
passed

demand-backup-encrypted-with-tls
failed

big-data
passed

Test name
Status

recreate
passed

restore-to-encrypted-cluster
passed

demand-backup
passed

scheduled-backup
passed

demand-backup-encrypted-with-tls
failed

scaling
passed

scaling-proxysql
passed

upgrade
passed

init-deploy
passed

upgrade-consistency
passed

limits
passed

security-context
passed

monitoring
passed

monitoring-2-0
passed

storage
passed

affinity
passed

self-healing
passed

one-pod
passed

self-healing-advanced
passed

auto-tuning
passed

operator-self-healing
passed

proxysql-sidecar-res-limits
passed

big-data
passed


Finishing Labeling Frames in example.m

Hello, this question pertains to Label3D. The file, example.m, is used for labeling the frames in all the cameras, and it is set to give me 100 frames to label. If I want to label 100 frames, but I do not finish labeling all 100 frames, then how can I pick up where I left off?

This was addressed in #81. Let me know if that is sufficient.


Fix erroneous adustment to HTML substitution section

Call out the reason for the "triple-stash" in HTML substitution
Description of the change:
Call out the reason for the "triple-stash" in HTML substitution
Reason for the change:
My previous fix was wrong and so updating the text surrounding it to explain why the "triple-stash"
Link to original source:
https://sendgrid.com/docs/ui/sending-email/using-handlebars/#replacement-with-html

Closes #

Hello @aroach,Thanks again for the PR! It's HACKTOBERFEST! We want to show our appreciation by sending                                              you some special Hacktoberfest swag. If you have not already, could you please fill out                                              this form so we can send it to you? Thanks!                                             Team SendGrid DX


Fix typos in manifesto

I was reading the manifesto and noticed a few typos, hence here's a PR with a few fixes. (:

While you are at it. There is a type for Commerical instead of Commercial

I think I already fixed that one, unless you see another one somewhere that I missed? (:


basic adaptor signatures

because why not? Seems like they will be useful eventually and I wanted to learn more about how they work.

Is this using some standard? I don't know if there is room for standards, but I mean, if Lightning decides to use adaptor signatures at some point is it this that they will use?

Is this using some standard?

Not really. What is implemented here is mostly the methodology presented in this blog post.

Oh, also, as an added "bonus," when implementing these adaptor sigs I ended up basically reconstructing schnorr signatures from scratch, so this PR includes some other (possibly) helpful convenience methods like calculateBip340nonce and calculateBip340challenge, along with unsafeSchnorrSign and unsafeVerifySchnorrSignature which can be repurposed (or used as-is) for #12


prototype cells

Is it possible to use Former in combination with TableView prototype cells? As in instantiating rows using table.dequeueReusableCellWithIdentifier?

Have you attempted it? If so, what issues did you run into?


3 bugs fixed -- 393, 379, 382

In this PR, we've resolved three bugs

https://github.com/DaftDoris/newsdesk/issues/393
https://github.com/DaftDoris/newsdesk/issues/379
https://github.com/DaftDoris/newsdesk/issues/382

In first bug, we've changed the method to snapshot instead of setdoc
and in second one, we've added new clickable filed instead of input clickable because it is not possible to input file at a time and make it clickable
and in third one there is a CSS change

Clickable URL doesn't work - looks all wrong. Other two are fine. Will merge once that other one is fixed.

Click works but now bleeds across other cells @ArindamReact

Write tests

Please let me know what test case you need for these, because these are cosmetic changes

Delete a thing. Assert its not there anymore?

379 assert the thing exists and is clickable. Has what you expect in the dim object

Basically write the tests so regression bugs don't happen. While you might thing it's cosmetic, it's not that simple. And even if it was, it's still something to avoid breaking in the future

This has failed


add access log forwarding to stdout

So that it will be recorded on the docker host and forwarded to papertrail.

The previous PR had the access_log directive at the top level, which it turns out is not allowed. Nginx starts when it's under the server block. QA has some issue at the moment which is preventing me from testing it as thoroughly as I'd like.

The commit was based off an old, broken version of the master branch. I've rebased it for you


[New game]: HTML5 Controller tester

🎮 Game Request
After connecting any gamepad or joystick in computer, user can test the functionalities, including vibration. As of now, gyroscope checking is not available.

Point down the features
Controller button check
joystick check
Analog trigger check
vibration check
Select program in which you are contributing
GSSoC24
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @Ritax2003 !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

/assign

Hey @Ritax2003 ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


Swift 3

It's moments like these how little I know about Swift. I've downloaded the latest version and tried to convert it to current syntax and usage, but I'm not having any luck. (For example: Invalid redeclaration of 'asString()'; Redundant conformance of 'Big Integer' to protocol 'Equatable')
Are you still supporting this very nice implementation?
Kia ora,
Laurie

Hey @LaurieF,
Currently I do not have time to add support for Swift 3. I recommend checking check out other nice library written in pure Swift 3: https://github.com/lorentey/BigInt.

Dear Jānis,
Thank you - I'll have a look.
Ngā mihi,
Laurie

On 17/01/2017, at 1:36 AM, Jānis Kiršteins<EMAIL_ADDRESS>wrote:
Hey @LaurieF,
Currently I do not have time to add support for Swift 3. I recommend checking check out other nice library written in pure Swift 3: https://github.com/lorentey/BigInt.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


Obsolete Power Supply IC

The MP1584EN power supply IC obsolete. I have been using it for years and did not notice it until recently. My PCB supplier has no trouble getting them though.
I have a test controller on order with the Diodes Inc AP64350SP-13. It is very close in capability and has a higher max input voltage. I will switch to that if it works out.

Thats the one iam using. Works fine without problems.

For the external driver version, the TPS54360 (C44377) is specified, however it seems to have been replaced by the TPS54360B version (C524806). Is this just a drop in replacement or will I need to change some other components?

Let me Google that for you
I found this.

Looks like it is just a polymer coating. It should be a drop in replacement.
Please consider donating to the project.
http://wiki.fluidnc.com/#donations


Card layout inconsistent on smaller screen sizes

Problem to solve
On smaller screen sizes (<1000px; gets worse with smaller screen sizes until layout is reset by a media query), the layout becomes inconsistent:

differences in card width & spacing
differences in number of cards per row

It is slightly unpleasant to look at but also makes it hard to find cards when the layout is inconsistent.
iPhone 5 viewport: 320 x 568

iPhone 6/7/8 viewport: 414 x 736

Proposal
Potential solutions:

Adjust the overall layout to force consistent card sizes (e.g., using grid)
A less intrusive option could be:

Add additional media queries for # of cards per row and font sizes
Add variable font-sizes for larger words

Tasks

[  ] If okay with the potential solutions, this can be assigned to me

Merged your update into the code base to fix this issue thank you for your contribution great work!


[BEAM-11780] Use vendored cloudbuild python client.

Use vendored cloud build python client so that we can avoid the pain of dealing with third_party dependencies with google internal testing.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @tvalentyn @emilymye

What is the process to update or regenerate the GCB code? How does one find out What version of GCB used?
How do we account for GCB dependencies since top-level library is no longer installed ? I am seeing following deps:

google-cloud-build==2.0.0
  - google-api-core [required: >=1.22.0,<2.0.0dev, installed: 1.26.0]
  - libcst [required: >=0.2.5, installed: 0.3.17]
  - proto-plus [required: >=0.4.0, installed: 1.13.0]

It seems strange that we are modifying the external library for internal testing purposes. Can these or similar changes be done upon import instead?

What is the process to update or regenerate the GCB code? How does one find out What version of GCB used?

we can use
pip install google-apitools

gen_client --discovery_url=cloudbuild.v1 --overwrite --outdir=third_party/py/apache_beam/runners/dataflow/internal/clients/cloudbuild --root_package=. client

to generate the client.
I think the version is only bind to the api url version, in this case we are using cloudbuild v1  https://github.com/apache/beam/blob/875e01e45d5bffbb06bde2b92c60c9dec1c383dd/sdks/python/apache_beam/runners/dataflow/internal/clients/cloudbuild/cloudbuild_v1_client.py#L40. If client is updated it will become v1b1, v1b2 etc.

How do we account for GCB dependencies since top-level library is no longer installed ? I am seeing following deps:

google-cloud-build==2.0.0
  - google-api-core [required: >=1.22.0,<2.0.0dev, installed: 1.26.0]
  - libcst [required: >=0.2.5, installed: 0.3.17]
  - proto-plus [required: >=0.4.0, installed: 1.13.0]

I think if they are solely dependencies for google-cloud-build they won't be needed anymore? Do we need some special handling?

It seems strange that we are modifying the external library for internal testing purposes. Can these or similar changes be done upon import instead?

It will add a lot of hacks into the importing process and I'm guessing we were avoiding that before since they are also other gcp client vendored:

apache_beam/runners/dataflow/internal/clients/dataflow
apache_beam/io/gcp/internal/clients/bigquery
apache_beam/io/gcp/internal/clients/storage

I think it's desirable to use the third_party libraries, but it seems to cause a lot of frictions since the dependencies are often out of sync and have different hacks with copybara internally.

I think if they are solely dependencies for google-cloud-build they won't be needed anymore? Do we need some special handling?

Thanks. I thought originally that this PR checks in the google-cloud-build code. Looks like you generated client code with apitools. google-apitools is deprecated, and we were actually trying to move away from depending on google-apitools and use official google-cloud-python libraries. This may be a step in the opposite direction. cc: @aaltay - do you have any opinion here? Perhaps we should look into addressing the difficulty of managing the third_party deps for internal testing instead.

I think if they are solely dependencies for google-cloud-build they won't be needed anymore? Do we need some special handling?

Thanks. I thought originally that this PR checks in the google-cloud-build code. Looks like you generated client code with apitools. google-apitools is deprecated, and we were actually trying to move away from depending on google-apitools and use official google-cloud-python libraries. This may be a step in the opposite direction. cc: @aaltay - do you have any opinion here? Perhaps we should look into addressing the difficulty of managing the third_party deps for internal testing instead.

do you have any opinion here?

This is just an opinion: It would be better to avoid generated clients. They do end up causing more issues than regular dependencies, they are hard to upgrade, usually stale, and apitools has been deprecated for a long time. I am fine if we want to do this in there interim and unblock some testing, but a much better solution would be to make this a proper dependency. I do not know the specific issues but this is only one of many dependencies and I assume we will have ways to address the issues with using a dependency.

I think if they are solely dependencies for google-cloud-build they won't be needed anymore? Do we need some special handling?

Thanks. I thought originally that this PR checks in the google-cloud-build code. Looks like you generated client code with apitools. google-apitools is deprecated, and we were actually trying to move away from depending on google-apitools and use official google-cloud-python libraries. This may be a step in the opposite direction. cc: @aaltay - do you have any opinion here? Perhaps we should look into addressing the difficulty of managing the third_party deps for internal testing instead.

do you have any opinion here?

This is just an opinion: It would be better to avoid generated clients. They do end up causing more issues than regular dependencies, they are hard to upgrade, usually stale, and apitools has been deprecated for a long time. I am fine if we want to do this in there interim and unblock some testing, but a much better solution would be to make this a proper dependency. I do not know the specific issues but this is only one of many dependencies and I assume we will have ways to address the issues with using a dependency.

I think it should be easy to switch back to use the third_party library any time(assuming cloud build team will manage the library internally). The difficulties of using the third party google-cloud-build library are:

Right now there are dozens of dependencies of google-cloud-build library that are un-managed.
or managed by some other teams but with many customized import hacks.
some dependencies could have been imported to a certain version to be used by certain targets, the version does not satisfy google-cloud-build requirements.

The third party dependency issue is a lot more chaos and hard to control than using google-apitools to generate the client at the moment.

I think if they are solely dependencies for google-cloud-build they won't be needed anymore? Do we need some special handling?

Thanks. I thought originally that this PR checks in the google-cloud-build code. Looks like you generated client code with apitools. google-apitools is deprecated, and we were actually trying to move away from depending on google-apitools and use official google-cloud-python libraries. This may be a step in the opposite direction. cc: @aaltay - do you have any opinion here? Perhaps we should look into addressing the difficulty of managing the third_party deps for internal testing instead.

do you have any opinion here?

This is just an opinion: It would be better to avoid generated clients. They do end up causing more issues than regular dependencies, they are hard to upgrade, usually stale, and apitools has been deprecated for a long time. I am fine if we want to do this in there interim and unblock some testing, but a much better solution would be to make this a proper dependency. I do not know the specific issues but this is only one of many dependencies and I assume we will have ways to address the issues with using a dependency.

I think it should be easy to switch back to use the third_party library any time(assuming cloud build team will manage the library internally). The difficulties of using the third party google-cloud-build library are:

Right now there are dozens of dependencies of google-cloud-build library that are un-managed.
or managed by some other teams but with many customized import hacks.
some dependencies could have been imported to a certain version to be used by certain targets, the version does not satisfy google-cloud-build requirements.

The third party dependency issue is a lot more chaos and hard to control than using google-apitools to generate the client at the moment.

Sounds reasonable to me to proceed with this PR and at the same time ask cloud build team to improve the internal library story.

Thanks all for the input.
Can we

add instructions on how to regenerate this client somewhere in the code or documentation, and leave pointers on BEAM-11780?
move the generated code to apache_beam/io/gcp/internal/clients/
create an (internal) issue for cloudbuild ownernes that documents the friction points?

Thanks!

Thanks all for the input.
Can we

add instructions on how to regenerate this client somewhere in the code or documentation, and leave pointers on BEAM-11780?

Done.

move the generated code to apache_beam/io/gcp/internal/clients/

This library is purely used in dataflow runner and has no io functionality, doesn't it make more sense to put it under apache_beam/runners/dataflow/internal/clients?

create an (internal) issue for cloudbuild ownernes that documents the friction points?

Created b/179919397 as a FR for cloud build team.

Thanks!

friendly ping for another look, @aaltay @tvalentyn

Thanks, @y1chi!


feat(noir_js): allow providing foreign call handlers in noirJS

Description

Problem*

Resolves
Summary*
This PR allows users to provide an implementation of a foreign call handler when executing circuits using noirJS. The motivation for this is @signorecello getting errors being thrown when executing a circuit which contains std::println.
I've neglected providing a default implementation for println as we'd need to replicate the string formatting logic which exists in the Rust code. For now we can just direct users to provide their own foreign call handler and make them responsible for printing results as they like.
Documentation

[ ] This PR requires documentation updates when merged.

[ ] I will submit a noir-lang/docs PR.

[ ] I will request for and support Dev Rel's help in documenting this PR.

Additional Context

PR Checklist*

[x] I have tested the changes locally.
[x] I have formatted the changes with Prettier and/or cargo fmt on default settings.

You think it's worth documenting this? If this PR can wait some hours, I can add some note for people to know how to handle it

@signorecello passing by, can I get an update on this?

Sorry didn't start yet... will do that asap. I'm a bit caught up with EthLondon stuff 😊

I believe anyone can make this doc change though, it's just a function signature + something saying "you can pass a function as the foreign call handler" with an example

@TomAFrench just added the docs, can can you check please?

Merging please open an issue for https://github.com/noir-lang/noir/pull/3294#discussion_r1376858309


after game is saved redirect to game in detail view

Right now if a game's name is changed the game detail view will still be trying to view the old game after it's saved, causing a blank screen.

(may just be on the igdb branch)

Not just on the igdb branch. This also occurs on the latest release

interestingly enough, this only happens when the igdb api is fetched from.

fixed in #85


[FEATURE] Spiral Display of elements of 2-D array

Detailed Description

Suppose the array is :
11 12 13 14 15
21 22 23 24 25
31 32 33 34 35
Output :
11 21 31 32 33 34 35 25 15 14 13 12 22 23 24
Context

This is a Basic Problem in which we learn to run loops in 2-D array
Possible Implementation
Arrays

I would like to work on this issue

I would like to work on this issue

Thank you for your interest in contributing. 👍
Before submitting a PR, please ensure the following:

The algorithm isn't a duplicate in this repository.
Make your code as per the repository standards.
Ensure that the all the automated-tests pass.

Thank you for your interest in contributing. 👍
Before submitting a PR, please ensure the following:

The algorithm isn't a duplicate in this repository.
Make your code as per the repository standards.
Ensure that the all the automated-tests pass.

Already Existing


MH-12934, Update translations

Update the translations to the current state on Crowdin.
Add new languages: Filipino, Tagalog, Turkish

[x] Updated list of languages supported by Theodul (this includes sorting the list and removing all languages no longer supported)
[x] removed package-lock.json

Hi @lkiesow Please note that I've merged this without waiting for CI to complete (was running for more than 2 hours).


database encryption

can we encrypt database using a password?

Currently no, but this could be a feature in the future. PRs are welcome.

Closing this in favor of https://github.com/JoshuaWise/better-sqlite3/issues/63


Clarification on Mean Response in All_aggregated.csv

Project Robyn
Describe issue
I am trying to understand how mean response column is calculated.    How was mean response calculated?

If you summarize the xDecomp (which is used in the One-Pager: ResponseDecompWaterfall  and the mean response(used for BudgetAllocator), they do not add to the same total...

was able to figure it out.   It re-calculates Mean response by multiplying effect share by ROI_mean.  Thanks.


Missing documentation, and the future of project

Hello. I think this project is a big future of Docker mess.
Man, this is the most acceptable way to use Docker, but there are little problems:

Nobody knows about it. I can't find any info at google, only a few blog posts and nothing more. I am sure, that people new to Gentoo, but familiar with Docker will like this way of managing containers. Anyone who have a blog, please tell about this great project! Many people use Gentoo for host and default crappy dockerhub's ubuntu images.
No any documentation. I needed much time to understand and to be sure use it in production (being advanced gentoo user), coz for such big thing one little readme.md is nothing.  The first problem also links here.

After resolving 2nd issue, I will post an article on russian's biggest it-blog - geektimes.ru, it means many contributors, users and much attention.
So as I created an issue, let the topic will be documentation. I prepared some questions after monthly use of your project. It may be a starting point for some detailed doc.
The questions may be annonying or a kind of stupid, but I don't have time to learn all bash scripts and imagine how they works. I found your project while preparing a big production. I think many people will have same questions after using your project.

Some of packages use gentoobb/bash as source container, some packages use 'provide_package bash' and sources s6/openssl in their config. What is the difference? Please tell more about provide_package. As I understood, it add all package's file, if it is installed in upstream parent container(s). What I need to use, if I want to see bash in all containers? Just use FROM bash, instead of FROM s6?
Tell us more about bob-interactive. Sometimes I tried to use it to emerge manually, but after it starts following Buildconfig.sh and rebuilds again. Maybe some more examples?
I failed to build bind-9.11.0 with configure: error: cannot compute suffix of object files: cannot compile.
It was successfully built with bob-interactive, and then rebuilt again with buildroot. Autogen and binutils was added in provide_package
After creating some custom packages, there was some missing libraries. Examples: latest mariadb (~amd64) was missing liblzma.5.so, after adding it worked. bind dns server is missing libdb-4.8.so, but host don't have it, it is still unresolved for me now. How to avoid it? Maybe call ldd on executables automatically and copy all missing libs? It must be easy to add such functionality.
Why I can't see running service in top and ps inside container? Is it possible somehow?
How to restart s6 service, instead of restarting the whole container?
Is it possible to add a package to existing container without rebuilding?
(a bit offtopic) Is there any reason to use more updated toolchain and main utils (like newer glibc, gcc, etc). Gcc is already at 6.0 version, but gentoo considers stable only 4.9.3... same with many other apps.
You said s6 is optional. How to use default openrc and not spent time to create s6/run and other things? It is  hard to average user to do so (ex. for bind, which runs in chroot by default)
I use bob as default builder. Busybox is built with bob-musl. And my images contains a mix? How it works?
Please describe more functions configure_bob, configure_rootfs_build and finish_rootfs_build. Please use more examples in your future doc.
Why sometimes curl and some packages are providing, unproviding, etc? Can you tell us more, to avoid mistakes of creating new packages.
I found your project when was preparing a high-load production server. I created 7-10 containers, containing different services. How rebuilding everything works? As I understood, if I have some containers (not images) depending on some image, it will be not deleted, and I am not sure it will update. Tags? Who will have :latest? Also, I was forced to add emerge --sync to some images, coz I needed latest version of package, but had month-old stage3. Is there any way to call emerge --sync at least once a day for some parent container? I am afraid to call update/rebuild to anything, coz I am not fully understand how it works. Please describe some steps/examples, how to update anything in production environment, and keep emerge synced for all new images.
Why you call 'emerge php' in configure_bob, but in all other packages emerge is called from build script? what's the difference?
When I need to use 'copy_gcc_libs' on new images? Why some work, some not?

Man, you made a great cool thing, you can't imagine how big is future of this project. I see it in such way:
Big documentation, many examples, many repos of prepared packages for gentoobb, many blog posts/success stories, and mentioning on Gentoo.org Docker's wiki pages, also adding it to portage or some overlays.
Please pay some attention to the 'cover' of project, coz the kernel and all inside is just fine. We need some more attention and pull requests from other people.
I will help as I can, but have a hard-time of preparing production servers.
Thank you very much!
Good luck!

Thanks for the kind words. Yeah, the documentation is far from complete and a question catalog like this is very helpful.

Some of packages use gentoobb/bash as source container, some packages use 'provide_package bash' and sources s6/openssl in their config. What is the difference? Please tell more about provide_package. As I understood, it add all package's file, if it is installed in upstream parent container(s). What I need to use, if I want to see bash in all containers? Just use FROM bash, instead of FROM s6?

provide_package is just a little helper function that adds the given package atom to Portage's package.provided file. Imagine you want to install package Y which has bash in it's dependency graph. If you don't want bash you would use this helper to effectively skip the package.

I failed to build bind-9.11.0 with configure: error: cannot compute suffix of object files: cannot compile.
It was successfully built with bob-interactive, and then rebuilt again with buildroot. Autogen and binutils was added in provide_package

Probably related to misunderstanding of provide_package. If the issue persists you can open a seperate ticket with more details.

Why I can't see running service in top and ps inside container? Is it possible somehow?

This should work as expected, also there is docker top <container_id> <ps_options>

How to restart s6 service, instead of restarting the whole container?

See http://skarnet.org/software/s6/s6-svc.html You can also send the usual signals like HUP via kill, i.e. docker exec -it <container_id> kill -1 <pid>.

Is it possible to add a package to existing container without rebuilding?

No, which is by design. See my answer to 13. for more.

(a bit offtopic) Is there any reason to use more updated toolchain and main utils (like newer glibc, gcc, etc). Gcc is already at 6.0 version, but gentoo considers stable only 4.9.3... same with many other apps.

Only to keep things easier to maintain. You can configure the build container via configure_bob hook as you wish. Example for "unstable" gcc:
 configure_bob() {
       update_keywords sys-devel/gcc `+~amd64`
       emerge gcc
      <switch gcc via gcc-config>
 }

You said s6 is optional. How to use default openrc and not spent time to create s6/run and other things? It is hard to average user to do so (ex. for bind, which runs in chroot by default)

The reason against openrc is mainly it's footprint as it requires a full python installation. s6 is orders of magnitude smaller. It's usually not that hard to port a openrc init file to s6 though. You could also skip s6 or any other init system and simply start the process or provide a small shell script for some initial house keeping. I'll try to add some pointers on how to go about the openrc->s6 process in general to the docs. That being said you are free to create a openrc image and use that instead of s6 as a base for your other images.

I use bob as default builder. Busybox is built with bob-musl. And my images contains a mix? How it works?

Good question, a bit tricky to get with the current documention.  What happens is that bob-musl is used to create the gentoo-bb/busybox image. Then gentoobb/glibc, which uses FROM gentoobb/busybox, is built, but instead of using the parent bob-musl-busybox build container we switch to the default bob build container. A bit obscure, and rarely needed.

Why sometimes curl and some packages are providing, unproviding, etc? Can you tell us more, to avoid mistakes of creating new packages.

Some packages require header and/or library files of packages that already got installed in a parent image. As all parent packages are in the package.provided file of the build container the required files can't be found during build time. By unproviding the package, Portage will pull it in again, the build completes and usually you uninstall the package again in the finish_rootfs hook.

I found your project when was preparing a high-load production server. I created 7-10 containers, containing different services. How rebuilding everything works? As I understood, if I have some containers (not images) depending on some image, it will be not deleted, and I am not sure it will update. Tags? Who will have :latest? Also, I was forced to add emerge --sync to some images, coz I needed latest version of package, but had month-old stage3. Is there any way to call emerge --sync at least once a day for some parent container? I am afraid to call update/rebuild to anything, coz I am not fully understand how it works. Please describe some steps/examples, how to update anything in production environment, and keep emerge synced for all new images.

There are 2 philosophies when it comes to running containers, the old and first (OpenVZ, etc) is to treat a container like a lightweight VM. The container is basically never deleted and updates are applied in a running container. Docker brought a new philosophy to the table, which treats containers as disposable processes. They are deleted frequently and updates are applied by downloading a newer version of the image and re-creating the container from scratch. gentoo-bb tries to fully embrace this philosophy. There is no portage tree or tool chain in the final images. All runtime data (database, etc) should be kept in docker data volumes or mounted from host so you can dispose of containers at any time.
A rough outline of how I do the monthly rebuilds on our build server:

run ./build.sh update to fetch and set current stage3 date from gentoo server
delete all images on build server, run find . -name rootfs.tar -exec rm {} \; to delete all rootfs.tar files in repo, not required but makes things a bit easier when trying to continue after errors
run ./build.sh to start build
push new images to internal image repo
deploy new images to servers / recreate containers, this is out of scope for this project and depends on your infrastructure, you should find plenty of information/solutions for this

Why you call 'emerge php' in configure_bob, but in all other packages emerge is called from build script? what's the difference?

This is a trick to work around build failures for some packages. See #33 for details.

When I need to use 'copy_gcc_libs' on new images? Why some work, some not?

Some packages require libstdc++, for now you will have to test the image to see if it is needed or not. Maybe some sort of ldd check as you suggested earlier is feasible.

I'll try to expand a bit more in the coming days and use this issue as a base for extending the documentation. Probably time for a wiki or gh-pages. Feel free to keep poking for more details!

a dot/graphviz graph build from the .sh/templates of the current images is something that could be scripted too

Another way to help with the docs could be:

Expose more stages of the build process as different actions. Such as ebuild does it https://devmanual.gentoo.org/ebuild-writing/functions/ for example by adding actions to just build the core or just download stage3.
Also on the same line of though it would help if the actions or commands rely less on defaults and have mandatory arguments. And in the case of missing the correct help would appear listing what is missing and how can you provide it (for instance an namespace or a image on the namespace)

@azimut I like the graphviz idea, will most likely be integrated when I do the coming acbuild switch. Thanks for the gist.

Expose more stages of the build process as different actions. Such as ebuild does it https://devmanual.gentoo.org/ebuild-writing/functions/ for example by adding actions to just build the core or just download stage3.

I tried to keep build.sh as generic as possible, so I'm not sold on adding something like buildbusyboxbuild, it's to specific and build gentoobb/busybox is not that much longer while being more precise as it tells you exactly what image you are building. Maybe some sort of generic mechanism to expose extra commands/options via build.sh per build "engine" (i.e. docker.sh) is feasable.
The -Fn or -fn options usually do the trick for me while tinkering, but -c should rebuild all build containers for the current dep graph while -C will rebuild the whole stack starting with stage3 import. I say should because it has been quite a while since I used those, might not have survived the last big refactor. :p

Also on the same line of though it would help if the actions or commands rely less on defaults and have mandatory arguments.

I'm a big fan of convention over configuration, but there is def. room for improvement. I'll give this some more thought, also curious what other people think on this.

Some references or links to "docker commit" https://docs.docker.com/engine/reference/commandline/commit/ and emerge "--root" https://dev.gentoo.org/~zmedico/portage/doc/man/emerge.1.html#lbAH option used would help to clarify the design.

Noted, it will probably also be necessary to provide a Portage 101 for people not familiar with gentoo.

Might as well put this here, after the much needed holidays I'll probably start the acbuild refactor and doc rewrite this month. As I'm not that happy with the project name for a while now I have been thinking about renaming the project to cbob, for container bob (the builder :o)). Shorter and more to the point. Thoughts? Open for suggestions.

@edannenberg in keeping with silly names for container projects (kubernetes, docker, rkt), how about cooper? one who makes barrels, a kind of container
alternately something listed here https://en.wikipedia.org/wiki/Cooper_(profession)#.22Cooper.22_as_a_name

I would argue that would be better do nothing without any argument and show the help instead. Which should include some examples. I like the idea of finding my way through the tools I use.
Other thing might be helpful (at least it would be to me now :p ) would be have a guide of "how to create new images" like, how to know which packages will go on the ROOT and which shouldn't. Might be is related to the DEPEND and RDEPEND. But I am not sure what workflow follow to just install the RDEPEND ones..
btw, I am not crosscompiling now, just using arm as the stage3 with qemu and is working fine so far (except some things that fail like distcc and golang).

Hi everybody. Thanks for your active work, now it is more easy to understand.
Some more questions:

I am trying to switch to GCC 5.4 in gentoobb as default compiler and more up-to-date toolchain.
I have ~keyworded gcc in gentoobb/bob, added emerge gcc && gcc-config && source /etc/profile
After I need to update glibc, libtool and binutils. so I unmasked glibc in gentoobb/glibc, what about rest? where they exist?
I unmasked them all in bob and glibc, flaggie started to fail because of --strict, so I removed --strict.

Also, there is gentoobb/gcc exist, but it is not used, when I build something like mariadb. Only glibc is used. For what purposes it needed?

Is it ok to use bob for busybox, to not have/build 2 builders? What cons?
I am going to add bash to all my containers, coz I often logging to them and busybox is not enough. So I change source from s6 to bash. Do I still need busybox? Does bash provide all utils like /bin/ls /bin/cat etc?
I offer to rename default namespace from gentoobb to bb. It is too long to write gentoobb when you use 'docker' app. I renamed for myself, but I think it is better by default.
I am trying to build bind9 in container. it uses chroot by default, things came very complicated. Is there any easy way to do it?

Thank you very much for your awesome work!

I am trying to switch to GCC 5.4 in gentoobb as default compiler and more up-to-date toolchain.
I have ~keyworded gcc in gentoobb/bob, added emerge gcc && gcc-config && source /etc/profile
After I need to update glibc, libtool and binutils. so I unmasked glibc in gentoobb/glibc, what about rest? where they exist?
I unmasked them all in bob and glibc, flaggie started to fail because of --strict, so I removed --strict.

Not quite sure I understand, what is the exact problem? If you can push your changes to a fork I can take a quick look tomorrow.

Also, there is gentoobb/gcc exist, but it is not used, when I build something like mariadb. Only glibc is
used. For what purposes it needed?

I see, there seems to some confusion about the 2 phase build used by gentoo-bb. As a rule of thumb:

Image names starting with bob are used in the first build phase and generally never leave the build host, this includes a complete stage3 with portage tree, etc. This is where all the compiling and heavy lifting takes places and where build.sh of each image is executed.
Images that do not start with bob are final images and meant to be pushed to a registry. The only time those images are used during the build process is as image parent (FROM in Dockerfile) for other final images.

So gentoobb/gcc is a final image, as MariaDB doesn't need gcc at runtime it has no need for it and can use the much smaller gentoobb/glibc image as parent instead. As an example where gentoobb/gcc is required check the gentoobb/ruby-gcc image. Some Ruby gem installs require native compiling, so you have to bite the bullet and include gcc in the final image.

Is it ok to use bob for busybox, to not have/build 2 builders? What cons?

Totally up to you, glibc cons:

slightly bigger image (around 2mb IIRC)
dns resolution will not work when using a static glibc busybox binary, this a known bug/flaw in glibc with a patch, but AFAIK the patch never made it into official ebuild

I am going to add bash to all my containers, coz I often logging to them and busybox is not enough. So I change source from s6 to bash.

Sure, again totally up to you, gentoo-bb does not make many assumptions about your final images.

Do I still need busybox? Does bash provide all utils like /bin/ls /bin/cat etc?

Depends on your needs, just try and see what is missing. The reason for Busybox is that it provides much more then just a shell, but there are some subtile differences to the standard equivalents, like grep being somewhat limited, etc. Just play around and see what works best for you. :)

I offer to rename default namespace from gentoobb to bb. It is too long to write gentoobb when you use 'docker' app. I renamed for myself, but I think it is better by default.

The project name will most likely change in the near future, will revisit then.

I am trying to build bind9 in container. it uses chroot by default, things came very complicated. Is there any easy way to do it?

You can try building the bind package in the configure_bob hook first, this should take out all the friction from using a custom ROOT and give you a binary package. See #33 for details.
On a side note: ew, Bind. TinyDNS ftw. 😛

@edannenberg in keeping with silly names for container projects (kubernetes, docker, rkt), how about cooper? one who makes barrels, a kind of container
alternately something listed here https://en.wikipedia.org/wiki/Cooper_(profession)#.22Cooper.22_as_a_name

@mischief I like the meaning, but my mind always associates a freakin Mini-Cooper lol. ./cooper.sh build foo is kinda neat though. Thinking about it a bit more the defining feature of gentoo-bb is nested builds, any obscure ideas for that? :)

@azimut

I would argue that would be better do nothing without any argument and show the help instead. Which should include some examples. I like the idea of finding my way through the tools I use.

It's a valid point, currently experimenting a bit with argbash, looks nice but not quite sure yet it can do what I have in mind.

Other thing might be helpful (at least it would be to me now :p ) would be have a guide of "how to create new images" like, how to know which packages will go on the ROOT and which shouldn't. Might be is related to the DEPEND and RDEPEND. But I am not sure what workflow follow to just install the RDEPEND ones..

I'm actually not quite sure about DEPEND and RDEPEND myself at the moment, could potentially lead to some more savings in general. Some packages for example pull in bash even though they most likely don't really need it at runtime.

@edannenberg I had in mind take the build.sh approach to be more similar to the approach you have with for example docker. When you type docker nothing happens, and you get a list of "actions" and flags. You then type docker <ACTION> and you get other help. Probably better described at the library these tools use https://github.com/spf13/cobra#concepts
Actually emerge takes care of just installing on ROOT the RDEPEND ones. So is not an issue for this project. Though it might be for the crosscompiling world.

@azimut Exactly what I had in mind too, though I wasn't aware of cobra. Contextualized help certainly beats the old all in one --help approach. As for RDEPEND, I guess those kind of optimizations I mentioned earlier need to be done manually on a per package basis then.

Please take a look at the new documentation, should cover all the mentioned issues new.


Localization needs an update

Hi! As a translator I've noticed that the most recent changes don't appear on Weblate (no new translatable strings). Could you please update the translation template files?

Yeah, just missed it but it's updated for now. Feel free to update translations and thank you for contributing.


how to use it with mongodb

Is there a demo

@jackple no demo for MongoDB yet, but it is very similar to Redis demo in README docs.
For example, you can replace Redis in get method with MongoDB like this:
async get(sid) {
        // this just an instance, something like this
        let data = await this.mongo.findOne({sessionid: sid});
        return JSON.parse(data);
}

@Secbone Thanks! I will try later


Loads Gallery but not Images

Thanks for creating this plugin!
I've got the plugin installed and it displays a nice gallery, but none of the images load in lightbox after selecting them.  Lightbox loads but there's just a spinning loading icon and no image appears.
Any suggestions?

I am having the same issue. I run my grav site out of a subfolder, but the A HREF to show the image runs off the root.
i.e.
Images are here:
/cms/photos/gallery/image.png
Plugin is setting the HREF to:
/photos/gallery/image.png
The gallery loads fine but viewing the image is just a continuous load.

I was able to fix this by changing line 29 in plugins/dir-gallery/shortcodes/DirGalleryShortcode.php and changing it from:
'slug' => "$image_route/$image_directory",
to:
'slug' => "/cms$image_route/$image_directory",
It appears the code does not properly represent the install folder of grav in the url path. The Gallery grid is loaded by File Paths instead of URL Paths which is why it works and the display doesn't. This is a major oversight as most Grav tutorials have you load it into a subfolder like I am doing.

@prikle
It's working for me, thanks!


Wasm support

It'd be great to heave a wasm support. May be in a different experimental branch

Seems like compose for wasm support is in different maven repo (https://maven.pkg.jetbrains.space/kotlin/p/wasm/experimental) and have different version, it's better to have a different branch to do it.

https://blog.jetbrains.com/kotlin/2023/12/kotlin-for-webassembly-goes-alpha/

please support wasm

Since compose-multiplatform 1.6.0-alpha01 comes with wasm support, I'll add this support as an alpha version.

Koin does not support wasm target yet (see https://github.com/InsertKoinIO/koin/issues/1634), I'd like to wait for it.

Koin does not support wasm target yet (see InsertKoinIO/koin#1634), I'd like to wait for it.

Hi
koin 3.6.0-wasm-alpha1 is out.

Still no wasm support for Koin Compose for now, which is the dependency for precompose-koin.

Still no wasm support for Koin Compose for now, which is the dependency for precompose-koin.

@Tlaster they have the koin-compose artifact listed on their documentation site as part of the 3.6.0-wasm-alpha1  and it is listed on Maven Central too.
However when I browse their code on the 3.6.0-wasm-alpha1 tag  I also don't see wasmJs listed. How is this possible did they make a mistake somewhere and is the wasm artifact in Maven Central non-functional? Or is there some Gradle magic that we're missing?
I'm not really a Koin user, but I'm having a look to see what's going on here.

Not sure what's happening, if using io.insert-koin:koin-compose:3.6.0-wasm-alpha1 with wasmJs target, it will throw an exception in gradle: No matching variant of io.insert-koin:koin-compose:3.6.0-wasm-alpha1 was found.

Still no wasm support for Koin Compose for now, which is the dependency for precompose-koin.

Hi
Checkout this branch
https://github.com/InsertKoinIO/koin/tree/3.6.0-wasm

Hi @Tlaster!
3.6.0-wasm-alpha2 has been tagged and looks like they fixed the issue of the missing wasmJs declaration in the koin-compose module's build.gradle.kts
This seems to be available in Maven Cental already https://repo1.maven.org/maven2/io/insert-koin/koin-compose/3.6.0-wasm-alpha2/

Well there's a new release 1.6.0-beta01 that you can try with wasm.

Hi,
I don't know if it's realistic or doable, but can the Navigator can be control also by the url in the browser? I want to be able to enter http://www.mydomain/some_page and be directed to the right page.


kpod inspect fails to load container info

Type
/kind bug
What is happening
When I am trying to do inspect on a container, fails to open file in /var/lib/containers/storage/overlay-containers/$container-id/userdata/artifacts/create-config
Steps to reproduce:
# kpod run -d centos sleep 1000
c1c2d651ed5b6fd8179001258dae91e30ad0744b073f3575238adcf266772edc

# kpod ps
CONTAINER ID   IMAGE                             COMMAND      CREATED AT       STATUS              PORTS   NAMES
c1c2d651ed5b   docker.io/library/centos:latest   sleep 1000   23 seconds ago   Up 23 seconds ago           thirsty_goldstine

# kpod inspect thirsty_goldstine
error parsing container data %!q(func() string=0x1d5a8b0): error getting artifact "c1c2d651ed5b6fd8179001258dae91e30ad0744b073f3575238adcf266772edc": open /var/lib/containers/storage/overlay-containers/c1c2d651ed5b6fd8179001258dae91e30ad0744b073f3575238adcf266772edc/userdata/artifacts/create-config: no such file or directory

Versions:
# kpod version
Version:       0.1
Go Version:    go1.9.2
Git Commit:    "e456c07813c5ccc6ccc81ad9a103e46e1b59b50c"
Built:         Wed Dec 13 15:48:19 2017
OS/Arch:       linux/amd64

# runc -v
runc version 1.0.0-rc4+dev
commit: 97b8bfe7fdea74d5e49b657013455a888328f04e
spec: 1.0.0

# rpm -aq | grep runc
runc-1.0.0-12.rc4.gitaea4f21.fc27.x86_64

# cat /etc/os-release
NAME=Fedora
VERSION="27 (Cloud Edition)"
ID=fedora
VERSION_ID=27
PRETTY_NAME="Fedora 27 (Cloud Edition)"
ANSI_COLOR="0;34"
CPE_NAME="cpe:/o:fedoraproject:fedora:27"
HOME_URL="https://fedoraproject.org/"
SUPPORT_URL="https://fedoraproject.org/wiki/Communicating_and_getting_help"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=27
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=27
PRIVACY_POLICY_URL="https://fedoraproject.org/wiki/Legal:PrivacyPolicy"
VARIANT="Cloud Edition"
VARIANT_ID=cloud

# getenforce
Enforcing

@umohnani8 ptal

I think this could be an old container created before we started doing artifacts.
We should still handle this gracefully - if the inspect artifact isn't there we can give most of the results that don't involve the hostconfig.

Ok I will change it inform the user that the artifact file couldn't be found but continue to print the inspect. @baude can you create a new container and try inspect with that, if you are using a container you created before the artifacts changes got in.

ALso would handle containers created by buildah and cri-o.

This is issue has been fixed. @rhatdan please close it.


added name

me "Rupshree"attended #privacychat #Advocate4privacy #MCRWingdings.

Hello @Rupshree
Can you please do these steps to be able to merge your changes
open git bash
then do these steps( if you need help in any step ping me back)
cd git-learning
git checkout -b newbranch4
go to folder (git-learning) and create a new file yourname.html and add your name there
now come back to git shell
git status to check the status
git add .
git commit -m "new file added"
git push origin newbranch4
then enter your username and password
come back to this website and do comare and pull request.
Cheers,
Shahbaz


Using MIDI.as submodule, can you merge Dev into Master?

Hello Michael,
MIDI.js is awesome and I've incorporated it into an application I'll be publishing on GitHub once I sort out the git submodule issue I'm having.
The problem is that I need USE_XHR (=false) which is in the Dev branch, but I also need the /soundfont directory, which is only in Master.
Trying to incorporate both of these produces a messy submodule relationship and I'd prefer not to fork.
Do you have any plans to merge Dev into the Master branch?

Merged :)


Support Up Next addon

I'm submitting a ...

[ ] bug report
[x] feature request
[ ] support request

General information
Hi, I am the developer of the old Next Up addon and have recently created a new Up Next addon that integrates  with other video addons.
Would you be interested in adding integration of this addon for episodes?
Thanks

Definitely. I'm working on a larger release and will integrate support.

Excellent thanks,
Yes no problem at all, that sounds really cool being able to have the popup coming exactly when  the credits start. I also plan to add support for skipping the intro (as I know that data is available to netflix too) but that will come at a later stage. I'll add support for the notification time now and update the wiki.

I added support now. If there's any questions just let me know (as yet this is untested so there may be issues)

With Netflix there are two sections that can be skipped: intro and recap. This is already implemented in this addon, you can have a look at https://github.com/asciidisco/plugin.video.netflix/blob/master/resources/lib/playback/section_skipping.py and draw some inspiration.
In order for this to work, one needs the exact timecodes of when these sections start and end. I am currently not aware of any other streaming services besides Netflix that would provide those. If Netflix is in fact the only one, I think it's more convenient to stick with the implementation in the Netflix addon, because the implementation in your addon would only serve this single use case.

Thanks, Yes as far as I am aware it's only Netflix that gives this level of information but hopefully down the line we may get something similar from Amazon. It's not a priority but I may have a look at the code linked above to see if it is worth adding.

Closing as this is now integrated :)


Rewrite PartialResultStream

Fixes #180 and #198 by reworking the way we process streamed rows from PartialResultStream on Spanner. The high-level difference is this

use RowBuilder for all streams. We had two code paths previously
do not block on returning until we have a non-chunked row. We can hold the final value of a chunked segment and begin returning other data
handle partial segments. Occasionally we will get a partial row and shouldn't try to send that to the user.

To Dos

[x] Unit tests

@crwilcox I made some changes, but my tests still pass. If this looks okay to you, I'll move onto unit tests.

Status update:
I took over the PR and did some refactors. Wrote unit tests, all was well. One quick check that the system tests work, then 💥 -- I don't remember the exact number, but let's say ~20 tests failed. I reverted my refactors to see if it was something I did, but unfortunately, same errors.
I realized something we didn't carry over when @crwilcox made his changes was a call to codec.decode. Since things were re-arranged from the old way, it wasn't exactly clear where it should go. But, I put it back, and all but one test fails. And I can't figure that one out.
Basically, I'm hoping @crwilcox can dive back in for a second to see if he has any ideas. I'll leave some comments on this PR next to the behavioral changes I've made since you last touched the code.

@crwilcox I think we're finally good again. Units, systems, and your revision of the "issue-180.js" file I've checked are working. It would be great if you could confirm!

Some system tests are failing locally after the edits:
 insert & query
        3) should query in callback mode
        4) should query in promise mode
        5) should query in stream mode

Coverage numbers:

100% line coverage is what we go for. Can you show more details about the system test errors?

Sure, but the system tests seem to also be an issue on builds before your commits.
3) Spanner
       Tables
         insert & query
           should query in callback mode:

      Uncaught AssertionError [ERR_ASSERTION]: { SingerId: 'gcloud-tests-id-1278e710',
  Name: 'gcloud-tests-name-1278e711',
  Float: null,
  Int: null,
  Info: null,
  Create deepEqual { SingerId: 'gcloud-tests-id-e12752a0',
  Name: 'gcloud-tests-name-e12752a1',
  Float: 8.2,
  Int: 2,
  Info: <Buffer 67 63 6c 6
      + expected - actual

       {
      -  "Accents": [null]
      -  "Created": [null]
      -  "DOB": [null]
      -  "Float": [null]
      -  "HasGear": [null]
      -  "Info": [null]
      -  "Int": [null]
      -  "Name": "gcloud-tests-name-1278e711"
      -  "PhoneNumbers": [null]
      -  "SingerId": "gcloud-tests-id-1278e710"
      +  "Accents": [
      +    "jamaican"
      +  ]
      +  "Created": [Date: 2018-06-04T16:46:51.082Z]
      +  "DOB": [Date: 1969-08-20T00:00:00.000Z]
      +  "Float": 8.2
      +  "HasGear": true
      +  "Info": [Buffer: [
      +    103
      +    99
      +    108
      +    111
      +    117
      +    100

@alexander-fenster ran the system tests and had a different failure. I don't believe these are related to our PR here. @callmehiphop can you run these?
I suppose we could always a merge to let Circle have a go at them, then revert it if necessary.

Reran the tests and they pass on master and on this branch. I think this is safe to merge.


Poll the same IOCs every time

Hi
i am sending the command :
taxii-poll  --path https://x.x.x.x/services/poll --collection collection --username root --password root --verify /etc/ssl/certs/nginx-selfsigned.crt
-The problem that i always getting the same IOCS data.(Old data)
-I can not pull new data that i have in the MISP
can any one have an idea what is the problem.
thank you for your help
David

@dp1975 your query will be fetching full collection every time because it does not specify time window of interest, it is expected that with it you will get same data every time.

-I can not pull new data that i have in the MISP
could you please elaborate? What errors do you see?

Thank you
I do not see any errors , i just can not see the new data (IOCs) that i add to the misp.
i see my new data date in :
mysql> select date_created from result_sets;
but i can not see it in
mysql> select date_created from result_sets;
the result of the last query is always 28 records.
thank you

I do not see any errors , i just can not see the new data (IOCs) that i add to the misp.

if poll succeeds, it might be ingestion problem with the data. What kind of content are you serving in your TAXII collection? STIX1.2?
Are there any errors in MISP logs?

the result of the last query is always 28 records.

it seems OpenTAXII works — it returns you data you queried

hi
the xml recoreds show that it use STIX 1.2
i see in the misp server settings
STIX: <IP_ADDRESS>
CyBox: <IP_ADDRESS>
mixbox: 1.0.2
what do you mean "What kind of content are you serving in your TAXII collection"?
thanks you

I'm assuming he means what does your data_configuration.yml look like. Could you post the collection and poll route definition, as well as the user you're polling with.

can MISP ingest STIX1.2, while being configured for STIX <IP_ADDRESS>, @dp1975 ?

Hi
This is my yaml configuration:
domain: "<IP_ADDRESS>:9001"
support_basic_auth: yes
persistence_api:
class: opentaxii.persistence.sqldb.SQLDatabaseAPI
parameters:
db_connection: mysql://root:admin@localhost/taxiipersist
create_tables: yes
auth_api:
class: opentaxii.auth.sqldb.SQLDatabaseAPI
parameters:
db_connection: mysql://root:admin@localhost/taxiiauth
create_tables: yes
secret: ILoveTheSecretStringIsIsGreatButNeedsToBeChangedFrienderino
logging:
opentaxii: info
root: info
hooks: misp_taxii_hooks.hooks
Sample configuration for misp_taxii_server
zmq:
host: taxiiserver
port: 50000
misp:
url: "https://x.x.x.x"
api: B1MOFtE1K6VBdZkKpNnvNEqBXpuXUqeNdinEBi38
verifySSL: False
taxii:
auth:
username: taxii
password: taxiiserver
collections:
- collection
thanks

Please post data configuration yaml file where you configure collections, services, and users

Also are you using the MISP-taxii-server repo for opentaxii integration?


bump version to finalize PR#17

Bumping version due to merged changes from https://github.com/team-inbox/inbox-reborn/pull/17#issue-571471907
..and also since FF add-on dev portal yelled at me when uploading + signing this new version with the old version intact

@deepfriedfilth perfect! I will push it up!


DBZ-2771 Support for BINARY collation shortcut

https://issues.redhat.com/browse/DBZ-2771

Upstream PR


VPN MSS clamping improvements. Issue #10493

[X] Redmine Issue: https://redmine.pfsense.org/issues/10493
[X] Ready for review

This fix allows you to select for which VPN types / IP proto do MSS clamping
with this fix <negate_networks> populated with all types of VPN, can this cause any issues?

We could add 4/6 MSS options to each individual IPsec P2, OpenVPN client/server, etc, to go along with or replace global values.

The issue is that it's not possible to 'bind' scrub to the particular interface, i.e.
scrub in ipsec1000 from any to <vpn_networks> max-mss {$maxmss}
scrub out ipsec1000 from <vpn_networks>  to any max-mss {$maxmss}

not possible, which leads to mss clamping of unwanted traffic, see https://redmine.pfsense.org/issues/7815
This is why current PR allows you  to see the "true" mss clamping

but each of these protocols has different amounts of overhead so each one could use a separate v4/v6 MSS value.

You can limit it by subnet to/from, not interface. Each P2, OpenVPN instance, etc, that I mentioned is  a unique subnet. We're limiting them collectively now but there isn't any reason (other than GUI complexity) we couldn't limit them per instance/subnet.

@vktg please rebase your fork to fix conflicts

Closing due to inactivity for long time


Terrain & Terrain-Classic not working

I can make a JPEG map in watercolour, and a PNG map in toner, but the site won't let me create a map in the terrain or terrain-classic modes.  It creates a link to a new map, but when you go to that link, it says "Sorry, your image could not be made. REMAKE MAP".  When I click on the REMAKE MAP link, it still fails, saying: "Sorry. Your map can't be made at the moment. Please try again in a little bit."  I have waited a long time and retried, but it doesn't remake the map properly.
Main link is here: maps.stamen.com/m2i/#terrain-classic/2000:1450/12/52.2704/8.9737
And the created map is here: maps.stamen.com/m2i/image/20170503/terrain-classic_4Llu-bBjl-Q

Having the same problem with terrain-lines.
My main link is here: http://maps.stamen.com/m2i/#terrain-lines/2000:1500/15/39.9647/-75.1420
My created map should be here: http://maps.stamen.com/m2i/image/20170511/terrain-lines_zlTe97k7p10

Terrain tiles were down due to expired SSL certificates.  We have restored them and the tiles are rendering again.  I am not sure why the "REMAKE MAP" link is not working.  But I would suggest starting over from the beginning.

I noticed that the Neatline dependency on Stamen maps have this bug.  It seems their SSL is still expired why tiles are not loading when forced to use SSL.  The tiles will load without SSL but most browsers have improved security with mixed content warnings.
Error:
•	Firefox Developer Edition detected a potential security threat and did not continue to c.tile.stamen.com.
Fix:  I’ve added manually the https.  Click on each link in your respect browsers and accept SSL_ERROR_BAD_CERT_DOMAIN or your connection is not private then continue.
https://c.tile.stamen.com/terrain/13/4305/2931.jpg
https://tile.stamen.com/terrain/13/4305/2932.jpg
https://d.tile.stamen.com/terrain/13/4304/2931.jpg
https://tile.stamen.com/terrain/13/4304/2932.jpg
https://b.tile.stamen.com/terrain/13/4306/2931.jpg
https://a.tile.stamen.com/terrain/13/4306/2932.jpg
https://b.tile.stamen.com/terrain/13/4305/2930.jpg
https://b.tile.stamen.com/terrain/13/4305/2933.jpg
https://d.tile.stamen.com/terrain/13/4304/2930.jpg
https://tile.stamen.com/terrain/13/4304/2933.jpg
https://d.tile.stamen.com/terrain/13/4306/2930.jpg
https://d.tile.stamen.com/terrain/13/4306/2933.jpg
https://a.tile.stamen.com/terrain/13/4307/2931.jpg
https://c.tile.stamen.com/terrain/13/4307/2932.jpg
https://d.tile.stamen.com/terrain/13/4305/2934.jpg
https://b.tile.stamen.com/terrain/13/4304/2934.jpg
https://d.tile.stamen.com/terrain/13/4307/2930.jpg
https://b.tile.stamen.com/terrain/13/4306/2933.jpg
https://b.tile.stamen.com/terrain/13/4306/2934.jpg
https://a.tile.stamen.com/terrain/13/4307/2934.jpg
Please fix this!


Can't hook functions of "IDESourceCodeEditor"

This class is surely exist in Xcode, as it is the NSTextViewDelegate.
But when I want to hook its functions in XVim load. NSClassFromString(@"IDESourceCodeEditor") returns nil.
It's important to override the functions of this class... Any solutions?
By the way, I see the breakpoints in Xcode and launch another one, but seems like the break point doesn't work.

I do not know about the Class hook thing.
I'll try later.
About the break point, it worked several times, but currently not working... I do not know why.
So debugging is mainly by TRACE_LOG...

I make a SIMBL version (just need to make a new Info.plist), which works fine. The class is found.
My suspicion is : We cannot guarantee that XVim is the last class to load if we are putting it into Xcode's plugin folder. Which results in some other classes unfound when XVim load is called.
I'm afraid if we cannot make XVim load last, we need to use SIMBL instead...

Found a solution:
Original in XVim.m :
+ (void) load {
    [Logger defaultLogger].level = LogTrace;

Change to this will solve the problem :
+ (void) load {
    XVim* vim = [[XVim alloc] init];
    NSNotificationCenter* notificationCenter = [NSNotificationCenter defaultCenter];
    [notificationCenter addObserver: vim
                           selector: @selector( load1 )
                               name: NSApplicationDidFinishLaunchingNotification
                             object: nil];
}

- (void) load1 {
    [Logger defaultLogger].level = LogTrace;

That is, don't hook anything in the Class Method load, since the application may still loading. Instead, do the hooking when the notification (NSApplicationDidFinishLaunchingNotification) comes.

Nice! I'll also use the same method.

I'll make another issue to discuss the break point problem.


Failed: A record with those settings already exists.

Hi,
in use i found problem with a round robin:

- cloudflare_domain: >
    state=present
    name=ftp
    zone=my_zone
    type=A
    content={{ external_ip_1 }}
    email=secret
    token=secret

It given error:
failed: [server_name] => {"failed": true}
msg: A record with those settings already exists.

FATAL: all hosts have already failed -- aborting

expected
ok: [server_name]

or
changed: [server_name]

UPD:
When i absent record, it must be remove one record with the specified name and content, but now plugin remove all records for specified name (domain)

record = filter(lambda x: x['name'] == name, existing_records)

Hm, at least still required additional filtering by record content,
I don't know Python

I've got a commit ready that I'll push later today.
Thank you for reporting the issue! :)

Thanks! :+1:

Could you release 0.2.1 ?

No problem!
I've pushed it to master for now, and I'll try to make a proper release this evening.
Cheers.

0.3.0 is available at the Ansible Galaxy.

@DrMegahertz Thank you!

 :)


Crash in Dartium 50 on Windows

A new (rare) crash in Dartium 50 on Windows showed up when reporting an error.  This may be another problem with a smart pointer being set to zero when it is used somewhere else.  The code is
void ConsoleMessage::setCallStack(PassRefPtr callStack)
{
m_callStack = callStack;
if (m_callStack && !m_callStack->isEmpty() && !m_scriptId) {
m_url = m_callStack->topSourceURL();
m_lineNumber = m_callStack->topLineNumber();
m_columnNumber = m_callStack->topColumnNumber();
}
}
The crash is in m_callStack->isEmpty().
m_callStack is not null (its contained m_ptr is not null).
The contained pointer points to a stacktrace, and its m_stacktrace is null.
bool ScriptCallStack::isEmpty() const
{
return m_stackTrace->isEmpty();
}
Watch:

  m_callStack	{m_ptr=0x5972f448 {m_stackTrace={m_ptr=0x00000000 <NULL> } } }	WTF::RefPtr<blink::ScriptCallStack>

and the stack trace is
chrome_child.dll!blink::ScriptCallStack::isEmpty() Line 88	C++

chrome_child.dll!blink::ConsoleMessage::setCallStack(WTF::PassRefPtrblink::ScriptCallStack callStack) Line 100	C++
chrome_child.dll!blink::Document::logExceptionToConsole(const WTF::String & errorMessage, int scriptId, const WTF::String & sourceURL, int lineNumber, int columnNumber, WTF::PassRefPtrblink::ScriptCallStack callStack) Line 2950	C++
chrome_child.dll!blink::ExecutionContext::reportException(WTF::PassRefPtrblink::ErrorEvent event, int scriptId, WTF::PassRefPtrblink::ScriptCallStack callStack, blink::AccessControlStatus corsStatus) Line 163	C++
chrome_child.dll!blink::DartUtilities::reportProblem(blink::ExecutionContext * context, _Dart_Handle * result, const WTF::String & sourceURL) Line 1310	C++
chrome_child.dll!blink::DartApplicationLoader::callEntryPoint() Line 485	C++
chrome_child.dll!blink::DartApplicationLoader::load(WTF::PassRefPtrblink::DartErrorEventDispatcher errorEventDispatcher) Line 378	C++
chrome_child.dll!blink::DartController::loadAndRunScript(const WTF::String & url, _Dart_Isolate * isolate, WTF::PassRefPtrblink::DartScriptInfo info) Line 873	C++
chrome_child.dll!blink::DartController::scheduleScriptExecution(const WTF::String & url, _Dart_Isolate * isolate, WTF::PassRefPtrblink::DartScriptInfo info) Line 852	C++
chrome_child.dll!blink::DartDomLoadCallback::ready() Line 793	C++
chrome_child.dll!blink::DartApplicationLoader::process(const WTF::String & url, const WTF::String & source, int lineNumber) Line 599	C++
chrome_child.dll!blink::ScriptLoadedCallback::notifyFinished(blink::Resource * cachedResource) Line 772	C++
chrome_child.dll!blink::Resource::checkNotify() Line 245	C++
chrome_child.dll!blink::Resource::finish() Line 317	C++
chrome_child.dll!blink::ResourceLoader::didFinishLoading(blink::WebURLLoader * __formal, double finishTime, __int64 encodedDataLength) Line 443	C++
chrome_child.dll!content::WebURLLoaderImpl::Context::OnCompletedRequest(int error_code, bool was_ignored_by_handler, bool stale_copy_in_cache, const std::basic_string<char,std::char_traits,std::allocator > & security_info, const base::TimeTicks & completion_time, __int64 total_transfer_size) Line 778	C++
chrome_child.dll!content::WebURLLoaderImpl::RequestPeerImpl::OnCompletedRequest(int error_code, bool was_ignored_by_handler, bool stale_copy_in_cache, const std::basic_string<char,std::char_traits,std::allocator > & security_info, const base::TimeTicks & completion_time, __int64 total_transfer_size) Line 928	C++

Should be fixed a number of StackCallStack failures was fixed across all platforms.


Explore the data - basic EDA

We need to understand data, and how we may represent the data in a machine learning appropriate manner.

I import bed data to IGV, why all signals display same height ?

yeah we ignore the data files right now since otherwise Dean will run out of space in github and would have to pay, I've run into that before haha. and the project updates would get large. but if the file is relatively small and useful for everyone then maybe we can put it under data_small/ ? or we can just share them in slack, maybe in a new channel

or, as I did, I added the link to the data into the readme and said where it should be under what name

ah. i will create a new folder for this and created a new branch for this issue, but mainly to test new branch workflow


readiness/liveness probes to check spark driver health

@liyinan926 is there any readiness/liveness probes to check spark driver health in spark operator?

No, the operator doesn't add any readiness/liveness probes to the driver pod.


Add Metaculus-cp Metadata

@nikosbosse looks like the metadata is missing the .yml or .yaml file extension

Fixed, thank you!


Update to Laravel 6

Upgrade dependencies in order to can be installed in Laravel 6.

Can you make a tag for it? Thanks in advance.

@gboquizosanchez definitely! In a few minutes


Design Github Pages and Add missing videos

👨💻 Changes proposed
This Pull request is regarding the issue #308
✔ Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers
Designed the Git and GitHub resources pages and add the missing videos
📷 Screenshots

@singhmansi25 , @KKhushhalR2405 ... Please do review it once :)


Initialize with components

Milestone: Initialize project with components:
The following changes are being introduced:

Initialised React app.
React routers with navigations
Books view displays the list of books with the remove button(no functionality yet).
Created a component called Book for displaying a single book.
Minimal styling.

Status: APPROVED 🟢
Hi  @krisbobo   👋 👋
I'm @TuyishimireEric, Your code reviewer,
Good job on implementing the project requirements! 🥇

Your project is complete!  There is nothing else to say other than... it's time to merge it 🦾
Congratulations! 🎉
Highlights
✅ You used Gitflow correctly 👍🏽
✅ Linter checks passed 👍🏽
✅ Used create-react-app and react-router-dom 👍🏽
✅ Routing is done correctly 👍🏽
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Remember to tag me in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think the code review was unfair, you can request a second opinion using this form.


engine: remove ftp_proxy hack

This removes the ftp_proxy hack we've had for a while for passing uncached metadata to containers (previously a lot, but recently trimmed down to just ServerID).
Instead, we take advantage of the new custom executor added recently and use that to set the _DAGGER_SERVER_ID env var in containers. The plumbing passes a custom worker around via job values, which get read by the solver's ResolveOp callback and used to tell the Executor for ExecOps which ServerID to set in the container.
There's quite a bit more cleanup coming to everything involved here, but wanted to get this first step out since that hack, besides being annoying, was kind of dubious in nature and was a suspect in some strange behavior reported sometimes.

FTR, this is another spin-off of work on https://github.com/dagger/dagger/pull/6916. It was self-contained and beneficial enough that it seemed worth getting out for the next release.

Oddly, a few SDK example tests failed on Container.Build due to serverID not being set in the executor, but locally the ContainerBuild* integ tests pass against my dev engine. Not sure why, getting late so may not fix up til tomorrow morning but worst case can just be a little less zealous in requiring it's always set (it's theoretically fine if not for Dockerfile builds, it just wasn't expected).

Okay fixed that problem with Dockerfiles that use syntax pragmas in the not-fastest-but-best-long-term way. The high-level idea is the same as before but with some adjustments described in commit message here: https://github.com/dagger/dagger/pull/7228/commits/7baea5b291fb346e5ed6e84b67ef206559ac0adf

cc @jedevc worth another look if interested

Side note: I noticed during those changes that opTrackingGateway seemed to amount to a no-op but introduced some convolution in trying to follow code, so I deleted it in this commit: https://github.com/dagger/dagger/pull/7228/commits/d0a00e5f4ee9a91b7871853942be588d03c025c5.

Would appreciate a quick double check I'm not missing something obvious
cc @vito (just if you are around, not sure of status, please ignore if vacationing 😄)

Also worth noting: the tests have been way less flaky so far (knock on wood, etc.). My educated guess is that ftp_proxy settings were resulting in different vtx digests that ended up edge merged, but now vtx digests end up the same more often and don't need to go through the (currently buggy, pending upstream fixes) edge merge logic?
I did still see the compute cache error in a publish workflow here once, but tests have not flaked out yet. Hopefully I'm not just getting lucky 🍀

I just pivoted to start on proxy support and immediately realized that I very much want the changes here because otherwise I'll just be recreating the same problems we had with ftp_proxy (even though we would be using those settings for their intended purpose now 😅), so I'm actually gonna go ahead and merge this but if you have any comments about the modifications since your last approval @jedevc please leave them and I'll make any follow-ups if needed!


Testing, please ignore. (uueekn)

This is a bug bounty test. Please ignore.. Please DO NOT APPROVE THIS! (uueekn)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.uueekn jkorg seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Add a flag to disable step alignment middleware

Signed-off-by: Ben Ye<EMAIL_ADDRESS>

[x] I added CHANGELOG entry for this change.
[ ] Change is not relevant to the end user.

Changes
Fix #3353

Verification

Seems the E2E test failure is not related to this pr. But I am curious, can some maintainer help me re-trigger the GH CI?

Done. PTAL again @bwplotka


How can I limit the providers for a specific subzone

Hi,
I have a zone with 2 providers:
config.yaml:
example.com.:
    sources:
      - config
    targets:
      - route53
      - azuredns

And:
example.com.yaml
'':
    - type: ALIAS
      ttl: 1
      value: www.example.com.
www:
    ttl: 1
    type: CNAME
    value: foo.bar.com.
test:
    ttl: 1
    type: CNAME
    value: foo2.bar.com.
subzone1:
    ttl: 1
    type: CNAME
    value: foo3.bar.com.

I'd like to limit a specific subzone in it to a single provider so I tried to add an entry for it:
example.com.:
    sources:
      - config
    targets:
      - route53
      - azuredns
subzone1.example.com.:
    sources:
      - config
    targets:
      - route53

However, validation fails with:
Traceback (most recent call last):
  File "/Users/yairfr/.virtualenvs/octodns/bin/octodns-validate", line 8, in <module>
    sys.exit(main())
  File "/Users/yairfr/.virtualenvs/octodns/lib/python2.7/site-packages/octodns/cmds/validate.py", line 24, in main
    manager.validate_configs()
  File "/Users/yairfr/.virtualenvs/octodns/lib/python2.7/site-packages/octodns/manager.py", line 427, in validate_configs
    source.populate(zone)
  File "/Users/yairfr/.virtualenvs/octodns/lib/python2.7/site-packages/octodns/provider/yaml.py", line 77, in populate
    self._populate_from_file(filename, zone, lenient)
  File "/Users/yairfr/.virtualenvs/octodns/lib/python2.7/site-packages/octodns/provider/yaml.py", line 62, in _populate_from_file
    zone.add_record(record, lenient=lenient)
  File "/Users/yairfr/.virtualenvs/octodns/lib/python2.7/site-packages/octodns/zone.py", line 75, in add_record
    .format(record.fqdn))
octodns.zone.SubzoneRecordException: Record subzone1.example.com. a managed sub-zone and not of type NS

how can I make this work?

Once you split off the subzone, the subzone1 CNAME in the parent needs to live in the subzone rather than the parent otherwise when you query subzone1.example.com the route53 NS records would be found, the query sent to those NS and they wouldn't know know anything about that record/CNAME.
Trying to summarize, once you have subzone1 split off things with that name have to go into the subzone otherwise they can't be looked up correctly.
There's also other DNS-spec things specific to CNAMEs at play here. CNAMEs can't live at the root of a zone, you'll have to use ALIAS, but unfortunately Route53 doesn't support them (it has it's own internal alias, but it's not a CNAME workalike.) CNAME also can't exist along side other record types, here that'd be the NS.


FIX: addEventListener should fail silently when executing an uncallable handler

Test Case

Add an event listener to a button with an uncallable handler button.addEventListener('click', {})
Cause that event to fire

Actual Results
IE8: An error is thrown that can (in some cases) prevent execution of other scripts
NON-IE8: The handler fails silently
Expected results
The handler should fail silently or throw an error and continue execution of handlers registered to the firing event.
This solution
This solution causes the handler to fail silently like it does in modern browsers.

nice spot @juliandoucette , I'm not sure why anyone would add an empty object as listener but if native fails, it should fail in here too.
That being said, I've pushed 0.3.1 which does a slightly different fix than yours. The problem is that if there is an object, that's the only case I want to eventually silently fail.
Your logic would pass even if the handler is an object and it has a call method, passing possibly wrong exepcted arguments as side effect.
The whole purpose to use an object as listener is to have its integrity and features with it beside the only handleEvent exception. A generic method call could be inherited as well, it doesn't mean the handler is a function.
As summary, since there are only two kind of handlers, objects or functions, the current code split in case it's an object, assuming the else is absolutely for the non object case (and eventually silently failing in case there is no handleEvent)
I believe this is safer and more in line with current specs where if you add a listener such {call: function () { throw new Error }} that handler would never possibly fire.
Thanks in any case for the PR, hope you don't mind me closing this as it's not ideal solution like I've just explained.
Best Regards

P.S. this is the commit I've just talked about: https://github.com/WebReflection/ie8/commit/b228a572dc1a61381471d3e2e3ec4d88061ff2f6

I hate to ask, because no sane person should do this, but:
What if the handler is a string or a number? That also fails silently in modern browsers.

I believe that's going to be wrapped as an object. As example, 'string' would be triggered as new String('string') so that if you have handleEvent in the String.prototype that might eventually fire.
I'm just guessing the behavior, I haven't tried myself (I might though, just for curiosity sake).
In such case the fuix would be to store the handler through Object(handler) but in case of primitives such numbers, booleans, or strings, that means nobody will ever possibly remove such handler if not polluting their constructor prototype.

Actually I've tested and while new String does obviously the trick, primitives are not converted but apparently ignored. I might follow the same. instead of holding their values forever (the object is a weird case because if handleEvent is added later to the Object.prototype the initial object will reveal itself)

OK 0.3.2 ignores everything that is not object or function.


idea: allow for JSON-RPC standards in the shell

I worked on an open-source standard on a plane flight last weekend I call JSH. I have a MVP library in python at https://github.com/vitiral/jsh, but the library and CLI are both extremely simple+tiny and could just as easily be implemented in rust (or any language). Actually, rust was one of my primary use-cases, since serde is so awesome.
I am curious to know what the maintainers of this repo think about the standard in general. The overarching goals are to be able to make message passing simpler and enable "data pipe" style of data processing.

Is it (or something like it) a good idea in general?

What changes would you make / ideas do you have?

Could you see coreutils implementing something like this?

A possible further goal would be to develop a general json-driven shell, where shell primitives can handle json input/output (i.e. object access like a dictionary, for loops over list/object, etc)
and calling shell commands would by default use --jsh-request in a "hidden" way (that "new shell" could very well just be ipython with a library installed...)
Would love this community's thoughts!

Obviously this would be behind a feature gate and add an optional dependency on serde.

3 years later, I'll try to answer this question :). A shell with structured data is a great idea. nushell is a great example of one. However, I feel like it would not fit this particular project. As now, we would have to maintain 2 types of input and output for every util. Additionally, utils often print while writing to stdout for efficiency and don't store the whole output up front. This makes it harder to convert to something like JSON. So in short, a shell built from the ground up with structured data is great, but tacking it onto existing projects is not, in my opinion.
I'm closing this issue in favour of https://github.com/uutils/coreutils/issues/1806 where there has been more discussion around JSON input/output.


Messed up text in book?

Dunno if this is intended or not, but I am getting this:
http://puu.sh/gw50O.png
I don't know if this is because I set my GUI scale to normal or not, but I don't know what else could cause this, other than intention.

For anyone to help you they will need the version you are running :)

1.7.10
0.28.3

That's really strange. I'll look into it when I get time. I've never experienced this issue before. @jordsta95 Did you do anything special to make this happen?

Not that I know of. It only seems to do it on stuff that spans the two pages, but not always.
However could this just be that I am ctrl+click on the item (in creative mode) to have that pop up? I dunno?

Do you happen to have optifine?

No, the only thing that may affect GUIs is NEI, but I doubt that would cause this issue, especially as it doesn't display when the book is open

Do you have DragonAPI?

If you have DragonAPI, it should be fixed in latest DragonAPI.

Yeah, I did have DragonAPI, dunno if it's fixed in the latest update, as I haven't touched the pack since the update

Yeah this should be fixed in V5:
DragonAPI: Fixed FontRenderer mod interaction issues (?)


Make the browser bundle size smaller

Is your feature request related to a problem? Please describe.
I noticed that SVGO now provides an official browser bundle, but it costs 825 KB (huge!).
Size matters for everything that intends to work in the browser.
IMO if we want to see the browser version using in the production, we must spend some time to reduce the browser bundle.
Describe the solution you'd like
I'm a micro-libraries developer and I have good expertise in bundle size optimizations.
If you agree that investing in the bundle size reducing worth it, I would be glad to create a few PRs reducing the svgo.browser.js size. Decided to ask you first before bringing the PRs you might not need. Maybe somebody also wants to help to optimize the browser version, so declaring the problem might involve them as well.

I noticed that SVGO now provides an official browser bundle, but it costs 825 KB (huge!).

It was 1450kB at first
Size is not a big problem because this package is tooling specific. It's actually much smaller than most of modern apps.
I already digged through bundle size. There is nothing simple you can do for now.
Though I am open for suggestions. Please let's discuss first before spending time on pull requests.

The first thing (the most obvious) that popped out in my mind is the minification enabling by something like rollup-plugin-terser. Options:

Full minification (compress: true, mangle: true, comments: false) — 825 → 403 KB. We can generate a source-map, so it doesn't make the DX (error handling) worse.
In case you want to keep the source readable, we can drop comments  and whitespaces only (preserve variable names, etc) (compress: false, mangle: false, comments: false) — 825 → 545 KB

This is doable. And yeah, keep source readable without maps.

👌 I'll create a small PR once I have time


added support for filtering on booleans

Description of changes
Added support for filtering on booleans in Duckdb and Clickhouse. Addresses 2nd part of #671
Summarize the changes made by this PR.

Improvements & Bug fixes

Filtering on boolean is now possible

Test plan
How are these changes tested?
Added an additional check for booleans in _filter_where_clause() in test_filtering.py. Will it be sufficient?
Documentation Changes
*not required

@sunilkumardash9 thanks for working on this! can we add some tests for this new feature?

@sunilkumardash9 thanks for working on this! can we add some tests for this new feature?

I think #672 has already added an additional test for filtering on booleans marked xfail. I guess, removing it will do the job.

@sunilkumardash9 thanks for opening this! we would like to add this functionality in the future. We are dropping duckdb and clickhouse tomorrow and will plan to add this back into the new backend. Again, sorry for the confusion and thank you again!


throw vips::VError("Processed image is too large for the WebP format");

this picture throw vips::VError("Processed image is too large for the WebP format");

"WebP is bitstream-compatible with VP8 and uses 14 bits for width and height. The maximum pixel dimensions of a WebP image is 16383 x 16383."

https://developers.google.com/speed/webp/faq#what_is_the_maximum_size_a_webp_image_can_be

maybe can add a parameter "fit_max_size" and auto resize the picture
for example
   sharp(data).webp({
        quality: 75,fit_max_size:true
    })

I think that option might introduce too much complexity. Would having the resultant too-large dimension(s) in the error message help?

The webp developers plan to fix this by adding support for tiled images.
Unfortunately webp has lost some momentum over the last few years and I don't know if they expect to add this feature any time soon.

There's also WEBP in TIFF as a way of supporting larger images, see: https://github.com/libvips/libvips/issues/1325


pnpm ls equivalent for Turborepo

Which project is this feature idea for?
Turborepo
Describe the feature you'd like to request
pnpm has trouble understanding that lockfile changes can affect packages even if the package source code does not change https://github.com/pnpm/pnpm/issues/4420
From my understanding of this issue, Turborepo can understand that relationship https://github.com/vercel/turbo/pull/3250
I'd like to lean on Turbo as the canonical "change detector"
Unfortunately, Turborepo requires all tasks to have a pacakge.json script associated with them. This would require us to either:

Setup a "dummy" script for each package that is a no-op but will allow us to navigate the DAG
Add a build script to scripts that don't really have a build step, just to ensure it's always included

Describe the solution you'd like
More generally, it would be nice to have a way to understand Turbo's view of the DAG divorced from any particular task.
Describe alternatives you've considered
Not sure

Wouldn't the --dry argument cover your case?

I have run into this as well, wanting to get information about packages in the context of the repo rather than in the context of a particular task. --dry would help if every package happens to share a common task (such as typechecking ... 😏) but I agree that assuming that wouldn't always make sense.
Thanks for taking the time to open an issue.

Wouldn't the --dry argument cover your case?

Using dry requires that every package in the repo has the script in question. I'd like to use turbo as a replacement for my use of pnpm ls. As mentioned above, pnpm is not a clever about change detection in certain situations, whereas Turborepo can be.


Dev div829965

Fix DevDiv #829965 - Part 1
This bug is making my life difficult, so I thought I'd chip in.  Unfortunately, there were too many yaks and I had to move on.  I believe this change fixes the issue, but when I ran the existing tests, I discovered some places where case-sensitivity was not plumbed through correctly.  That probably deserves more attention.  We also need new GTD and FAR tests, since those are apparently separate code paths.

Did you mean to send the pull request to me?

Yes.  It's not ready to be merged into upstream/master.

Ah got it. So just consider this more as "if you fix this bug, you probably want to do something like this?"

As I noted in my bug, I believe this change fixes the issue, but I didn't feel comfortable checking it in without more tests - especially since I found more bugs by running the existing tests.

You should probably also interpret it as "please fix this bug". :)

Now https://github.com/dotnet/roslyn/pull/3132


Create an Include Expression

Hello team!
I'm playing around with an include operator. Wondering if this could work?
Also, apologies I was trigger happy. I thought this was creating a branch on my fork but it created a branch on main. 😓

I'm closing this for now until I've polished the work


ci: Enable tests on Windows OS

Fixes #1178
This only enables pytests and skips PDF checks.
Getting the full test suite to work on Windows OS require lot more effort.

Maybe update #1178 since this doesn't address all of it. Consider a separate issue for tracking the rest.

Maybe update #1178 since this doesn't address all of it. Consider a separate issue for tracking the rest.

I've updated #1178 and #1181 addresses the overall Windows OS tests.


remove trailing delimiter and double delimiter on namespace debug

namespace debug output often showed a trailing delimiter and
full trackname debug output sometimes showed a double delimiter
add FullTrackName ostream operator
also made VS Code conform to one-true-brace formatting

not required


Add dependency-check suppression file

As CVE-2022-37422 is a false positive we will have to create a suppression entry for it

The workflow was changed to always complete so we have the complete report including false positives


Test On-Demand ISR support

Testing On-Demand ISR support

Look out!

checking

Testing

It works on real time?


Move the month to the last line

Nothing serious, just a little more logical for the user. The arrows around the year change the year, the arrows around the month change the month.

package updated for aiogram 3, made some adjustments for clarity similar to your suggestions


Add arvos dashboard

Create a dashboard based on the arvos report

The following dashboards has been created ( Inspired by the following repo : https://github.com/chriskinsman/github-action-dashboard )

For testing, the dashboard has been deployed on a VM in Azure, and can be accessed by : http://<IP_ADDRESS>


Instead, your Terraform state file has been partially updated with
any resources that successfully completed. Please address the error
above and apply again to incrementally change your infrastructure.
Makefile:63: recipe for target 'do' failed
make[1]: *** [do] Error 1
make[1]: Leaving directory '/opt/kubernetes-anywhere'
Makefile:41: recipe for target 'deploy-cluster' failed
make: *** [deploy-cluster] Error 2
[container]:/opt/kubernetes-anywhere>

@tusharnt @BaluDontu @abrarshivani

same here with name [ISCSI VOL 1]