feat: Added scale effect on cards on hover

fixes #91
The shadow was not visible in dark mode when hovering over the cards. So, added a scale effect.
https://github.com/user-attachments/assets/c63eef44-dcfb-4220-b5f3-f70a0279e15d

Can you share me a video how its looking

added the video in the description


Navbar

Purpose
This PR makes it easy to add tooltips to menu (navbar) items.
By adding new parameters to menu.toml, tooltips can be easily added to any non-dropdown menu items.
Example:
[[main]]
  id = "someID"
  name = "someName"
  url = "some/URL/" # Link URL.
  weight = 10
  [main.params]
    tooltip = "tooltipName" # Add tooltip to menu item. Not supported for dropdown items.
    tooltip_placement = "bottom" # Tooltip placement. Pick bottom, left or right. Defaults to bottom.

This PR is only supported by Hugo v0.79 or newer.
File changes/additions
Changed files:
wowchemy/layouts/partials/navbar.html

Let's first look at providing a user friendly, higher level capability for displaying a site's existing social network icons automatically in the nav bar. This may involve adding something like a label option to the data structure for social icons in params.toml (or perhaps the author profile social icons).

That's a good idea. I think the best solution is to look at the author social icons. Adding a new field navbar that is controlling if the icon should be added to the navbar, is an easy and simple solution.
social:
- icon: icon
  icon_pack: fas
  link: some link
  nvarbar: true
  label: tooltip label

Then we can just crawl through all authors and look for icons.
I would say that it makes most sense to add icons on the right of the navbar, in between "normal" links and the search and light/dark toggle.

@gcushen I don't mind taking a stab at this ⬆, if you think it's a good approach? I'll just add to this PR.

@gcushen I don't mind taking a stab at this (#2010 (comment)), if you think it's a good approach? I'll just add to this PR.

Sure, but with a minor change to the data structure to make it more future-proof - make the variable for where the icon is displayed as a list of key/value pairs so that we can consider expanding it in future.
Here's an example but there's no need to actually implement the other display options in the example for now - we can assume that all icons remain displayed in the About widget.
social:
- icon: icon
  icon_pack: fas
  link: some link
  label: tooltip label
  display:
    navbar: true
    about_widget: false
    footer: true

Then we can just crawl through all authors and look for icons.

We just need to look up the superuser author assuming a personal site. We can add support for organizational sites at a later stage (perhaps once the Contact widget and Params.toml contact info are refactored into an org YAML file like for authors).

Superuser icons will now be added to the right of the navbar if display.navbar = true. For now label is only displayed as tooltip in navbar. I can add the label to the about widget as well.
Either footer or about widget honours the suggested social.display setup.

Docs
To use, edit the superuser (site admin) profile in authors/admin/ (or equivalent) adding label and display options to the social links. For example:
social:
- icon: twitter
  icon_pack: fab
  link: https://twitter.com/<USERNAME>
  label: Follow me on Twitter
  display:
    header: true

Thanks for your contribution @Chrede88 - I made some further optimizations and refactoring before merging 😃

Awesome contribution @Chrede88 ! I'll be using this (first I need to make some room in my menu). @gcushen the Hugo version needs to be bumped right?

Awesome contribution @Chrede88 ! I'll be using this (first I need to make some room in my menu). @gcushen the Hugo version needs to be bumped right?

Not for this PR as the scope changed from the proposal in the first comment (which would have required Hugo 0.79) to the proposal in the second comment https://github.com/wowchemy/wowchemy-hugo-modules/pull/2010#issuecomment-748322912


Hound fixes

Addressing Hound issues from https://github.com/MarkUsProject/Markus/pull/1954

Did some general quoting cleanup while I was at it.

@david-yz-liu I've tamed the hound.

Watching that was really funny.


test(run): don't skip gRPC server streaming tests

Fixes #1628

I ran one of the tests in a sample project and it failed:

I'll close out this PR until, someone has time to reduce the flakiness.


Fix cms tree navi

Coverage decreased (-0.004%) to 84.3% when pulling 7ab4c943ffc22adbff6bfee0cd4424d89466d4ed on fix-cms_tree_navi into 0c77e4ce783b4ba8ce9320367919abb5d31a2544 on master.


Make IconToggle name optional - when using children

Fixes warning:

Codecov Report

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


Enumerate objects to populate caches

@sharwell, I'm assuming that this is a performance improvement.  Can you share what scenario this benefits?

The first time objects in the heap are enumerated, ClrMD populates caches with type information. By populating the caches prior to allocating the large dictionaries, we reduce the likelihood of transient allocation failures that could occur from an OOM while attempting to access type information for a type not already in the cache. This exception is handled internally by silently ignoring the object, so it's easy to unintentionally review incomplete heap information.


Allow setting machine image without specified version

Description
Changes proposed in this pull request:

Image may now be passed without version
Validation added

Related issue(s)

All code changes seem to be OK. After positive verification of functionality I will accept this PR for merge.


Disabling the operations for deployment and datasource entities in case of domain.

It should not be possible to perform following operations on entities that are under the domain server:

middleware_datasource_remove (on server)
middleware_deployment_restart (on the deployment)
middleware_deployment_disable (on the deployment)
middleware_deployment_enable (on the deployment)
middleware_deployment_undeploy (on the deployment)

related bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1390372
@miq-bot add_label providers/hawkular, bug, euwe/yes
@pilhuhn could you please look? It's pretty much the same as the PR #12312

LGTM for now.
I think in the longer term we need to have a matrix of operation and target item and drive the decision from this instead of adding even uglier if-statements.

@miq-bot assign @bronaghs

@miq-bot assign @dclarizio
cc @h-kataria @martinpovolny - please review/merge, thank you.

:+1:

Euwe backport conflict:
$ git cherry-pick -e -x -m 1 415552a
error: could not apply 415552a... Merge pull request #12407 from Jiri-Kremser/domain-server-datasource-op

diff --cc app/helpers/application_helper/toolbar_builder.rb
index fa676ce,85985ed..0000000
--- a/app/helpers/application_helper/toolbar_builder.rb
+++ b/app/helpers/application_helper/toolbar_builder.rb
@@@ -743,53 -691,19 +743,60 @@@ class ApplicationHelper::ToolbarBuilde
          return true unless @record.provisionable?
        end
      when 'MiddlewareServer', 'MiddlewareDeployment', 'MiddlewareDatasource'
++<<<<<<< HEAD
 +      if (@record.try(:in_domain?) || @record.try(:middleware_server).try(:in_domain?))
 +      # domain
 +      if %w(middleware_deployment_add middleware_jdbc_driver_add middleware_datasource_add
 +          middleware_deployment_enable middleware_datasource_remove middleware_deployment_restart
 +          middleware_deployment_disable middleware_server_stop middleware_server_restart middleware_server_shutdown
 +          middleware_deployment_undeploy).include?(id)
 +        return true
 +      end
 +    else
 +      # standalone
 +      if %w(middleware_domain_server_start middleware_domain_server_stop
 +            middleware_domain_server_restart middleware_domain_server_kill).include?(id)
++=======
+       if %w(middleware_deployment_add middleware_jdbc_driver_add middleware_datasource_add middleware_deployment_enable
+             middleware_datasource_remove middleware_deployment_restart middleware_deployment_disable
+             middleware_deployment_undeploy).include?(id) &&
+          (@record.try(:in_domain?) || @record.try(:middleware_server).try(:in_domain?))
++>>>>>>> 415552a... Merge pull request #12407 from Jiri-Kremser/domain-server-datasource-op
          return true
        end
 -      return true if %w(middleware_server_shutdown middleware_server_restart middleware_server_stop
 -                        middleware_server_suspend middleware_server_resume middleware_server_reload
 -                        middleware_deployment_restart middleware_deployment_disable middleware_deployment_enable
 -                        middleware_deployment_undeploy middleware_deployment_add middleware_jdbc_driver_add
 -                        middleware_datasource_remove middleware_datasource_add).include?(id) &&
 -                     (@record.try(:product) == 'Hawkular' ||
 -                      @record.try(:middleware_server).try(:product) == 'Hawkular')
 +    end
 +
 +    # hide the operations for the hawkular server
 +    return true if %w(middleware_server_shutdown middleware_server_restart middleware_server_stop
 +                      middleware_server_suspend middleware_server_resume middleware_server_reload
 +                      middleware_deployment_restart middleware_deployment_disable middleware_deployment_enable
 +                      middleware_deployment_undeploy middleware_deployment_add middleware_jdbc_driver_add
 +                      middleware_datasource_remove middleware_datasource_add).include?(id) &&
 +                   (@record.try(:product) == 'Hawkular' ||
 +                    @record.try(:middleware_server).try(:product) == 'Hawkular')
 +    when "NilClass"
 +      case id
 +      when "log_download"
 +        return true if ["workers", "download_logs"].include?(@lastaction)
 +      when "log_collect"
 +        return true if ["workers", "evm_logs", "audit_logs"].include?(@lastaction)
 +      when "log_reload"
 +        return true if ["workers", "download_logs"].include?(@lastaction)
 +      when "logdepot_edit"
 +        return true if ["workers", "evm_logs", "audit_logs"].include?(@lastaction)
 +      when "processmanager_restart"
 +        return true if ["download_logs", "evm_logs", "audit_logs"].include?(@lastaction)
 +      when "refresh_workers"
 +        return true if ["download_logs", "evm_logs", "audit_logs"].include?(@lastaction)
 +      when "refresh_logs"
 +        return true if ["audit_logs", "evm_logs", "workers"].include?(@lastaction)
 +      when "timeline_csv"
 +        return true unless @report
 +      when "timeline_pdf"
 +        return true unless @report
 +      when "timeline_txt"
 +        return true unless @report
 +      end
      end
      false  # No reason to hide, allow the button to show
    end

@Jiri-Kremser Please resolve conflict and make Euwe-specific PR (referencing this one) or suggest other PRs to backport.

@simaishi I was looking into this one and it doesn't need to be backported, because there was another PR that has been alredy backported and contains already this change (this one https://github.com/ManageIQ/manageiq/pull/12618)
In other words this change is a subset of https://github.com/ManageIQ/manageiq/pull/12618

@Jiri-Kremser thanks, changing the label then..


Add Semantic Versioning Documentation to Project.

We just want to document in the project semantic versioning.

Documentation has been completed.


feat: initial support for OpenShift

This PR adds integration with OpenShift. I have the following points in order to decide how to continue.
1- There are some functions and variables in k8s.ts needs to be importable by openshift.ts, do you think that using a shareable file like k8s-util.ts will be better? I mean to avoid code duplication as possible between openshift.ts and k8s.ts. So any suggestions for my PR so I can enhance it are welcome
2- What would be the best approach to test this new import?
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

I guess all Kubernetes flavors are the same, the only difference will be the custom resources that each vendor adds to Kubernetes and the version that is being used as a base for their Kubernetes flavor. That's the case with OpenShift and with Rancher but I cannot find the rancher schema at the moment

all Kubernetes flavors are the same, the only difference will be the custom resources that each vendor adds to Kubernetes and the version that is being used as a base for their Kubernetes flavor. That's the case with OpenShift and with Rancher but I cannot find the rancher schema at the moment. So adding generic support will be better so it could be easier to import X and use it with cdk8s

Sounds good. So let's consider a more generic approach where you can point cdk8s import to a schema definition (such as the one you used) and it will import from there.
I rather we didn't need to duplicate this for every k8s flavor. Does that make sense? I am closing this PR for now.


Match verb tense with other bullet items

It turns out the README no longer contains this (or much of any) text, so no further changes needed. I'll close out this PR as soon as I have the right repo permissions. (I've pinged @caniszczyk for those)


nixos-install unstable 16.03pre69762 fails

installing from unstable nixos machine to /mnt; nixos-install fails:
/nix/store/ycl4b69q5k43z0cnyyl8dw4w52jid3na-stage-1-init.sh.drv
/nix/store/rhga7k8yismf8fr4acp8cra5zmgfvc4x-initrd.drv
/nix/store/ylz62ka1qap5jnvf58f4i5ynq7hbcd6g-users-groups.json.drv
/nix/store/rrg5li911g26s76k3rkcksxzypxh93k6-nixos-system-nixos-16.03pre69762.e916273.drv
these paths will be fetched (0.00 MiB download, 8.32 MiB unpacked):
/nix/store/8ignm13qyb4npb00y01yj6szj9zhhj62-libXt-1.1.5
/nix/store/azadkmfzykwb8h1y007831zwd8vbz2li-libXmu-1.1.2
/nix/store/gsc42mc0vqfpl8d078zm07jy5xva7r4w-libX11-1.6.3
/nix/store/r3xv21sfbky2pi0x8gypidal63m057f7-libxcb-1.11.1
/nix/store/r457i29jhs433sgj7dnv02a2jrf2j0qz-dbus-tools-1.8.20
/nix/store/w7rkbg3vsvbpcw6zfy5dahlrf41wp3js-xauth-1.0.9
/nix/store/wncmry3c49vgkg7y4c72s1khwzkzhggq-libXext-1.3.3
building path(s) ‘/nix/store/0r3h90h24qdb7jaqyyxd63k5fh3d1clk-users-groups.json’
while setting up the build environment: executing ‘/nix/store/xag5ayq906w9zhlxs8wayv4kvpiyqphq-bash-4.3-p42/bin/bash’: Permission denied
builder for ‘/nix/store/ylz62ka1qap5jnvf58f4i5ynq7hbcd6g-users-groups.json.drv’ failed with exit code 1
cannot build derivation ‘/nix/store/rrg5li911g26s76k3rkcksxzypxh93k6-nixos-system-nixos-16.03pre69762.e916273.drv’: 1 dependencies couldn't be built
error: build of ‘/nix/store/rrg5li911g26s76k3rkcksxzypxh93k6-nixos-system-nixos-16.03pre69762.e916273.drv’ failed

I can run /nix/store/xag5ayq906w9zhlxs8wayv4kvpiyqphq-bash-4.3-p42/bin/bash without problems so the rights are fine.  DerivationGoal::runChild method has 378 lines so it is not clear what should I be focusing on.

It fails for me too on generating users-groups.json but for another reason. It says that the directory /run/users does not exist but in fact it's right there.

(POTENTIAL WORKAROUND)
I was running into this problem on every nix+nixpkgs version combo I tried. Sometimes it would be on a different "audit" derivation instead. The cause turned out to be that I was running nixos-install targeting a bind-mount. As soon as I switched to a loopback-mounted ext4.img, everything ran fine. I guess nixos-install has some weird mount-related internals that get broken by bind-type mounts. Another error I ran into under similar circumstances complained about something like "unshare" not working.
I really think nixos-install should support bind-mounts and even no mounts at all (just point it to an empty directory) or at least have good documentation as to why they can't be supported and give better error messages.

I had a lot of trouble trying to get any more details out of nixos-install trace log and gave up.
To reproduce:
Deploy a fresh ubuntu/debian vm and run basically theses steps, but instead of loopback mounting an ext4 image, just bindmount (or no mount) the target directory:
https://gist.github.com/elitak/996e3b3c54c07409c8f2

Are these errors still present?

It has never happened again for me but possibly mine was a different issue. I don't know about the others.

I tried briefly to reproduce, but failed. It's no longer blocking me anyway.

Please reopen if issue persists :)


youtube-dl kills itself

Checklist

[X] I'm reporting a broken site support issue
[X] I've verified that I'm running youtube-dl version 2021.02.22
[X] I've checked that all provided URLs are alive and playable in a browser
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched the bugtracker for similar bug reports including closed ones
[X] I've read bugs section in FAQ

Verbose log

[1]    6800 killed     youtube-dl -v

Description

WRITE DESCRIPTION HERE
I installed youtube-dl using brew on my M1 pro.
Everything i do gives me [1]    6800 killed     youtube-dl

It's killed by something on your system. Nothing to do with youtube-dl.


latency_awareness: Combat timing flakiness in test

The test bearing an undeniably attractive name: latency_aware_default_policy_stops_penalising_after_min_average_increases_enough_only_after_ update_rate_elapses has shown to be flaky. I suspect it is due to the fact that it depends on timing to be valid, and execution in CI is often extremely slow. To combat that, the sleep time is extended from 100ms to 2s, which I hope will suffice.
Fixes: #710
Pre-review checklist

[x] I have split my patch into logically separate commits.
[x] All commit messages clearly explain what they change and why.
[ ] I added relevant tests for new features and bug fixes.
[x] All commits compile, pass static checks and pass test.
[x] PR description sums up the changes and reasons why they should be introduced.
[ ] I have provided docstrings for the public items that I want to introduce.
[ ] I have adjusted the documentation in ./docs/source/.
[x] I added appropriate Fixes: annotations to PR description.

I don't like this approach as it still relies on timing. You are making the test much slower to reduce the probability of failure, yet you still don't have a guarantee that a spurious failure won't occur.
I suggest changing the test case not to rely on timing at all. As I understand the problem here (btw, the PR description doesn't tell what is the cause of the flakiness) is that the test waits for some period of time and hopes that a task spawned by the latency aware policy (the updater) will do some some work. Instead of waiting and praying, you can control when the updater does its work.
* Introduce a `LatencyAwareUpdater` struct with a single method `async fn tick()`,

* Introduce `fn new_for_test(...) -> (Self, LatencyAwareUpdater)` and reimplement `fn new() -> Self` using `new_for_test`,

* Use `new_for_test()` in the tests that need to control when the updater does the tick.

v2: taken the suggested approach:

extracted update logic into MinAvgUpdater,
implemented LatencyAwareness::new_for_test(),
modified tests not to rely on timing, by disabling periodic min avg updates and invoking them manually instead.


Set QCHECK_MSG_INTERVAL to avoid clutter in CI logs

QCheck by default prints updates to stdout often to give the user a sense of progress.
This works well in a terminal/console, but less well in an append-only CI-log where the many printed lines adds clutter.
By setting the environment variable QCHECK_MSG_INTERVAL to something more sensible, we obtain cleaner CI logs.
(We also use this in multicoretests and domainslib - but it must have been an oversight in lockfree)

Thanks !


Where can I find my certificate?

Issue Description
https://www.freecodecamp.org/challenges/claim-your-front-end-development-certificate
i completed everything in front end but while claming ir said it put my certificate on personal portfolio now were did that come how do i know from were i can access that certificate
Title moved to description by @systimotic

Hi @sandeshvijayraj! Congratulations! 🎉
Your public profile is at the following URL: https://www.freecodecamp.org/sandeshvijayraj
You should also get there by clicking your profile picture in the top right of every page on freeCodeCamp.
You can click the button on your profile to view your certificate. Here is the URL: https://www.freecodecamp.org/sandeshvijayraj/front-end-certification
I hope this answer satisfies your question. If not, please add additional info and reopen this issue. Happy coding!


#42 internally encode all string as utf-8 byte[] instead of default (…

…affect store)

Coverage decreased (-0.08%) to 88.69% when pulling 2873e2fd13f8dd873ead1ea7c5c314512977683c on fix-string-bytes-string into 0699668b65019ab9fff4736e79739850507635e0 on master.


Setting GOOGLE_APPLICATION_CREDENTIALS to empty string throws an error

I would expect an empty environment variable to act identically to an unset environment variable.
Reported by @parthea
If I set my GOOGLE_APPLICATION_CREDENTIALS environment variable to an empty string, I receive an exception instead of the local user web authentication flow.

        The credentials file must be a service account key or stored authorized
        user credentials.

        Args:
            filename (str): The full path to the credentials file.

        Returns:
            Tuple[google.auth.credentials.Credentials, Optional[str]]: Loaded
                credentials and the project ID. Authorized user credentials do not
                have the project ID information.

        Raises:
            google.auth.exceptions.DefaultCredentialsError: if the file is in the
                wrong format.
        """
>       with io.open(filename, 'r') as file_obj:
E       IOError: [Errno 2] No such file or directory: ''

../../../miniconda2/lib/python2.7/site-packages/google/auth/_default.py:63: IOError
!!!!!!!!!!!!!!!!!!!! Interrupted: stopping after 1 failures !!!!!!!!!!!!!!!!!!!!
=========================== 1 error in 0.61 seconds ============================

I'm inclined to say this is "working as intended", but maybe I'm missing some subtlety. Why can't they just unset / never set the env. var. in their environment?

Do we want to be throwing an IOError in this case or a DefaultCredentialsError? If an IOError, we should document that in the .default() docstring.

I think it should probs be a DefaultCredentialsError with File not found.


DID: Fix extension provider

What this PR changes/adds
Inject DID services with isDefault = true
Why it does that
Allow Identity Hub integration tests to mock DidPublicKeyResolver. EdcExtension.registerServiceMock() only works with services that are created with isDefault = true, otherwise the mock is overwritten.
Further notes
Linked Issue(s)
Checklist

[ ] added appropriate tests?
[ ] performed checkstyle check locally?
[ ] added/updated copyright headers?
[ ] documented public classes/methods?
[ ] added/updated relevant documentation?
[ ] added relevant details to the changelog? (skip with label no-changelog)
[ ] formatted title correctly? (take a look at the CONTRIBUTING and styleguide for details)

Codecov Report

Merging #1721 (5464e7a) into main (50c3558) will decrease coverage by 0.01%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main    #1721      +/-   ##
==========================================
- Coverage   67.36%   67.35%   -0.02%
==========================================
  Files         802      802
  Lines       17203    17201       -2
  Branches     1101     1101
==========================================
- Hits        11589    11585       -4
- Misses       5135     5137       +2
  Partials      479      479

Impacted Files
Coverage Δ

...aceconnector/iam/did/IdentityDidCoreExtension.java
58.06% <0.00%> (-8.61%)
:arrow_down:

Continue to review full report at Codecov.

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


Waddle Penguins Island - Scheduled Maintenance - Connection Error Investigation

We'll be temporarily taking Waddle Penguins Island down to hopefully fix the server and connection issues.

The maintenance has started.

We are sadly extending the maintenance.

We’ve finished early.


Add a basic service objects set up

Add app/services with a base class and an example.
Add a result object, that all services should return.

👏


Support google artifact registry as target

@vvinnich Just to understand this correctly, you want the images to be stored in Google Artifact Registry?

@estahn, exactly)

What about Google Container Registry? Are APIs same as Artifact Registry?


samsung-unified-linux-driver_1_00_37: fix build failing due to upstre…

Motivation for this change
This package currently fails to build (see discussion at https://github.com/NixOS/nixpkgs/issues/16238). For example, adding pkgs.samsung-unified-linux-driver_1_00_37 to services.printing.drivers in a NixOS config produces the following log during nixos-rebuild:
building path(s) ‘/nix/store/sgn1j45d294pki382hhb0y3wph9dkald-samsung-unified-linux-driver-1.00.37’
unpacking sources
unpacking source archive /nix/store/sbq3fbrr6ghafzyblmg1frsr07bqwbxb-UnifiedLinuxDriver-1.00.37.tar.gz
source root is uld
setting SOURCE_DATE_EPOCH to timestamp<PHONE_NUMBER> of file uld/i386/usbresetter
installing
Patching ELF file: x86_64/pstosecps
Patching ELF file: x86_64/rastertospl
Patching ELF file: x86_64/smfpnetdiscovery
	libstdc++.so.6 => not found
builder for ‘/nix/store/9hm3z7flhdgp2dysf7r9v65hi4bkijnr-samsung-unified-linux-driver-1.00.37.drv’ failed with exit code 1
cannot build derivation ‘/nix/store/ilib2s66bx6wzj98l153q48nm87i15kr-cups-progs.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/nix/store/b1z7zyc3h9zdmmmx7257cbnz2xskmnas-unit-script.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/nix/store/cpp2bbsisma0fkp4949m7fyfvdn5f93f-unit-cups.service.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/nix/store/j92a5ldwaf7wgl14pia95zksh2b5pm8y-system-units.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/nix/store/i4110pav2l92h7xi5da60ffra9fn8dyq-etc.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/nix/store/j9bsg14zylkrzz2dgwhhj98bq9nfvrhy-nixos-system-coloris-17.03pre94121.210b3b3.drv’: 1 dependencies couldn't be built
error: build of ‘/nix/store/j9bsg14zylkrzz2dgwhhj98bq9nfvrhy-nixos-system-coloris-17.03pre94121.210b3b3.drv’ failed

This change makes the package less broken. All credit for this change goes to @jokogr (see also: https://github.com/jokogr/nixpkgs/commit/c41e771a388dca6cb5f15edab2fd36fd6f96c8a8).
With this change, printing works on M2875FD and M2675FN models. Scanning not tested yet due to lack of access to Samsung scanning devices.
Things done

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

[x] NixOS
[ ] OS X
[ ] Linux

[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Thanks! I'll merge after @jokogr's stamp of approval, since the attribution won't be included in the commit.

Huh, I thought I'd linked the source in the commit message; seems I didn't. I'll go fix that now.

(in hindsight I should probably have cherry-picked the original commit rather than copying and pasting into my own, but I'm not very good at git :P )

Seems to build fine on Linux; merging.


[Potential bug found] cannot borrow xxx as mutable more than once at a time when using mpd's Query::and

Hello,
Please refer to my stackover flow question. The first answer found a potential bug.
https://stackoverflow.com/questions/58878192/cannot-borrow-xxx-as-mutable-more-than-once-at-a-time-when-using-mpds-query/58879004#58879004

I created a PR to fix this: #47.


Create sk.json

Hi @misa1515 is this strings from slovak localization?  the english is not taken by default ?


Add utility to configure PDHG for with explicit TGV regularisation

Description
Add utility to configure PDHG for with explicit TGV regularisation.
Example Usage

An example is on CIL-Demos TGV_tomography.py
Changes

adds code to create the operators and function to configure PDHG with TGV explicit regularisation
adds max to BlockDataContainer
allows dot between a BlockDataContainer and a DataContainer

Testing you performed
Related issues/links

closes #1593

Checklist

[ ] I have performed a self-review of my code
[ ] I have added docstrings in line with the guidance in the developer guide
[ ] I have updated the relevant documentation
[ ] I have implemented unit tests that cover any new or modified functionality
[ ] CHANGELOG.md has been updated with any functionality change
[ ] Request review from all relevant developers
[ ] Change pull request label to 'Waiting for review'

Contribution Notes
Please read and adhere to the developer guide and local patterns and conventions.

[x] The content of this Pull Request (the Contribution) is intentionally submitted for inclusion in CIL (the Work) under the terms and conditions of the Apache-2.0 License
[x] I confirm that the contribution does not violate any intellectual property rights of third parties

Hey all,
This still needs a few changes. Currently the BlockOperator.direct method still returns a BlockDataContainer with shape (1,1) rather than a DataContainer.  I'll do a few more tests to see if there's anything else that needs doing.
Would you like me to do a PR or let you guys take care of it?

Hi @lauramurgatroyd - I like the style of the unit tests for explicit TV. They are comprehensive without being expensive. I have suggested a few changes to them and made some comments on the new utility file.


Update gql dependencies

Update gql and related dependencies to depend on version 1.0.0
There have been some fixes in gql and they've released 1.0.0 version of packages, This PR updates to it

@deep-gaurav  Can you update http to version 1.0.0?
I am not sure what the process of getting this PR merged.

@comigor Can you help with moving forward with this PR, especially since it is blocking updating to Flutter 13?


Windows compatibility

Motivation
See https://github.com/Shopify/ruby-lsp/pull/620

@andyw8 Does it build on windows at all? I think adding ruby to the bundler platform may make it compile locally?

@vinistock I had to update the branch protection rules to match the new names, so in-flight PRs will need to be rebased against main.


feat(app): export pipes

resolve WMA-467

Angular AOT build needs the exported pipe classes.

:tada: This PR is included in version 3.1.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Initial HTML

Create the bones of the html, at least the initial plan. This may change if I choose to use JS to insert some of these elements.

Done.


Add slicedAddress to getAccount action

Added slicedAddress return value to getAccount action.
Added sliceAddress function and tests.

I have created this PR to add a slicedAddress return value to the getAccount action and useAccount hook.
The returned value is in the following format: 0x12...fe12
I feel this is a very common use case for dapps that are using wagmi/viem and have wanted this myself on past projects

Appreciate the PR, but think it's best for folks to add this to their project directly.


Add an updateRange method.

The method changes startMonth and/or endMonth with minimal updates
to the underlying RecyclerView.
This fixes #67.

Thanks for contributing!


How can I get the thumbnail of the logged in user in demo03 app

Endpoint to get the thumbnail: https://graph.microsoft.com/beta/me/photo/$value
How can I use this endpoint to display the thumbnail in the Angular app.

do you have a sample/snippet?

Thank you!


If there are no stars on the active list, allow anyone regardless of rank to use /call

If there are no stars currently marked as "active," allow any user regardless of rank to use the /call command.
This would be useful in cases where ranks aren't active.

Similarly, allow for the person (regardless of rank) who used /hold to use /release on that particular star if no other stars are active.


Customize %%formFieldsHtml%%

Hi,
Nice script, thanks a lot.
It would be nice to be able to customize the %%formFieldsHtml%% part as well

+1 for this!

Will add this later :)

+1 for this too!

Great package and a +1 for customizing %%formFieldsHtml%%

has this been implemented? I may as well take this on :)

No I didn't implement yet.
You can proceed and many many thanks for your effort :)

@decalages @ChangePlaces
What do you mean with customize this? You can override it with a CustomViewCommand that extends ViewCommand. Create your own views and pass your custom variables. That's why I made this change.
You can check this gist for a example https://gist.github.com/ebisbe/6e2973708e07be64cc0e14c4dbc72e11

@ebisbe is right!
The simplest way is to override vendor commands. Just create command inside /app/Console/Commands
Here`s my example for StartUI admin template https://gist.github.com/bsadnu/b9ae489fb396bebf0ddc27b95d94153c
Don`t forget to put command to /app/Console/Kernel.php. Like this:
https://gist.github.com/bsadnu/e47e970336a8dd84629932b79476f572
Enjoy!
BTW. If someone dislike capital-first-letter filenames in /resources/lang you may also create custom command:
https://gist.github.com/bsadnu/65a09e2e94a0282260e7e3aac4b6e2cd
https://gist.github.com/bsadnu/e47e970336a8dd84629932b79476f572

Agree: great package @sohelamin
Thanks @ebisbe and @bsadnu for showing how to customize form fields.
But I think it would even be better, if there where templates published into "views/crud-generator/form-fields" by running
php artisan vendor:publish --provider="Appzcoder\CrudGenerator\CrudGeneratorServiceProvider"
There they could be "flat" blade files and would be more intuitive to edit (at least I think so). I know in "vendor/appzcoder/crud-generator/src/stubs" I can edit package assets (stub-files). But so far I don't know how to make %%formFieldsHtml%% in "resources/crud-generator/form.blade.stub" render fields from "resources/crud-generator/form-fields" by creating a new CRUD. Can anybody help me on this? :)

Hello Guys,
Recently @johnnydoe82 made awesome changes on %%formFieldsHtml%% section at c8dca17
Please have a look into this when you get some time and share your ideas.


img on side menu blinks on hover an item

In GitLab by @01oseluiz on Feb 18, 2022, 14:52

mentioned in commit 7dc08fe8bae24bc3d63d723b770ee4e4dc6e7172


geofence trivial fix and begin fixing navigator code style

No functional change, just bad indentation.

Made a small change to the  simple cylinder (max horz/vert distance) geofence warning messages and combined the check with polygon so that the counter threshold applies to both.

Rebased on another branch where I fixed code style in the portions of navigator that are not under active development.

@tumbili @AndreasAntener Does this conflict with anything you are working on?
@dagar Generally people don't understand the concept of partially fixed code style. It might be easier to fix the whole app and tell people to run the code style fixing tool on their branch before rebasing.

The changes as is now don't conflict.

should we merge?

Sure, we'll fix the mission with the sync


Crashes running in standalone mode

Environment
OS windows 10
UE v5.3.1
Cesium for Unreal v2.0.0
It can be reproduced in the Cesium for Unreal Samples.
Reproduce
It can be reproduced in the Cesium for Unreal Samples. Just Open Map 01_CesiumWorld and run it in standalone mode.
Error Message
LoginId:8a8c83a3480311a4b6e32c92b291485b
EpicAccountId:6c7d257aacaa497daf4dbab23bdfbad3

Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x0000000000002100

UnrealEditor_CesiumRuntime!ACesium3DTileset::PostLoad() [D:\build\U5M-Marketplace\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\CesiumForUnreal\Source\CesiumRuntime\Private\Cesium3DTileset.cpp:2090]
UnrealEditor_CoreUObject!UObject::ConditionalPostLoad() [D:\build\++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\Obj.cpp:1269]
UnrealEditor_CoreUObject!EndLoad() [D:\build\++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp:2211]
UnrealEditor_CoreUObject!`LoadPackageInternal'::`102'::<lambda_2>::operator()() [D:\build\++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp:1751]
UnrealEditor_CoreUObject!LoadPackageInternal() [D:\build\++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp:1853]
UnrealEditor_CoreUObject!LoadPackage() [D:\build\++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp:2014]
UnrealEditor_CoreUObject!LoadPackage() [D:\build\++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp:1987]
UnrealEditor_Engine!UEngine::LoadMap() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\UnrealEngine.cpp:15001]
UnrealEditor_Engine!UEngine::Browse() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\UnrealEngine.cpp:14390]
UnrealEditor_Engine!UGameInstance::StartGameInstance() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\GameInstance.cpp:644]
UnrealEditor_Engine!UGameEngine::Start() [D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\GameEngine.cpp:1211]
UnrealEditor!FEngineLoop::Init() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:4855]
UnrealEditor!GuardedMain() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Launch.cpp:168]
UnrealEditor!GuardedMainWrapper() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:118]
UnrealEditor!LaunchWindowsStartup() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:258]
UnrealEditor!WinMain() [D:\build\++UE5\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:298]
UnrealEditor!__scrt_common_main_seh() [D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
kernel32
ntdll

I guess it may caused by CesiumActors::shouldValidateFlags function.
bool CesiumActors::shouldValidateFlags(UObject* object) {
#if WITH_EDITOR
  // Only fixup flags in the editor, when not in play mode
  if (GEditor->IsPlaySessionInProgress())
    return false;

  // In addition, don't fix when loading from an asset file, which sets the
  // RF_ClassDefaultObject and RF_ArchetypeObject flags.
  if (object->HasAnyFlags(RF_ClassDefaultObject) ||
      object->HasAnyFlags(RF_ArchetypeObject))
    return false;
  else
    return true;
#else
  return false;
#endif
}

I can reproduce this. It seems that in a Standalone Game, WITH_EDITOR is defined, yet GEditor is nullptr. We need a null check in shouldValidateFlags.

We'd appreciate a pull request to fix this if you're up for it, @FLYPoPo7!

// Only fixup flags in the editor, when not in play mode
if (IsValid(GEditor) && GEditor->IsPlaySessionInProgress())
return false;
Adding the IsValid(GEditor) check fixes the issue for us.  Using: CesiumForUnreal-52-v2.0.0

Makes sense to me, @armygamestudio. Would love if you could open a pull request with that change.

Actualy, a slightly better fix would be to return false when GEditor isn't valid. So:
// Only fixup flags in the editor, when not in play mode
if (!IsValid(GEditor) || GEditor->IsPlaySessionInProgress())
  return false;

Actualy, a slightly better fix would be to return false when GEditor isn't valid. So:
// Only fixup flags in the editor, when not in play mode
if (!IsValid(GEditor) || GEditor->IsPlaySessionInProgress())
  return false;

Hi,May I ask where is this code to be written?

@NicoLee777 just search for that comment in the code, it'll pop right up.

I'm still having this problem with the new version
OS windows 11
UE v5.3.2
Cesium for Unreal v2.2.0
`LoginId:3974f5af4246bbebe07c1db695afc0c4
EpicAccountId:26489ffc80134b54a04ec2cca0b92925
Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x0000000000002100
UnrealEditor_CesiumRuntime!ACesium3DTileset::PostLoad() [D:\build\U5M-Marketplace\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\CesiumForUnreal\Source\CesiumRuntime\Private\Cesium3DTileset.cpp:2094]
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
kernel32
ntdll`

The fix for this issue hasn't been released yet. You can try it out today by trying a pre-release build from the main branch by following these instructions:
https://github.com/CesiumGS/cesium-unreal/blob/main/Documentation/using-prerelease-packages.md#download-a-pre-release-version-from-a-branch-or-commit
Or you can wait for the next official release, which will be next week.

The fix for this issue hasn't been released yet. You can try it out today by trying a pre-release build from the branch by following these instructions: https://github.com/CesiumGS/cesium-unreal/blob/main/Documentation/using-prerelease-packages.md#download-a-pre-release-version-from-a-branch-or-commitmain
Or you can wait for the next official release, which will be next week.

thank you


How to use the data in NeRF dataset

Dear author,
YThanks for your work, You use NeuS in the implementation. I wonder how to use your dataset in NeRF setting

The data format can be directly used in nerf_pl with the LLFF standard: https://github.com/kwea123/nerf_pl/blob/master/datasets/llff.py


[question] Identified a cause of "Unable to open serial port"

Not sure where the best fit for this is as I already identified the cause of the issue but thought I would post it here to help others in the future.
If you have your z-wave device mapped correctly but it keeps failing to open the serial port, it could be an issue with your computer's BIOS settings. In my case, I recently flashed a new bios on my Gigabyte GA-990FXA-UD5 in order to boot from a NVME drive (via pci). This wipped out the Peripherals settings. IOMMU Controller needed to be enabled. Other suspects to watch out for are XHCI and EHCI.
Symptoms:

Device was listed under /dev/... when plugged into USB 3.0 but not USB 2.0
Keyboard worked when plugged into USB 3.0 but only worked in the BIOS / GRUB when plugged into USB 2.0
ZWave To MQTT interface / logs kept reporting that the z-wave stick was connected but couldn't open the serial port.

I leave this issue open encase the info should be added to FAQ / troubleshooting section of the documentation.

Deploy method? Docker? Can I see your docker file? Your settings.json? I don't have any info to help you to solve your issue


Implement Wallet listTransactions

Relates to #465
Overview

Implements listTransactions in the Wallet layer
Implements listTransactions in the API server.
The swagger API spec states that transactions include the address and amount of tx inputs. However, to return this information from incoming transactions, the wallet must track the global UTxO. So, we return null instead of the address and amount.
For outgoing payments, the addresses and amounts of tx inputs can be returned, and it relies on this information being in the related transactions returned by DBLayer readTxHistory.

Comments
Returning null for address and amount, when it can't be found, seems reasonable, and will unblock other work relying on listTransactions.

So, we return null instead of the address and amount.

@rvl Do you mean this as a provisional solution? This doesn't look like a valid "terminal" solution to me. We might have to store additional metadata with transactions (i.e. their resolve inputs at the moment of the transaction..)

I have rebased and addressed the review comments so far.
We have decided that Tx input resolution is a separate task (github issue to be created). To provide this information, the wallet needs to maintain a map of Tx outputs for all transactions (not just transactions which are associated with the wallet's own addresses).

The test suite cardano-wallet-http-bridge:test:integration failed in Travis because the master branch got updated with a change to cardano-wallet:exe:cardano-wallet-http-bridge. This did not get rebuilt however because cardano-wallet-http-bridge:test:integration does not to have a build-depends dependency on cardano-wallet:exe:cardano-wallet-http-bridge. But it can't, because that would be a circular package depdency because, cardano-wallet:exe:cardano-wallet-http-bridge already has a dependency on cardano-wallet-http-bridge:library. (this circular dependency can be fixed by rearranging packages)
I have rebased and force pushed.

The integration tests are now failing with:
    TRANS_LIST_01 - Listing transactions for an empty wallet
      listing transactions from Nothing to Nothing FAILED [1]
      listing transactions from Just "2001-01-01T01:01:01Z" to Nothing FAILED [2]
      listing transactions from Nothing to Just "2001-01-01T01:01:01Z" FAILED [3]
      listing transactions from Just "2001-01-01T01:01:01Z" to Just "2009-09-09T09:09:09Z" FAILED [4]
      listing transactions from Just "2009-09-09T09:09:09Z" to Just "2001-01-01T01:01:01Z" FAILED [5]

If I've understood things correctly, the API allows two ways to specify an infinite range:

Specifying Nothing for the range parameter.
Specifying Just (Iso8601 Nothing Nothing) for the range parameter.

The CLI always uses the latter option:
    exec (TransactionListArgs wPort wId mTimeRangeStart mTimeRangeEnd) =
        runClient wPort Aeson.encodePretty $ listTransactions
            (walletClient @t)
            (ApiT wId)
            (pure $ Iso8601Range
                (getIso8601Time <$> mTimeRangeStart)
                (getIso8601Time <$> mTimeRangeEnd))

rebased


Download Surface Drivers not working in 2409.2

AUSFÜHRLICH: Getting Microsoft drivers
AUSFÜHRLICH: Getting Surface driver information from https://support.microsoft.com/en-us/surface/download-drivers-and-firmware-for-surface-09bb2e09-2a4b-cb69-0951-078a7739e120
AUSFÜHRLICH: Complete
AUSFÜHRLICH: Parsing web content for models and download links
AUSFÜHRLICH: Getting drivers failed with error Fehler beim Aufrufen der Methode, da [System.__ComObject] keine Methode mit dem Namen "IHTMLDocument2_write" enthält.
Fehler beim Aufrufen der Methode, da [System.__ComObject] keine Methode mit dem Namen "IHTMLDocument2_write" enthält.
In C:\FFUDevelopment_2409.2\BuildFFUVM.ps1:722 Zeichen:5

$document.IHTMLDocument2_write($html)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : InvalidOperation: (IHTMLDocument2_write:String) [], RuntimeException
FullyQualifiedErrorId : MethodNotFound

Interesting. I just downloaded Surface Book 2 drivers the other day. I'll check later today.
Thanks,
Richard

From: gorilla1968 @.>
Sent: Friday, October 18, 2024 1:07:45 AM
To: rbalsleyMSFT/FFU @.>
Cc: Subscribed @.***>
Subject: [rbalsleyMSFT/FFU] Download Surface Drivers not working in 2409.2 (Issue #94)
AUSFÜHRLICH: Getting Microsoft drivers
AUSFÜHRLICH: Getting Surface driver information from https://support.microsoft.com/en-us/surface/download-drivers-and-firmware-for-surface-09bb2e09-2a4b-cb69-0951-078a7739e120
AUSFÜHRLICH: Complete
AUSFÜHRLICH: Parsing web content for models and download links
AUSFÜHRLICH: Getting drivers failed with error Fehler beim Aufrufen der Methode, da [System.__ComObject] keine Methode mit dem Namen "IHTMLDocument2_write" enthält.
Fehler beim Aufrufen der Methode, da [System.__ComObject] keine Methode mit dem Namen "IHTMLDocument2_write" enthält.
In C:\FFUDevelopment_2409.2\BuildFFUVM.ps1:722 Zeichen:5

$document.IHTMLDocument2_write($html)

     *   CategoryInfo : InvalidOperation: (IHTMLDocument2_write:String) [], RuntimeException
     *   FullyQualifiedErrorId : MethodNotFound

—
Reply to this email directly, view it on GitHub<https://github.com/rbalsleyMSFT/FFU/issues/94>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AMYE2BENBMTOOD4RBMH354DZ4C6VDAVCNFSM6AAAAABQFMPCQCVHI2DSMVQWIX3LMV43ASLTON2WKOZSGU4TMNZYHAYTANI>.
You are receiving this because you are subscribed to this thread.Message ID<EMAIL_ADDRESS>

Just tested and it worked for me. Can you try again? I have seen issues where sometimes the page isn't always accessible. It's not often, but can happen. Has this worked before for you?

Hello, installing Office solved the Problem. It was a missing dll File for [IHTMLDocument2].
"C:\Program Files (x86)\Microsoft.NET\Primary Interop Assemblies\Microsoft.mshtml.dll"
Thanks,
Bernhard

Thanks. I'll change this and remove the dependency on that.

Fixed this to not rely on that dll in 2412.1


[BUG] - osp_plotModule crashes for w data only - osp_plotModule - Corey Wadsley

Describe the bug
osp_plotModule crashes for fit plot if only w files are supplied. Naming issues in the struct.
Additional context
MRShub post:  https://forum.mrshub.org/t/error-in-osprey-unrecognized-field-name-names/1875/6

Solved in #727


Examples for @State with multiple named views?

Normally this would look like
$stateProvider
      .state('root', {
        url: '/',
        redirectTo: '/main',
        views: {
          'navbar': { controller: 'NavbarCtrl as navbar', templateUrl: 'modules/navbar/navbar.html' },
          'root': { controller: 'RootCtrl as root', templateUrl: 'modules/root/root.html' }
        }
      });

But how would this looks when using the @ State decorator? I tried puting the views object inside and it didn't work.

@vacarsu Yes, using named views you would do that. However, you could also use components directly, without using named views, something like this:
First, define each of your sub components, "navbar" and "root"
    @Component('navbar')
    @View('modules/navbar/navbar.html')
    class navBarComponent {}

    @Component('root')
    @View('modules/root/root.html')
    class rootComponent {}

Then you'd use the above components in your "root" state's template and there would be no need for named views.
@State({ name: 'root', url: '/' })
@Component({ selector: 'my-app' })
@View('modules/app/app.html')
class myAppComponent { }

bootstrap(myAppComponent)

So, in your modules/app/app.html you would use <navbar> and <root> in place of <ui-view="navbar"> and <ui-view="root">, respectively.

Ahh I see they just become directives! Brilliant! thanks. I got it now.

Well, you shouldn't have to extend window with angular2now in each module. But, you do need to ensure that the module that does the extend runs before any other modules that depend on it.
So I would check in what order are your module files loaded.

Yes, I'll looks into, Meteors order of operations are quite complex, especially when moving a large mean stack to meteor >.<

When I remove angular.extend(window, angular2now) from each module I get:
Uncaught ReferenceError: Inject is not defined
Here is my top module:
angular.extend(window, angular2now)

// Tell angular2-now to set controllerAs to "vm", instead of the default componentName
// This is mostly because "vm" is shorter to type :)

angular.module('socially', [
  'angular-meteor',
  'ui.router',
  'angularUtils.directives.dirPagination',
  'uiGmapgoogle-maps',
  'ngMaterial',
  'ngAnimate',
  servicesModule.name,
  rootModule.name,
  navbarModule.name,
  homeModule.name
])
.config(appConfig);

// The bootstrap component's selector name must be the same as the module name.
@Component({ selector: 'socially' })
@View({ templateUrl: 'client/app/app.ng.html' })
@Inject(['$rootScope', '$state'])

class socially {
  constructor ($rootScope, $state) {
    /*$rootScope.$on("$stateChangeError",
      function (event, toState, toParams, fromState, fromParams, error) {
      // We can catch the error thrown when the $requireUser promise is rejected
      // and redirect the user back to the main page
      if (error === "AUTH_REQUIRED") {
        $state.go('parties');
      }
    })

    $rootScope.$watch('currentUser', function(nv, ov) {
      // user logout - redirect to parties-list
      if (!nv && ov) {
        $state.go('parties');
      }
    });*/

  }
}

bootstrap(socially);

(yes I am building off your angular-meteor example, while porting my app over.)

In my example code I don't actually extend window with angular2. See this:
https://github.com/pbastowski/meteor-angular-socially/blob/feature/ng2now/client/app/app.es6.js
However, that is probably not the source of the problem. Can you push your project to github, so that I can have a look at your setup?

Here is the repo.

Ok, I see the problem. You created some folders deeper than where app.es6.js is located. In Meteor files from the deepest folders get loaded first. Have a read of this, which should help: http://docs.meteor.com/#/basic/filestructure.
So, your home.es6.js, navbar.es6.js, etc files loaded before app.es6.js, which is why Inject, etc were not defined.
You could fix this in several different ways, such as moving your feature folders out of the modules folder and next to the app folder, which would put them on the same level as app and then app.es6.js would load first. Alternatively, you could do what I show in the image below. That is, create a lib folder in the app folder and put a single JS file in it with angular.extend(window, angular2now). Also, remove the same line from app.es6.js.

Well the reason why I have the folder stucture the way it is, is because all the dependant modules must load before the main app.js, putting the angular extend in a lib folder with app right now. That seems to have gotten things working as expected, thanks a bunch! I'll close this now.


The size property of MuCircularProgress should be Double

This change would allow smaller components.

Great - thanks for the contribution! :)


[B10] "Click for recipe" crashes game

Hi,
whenever I click "Click for recipe" inside the Thaumonomicon the game crashes:
https://pastebin.com/Rnqk0CD4
Mods used to test this issue:
Baubles-1.12-1.5.2
jei_1.12.2-<IP_ADDRESS>
Thaumcraft-1.12.2-6.1.BETA10
Forge version: <IP_ADDRESS>73
Minecraft version: 1.12.2
Thanks for looking into it. :)
Best regards
wamc

Does it happen with ALL recipes, or only specific ones?

Looks like it happens for ALL recipes.


Provide guidance on when maintainers will (not) approve a PR

Provide guidance on when maintainers will (not) approve a PR
Checklist

[x] Commits are signed with Developer Certificate of Origin (DCO)

Closes https://github.com/kedacore/governance/issues/94

Maybe I'd also add something to clarify that all the checks should pass, but maintainers can merge the PRs without them if they think that it's okey.

Would you mind opening a proposal in the review please?

As this governance applies to all the repos, I'd also add something clarifying that maintainers can merge PRs without approvals under their own criteria in case of necessity. Why should we add this? During the release process, sometimes it is difficult to get ACKs.

I'd argue if nobody is able to ACK, then we should hold off to continue though. Second pair of eyes is crucial to me.

Other examples are tooling repos (test-tools or testing-infrastructure), in those repos doesn't make sense to wait for approvals (IMO)

Good point, care to open a proposal?

I'd argue if nobody is able to ACK, then we should hold off to continue though. Second pair of eyes is crucial to me.

I have added this part too:

Exceptionally and always due to good and important reasons, maintainers can merge changes without requiring additional approval, but they must notify the other maintainers about the action.

As we are "signing a contract" with the governance documentation, I prefer to keep the door open to edge cases that could happen in the future.
Merging without any ACK is something exceptional, but I believe that not blocking the option for urgent or risky cases is worth.

Kindly reminder: We still have this pending xD

@kedacore/keda-maintainers Any other reviewers?

@zroubalik @jeffhollan @ahmelsayed PTAL

We should merge this @tomkerkhove @zroubalik

@JorTurFer @zroubalik We have two approvals, OK to merge or were there changes I had to make? (I think we are OK but want to make sure)

There is a super majority, 3 of 4 companies xD
Let's merge it


StrawberryDjangoConnectionField ignores source

@gql.django.type(models.Color)
class ColorNode(gql.relay.Node):
    name: gql.auto
    test: gql.auto

    # This works fine and respects source
    fruits: gql.relay.Connection["FruitNode"]

    # This does not
    fruits: gql.relay.Connection["FruitNode"] = gql.django.connection()

From what I can tell using gql.django.connection translates into field not having base_resolver in:
https://github.com/blb-ventures/strawberry-django-plus/blob/7edd6162783b4290b8698ca3e42d7cb819ea765f/strawberry_django_plus/relay.py#L933
And that causes default manager of source's model to be used for nested field:
https://github.com/blb-ventures/strawberry-django-plus/blob/7edd6162783b4290b8698ca3e42d7cb819ea765f/strawberry_django_plus/field.py#L315
But I might be wrong there.

Hrmm, nested fields for connections is kinda nasty =P. I'll take a look at this in the weekend! Thanks for reporting

@Kitefiko  this should be fixed in the release 1.11 that I'm doing atm. Please reopen if it is not.


Color Picker css not load

The BlazorColorPicker.bundle.scp.css file is not load in _context.The ColorPicker style is displayed incorrectly and can not display and hidden.

I solved the problem.I didn't add project scope css that led to this problem.


Statically typed selectors

This changes Selector to Selector<T> where T is the selectors payload.
There was a Zulip discussion about why Commands rely on purely dynamic typing while Env uses statically typed Keys.
I found myself typing 'Must have ThisType as payload` for pretty much every selector I've defined, so adding a type to it seemed like the logical consequence.
This also fixes some issues with menu items submitting wrong commands or showing wrong labels.
This still lacks in documentation and I haven't thoroughly checked if everything works, but at least for multiwin it does work better now.
Also I have plans to introduce OneShotSelector<T> for one-shot commands and I'm not sure if it should be part of this PR or go into a separate one.
I've opened this as a draft for now so that I have a better overview of the changes made and where I have to add documentation. Also I can see if there are errors on mac or windows and  if someone wants to give some feedback, that would be welcome as well.

Splitting this up was a great idea, and resulted in a far better design.
Thanks a lot @cmyr and @xStrom for your help and reviews!
This was completed with #993 an can thus be closed as successful.


regenerate for autorest.csharp#2427

Regeneration of https://github.com/Azure/autorest.csharp/pull/2427
Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

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


Affine substitution Cipher

🚀 Feature
Implementing Affine substitution cipher : both encryption and decryption

The program should have encryption function and decryption function for each cipher.
Function should take message and a key / or keys as input from the user and display the expected output.

Have you read the Contributing Guidelines on Pull Requests?
Yes.
Motivation
The Affine cipher is a type of monoalphabetic substitution cipher which uses a combination of Additive and Multiplicative Ciphers.
Pitch
It's a very important algorithm in the field of cryptography.

i want to work on this using python !!!

I wannt to work on it in java

I would like to work on this in Java usign Java8 features

@iamrajiv  Solved it in C++ #757


Remove more AutoNumber tests

Follow-up to #105 where apparently I missed a couple 🤦

Niko, @comnik  I forgot to tell you last time, can you please also upgate the changelog here and change the version here?
We don't have scheduled deployments, but let us know and we can do release.


Fix extract_dir to work with 64bit

After the 64bit architecture was fixed, there was an issue where the 64bit download would extract to "Atom x64", not "Atom" as the original extract_dir held. I localized the extract_dir property to each architecture and update the 64bit one accordingly.

Try pulling the current master branch and create the PR from there. Now it doesn't contain your own changes :smile:

FYI, the extract_dir has to be also added to autoupdate (because on the next update extract_dir would be empty)

Oh boy... I really thought I had it this time 😅 I am really bad at this still. Sorry about all my silliness. I'll try it again and get the autoupdate fix in there asap!


Feature/remove double negation from ast

Removes the DoubleMinus and DoubleNot from the AST.
Also after noting in the spec:

We only support positive, decimal integer literals; negative integers are produced by the unary negation operator.

I removed the -? before the integer and unsigned integer parsing.
One case is no longer handled correctly by the LARLPOP parser !!member. I've changed the test for now to !(!... hoping you know how to handle this properly?

Closing since this would cause a behavior regression in its current state. Can reopen in the future if needed


Errors when hosted in azure functions with Docker

Environment info - Ubuntu docker file:
Ubuntu docker file with lightgbm==2.2.3
See attached docker file and requirements.txt for info
requirements.txt
Dockerfile.txt
Error message
Executed 'Functions.TrainModel' (Failed, Id=f28ff9e7-2e77-4c77-a4c0-72e88042a067)
Microsoft.Azure.WebJobs.Host.FunctionInvocationException: Exception while executing function: Functions.TrainModel ---> Microsoft.Azure.WebJobs.Script.Rpc.RpcException: Result: Failure
Exception: OSError: libgomp.so.1: cannot open shared object file: No such file or directory
Stack:   File "/usr/local/lib/python3.6/site-packages/azure/functions_worker/dispatcher.py", line 230, in _handle__function_load_request
    func_request.metadata.entry_point)
  File "/usr/local/lib/python3.6/site-packages/azure/functions_worker/loader.py", line 66, in load_function
    mod = importlib.import_module(fullmodname)
  File "/usr/local/lib/python3.6/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 994, in _gcd_import
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 941, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 994, in _gcd_import
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/site/wwwroot/TrainModel/__init__.py", line 14, in <module>
    from lightgbm import LGBMRegressor
  File "/usr/local/lib/python3.6/site-packages/lightgbm/__init__.py", line 8, in <module>
    from .basic import Booster, Dataset
  File "/usr/local/lib/python3.6/site-packages/lightgbm/basic.py", line 34, in <module>
    _LIB = _load_lib()
  File "/usr/local/lib/python3.6/site-packages/lightgbm/basic.py", line 29, in _load_lib
    lib = ctypes.cdll.LoadLibrary(lib_path[0])
  File "/usr/local/lib/python3.6/ctypes/__init__.py", line 426, in LoadLibrary
    return self._dlltype(name)
  File "/usr/local/lib/python3.6/ctypes/__init__.py", line 348, in __init__
    self._handle = _dlopen(self._name, mode)

error.log
Reproducible examples
from lightgbm import LGBMRegressor
...
lgb = LGBMRegressor(colsample_bytree=0.8, learning_rate=0.12, n_estimators=150, num_leaves=100)
lgb.fit(X_train, y_train.reshape(-1))
Steps to reproduce

Create new azure functions for python project
Create docker image using attached docker file and requirements.txt
Reference and use LGBMRegressor in a http function call

Seems that something is wrong with your environment. LightGBM requires OpenMP library.

Exception: OSError: libgomp.so.1: cannot open shared object file: No such file or directory

What compiler do you use?
You may try to install LightGBM from sources in your docker to catch error at compilation time which can be more verbose.

Thank you for your reply!
The docker image is built using docker for windows 2.0.
The python packages are just fetched through requirements.txt.
Installing from sources didn't go so well;
>pip install --no-binary :all: lightgbm Collecting lightgbm   Using cached https://files.pythonhosted.org/packages/c9/ce/3aff55e25e282383c19c5a5fb7387fd400e64b1a1036671aefa63ceeaaf4/lightgbm-2.2.3.tar.gz Requirement already satisfied: numpy in c:\users\jante\appdata\local\conda\conda\envs\shiny_new_env\lib\site-packages (from lightgbm) (1.16.4) Requirement already satisfied: scipy in c:\users\jante\appdata\local\conda\conda\envs\shiny_new_env\lib\site-packages (from lightgbm) (1.3.0) Requirement already satisfied: scikit-learn in c:\users\jante\appdata\local\conda\conda\envs\shiny_new_env\lib\site-packages (from lightgbm) (0.21.2) Requirement already satisfied: joblib>=0.11 in c:\users\jante\appdata\local\conda\conda\envs\shiny_new_env\lib\site-packages (from scikit-learn->lightgbm) (0.13.2) Skipping bdist_wheel for lightgbm, due to binaries being disabled for it. Installing collected packages: lightgbm   Running setup.py install for lightgbm ... error     ERROR: Complete output from command 'C:\Users\jante\AppData\Local\conda\conda\envs\shiny_new_env\python.exe' -u -c 'import setuptools, tokenize;__file__='"'"'C:\\Users\\jante\\AppData\\Local\\Temp\\pip-install-qx64ce0e\\lightgbm\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\jante\AppData\Local\Temp\pip-record-4g86ptb4\install-record.txt' --single-version-externally-managed --compile:     ERROR: running install     INFO:LightGBM:Starting to compile the library.     INFO:LightGBM:Starting to compile with MSBuild from existing solution file.     WARNING:LightGBM:Compilation with MSBuild from existing solution file failed.     INFO:LightGBM:Starting to compile with Visual Studio 15 2017 Win64.     INFO:LightGBM:Starting to compile with Visual Studio 14 2015 Win64.     INFO:LightGBM:Starting to compile with Visual Studio 16 2019.     Traceback (most recent call last):       File "<string>", line 1, in <module>       File "C:\Users\jante\AppData\Local\Temp\pip-install-qx64ce0e\lightgbm\setup.py", line 338, in <module>         'Topic :: Scientific/Engineering :: Artificial Intelligence'])       File "C:\Users\jante\AppData\Local\conda\conda\envs\shiny_new_env\lib\site-packages\setuptools\__init__.py", line 145, in setup         return distutils.core.setup(**attrs)       File "C:\Users\jante\AppData\Local\conda\conda\envs\shiny_new_env\lib\distutils\core.py", line 148, in setup         dist.run_commands()       File "C:\Users\jante\AppData\Local\conda\conda\envs\shiny_new_env\lib\distutils\dist.py", line 955, in run_commands         self.run_command(cmd)       File "C:\Users\jante\AppData\Local\conda\conda\envs\shiny_new_env\lib\distutils\dist.py", line 974, in run_command         cmd_obj.run()       File "C:\Users\jante\AppData\Local\Temp\pip-install-qx64ce0e\lightgbm\setup.py", line 261, in run         openmp_include_dir=self.openmp_include_dir, openmp_library=self.openmp_library)       File "C:\Users\jante\AppData\Local\Temp\pip-install-qx64ce0e\lightgbm\setup.py", line 163, in compile_cpp         LOG_NOTICE)))     Exception: Please install Visual Studio or MS Build and all required dependencies first     The full version of error log was saved into C:\Users\jante\LightGBM_compilation.log     ---------------------------------------- ERROR: Command "'C:\Users\jante\AppData\Local\conda\conda\envs\shiny_new_env\python.exe' -u -c 'import setuptools, tokenize;__file__='"'"'C:\\Users\\jante\\AppData\\Local\\Temp\\pip-install-qx64ce0e\\lightgbm\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\jante\AppData\Local\Temp\pip-record-4g86ptb4\install-record.txt' --single-version-externally-managed --compile" failed with error code 1 in C:\Users\jante\AppData\Local\Temp\pip-install-qx64ce0e\lightgbm\
Not sure what to make of that as I do have VS2019 installed and MSBuild set in path variables.
I did end up installing CMake for good measure though. Same error still.
Contents of LightGBM_compilation.log:
`CMake Error at CMakeLists.txt:7 (PROJECT):
Generator
Visual Studio 15 2017 Win64
could not find any instance of Visual Studio.
-- Configuring incomplete, errors occurred!
See also "C:/Users/jante/AppData/Local/Temp/pip-install-iw9f4pnw/lightgbm/build_cpp/CMakeFiles/CMakeOutput.log".
-- Selecting Windows SDK version  to target Windows 10.0.17134.
CMake Error at CMakeLists.txt:7 (PROJECT):
Failed to run MSBuild command:
C:/Program Files (x86)/MSBuild/14.0/bin/MSBuild.exe

to get the value of VCTargetsPath:
Microsoft (R) Build Engine version 14.0.23107.0
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 6/6/2019 10:56:02 PM.
Project "C:\Users\jante\AppData\Local\Temp\pip-install-iw9f4pnw\lightgbm\build_cpp\CMakeFiles\3.14.5\VCTargetsPath.vcxproj" on node 1 (default targets).
C:\Users\jante\AppData\Local\Temp\pip-install-iw9f4pnw\lightgbm\build_cpp\CMakeFiles\3.14.5\VCTargetsPath.vcxproj(14,2): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
Done Building Project "C:\Users\jante\AppData\Local\Temp\pip-install-iw9f4pnw\lightgbm\build_cpp\CMakeFiles\3.14.5\VCTargetsPath.vcxproj" (default targets) -- FAILED.

Build FAILED.

"C:\Users\jante\AppData\Local\Temp\pip-install-iw9f4pnw\lightgbm\build_cpp\CMakeFiles\3.14.5\VCTargetsPath.vcxproj" (default target) (1) ->
  C:\Users\jante\AppData\Local\Temp\pip-install-iw9f4pnw\lightgbm\build_cpp\CMakeFiles\3.14.5\VCTargetsPath.vcxproj(14,2): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.

    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:00.05
  Exit code: 1

-- Configuring incomplete, errors occurred!
See also "C:/Users/jante/AppData/Local/Temp/pip-install-iw9f4pnw/lightgbm/build_cpp/CMakeFiles/CMakeOutput.log".
CMake Error at CMakeLists.txt:7 (PROJECT):
Generator
Visual Studio 16 2019

could not find any instance of Visual Studio.
-- Configuring incomplete, errors occurred!
See also "C:/Users/jante/AppData/Local/Temp/pip-install-iw9f4pnw/lightgbm/build_cpp/CMakeFiles/CMakeOutput.log".
`
If you have any further pointers that would be much appreciated.

Sorry, I was not clear enough. I meant compilation from sources by this guide: https://lightgbm.readthedocs.io/en/latest/Installation-Guide.html#windows.
Also please tell your CMake and VS versions.

In addition, I see your LightGBM is run under Ubuntu.
Microsoft.Azure.WebJobs.Host.FunctionInvocationException: Exception while executing function: Functions.TrainModel ---> Microsoft.Azure.WebJobs.Script.Rpc.RpcException: Result: Failure
Exception: OSError: libgomp.so.1: cannot open shared object file: No such file or directory
Stack:   File "/usr/local/lib/python3.6/site-packages/azure/functions_worker/dispatcher.py", line 230, in _handle__function_load_request
    func_request.metadata.entry_point)

But you're telling that you're compiling for Windows. It's confusing...

Thank you for your replies again.
As mentioned I am building a docker image with LightGBM as a python package.
I finally found the solution to my problems; I was missing libgompl in the docker image.
Solved by adding this to my docker file;
RUN apt-get update && apt-get install -y --no-install-recommends apt-utils
RUN apt-get -y install curl
RUN apt-get install libgomp1

Glad that you solved the problem! 🎉
And thanks a lot for sharing the solution.


Mental Issue

Whats your advice for someone who overthinks a lot about future, about job, about everything.
Like I love coding but the path ahead is just not clear.
Like a small town boy who does not have any network or does not know anyone at good position in the industry.
This thing creates problem as having too much responsibilities on shoulders.
Please Guide Guruji.

I think this was answered in the Instagram Live AMA


Add rules_pkg 0.9.1

Add rules_pkg 0.9.1.
0.9.0 had some issues. Not clear if we should yank it, but that can be another PR.

Based on slack reports the hash of the release archive of 0.9.0 changed.

Let me try this again.


update Podfile

Hi @follyxing, can you provide the description or the problems you are experiencing or explain your reasoning behind those changes?

Since the 0.64.0 version, some module paths have changed, the Podfile file of this document cannot be used.
fix: #31440

@follyxing Hmm, I'm not sure if it's the correct solution to the Pods problem you are experiencing.
Can you replace the podfile in problematic project with the base file content from RN template (including relative pod imports):

https://github.com/facebook/react-native/blob/master/template/ios/Podfile

I'm curious if this approach fixes the issue. The docs you are editing were updated a few versions ago, and Pods setup have changed a bit since then.


No module named 'sym' when installing with cmake

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Git clone v0.9.0 of symforce.
mkdir build
cd build
cmake ..
make -j $(nproc)
sudo make install
export PYTHONPATH="$PYTHONPATH:/path/to/symforce:/path/to/symforce/build/lcmtypes/python2.7"

python3 -c "import symforce; print(symforce.get_symbolic_api())"
symengine

python3 -c "from symforce import cc_sym"

python3 -c "import symforce.symbolic as sf"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/opt/symforce/symforce/symbolic.py", line 30, in <module>
    from symforce.geo import *
  File "/opt/symforce/symforce/geo/__init__.py", line 18, in <module>
    from . import unsupported
  File "/opt/symforce/symforce/geo/unsupported/__init__.py", line 10, in <module>
    from .pose2_se2 import Pose2_SE2
  File "/opt/symforce/symforce/geo/unsupported/pose2_se2.py", line 10, in <module>
    from symforce.ops.interfaces.lie_group import LieGroup
  File "/opt/symforce/symforce/ops/__init__.py", line 75, in <module>
    import sym
ModuleNotFoundError: No module named 'sym'

Expected behavior
I should get no error when importing symforce.symbolic
Environment (please complete the following information):

OS and version: Ubuntu Linux 20.04, ARM64
Python version: 3.8.10
SymForce Version: 0.9.0

Additional context
My workaround is to use pip install symforce for code generation, and only using cmake install for c++ libraries and linking.

Which pip package in dev_requirements.txt provides sym? I don't see a package named sym listed there? I thought the sym package was an internal module exposing the C++ part of symforce.

These lines: https://github.com/symforce-org/symforce/blob/84f76b601ea6575fb990a9c23f7b77611911eab7/dev_requirements.txt#L327-L328
The sym python package is pure-python, and is the same as the symforce-sym package on PyPI, you could install it from PyPI instead if you aren't modifying it.  It's the generated python numerical geometry and camera types

I tried installing the public pip sym package, but that seemed like an entirely different package than the one used here. It didn't have a Rot2 or other Lie group types for example.

If you tried installing this package, that's not ours - this one should be what you want

I also tried pip install -r dev_requirements.txt and then had some other errors come up. I probably could have avoided those by using a virtual environment, but I wanted to install symforce system-wide.

This is a good point, we should have a way to install the unpinned dependencies required for a from-source build for use cases like this


Remove Velero-plugin-for-csi from operator csv

Why the changes were made

How to test the changes made

does this file deploy/disconnected-prep.sh need update as well?

does this file deploy/disconnected-prep.sh need update as well?

We usually don't use the deploy/disconnected.sh script, downstream uses it and it resides downstream. But I still updated the script for reference purposes.

/retest

/cherry-pick master


[AutoRelease] t2-iotfirmwaredefense-2024-03-07-08506(can only be merged by SDK owner)

https://github.com/Azure/sdk-release-request/issues/4958
Live test success
https://dev.azure.com/azure-sdk/internal/_build?definitionId=6323

issue link:https://github.com/Azure/sdk-release-request/issues/4958

/check-enforcer override


[c/c++(, etc)] Hide compilation errors hints

Please hide compilation errors hints after making changes into the code, or add some switch to hide compilation errors\warnings
In current state compilation errors hints are indistinguishable from IntelliSence errors hints. And it's rather confusing to fix code issues and still see the hint of a typo or template instantiation failure even when the issue is no longer there.
Right now the only valid way is to reopen the whole workspace to get rid of those hints without recompiling the file.

/extC++


Issue: #122

Fixed role mapping in 4.x

This pull request is now managed with CodeReviewHub. Refresh.


Use fastcdr-2.2.x for ROS 2 Rolling

Fixes https://github.com/micro-ROS/micro-ROS-Agent/issues/223 for rolling.
Would be good to have a jazzy branch now that it has been released.

Please check CI

How about add the conditional compilation by checking the fastcdr version? Then we can have one source for fastcdr v1 and v2. Jazzy will need additional ci.

Can we consider this superseded by https://github.com/micro-ROS/micro-ROS-Agent/pull/226 ?

Can we consider this superseded by #226 ?

Sure, #226 is identical with the addition of the workflow update.


Rename Fishjam Cloud to Fishjam

Description
Describe your changes in detail
Motivation and Context
Why is this change required? What problem does it solve? If it fixes an open
issue, please link to the issue here.
How has this been tested?
Please describe in detail how you tested your changes. Include details of your
testing environment, devices (ex. Iphone XYZ ios X.X.X & Samsung XYZ android
X.X.X)
Types of changes

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

Checklist:

[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

Screenshots (if appropriate)

Can you link related ticket in title and update PR description? 🥺


raise GitCommandError(redacted_command, status, stderr_value, stdout_value) git.exc.GitCommandError: Cmd('git') failed due to: exit code(128)   cmdline: git log   stderr: 'fatal: not a git repository (or any of the parent directories): .git' ERROR:torch.distributed.elastic.multiprocessing.api:failed (exitcode: 1) local_rank: 0 (pid: 3381694) of binary: /home/ubuntu/anaconda3/envs/llava/bin/python Traceback (most recent call last):

Please obtain the codebase through git clone. Our codebase will utilize git for version control in every experimental trial.

Or you can comment the code of git version control at:
https://github.com/SHTUPLUS/Pix2Grp_CVPR2024/blob/0a2342520aac2bb15fd9e61f0b44376ea4d787d0/train.py#L111


setrandom is deprecate in postgres 9.6

In postgres 9.6, they deprecate \setrandom command
They suggest to use built-in random(x,y) function
reference: https://www.postgresql.org/docs/9.6/static/release-9-6.html

Thanks for the contribution!
However someone else recently noticed the same problem and send a fix in #549, which has been merged.


RuntimeError: threads can only be started once

After running the first search query, when the second one gets to the point it finishes the thumbnails search, the following error appears:
RuntimeError: threads can only be started once

The error is fixed now! You can pull the new changes.


Changes continously breaks other parts of the app

Everytime a fix is made in one area of the project, it breaks another area and it goes on in an endless loop of break + fix.  Many hours and 10M tokens later, I'm stuck with any new change breaking another part of the application.

Yep.
The AI loses context of your entire project and doesnt take into consideration the tentacles of each function that reach into other parts of the app that may be affected. It doesn't remember what it did previously and often forgets to restore code that didnt need deleted when adding new code to a file for a new function.
There is an inherit flaw in how it's built. With that said Im pretty sure they know that and are working on exactly that problem.

Yes facing the same issue it really troublesome.  Its really a showstopper that prevents me from using bolt when scaling my app. Hope they address and fix this soon ASAP.

Facing the same issue, this should be a high priority bug


No binding for g_dir_open

Hi,
I'm trying to access g_dir_open, but I haven't found it anywhere accessible. Thus, I came up with the following.
Some questions:

Is the code for g_dir_open correct?
Why does the code for using g_dir_close as __gc not work? How can it be made to work?
Is this correct enough for being added to lgi/override/GLib.lua?

local core = require("lgi.core")
local ti = require("lgi.ffi").types
local dir = require("lgi").GLib.Dir
local glib_module = core.module("glib-2.0")

-- Add GLib.dir.open() and use it as the constructor for dirs
dir._method.open = core.callable.new {
	name = "GLib.Dir.open",
	addr = assert(glib_module.g_dir_open),
	ret = dir,
	-- Arguments
	ti.filename,
	ti.int,
	-- TODO: Third argument is GError**, how? Is the following correct?
	throws = true
}
dir._new = function(_, path) return dir._method.open(path, 0) end

-- We don't want no memory leaks
-- TODO: According to valgrind, this does not work
dir._free = dir.close

-- Test if this works
local d = dir("/tmp")
repeat
	local f = d:read_name()
	print(f or "<done>")
until f == nil

print("Does not exist:")
print(dir("does not exist"))

Thanks,
Uli
Edit: I just wondered: Would it make sense to have something like the following available as lgi.GLib.something?
function iterate_over_dir(path)
	local dir, err = dir(path)
	if err then error(err) end
	return dir.read_name, dir
end
for file in iterate_over_dir("/tmp") do
	print(file)
end

Hi,

On 27 Apr 2016, at 11:28, Uli Schlachter<EMAIL_ADDRESS>wrote:
Hi,
I'm trying to access g_dir_open, but I haven't found it anywhere accessible. Thus, I came up with the following.
Some questions:
Is the code for g_dir_open correct?
Yes, perfect.
Why does the code for using g_dir_close as on garbage collection not work? How can it be made to work?
_free expects either lightuserdata with raw pointer to C function, or gi.c’s userdata with method definition.  I guess that in your case, you can use something like core.gi.GLib.Dir.methods.close (see GLib-Variant.lua override for reference).
Is this correct enough for being added to lgi/override/GLib.lua?
Yes it is correct.  However, I’m a bit reluctant to add more hacks for ancient GLib facilities functionally replaced by binding-friendly Gio.  Is there any problem with Gio.File and Gio.FileEnumerator that make it unusable for your task?

Pavel

local core = require("lgi.core")
local ti = require("lgi.ffi").types
local dir = require("lgi").GLib.Dir
local glib_module = core.module("glib-2.0")
-- Add GLib.dir.open() and use it as the constructor for dirs
dir._method.open = core.callable.new {
name = "GLib.Dir.open",
addr = assert(glib_module.g_dir_open),
ret = dir,
-- Arguments
ti.filename,
ti.int,
-- TODO: Third argument is GError**, how? Is the following correct?
throws = true
}
dir.new = function(, path) return dir._method.open(path, 0) end
-- We don't want no memory leaks
-- TODO: According to valgrind, this does not work
dir._free = dir.close
-- Test if this works
local d = dir("/tmp")
repeat
local f = d:read_name()
print(f or "")
until f == nil
print("Does not exist:")
print(dir("does not exist"))
Thanks,
Uli
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub https://github.com/pavouk/lgi/issues/135

The only problem I have with Gio.File and Gio.FileEnumerator is that I didn't find them. For some reason I only looked into glib. Thanks for the pointer!
Closing this since a better solution exists.

Is there any problem with Gio.File and Gio.FileEnumerator that make it unusable for your task?

Well, https://github.com/pavouk/lgi/issues/88, as far as I know (I did not test with 0.9 yet) is still a big issue (to me and many other Awesome users). It happens when there is multiple layers of recursive async calls, then LGI has a significant chance of crashing with an use after free. Last time I tried, it could still be reproduced using any of the "demo" from my https://github.com/Elv13/wirefu library (a wrapper to make dbus easier to use). The issue has also been reported by people who forked this to use it in their LGI project. I use it, but it is only stable as long as there is no recursive calls. My workaround is to queue them using GMainLoop run_idle. I know it is an heisenbug and is hard to reproduce and debug, it will happen, eventually (unless you fixed it and I failed to notice).

None of the demos in wirefu crash for me here. I'll try some other recursive async calls, somehow....


Removed copy in operator[]

Made the operator[] take in a const ref int instead of just a const int to prevent a copy. Using this operator shouldn't be as expensive now.

Great, merge it and make another release on the Releases page


new king of the hill

DomainMapping is the new king of the hill

@salaboy now we are using Domainmapping and no need to create other path for contour


Ghost Installation Error. Missing Handlebars/bin directory?

Following the installation guide at http://support.ghost.org/installing-ghost-mac/, I ran into the following problems on the step of installing ghost:
Seans-MacBook-Pro:ghost-0.5.9 Sean$ npm install --production
npm WARN package.json<EMAIL_ADDRESS>No README data
npm ERR! Error: ENOENT, chmod '/Users/Sean/ghost-0.5.9/node_modules/handlebars/bin/handlebars'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>

npm ERR! System Darwin 14.1.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "--production"
npm ERR! cwd /Users/Sean/ghost-0.5.9
npm ERR! node -v v0.10.36
npm ERR! npm -v 1.4.28
npm ERR! path /Users/Sean/ghost-0.5.9/node_modules/handlebars/bin/handlebars
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /Users/Sean/ghost-0.5.9/npm-debug.log
npm ERR! not ok code 0
...
Seans-MacBook-Pro:node_modules Sean$ cd handlebars
Seans-MacBook-Pro:handlebars Sean$ ls
LICENSE		coverage	package.json	runtime.js

It appears there is a missing bin directory in the handlerbars npm_module directory. But as I'm green to Node, my searches online for a resolution to this came up empty.

I might be wrong -again- but it smells like an npm issue to me. Based on
http://stackoverflow.com/questions/15482658/mac-npm-erroring-with-enoent
npm cache clean
or if installed under su
sudo npm cache clean

@letsjustfixit Does that mean you've resolved this on your own then? I'm going to close it under that assumption, just let me know if I'm mistaken :+1:


Remove deprecated methods

Fixes #281

Codecov Report

Merging #282 (43c7f44) into main (81348d2) will decrease coverage by 0.01%.
The diff coverage is 96.87%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main     #282      +/-   ##
==========================================
- Coverage   73.11%   73.10%   -0.01%
==========================================
  Files         174      174
  Lines       22807    22804       -3
==========================================
- Hits        16675    16672       -3
  Misses       6132     6132

Impacted Files
Coverage Δ

src/many-migration/tests/migrations.rs
94.30% <96.42%> (+0.11%)
:arrow_up:

src/many-migration/src/lib.rs
67.63% <100.00%> (-1.28%)
:arrow_down:

src/many-identity/src/cose.rs
81.63% <0.00%> (-8.17%)
:arrow_down:

src/many-protocol/src/request.rs
64.51% <0.00%> (-0.81%)
:arrow_down:

src/many-identity-webauthn/src/verifier.rs
97.15% <0.00%> (+0.28%)
:arrow_up:

src/many-kvstore/src/module/account.rs
87.77% <0.00%> (+0.43%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Support 7.x (single doc type per index)

Hello
I've been using this against ES 7.3, and I noticed a few errors during replication. These errors are related to breaking changes in 7.x. ES put mapping deprecates doc_type in mapping, and will only accept mapping for a single type.
However, looking at https://github.com/yougov/elastic-doc-manager/blob/master/mongo_connector/doc_managers/elastic_doc_manager.py#L229, I see a bigger problem. Going forward, since each ES index is now not a database, but a collection of documents of given type (like a table), the mental mapping has changed.
Before
-------
MongoDB coll > ES doc_type
MongoDB db > ES index

Now
-----
MongoDB coll > ES index
MongoDB db > ???

i.e We cannot simply solve the problem by creating an abstraction of a db, and doc_types are going away in ES 8.x.
Proposal
Map MongoDB collection to ES index, and map MongoDB db to a __db field in the ES index. Creating _db is therefore equivalent to putting a mapping of the form
PUT /{{collectionName}}
{
   "__db": { "type": "keyword"},
   ...
}

When DB is deleted, use https://www.elastic.co/guide/en/elasticsearch/reference/7.3/docs-delete-by-query.html to delete docs.
I can work on a PR for this, please let me know if this is a good idea going forward.

Update: I just realized this issue belongs to elastic2-doc-manager. Closing.


Set mousetype to usb

Currently ppc64le image builds are failling because mousetype defaults to ps2.
Change it to usb
Signed-off-by: Troy Dawson<EMAIL_ADDRESS>

LGTM, let's merge and that can be applied on stream infra to give it a try.
@bstinsonmhk do you want to kick the role there ? or can I kick it ?


assignemnt 2 python completion

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
I added required code pieces to complete assignment 2 for the python module
What did you learn from the changes you have made?
It becomes more complicated. However, it was exciting to learn about how to read files and work with files, and process files.
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
There are other potential ways to complete these assignments, but the code might also be longer.
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
Yes, I had most difficulties with the first part of the assignment. One of the biggest challenges was to actually understand what is asked.
How were these changes tested?
I split all tasks in small pieces of code and tested small blocks, one at a time and re-visited lectures to get more tips which were very helpful.
A reference to a related issue in your repository (if applicable)
Checklist

[YES ] I can confirm that my changes are working as intended
(when tested on my desktop with all_paths paths set to local paths on my desktop)

Hi, I checked your assignment, in the data summarization task, you are supposed to use numpy, for example!
implement the specific operation based on the 'operation' argument
if operation == 'mean':
    summary_values = np.mean(data, axis=ax)

Added modifications based on Sidra's comment on the 1st submission


Use CFLAGS if set as-is, match CXXFLAGS behavior

Since 2c937116cc0dcd9b26b6070e89a3dc5dcbedc2ae, CXXFLAGS is used as-is if set in the envionment rather than clobbered by whatever CPython happened to be built with.
Do the same for CFLAGS: use it as-is if set in the environment, don't prepend CPython's saved flags.
Fixes: https://github.com/pypa/distutils/issues/299

That's weird - I'm using the "new merge experience", and it wasn't running the checks for the PR, even after force-pushing the changes after rebasing to main (I didn't want the other commit in there) and pushing a nitpicky linter fix. I had to go to the actions and manually approve the PR there. I guess the new merge experience still needs some work.

Thanks @jaraco! (I haven't yet used the new merge experience, sounds like it's a good thing I've left it...)


Dockerized chroma arguments customization

Description of changes
Summarize the changes made by this PR.

New functionality

Added an ability to customize the default arguments that are passed from docker run or docker compose command field to uvicorn chromadb.app:app. I needed it to be able to customize the port because in certain scenarios it cannot be change (i.e. ECS where internal port is proxies as is). The default arguments are not changed: --workers 1 --host <IP_ADDRESS> --port 8000 --proxy-headers --log-config chromadb/log_config.yml --timeout-keep-alive 30

Test plan
How are these changes tested?

Tested locally using docker build and docker run commands
Tested customization in docker-compose - now it works as expected.

Documentation Changes
Are all docstrings for user-facing APIs updated if required? Do we need to make documentation changes in the docs repository?
TODO: Deployment docs needs to be updated to cover container arguments customization.

@tazarov I roll-backed bash related changes and answered the concern regarding docker-entrypoint.sh. Please check

@MrZoidberg, the test are failing as the new Docker image does not expect uvicorn command but only params:
Can you also update those two files, to align with the docker-compose.yaml changes:

docker-compose.test.yml
docker-compose.test-auth.yml

@tazarov done

@tazarov done

@MrZoidberg, thank you. I still feel uneasy about whether the changes in Docker can cause troubles for user deployments.
Here is my reasoning:
Today, Chroma is used across 100s of thousands of deployments varying from public to private. It is not unreasonable to think that some of those deployments will have their own docker-compose files with the uvicorn command. All these deployments will get an error when they pull in the new Chroma image.
So, let's step back for a second and re-evaluate. I have this idea to keep the backward compatibility; We can check if the first argument passed to docker_entrypoint.sh is unicorn and, if so, shift args by 1.
The test result would be that running docker-compose with the new docker-compose.yaml and the old one should not yield an error (like we've seen in the failing tests before you updated the test compose files).
I would also suggest adding a deprecation warning in the event unicorn is the first arg.
@MrZoidberg, what do you think?

@tazarov a bit busy. I can do that surely. Plz note that currently custom CMD in docker-compose just don't work at all - that's the first I checked when I faced the problem with port. Will do this change in upcoming days.

@tazarov hi, I've updated the docker entrypoint script to work with args that start with uvicorn correctly but produce a warning.
Please check if that's what you expect. Thanks!

@MrZoidberg, thanks for all your patience and persistence with this. Let me run some local tests, and then I think we should be good to go.

Test the following:

docker run --rm --name chromadb -p 8001:8000 -v ./chroma:/chroma/chroma -e IS_PERSISTENT=TRUE -e ANONYMIZED_TELEMETRY=TRUE chroma-unvironless
docker run --rm --name chromadb -p 8001:8000 -v ./chroma:/chroma/chroma -e IS_PERSISTENT=TRUE -e ANONYMIZED_TELEMETRY=TRUE chroma-unvironless uvicorn chromadb.app:app --workers 1 --host <IP_ADDRESS> --port 8000 --proxy-headers --log-config chromadb/log_config.yml --timeout-keep-alive 30
docker compose with command: "uvicorn chromadb.app:app --workers 1 --host <IP_ADDRESS> --port 8000 --proxy-headers --log-config chromadb/log_config.yml --timeout-keep-alive 30
docker compose with command: "--workers 1 --host <IP_ADDRESS> --port 8000 --proxy-headers --log-config chromadb/log_config.yml --timeout-keep-alive 30"

All seems to be working fine. The warning is raised as expected when uvicorn is used in the command.

Thanks. Waiting for the merge and gonna replace my custom-build image with the official one.

Thank you @MrZoidberg!


update isce3 to unconstrain build

fixes #425

This is blocked by rasterio not being available for GDAL 3.6 yet. Once it is, this workflow should pass when rerunning it.

Integrated into #443


change audit service resources in CR

Audit service resources did not match what was in values.yaml

@bitscuit we should update values.yaml as well

The values.yaml already had the right resource settings for audit-service


dropdownClosed not firing

Has anyone else noticed that dropdownClosed not firing when clicking away from dropdown?
It only seems to fire when closing via clicking on the multi-select list itself.

drop down can't be closed when click outside of it.

I haven't noticed. It works in my implementations.

It looks like it only fires if you click on the dropdown itself to close it, but not if you click outside it somewhere else on the page.
I do not see this.dropdownClosed.emit() in this method:
@HostListener('document: click', ['$event.target'])
  onClick(target: HTMLElement) {
    let parentFound = false;
    while (target != null && !parentFound) {
      if (target === this.element.nativeElement) {
        parentFound = true;
      }
      target = target.parentElement;
    }
    if (!parentFound) {
      this.isVisible = false;
    }
  }

Maybe I'm reading this wrong, but I believe adding that line after this.isVisible = false would solve this.