haskell.compiler.ghc822Binary: propagate llvm dependency

Fixes the following error when attempting to build packages using this
compiler:
  <no location info>: error:
      Warning: Couldn't figure out LLVM version!
               Make sure you have installed LLVM 3.9

  <no location info>: error: ghc: could not execute: opt

I don't know why this worked before, but it seems an appropriate fix.
Motivation for this change
Motivation is to make ghc build on aarch64. Fixes #80176
Things done

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

[x] NixOS (aarch64 only)
[ ] macOS
[ ] other Linux distributions

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

/cc ZHF #80379

cc @Ericson2314 and @matthewbauer.  I think you guys use GHC on alternative architectures, so hopefully you'll know whether this is a reasonable fix.

@cdepillabout should this target haskell-updates since it's haskell related?

@disassembler We often ask that changes to stuff in pkgs/development/haskell-modules/ go to the haskell-updates branch, but we're not as strict about changes to pkgs/development/compilers/ghc.  Let's wait and see what @Ericson2314 / @matthewbauer / @peti have to say about this PR.
That said, rebasing this on haskell-updates wouldn't be a problem for us.

Looks good to me.
From past experience, not using the "blessed" llvm version is likely (but not guaranteed, hence the warning) to work, especially if using a later version of llvm. Testing this PR, I have successfully built a working ghc865 on aarch64. I think this probably means that it's ok to ignore the warning on the basis that:

GHC is a fairly large and complex haskell package: The fact that we can build it is a reasonably good test of whether the GHC with mismatched llvm is functional.
We are slightly distanced from the mismatched ghc+llvm because while it was used to compile ghc865, ghc865 has it's own, correct, version of llvm.

I still can't see exactly what changed/why it worked without propagating llvm before. Is it possible that the ghc822Binary was able to function because it was finding the opt and llc binaries from the buildInputs of the package it was building? That might make sense for building ghc865, which has llvm in its buildInputs, but I can't see why the hscolour build would have opt and llc in its system path if not propagated from ghc822Binary.
Let me know if there's anything else you'd like me to test with said build of ghc865.

Looks like the other (compiled from source) ghc packages add llvm to depsBuildTarget. Would that be an appropriate place to put it for ghc822Binary too?

@peti I'm not sure if I've understood correctly. Are you suggesting that packages which depend on ghc822Binary should be responsible for adding llvm to their buildInputs instead (on platforms where it's required)?

Yes, that's my understanding of the comment.

It's an unusual situation, in that ghc822Binary is only really there to bootstrap other GHC builds, but isn't it a bit odd to have a compiler package which can't compile anything on its own?
Is it even possible to make hscolour depend on llvm when built by ghc822Binary on aarch64?

Certainly sounds possible to me.

I don't think that propagatedBuildInputs is the right place to add llvm. I'd prefer if those builds that need LLVM (on certain) platforms express that dependency explicitly.

It's my understanding that the builds that need LLVM are exactly "things built with ghc822Binary on arm". On current master, for example, trying to build a basic Haskell hello world without nix:
$ cat Test.hs
main = putStrLn "Hello, World!"

$ nix run -f . haskell.compiler.ghc822Binary -c ghc -c ./Test.hs
# [ trimmed warnings ]
<no location info>: error:
    Warning: Couldn't figure out LLVM version!
             Make sure you have installed LLVM 3.9
ghc: could not execute: opt

It seems to be a runtime dependency of ghc resolved via PATH. propagatedBuildInputs doesn't exactly capture that. In general it's the kind of thing that would go in a wrapper, is that safe to to apply here?

My motivation for opening this was to restore ghc on aarch64 by fixing its bootstrap ghc. Since the version of ghc in current master (8.8.x) no longer bootstraps via ghc822Binary there's not as much to be gained by fixing ghc822Binary on aarch64. Should I go ahead and close this, even though it remains broken? If not, how can we progress this?

It would be a shame not to have a working aarch64 GHC in 20.03. In the absence of a more 'correct' solution, would it make sense to put this into 20.03, but not into master?

This objection is silly to me. All of the non-bootstrap GHCs have LLVM (optionally) in propagatedBuildInputs. Maybe it's good, maybe it's bad, but it's certainly consistent, and consistency is good. Let's make it consistent and then make it better.

I pushed a small tweak to make it have a structure closer to the non-bootstrap compilers.

All of the non-bootstrap GHCs have LLVM (optionally) in propagatedBuildInputs. Maybe it's good, maybe it's bad, but it's certainly consistent, and consistency is good. Let's make it consistent and then make it better.

I'd prefer we make it better. propagatedBuildInputs is not the right place for LLVM. If a platform requires that compiler, then the dependency should be configured in the generic builder, not in the compiler.

@peti I agree that it would be great for it to be made better, but I think it is somewhat out of scope for this PR.
I think it is reasonable to merge this in as-is (since it appears to just be making things consistent), and then correct all these uses of LLVM in a future PR.

I guess we can close this PR since the change is now part of #83164 and will be merged into master next Friday.

I think this PR is updating ghc822Binary, while https://github.com/NixOS/nixpkgs/pull/83048 is doing the same for ghc865Binary.  It looks like https://github.com/NixOS/nixpkgs/pull/83048 has already been merged into haskell-updates, but this PR would still need to be merged in.
@thefloweringash Is this correct?

I think this PR is updating ghc822Binary, while #83048 is doing the same for ghc865Binary. It looks like #83048 has already been merged into haskell-updates, but this PR still needs to be merged in.
@thefloweringash Is this correct?

Yep. I've been chasing the bootstrap compiler to bring ghc back to aarch64. On current master that's ghc865Binary which is now part of haskell-updates from #83048. For release-20.03 it's ghc822Binary which is this PR. If this is merged, we should back port it to that 20.03.

@GrahamcOfBorg build haskell.compiler.ghc865

This PR doesn't affect linux nor darwin, so it's safe to merge into master. In current state it can't make aarch64 worse.

It's bad on Hydra.  "output limit exceeded" (reproducibly), but I have no idea why.  On the test machine the exact same path isn't too big
vcunat@aarch64 ~> du -hs /nix/store/lk2562jayhrz47j8xg4sviigq2dc6mpw-ghc-8.6.5-binary
727M    /nix/store/lk2562jayhrz47j8xg4sviigq2dc6mpw-ghc-8.6.5-binary

so it doesn't look the same as issue #66277 – and BTW compiled ghc865 builds fine (still with the hack that deletes docs to fit under 2G).

Uh, it creates files with huge holes?  :face_with_head_bandage:
[vcunat@aarch64:~]$ du -hs /nix/store/lk2562jayhrz47j8xg4sviigq2dc6mpw-ghc-8.6.5-binary/lib/ghc-8.6.5/ghc-8.6.5/libHSghc-*
78M     /nix/store/lk2562jayhrz47j8xg4sviigq2dc6mpw-ghc-8.6.5-binary/lib/ghc-8.6.5/ghc-8.6.5/libHSghc-8.6.5.a
56M     /nix/store/lk2562jayhrz47j8xg4sviigq2dc6mpw-ghc-8.6.5-binary/lib/ghc-8.6.5/ghc-8.6.5/libHSghc-8.6.5-ghc8.6.5.so
102M    /nix/store/lk2562jayhrz47j8xg4sviigq2dc6mpw-ghc-8.6.5-binary/lib/ghc-8.6.5/ghc-8.6.5/libHSghc-8.6.5_p.a

[vcunat@aarch64:~]$ du -hs /nix/store/lk2562jayhrz47j8xg4sviigq2dc6mpw-ghc-8.6.5-binary/lib/ghc-8.6.5/ghc-8.6.5/libHSghc-* --apparent-size
215M    /nix/store/lk2562jayhrz47j8xg4sviigq2dc6mpw-ghc-8.6.5-binary/lib/ghc-8.6.5/ghc-8.6.5/libHSghc-8.6.5.a
147M    /nix/store/lk2562jayhrz47j8xg4sviigq2dc6mpw-ghc-8.6.5-binary/lib/ghc-8.6.5/ghc-8.6.5/libHSghc-8.6.5-ghc8.6.5.so
285M    /nix/store/lk2562jayhrz47j8xg4sviigq2dc6mpw-ghc-8.6.5-binary/lib/ghc-8.6.5/ghc-8.6.5/libHSghc-8.6.5_p.a

I moved my today's (confused) comments to a better thread: #66277


Increate KafkaJS producer default retry

KafkaJs use a default retry = 5, which is extremely small for any internet intermittent issues. The default settings in Java client / Kafka doc in contrast, use MAX_INT as the default value (and they explained why that is the case / recommended value in production). It would make the configs consistent if KafkaJS could follow the same convention. Especially for teams managing interactions with all kinds of Kafka clients for Enterprise.
Ofc, in the end, this is a decision that has to be made by KafkaJS. But IMHO, it would be great that we could follow a consistent convention across different libs to ease communication and minimize surprises in production environments.

I believe you can specify what that value should be. The real problem with the the retry counter is that it never resets and applies to all errors regardless if they were successfully retried or not.


Use CSS variables in viewer.css

In order to make re-skinning the viewer easier, we should look into starting to use CSS variables in viewer.css. Not only does this reduce duplication, it also allows us and other users to more easily change the appearance of the viewer.
There is the option of using something like https://github.com/jhildenbiddle/css-vars-ponyfill in GENERIC builds to rewrite CSS variables at runtime so we don't need to preprocess the CSS. If that doesn't work, using PostCSS is a possibility since we already use it. Either way, we need to make sure that CSS variables also work for older browsers that we still support.

I would like to work on this issue

Sure, go ahead. Start simple though because we first need to know if the ponyfill approach will work cross-browser.

@timvandermeij I would love to work on this issue . Can you please explain me what needs to be done here?

Can you please explain me what needs to be done here?

Please see https://github.com/mozilla/pdf.js/issues/11462#issue-544365487 and https://github.com/mozilla/pdf.js/issues/11462#issuecomment-571328948.


Simplify README

The setup instructions in the README are quite long and complicated, and should be simplified.

I think that part of what makes the instructions long is that they specify generic steps for setting up the Python environment, such as using virtualenv and installing Python itself in Windows. There are also instructions for specific tools such as c9 or Pycharm.
I think these steps are redundant. Developers should know the generic steps for setting up a Python development environment and their favorite editor on their computer, and the README should only contain the instructions which are specific for deploying Anyway. What do you think?

Its tricky because we have different levels of developers, quite a few of them rather novice. Installing Python on Windows for example for people who already have Python 3 installed requires handling the Path and more annoying stuff.
Maybe we can think of a modular explanation something like: if you have Python 2 installed you can skip this section ect.

I agree that for any given developer, most of the README is completely
redundant and just making it harder to find the relevant part to that
developer. Maybe we could have a wiki or separate documentation for less
experienced developers, with links to the relevant pages from the main
README, instead of putting it all in one document.
On Tue, Sep 5, 2017 at 3:04 PM Simona Holstein<EMAIL_ADDRESS>wrote:

Its tricky because we have different levels of developers, quite a few of
them rather novice. Installing Python on Windows for example for people who
already have Python 3 installed requires handling the Path and more
annoying stuff.
Maybe we can think of a modular explanation something like: if you have
Python 2 installed you can skip this section ect.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/hasadna/anyway/issues/601#issuecomment-327155378, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAQEw5b8Rz-DJix7kWIzkUOQ5AH_9gj3ks5sfTjWgaJpZM4IpCKM
.

Wiki sounds like a good idea, and is available on github, so, only left to implement :-)


Ctrl+Z (and Cmd+Z) in the compose post modal

Closing this as it was implemented by the Bluesky team.


feat: 🎸 Add lambda_role_permissions_boundary variable for iam

Once again, thanks for the work on the project! Just some more tweaks to build out some of the options for the module to allow it to be more flexible, as I also try to make it accommodate our workflows and what we need for it.
This allows a permission boundary
to be optionally set if needed for the aws_iam_role used for lambdas.

Released in v0.5.2.

Released in v0.5.2.


Necessary import?

I noticed Source/Scene/Globe.js is importing Material.js but isn't using it in the code aside from referring to it in the doc comments. This is causing lots of code to be included in my builds unnecessarily...
Would a pull request removing this import be welcome?

Thanks @puckey, yes it looks like that can be removed.  Feel free to open a PR removing that and any other unnecessary requires.  We usually go through maybe once a year and clean that up, but it's been a little while


MNT: Update pinned versions.

Hi! This is the friendly conda-forge-admin automated user.
I've bumped some of the conda-forge pinned versions, and noticed that it impacts this feedstock.
If the changes look good, then please go ahead and merge this PR.
If you have any questions about the changes though, please feel free to ping the 'conda-forge/core' team (using the @ notation in a comment).
Thanks!

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge/core  This is still not correct. See https://github.com/conda-forge/conda-forge.github.io/pull/255 and https://github.com/conda-forge/conda-forge.github.io/pull/256 for related issues.

Sorry @krischer . No one has had time to look at fixing this. Maybe we should look at turning the pinning bot off until it can be fixed. At a bare minimum, we can leave this PR open so that the bot will just update this one and not create a new one.

No problem for me at all.
I think this PR of mine would fix the problem but as written there I did not test it: https://github.com/conda-forge/conda-forge.github.io/pull/256

It's the friendly automated conda-forge-admin here again.
Just to let you know, I've updated this PR so that it has the latest pinned versions.
If there are no problems with it, please consider merging this PR.
If there are concerns about it, please ping the 'conda-forge/core' team (using the @ notation in a comment).
Thanks!

@conda-forge/core Just FYI: This still does not work. Is it useful for you if I ping you each time this happens?

@conda-forge/core Just FYI: This still does not work. Is it useful for you if I ping you each time this happens?

It is. Do not worry about the noise. (Otherwise we forget :smile:)
@pelson is probably quite busy settling down so I am not sure if he will have time to check https://github.com/conda-forge/conda-forge.github.io/pull/256
I will take another look at it next week so we can move forward with this.

It's the friendly automated conda-forge-admin here again.
Just to let you know, I've updated this PR so that it has the latest pinned versions.
If there are no problems with it, please consider merging this PR.
If there are concerns about it, please ping the 'conda-forge/core' team (using the @ notation in a comment).
Thanks!

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge/core: Much better this time around but still not really working ;-)

It's the friendly automated conda-forge-admin here again.
Just to let you know, I've updated this PR so that it has the latest pinned versions.
If there are no problems with it, please consider merging this PR.
If there are concerns about it, please ping the 'conda-forge/core' team (using the @ notation in a comment).
Thanks!

@conda-forge/core Its getting close but its still not fully working ;-)

It's the friendly automated conda-forge-admin here again.
Just to let you know, I've updated this PR so that it has the latest pinned versions.
If there are no problems with it, please consider merging this PR.
If there are concerns about it, please ping the 'conda-forge/core' team (using the @ notation in a comment).
Thanks!

It's the friendly automated conda-forge-admin here again.
Just to let you know, I've updated this PR so that it has the latest pinned versions.
If there are no problems with it, please consider merging this PR.
If there are concerns about it, please ping the 'conda-forge/core' team (using the @ notation in a comment).
Thanks!


[FLOC-957] Add AWS acceptance test runner.

https://clusterhq.atlassian.net/browse/FLOC-957

Thanks @tomprince
I haven't been able to test this yet. @exarkun is working out how I can manage my own AWS access_key etc.
Meanwhile, I've left some comments above, which I think need addressing.
Please then resubmit for another (final) review.

I know it's not back up for review, but this morning I've tried running the tests with some success.
The tests run, but there are errors in the linking tests...which I think is due to me choosing the wrong security_groups.
Here's my config:
(957)(aws-acceptance-FLOC-957 ? =)[~/.../HybridLogic/flocker]$ cat aws.config
aws:
  region: "us-west-2"
  access_key: "###"
  secret_access_token: "###"
  keyname: "FLOC-957"
  security_groups: ["acceptance"]
metadata:
  creator: "richardw"

And here's the output:
flocker.acceptance.test_deployment
  DeploymentTests
    test_application_volume_quotas ...                                     [OK]
    test_application_volume_quotas_changed ...                             [OK]
    test_deploy ...                                                        [OK]
flocker.acceptance.test_environment_variables
  EnvironmentVariableTests
    test_deploy ...                                                        [OK]
    test_environment_variable_used ...                                  [ERROR]
                                 [ERROR]
    test_moving_data ...                                                [ERROR]
                                               [ERROR]
    test_moving_mysql ...                                                  [OK]
flocker.acceptance.test_linking
  LinkingTests
    test_deploy ...                                                        [OK]
    test_elasticsearch_empty ... No handlers could be found for logger "elasticsearch"
                                       [ERROR]
                                       [ERROR]
    test_kibana_connects_es ...                                       [SKIPPED]
    test_logstash_messages_in_elasticsearch ... Exception AttributeError: "'Service' object has no attribute 'process'" in <bound method Service.__del__ of <selenium.webdriver.phantomjs.service.Service object at 0x4273f90>> ignored
                        [ERROR]
                        [ERROR]
    test_moving_data ...                                                [ERROR]
                                               [ERROR]
    test_moving_just_elasticsearch ...                                     [OK]
flocker.acceptance.test_moving_applications
  MovingApplicationTests
    test_moving_application ...                                            [OK]
flocker.acceptance.test_moving_data
  MovingDataTests
    test_moving_data ...                                                [ERROR]
                                               [ERROR]
flocker.acceptance.test_ports
  PortsTests
    test_deployment_with_ports ...                                         [OK]
    test_mongo_accessible ...                                              [OK]
    test_traffic_routed ...                                                [OK]
flocker.acceptance.test_postgres
  PostgresTests
    test_deploy ...                                                        [OK]
    test_moving_postgres ...                                               [OK]
    test_moving_postgres_data ...                                       [ERROR]
                                      [ERROR]

===============================================================================
[SKIPPED]
PhantomJS must be installed.

flocker.acceptance.test_linking.LinkingTests.test_kibana_connects_es
===============================================================================
[ERROR]
Traceback (most recent call last):
Failure: twisted.internet.defer.TimeoutError: <flocker.acceptance.test_environment_variables.EnvironmentVariableTests testMethod=test_environment_variable_used> (test_environment_variable_used) still running at 120.0 secs

flocker.acceptance.test_environment_variables.EnvironmentVariableTests.test_environment_variable_used
===============================================================================
[ERROR]
Traceback (most recent call last):
Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean.
DelayedCalls: (set twisted.internet.base.DelayedCall.debug = True to debug)
<DelayedCall 0x441bb48 [0.0582237243652s] called=0 cancelled=0 Deferred.callback(None)>

flocker.acceptance.test_environment_variables.EnvironmentVariableTests.test_environment_variable_used
===============================================================================
[ERROR]
Traceback (most recent call last):
Failure: twisted.internet.defer.TimeoutError: <flocker.acceptance.test_environment_variables.EnvironmentVariableTests testMethod=test_moving_data> (test_moving_data) still running at 120.0 secs

flocker.acceptance.test_environment_variables.EnvironmentVariableTests.test_moving_data
===============================================================================
[ERROR]
Traceback (most recent call last):
Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean.
DelayedCalls: (set twisted.internet.base.DelayedCall.debug = True to debug)
<DelayedCall 0x45b71b8 [0.0994298458099s] called=0 cancelled=0 Deferred.callback(None)>

flocker.acceptance.test_environment_variables.EnvironmentVariableTests.test_moving_data
===============================================================================
[ERROR]
Traceback (most recent call last):
Failure: twisted.internet.defer.TimeoutError: <flocker.acceptance.test_linking.LinkingTests testMethod=test_elasticsearch_empty> (test_elasticsearch_empty) still running at 120.0 secs

flocker.acceptance.test_linking.LinkingTests.test_elasticsearch_empty
===============================================================================
[ERROR]
Traceback (most recent call last):
Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean.
DelayedCalls: (set twisted.internet.base.DelayedCall.debug = True to debug)
<DelayedCall 0x45969e0 [0.0990068912506s] called=0 cancelled=0 Deferred.callback(None)>

flocker.acceptance.test_linking.LinkingTests.test_elasticsearch_empty
===============================================================================
[ERROR]
Traceback (most recent call last):
Failure: twisted.internet.defer.TimeoutError: <flocker.acceptance.test_linking.LinkingTests testMethod=test_logstash_messages_in_elasticsearch> (test_logstash_messages_in_elasticsearch) still running at 120.0 secs

flocker.acceptance.test_linking.LinkingTests.test_logstash_messages_in_elasticsearch
===============================================================================
[ERROR]
Traceback (most recent call last):
Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean.
DelayedCalls: (set twisted.internet.base.DelayedCall.debug = True to debug)
<DelayedCall 0x46973f8 [0.099081993103s] called=0 cancelled=0 Deferred.callback(None)>

flocker.acceptance.test_linking.LinkingTests.test_logstash_messages_in_elasticsearch
===============================================================================
[ERROR]
Traceback (most recent call last):
Failure: twisted.internet.defer.TimeoutError: <flocker.acceptance.test_linking.LinkingTests testMethod=test_moving_data> (test_moving_data) still running at 120.0 secs

flocker.acceptance.test_linking.LinkingTests.test_moving_data
===============================================================================
[ERROR]
Traceback (most recent call last):
Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean.
DelayedCalls: (set twisted.internet.base.DelayedCall.debug = True to debug)
<DelayedCall 0x46efd40 [0.0825879573822s] called=0 cancelled=0 Deferred.callback(None)>

flocker.acceptance.test_linking.LinkingTests.test_moving_data
===============================================================================
[ERROR]
Traceback (most recent call last):
Failure: twisted.internet.defer.TimeoutError: <flocker.acceptance.test_moving_data.MovingDataTests testMethod=test_moving_data> (test_moving_data) still running at 120.0 secs

flocker.acceptance.test_moving_data.MovingDataTests.test_moving_data
===============================================================================
[ERROR]
Traceback (most recent call last):
Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean.
DelayedCalls: (set twisted.internet.base.DelayedCall.debug = True to debug)
<DelayedCall 0x486ebd8 [0.0607409477234s] called=0 cancelled=0 Deferred.callback(None)>

flocker.acceptance.test_moving_data.MovingDataTests.test_moving_data
===============================================================================
[ERROR]
Traceback (most recent call last):
Failure: twisted.internet.defer.TimeoutError: <flocker.acceptance.test_postgres.PostgresTests testMethod=test_moving_postgres_data> (test_moving_postgres_data) still running at 120.0 secs

flocker.acceptance.test_postgres.PostgresTests.test_moving_postgres_data
===============================================================================
[ERROR]
Traceback (most recent call last):
Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean.
DelayedCalls: (set twisted.internet.base.DelayedCall.debug = True to debug)
<DelayedCall 0x4a09d40 [0.0989089012146s] called=0 cancelled=0 Deferred.callback(None)>

flocker.acceptance.test_postgres.PostgresTests.test_moving_postgres_data
-------------------------------------------------------------------------------
Ran 21 tests in 1888.881s

FAILED (skips=1, errors=14, successes=13)
Destroying acceptance-test-richardw-0
Destroying acceptance-test-richardw-1

I forgot to add phantomjs to my local path, but I don't think that accounts for the test failures.
I should have used the --keep option so that could test the firewall on the aws nodes....but I'll wait to hear from you before attempting again.

We think the timeout failures above were simply because the acceptance tests take so long to run...not related to anything in this branch.
@tomprince reports seeing the same errors when running the acceptance tests on rackspace nodes.
In which case I think this should be merged and further improvements and refactoring done in the followup Digitalocean test runner https://clusterhq.atlassian.net/browse/FLOC-958.
Note @adamtheturtle 's comment about removing the link from https://github.com/ClusterHQ/flocker/blob/master/docs/gettinginvolved/infrastructure/release-process.rst#post-release-review-process


Make the CI witnesses distribute to CI distributor

This fixes the current problem, which is that they are trying to distribute to prod. I don't like that the URL will be api.transparency.dev/distributor-ci/distributor/v0/... but deduplicating that will require a lot more work throughout the omniwitness codebase.

Would api.transparency.dev/ci/ work as a prefix for all things CI?
I think the loadbalancer might also do a bit of path rewriting if need be using pathMatcher rather than path rules: https://cloud.google.com/load-balancing/docs/url-map-concepts#wildcards-regx-dynamic-route

Switched to api.transparency.dev/ci/distributor/v0/... here, and in the URL mapping in https://github.com/transparency-dev/armored-witness-applet/pull/225


Preview mode can specify outDir through cli

Documentation is

[X] Missing
[ ] Outdated
[ ] Confusing
[ ] Not sure?

Explain in Detail
As the title says, outDir can be specified in preview mode, but there is no relevant description in the chapter about preview options in the document. Is it possible to add instructions for using this option in the documentation?
https://github.com/vitejs/vite/blob/34826aae015ed16dc9b9096c0f778154ca6981a6/packages/vite/src/node/cli.ts#L335
Your Suggestion for Changes
Instructions for passing values of related options can be added.
Reproduction
https://vitejs.dev/config/preview-options.html
Steps to reproduce
No response

outDir is passed to build.outDir. It's not preview.outDir.
https://github.com/vitejs/vite/blob/a1ebc50b50164b75febe4408ac72e98d35b161b5/packages/vite/src/node/cli.ts#L357-L359

Yeah, but it seems that it can also be passed in by specifying the outDir parameter.
vite preview --outDir a

Yes, that --outDir is passed to build.outDir.

Yes, that's what I want, thanks!


docs(Label): fix pointing docs

This PR fixes #534.

@levithomason I will work on Label docs after Table, it will be interesting :smile:

Current coverage is 98.86% (diff: 100%)

Merging #537 into master will not change coverage

@@             master       #537   diff @@
==========================================
  Files           108        108
  Lines          1762       1762
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits           1742       1742
  Misses           20         20
  Partials          0          0

Powered by Codecov. Last update 68921fe...bc84f99


Not working on Heroku-18 Stack

Please when can you help get this to work on Heroku-18 stack?
When I checked my stack, it showed this:
ndt-nordvest (master) $ heroku stack
=== ⬢ ndt-nordvest Available Stacks
cedar-14
container
heroku-16

heroku-18

Thank you.

This is a duplicate of #37 closing in favor of that issue


add support for swift package

I created a library for Swift. It is compatible with all Apple platforms (iOS, macOS, etc.). I'm not a web dev, so I'm sorry if this PR isn't correct. Please let me know if any changes need to be made.

Thanks


install devspace-restart-helper, image version updates, GH Actions flow update,

fixes #5
New Requirements:
The following secrets are must be configured:
new secret: ${{ secrets.IMAGE_PREFIX }} loftsh # This is done for easing contributions, i.e. forks
new secret: ${{ secrets.SNYK_TOKEN }} # need to register on Snyk

update all image versions from upstream
install devspace-restart-helper
enable custom tagging on all (TARGET_TAG)
GH Actions flow change
GH Actions Snyk security scanning (configured to ignore upstream vulnerabilities)
remove install_tooling.sh from the builder (only devspace is needed on the builder)
add loft-sh/setup-devspace@main to builder
Change builder image from ubuntu-18.04 to ubuntu-latest
readme.md update for latest available tags

Newly built images can be found here for testing.

@LukasGentele, what is the next step here?
We need these modifications(installing delve to loftsh/go) for the devspace-go article (draft is due 3-4 days). It looks like Fabian is not going to use the devspace-restart-helper enhancement I proposed, so no need to wait for that.


1v doesn't always select block with same dimensions in presence of multibyte characters

Steps to reproduce

vim -u NONE
Paste the following text:

aaaaaa
✗ bbbb
✗ bbbb

Select all b characters in Visual Block mode.
Delete with d.
Move up with k.
Paste with P.
Reselect with 1v. It reselects one column less.

Notes:

It also doesn't work if selecting less columns. In particular if select only single column of b, it reselects 2x3 block in different direction.
It works if initially select only one line of b.
It works if target line also has the same multibyte character. Like with these initial lines:

✗ aaaa
✗ bbbb
✗ bbbb

Expected behaviour
1v always reselects block with the same dimensions.
Version of Vim
9.0.1182
Environment
OS:  EndeavourOS Linux x86_64, 6.1.8-arch1-1
Terminal: st-0.9
$TERM: st-256color
Shell: zsh 5.9
Logs and stack traces
No response

Thanks, Bram!

Thank you, @zeertzjq!


Apply GIN to node classification

Hi and thanks for sharing your code.
When applying GIN to node classification task for example on cora dataset, the accuracy is low.
You said in the paper that for mean aggregation and linear function  GIN is GCN. I use the DGL implementation of GIN for node classification but I can't produce accuracy near to GCN.
IS there a need for some preprocessing when applying GIN on node classification?

Hi, thanks for your interest. That's expected because we do not need expressive power in those node classification datasets. GIN is most useful when we really need expressive power (e.g., graph classification, or node classification with non-rich node features.)

Hi and thanks for sharing your code.
When applying GIN to node classification task for example on cora dataset, the accuracy is low.
You said in the paper that for mean aggregation and linear function GIN is GCN. I use the DGL implementation of GIN for node classification but I can't produce accuracy near to GCN.
IS there a need for some preprocessing when applying GIN on node classification?

Would you please share the accuracy of your node classification on the cora dataset?

would you please tell me how to use the GIN on cora,I don't know how to load the data.

这是来自QQ邮箱的自动回复邮件。您好，申园园已收到您的邮件，谢谢。

Hi! Please use GIN and Cora in PyG.


versions: Bump NEMU version to latest release

This release is based off of QEMU 4.0 and also includes support for
virtio-fs.
Fixes: #1580
Signed-off-by: Rob Bradford<EMAIL_ADDRESS>

/cc @sboeuf @egernst

/test
I think we have a nemu CI on this repo... let's see if it picks up the version change...

cc @chavafg

nemu job finished correctly.
On the log I see:
07:31:06 [Hypervisor]
07:31:06   MachineType = "virt"
07:31:06   Version = "NEMU (like QEMU) version 4.0.0 (-dirty)\nCopyright (c) 2003-2019 Fabrice Bellard and the QEMU Project developers"

/test-rhel

/test-rhel

/test-rhel

rhel ci got stuck again, I just disable it and I will debug why Jenkins is failing in launch the VM


Fix linter issues

Codecov Report

Merging #9 into master will increase coverage by 2.13%.
The diff coverage is 85.71%.

@@            Coverage Diff             @@
##           master       #9      +/-   ##
==========================================
+ Coverage   86.21%   88.34%   +2.13%
==========================================
  Files           4        4
  Lines         370      369       -1
==========================================
+ Hits          319      326       +7
+ Misses         38       32       -6
+ Partials       13       11       -2

Flag
Coverage Δ

#unittests
88.34% <85.71%> (+2.13%)
:arrow_up:

Impacted Files
Coverage Δ

hub.go
95.45% <ø> (ø)
:arrow_up:

subscriber.go
100% <ø> (ø)
:arrow_up:

matching_cstrie.go
86% <85.71%> (+2.67%)
:arrow_up:

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 da4f6f2...5e4ab1c. Read the comment docs.


Right click on Mac?!

The right-click on Mac does not work, it seems.
I've got a one-button mouse (magic mouse), and for all Mac programs, a right-click = ctrl-click.
But this does not seem to work in Shadered, nor does any other combination work.

BTW: without the ability to right-click, Shadered is unusable!

Can't fix and test Mac related bugs/features since I don't own a Mac device. This will stay open until I either get one or until someone else fixes this.

I might give it a quick shot, although I don't have much time. Where is the code that detects the right-click event?

Honestly, I think this issue has to do with Dear ImGui. Not sure though where I would look to find the cause of this or how I would handle this.

It seems like there is a patch under way:  https://github.com/ocornut/imgui/pull/2343
So, hopefully, maybe, you can use the new version and set the correct compile flag, once it's available.


[docs-yaml] Question about YAMLMime

I would like to know more about YAMLMime.
The readme says that YAMLMime is used to identify the schema to validate, but the link to the config file doesn't exist, also the repository named schemas referenced on the readme doesn't exist https://github.com/MicrosoftDocs/schemas
Is this YAMLMime an internal project from Microsoft or a public project? Do you have any links to a repo/docs with more information about the project or the current stage of it?
Will the scheme used for validation be a subset of YAML 1.2 or will the specification be complete?

@williamjamir The YAMLMime is a Microsoft internal term which is only supported in the Docs content repository. you can reference here for all the schemas: https://static.docs.com/ui/latest/schemas/schema_config.json.
Since those schemas are all defined for the specific purposes of Docs content, there is no plan to public those schemas to be a subset of YAML 1.2.


[SMALLFIX] Issue31: Update comment in JournalShutdownIntegrationTest.java

issue31 done by MF1733006

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/17207/
Test PASSed.


Allow to inline internal wrappers in compiler

Depends on #1702 .
Close #1691 .
Base for #941.
Haven't implemented general case, but enough to cover all our needs.
Current restrictions (none of them is a problem for wrappers):

Parameter in inline function can't be assigned to.
There should be exactly 1 exit point (return).
No defers in inlined functions.
No recursion.

None of them is difficult to fix, but I don't see much value in doing this now without some real use-case.

I fear it might destabilize compiler, let's merge it post-0.93.0.


torchvision cannot be installed exclusively from nightly wheel indices on Windows and macOS

In the aftermath of the supply chain attack, we opted to host all third-party dependencies ourselves on the nightly package indices. That way, pip will not pull anything from PyPI unless the user specifically requests it.
However, if we try to enforce that rule by replacing --extra-index-url with --index-url and thus not allow anything but the PyTorch index, we get send in an infinite resolving loop for Windows and macOS.

Linux :heavy_check_mark:: https://github.com/pytorch/vision/actions/runs/3956740815/jobs/6776285100
Windows :heavy_multiplication_x:: https://github.com/pytorch/vision/actions/runs/3956740815/jobs/6776286352
macOS :heavy_multiplication_x:: https://github.com/pytorch/vision/actions/runs/3956740815/jobs/6776287361

cc @malfet

:facepalm: Blog post states:

PyTorch-nightly Linux packages installed via pip [...] (emphasis added)

Sorry for the noise.


A stale requested url is resolved when there is no requested url supplied.

This is the scenario:
I have an app with 2 clients, a SAML client and a FormClient. The user request a resource secured by the SAML client and gets redirected to the IDP, rather than fulfilling the login process, user enters the url of the FormClient login form - /loginform(NOT a url secured by FormClient). Now there is no requested URL hence the expectation is that user will be redirected to CallbackController.defaultUrl subsequently. But after login user is redirected to the URL requested with SAML client.
I guess this is caused by Pac4jConstants.REQUESTED_URL  being set on the context and never cleared.
Play 2.5
play-pac4j 3.1.0

Please use the pac4j-users mailing list for questions: http://www.pac4j.org/mailing-lists.html


Possibility of an "or" feature on cost

Just created a github account to post this. Not sure if it's the right place.
Loving the module, but I'd love to see in the cost alternative on the cost of a recipe.
I think it will be easy to show what I mean. Something like the image.  https://imgur.com/a/tVTzltC

You might do something similiar with an anyOf item. But i understand that scripting a specific anyOf is not as simple. Also the usage is currently not best. Your aproach needs way more consideration how to scale ? how to choose ? how to allow brackets (a and b) or c vs a and (b or c). how to ui that. I need to think about it.

I saw the anyOf item, but honestly is way beyond my reach. I can't code, so I don't know how I'd use the anyOf. I'll try to think of something, to help in any way.

Just to keep your hopes down: Its rather complex and won't come anytime soon, that i already figure out. But I think i can and will do it at sometime. I keep you informed when i start working on it.

That's no problem at all. Wish I could help more. I'm trying to mess around with AnyOf meanwhile. And while I'm here, ever wonderer putting a 'spell usage' on the test, or something like that?

spell usage is really complicated especially for multi systems, i do not think it will come within the test selection but i enabled macros so anyone fancy enough can already do mostlikly anything with it. I have left a simple spell consumption macro in my documentation but i hadn't tested this part of my documentation recently.
https://github.com/AngryBeaver/beavers-crafting/blob/main/macros.md#simple-spell-consumption

or feature available now. for input, require and result data.


Check minimal version of llvm/lld linker

Support for lld instead of ld.bfd was introduced here:
#31706, in this commit: 2a59fa52b8e8fe2923a5295cf6c2a71a5eb837c8
However, linking fails if user is using a older llvm, for example v10.0.0.
So a check should be introduced which ensures that llvm in use is >=v12.0.0
Describe the solution you'd like
A check to ensure llvm >=12.0.0 is used.
Describe alternatives you've considered
N/A
Additional context
Edit: old description removed, as it was caused by an old llvm (version 10), instead changed into request to ensure llvm >=12 is used.

Does anybody know how to build Zephyr and generate the whole IR file of an application, e.g., sample/hello_world?
I tried to add compiler flags in the application CmakeLists.txt by add this command zephyr_library_compile_options(-flto -fuse-ld=lld) . However, the building process failed when linking the libapp.a file.
Thanks for your help in advance!

Does anybody know how to build Zephyr with LLVM/Clang and generate the whole IR file of an application, e.g., sample/hello_world?

@XiaZhouZero Could you open a dedicated question on this topic, as it is unrelated to this issue.
Issue if there is something you think should be improved.
Question if you just need to know more.
That being said, are you talking about the final image or each individual object file ?
As compile option you may use the COMPILER_OPT in Kconfig to add additional compiler options, like -emit-llvm.
And that will give you the llvm bytecode, however there are python scripts that relies on the elf object file as output, so it's not really useful as such as those scripts will then fail.
So it could be we should have some kind of possibility to allow users to also output an additional format, bytecode, assembly, pre-processed file, etc.


1-Take the pr1-symfony5-api as foundation for the project

Branch

4-setup-env

Keep
All except prev. project's specific files.

Proof that the setup runs


Add tests for default policies constructed by ClientOptions not interfering with each other

I am thinking we must have tests where we use all the default policies so we know how they work together.
Right now, we are testing policies individually, which is fine, but we won't catch issues of one policy corrupting or changing another policy's data.
Originally posted by @vhvb1989 in https://github.com/Azure/azure-sdk-for-cpp/pull/2009#discussion_r605314094

Won't make it for April. Let's not add issues to the current milestone if there is only a few days left for code-complete.
Moving to backlog

The transport adapter tests were recently updated to use the default HttpPipeline constructor ( see this: https://github.com/Azure/azure-sdk-for-cpp/blob/main/sdk/core/azure-core/test/ut/transport_adapter_base_test.hpp#L89 ).
This constructor uses all Core-default policies.  So we are already covering what this issue is asking for. Closing.
@antkmsft  please re-open and comment if you thing there's still more to be done here


Uncaught Error: Can't save buffer with no file path

[Enter steps to reproduce below:]

...
...

Atom Version: 1.0.3
System: Debian GNU/Linux
Thrown From: bombe package, v0.1.0
Stack Trace
Uncaught Error: Can't save buffer with no file path
At /usr/share/atom/resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:993

Error: Can't save buffer with no file path
    at TextBuffer.module.exports.TextBuffer.saveAs (/usr/share/atom/resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:993:15)
    at TextBuffer.module.exports.TextBuffer.save (/usr/share/atom/resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:988:19)
    at TextEditor.module.exports.TextEditor.save (/usr/share/atom/resources/app.asar/src/text-editor.js:579:26)
    at /home/xango/.atom/packages/bombe/lib/bombe.coffee:78:14
    at Dialog.d.onConfirm (/home/xango/.atom/packages/bombe/lib/bombe.coffee:50:20)
    at space-pen-div.atom.commands.add.core:confirm (/home/xango/.atom/packages/bombe/lib/dialog.coffee:48:26)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app.asar/src/command-registry.js:241:29)
    at /usr/share/atom/resources/app.asar/src/command-registry.js:3:61
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/usr/share/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:524:16)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/usr/share/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:347:22)

Commands
     -0:08.5.0 command-palette:toggle (atom-text-editor.editor.is-focused)
     -0:03.9.0 bombe:encrypt-this-file (atom-text-editor.editor)
     -0:00.6.0 core:confirm (atom-text-editor.editor.mini.is-focused)

Config
{
  "core": {
    "themes": [
      "atom-dark-ui",
      "atom-dark-syntax"
    ]
  }
}

Installed Packages
# User
bombe, v0.1.0

# Dev
No dev packages

DOnt work.
I need help with this error.
Thanks

Thanks for reporting – you should find that this is fixed if you update the package.


:wrench: Switch command queue to RxJs version

Hold on, it doesn't work correctly yet.

No worries, sorry I haven't had time to work on this. I'll check back though. It's looking good, I get the idea


Blurry text rendering on Windows 10 Anniversary Update

After installing the Windows 10 Anniversary Update (version 1607) I noticed that the quality of text rendering in my ModernUI application worsened significantly. The issue is present also in the ModernUI Demo app, and you can see it when scaling the Windows text size, for example to 150% (Windows Settings -> System -> Display: "Change the size of text, apps, and other items: 150%"). I wonder what could be the reason for this?

That's because of display scaling, that happens when your DPI scale is
bigger than 100% and the app did not said it was compatible with that
feature.
To fix this issue, use solution 2 from this article:
https://www.microsoft.com/surface/en-ca/support/apps-and-windows-store/app-display-issues
Le mercredi 17 août 2016, marilh<EMAIL_ADDRESS>a écrit :

After installing the Windows 10 Anniversary Update (version 1607) I
noticed that the quality of text rendering in my ModernUI application
worsened significantly. The issue is present also in the ModernUI Demo app,
and you can see it when scaling the Windows text size, for example to 150%
(Windows Settings -> System -> Display: "Change the size of text, apps, and
other items: 150%"). I wonder what could be the reason for this?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/firstfloorsoftware/mui/issues/136, or mute the thread
https://github.com/notifications/unsubscribe-auth/AGJFttV3S5Z7wLgsqnyEwBrIy6cCGaHOks5qgwamgaJpZM4JmbFi
.

--
Envoyé de mon Gmail


Make image registry regions configurable

Changes
Regions are already configurable in the publish task, although one of the steps ignored the config, which is fixed in this PR.
Expose the imageRegistryRegions parameter in the pipeline too, so that it may be controlled via the pipeline run.
Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[x] Has Docs if any changes are user facing, including updates to minimum requirements e.g. Kubernetes version bumps
[x] Has Tests included if any functionality added or changed
[x] pre-commit Passed
[x] Follows the commit message standard
[x] Meets the Tekton contributor standards (including functionality, content, code)
[x] Has a kind label. You can add one by adding a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
[x] Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings). See some examples of good release notes.
[x] Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes
NONE

/kind misc

FYI @vdemeester @chitrangpatel - this is a first step towards experimenting with ghcr.io

/test pull-tekton-pipeline-alpha-integration-tests

/test pull-tekton-pipeline-integration-tests

/test pull-tekton-pipeline-go-coverage-df


Adding a single node

When I clear the graph and then click a label with only one node, like information theory or map floor, then I see a shadow of all of the edges from whatever the graph looked like before clearing.

clear graph
click geometry
clear graph
click information theory


Testing LGTM yaml

Checking to see if updates to the .lgtm.yml file will update LGTM.

Codecov Report

Merging #16 into master will increase coverage by 0.62%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #16      +/-   ##
==========================================
+ Coverage   97.78%   98.39%   +0.62%
==========================================
  Files          90       75      -15
  Lines        5920     5889      -31
  Branches      649      652       +3
==========================================
+ Hits         5788     5794       +6
+ Misses         79       42      -37
  Partials       53       53

Impacted Files
Coverage Δ

qubovert/utils/_conversions.py
97.34% <100%> (-0.06%)
:arrow_down:

tests/sim/test_anneal_results.py
100% <100%> (ø)
:arrow_up:

qubovert/sim/_anneal_results.py
100% <100%> (ø)
:arrow_up:

qubovert/sim/_simulations.py
95.07% <100%> (ø)
:arrow_up:

qubovert/_version.py
100% <100%> (ø)
:arrow_up:

qubovert/__main__.py

qubovert/problems/np/partitioning/__main__.py

qubovert/problems/np/bilp/__main__.py

qubovert/problems/np/covering/__main__.py

qubovert/problems/np/__main__.py

... and 10 more

Continue to review full report at Codecov.

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


Sampling eye-head coordination in the iCub search space

Hi Guys,
Am new to iCub. Please ignore any silly mistakes.
Am trying to sample joint values of eye-hand coordination in the iCub simulator.
Previously, i defined a position in the iCubs search space using the cartesian coordinate system, reach their using the right arm and when given the same x,y and z coordinates to the fixation point i can look at it and the head adjusts automatically.
Now, i want to record all values i.e joint angles of the right arm + wrist (7 values), pan, tilt and vergence of the eyes (3 values) plus pitch,roll and yaw of neck (3 values) when given a position (x,y,z coordinates) in the search space which is iteratively updated, so 3 values for the coordinates.
Total ( 7 + 6 + 3 = 16 )
I have the following script to run my program:
#!/bin/sh
gnome-terminal --profile="Default" --tab -t "YarpServer" -e "bash -c \"yarp conf --clean; && yarp server; exec bash\"" \
--tab -t "iCubSimulator" -e "bash -c \"sleep 2 && iCub_SIM; exec bash\"" \
--tab -t "simCartesianController" -e " bash -c \"sleep 3 && simCartesianControl; exec bash\"" \
--tab -t "right_arm Controller" -e "bash -c \"sleep 4 && iKinCartesianSolver --context simCartesianControl --part right_arm; exec bash\"" \
--tab -t "iKinGazeCtrl" -e "bash -c \"sleep 2 && iKinGazeCtrl --from configSim.ini; exec bash\"" \
--tab

I can see the arm configuration when i move to a particular location, in a terminal which i have associated with the right_arm as:
Target rxPose   [m] = -0.400000	-0.400000	 0.800000	-0.350747	-0.897678	-0.266741	 1.314759
  Target txPose   [m] = -0.220152	-0.006505	 0.342514	 0.463208	-0.884254	 0.059442	 1.978500
Target txJoints [deg] = -95.000000	 23.780724	 61.731054	 82.149945	 40.205303	-11.674962	 6.022538
  norm(rxPose-txPose) = pos [m]: 0.629664
                        ang [*]: 1.09984
    computed in   [s] = 0.042202

Question 1: How can i access or store the above joint angles? that are opened in a separate terminal.
Question 2: What if i define a starting point and a final point in the search space for the arm to move around and that should be followed by the head (eyes+neck)?
Question 3: If the given points are unreachable then what value will be stored?
I have been using the following functions previously:
getPose() -> getting initial configuration of arm
gotoPoseSync() -> moving to a particular location in space along with the acknowledgement.
getFixationPoint() and lookAtFixationPoint() -> for the eyes.
Any guideline or comments if i am going in the right direction?
Thank you

Hi @ashrafzia
Let me suggest you to use yarpmanager to launch modules: it's much more handy than relying on dedicated scripts.
Answer 1

You can access robot joints (e.g. neck, eyes, arm ...) through the yarp::dev::IEncoders motor interface. See this tutorial to find out more.
You can easily log and store joints values as they change throughout your experiments relying on yarpdatadumper.

Answer 2
Perhaps I didn't catch your exact point, but the Cartesian space (what you call the "search space") is common to both the Cartesian controller of the arm and the Gaze controller; therefore, you can provide them with the same targets and, as result, the head and the eyes will somehow follow the arm movements.
Answer 3
Arm and Gaze controllers do employ nonlinear optimization underneath that intrinsically deals with unfeasible goals. Thus, if you ask to attain out-of-reach targets, the optimizer will instruct the controller to move to the closest point still reachable.

Hi @pattacini
Thanks for your reply and guidance.
I launched the yarpmanager but could not able to run sample application. I copied the template  iCub_Simulator_Startup and saved as my application file because it consists of all the required modules that am going to use.
I get the following error:
[ERR] (iCub_Simulator_Startup) cannot initialize broker. : console does not exist. check yarprun is running as server.
I started yarprun, refreshed application in yarpmanager and finally restarted yarpmanager but still same error.

The xml of the application you want to launch via yarpmanager needs to contain the references to the yarprun nodes where those modules composing the application are meant to run.
In a very minimal setting where you launch every module on your local machine, you could do the following:

run yarprun --server /my-pc on your machine.
fill in the node tag in the xml file with my-pc.
run yarpmanager and open the modified xml file.

In the same scenario, you can profitably rely on the following shortcut, skipping the first step:

fill in the node tag in the xml file with localhost.
run yarpmanager and open the modified xml file.

Either way, you should be ready to run the application at this point.
If you will still have problems with yarpmanager, to keep this issue on track, please open up a dedicated ticket here: https://github.com/robotology/yarp/issues.

Thank you @pattacini
I have managed to successfully run the module, but the yarpdatadumper_recording_example isn't working. Here is the new issue.
Even if i manage to run data dumper the values for connected elements like head, torso, rightArm will be recorded but how can i track values for (Pan, Tilt and Vergence) of the eyes?

The head part encapsulate both the neck and the eyes encoders according to the following format:

neck
neck
neck
eyes
eyes
eyes

tilt
roll
pan
tilt
pan
ver

Closing; feel free to reopen if needed.

I would add to the table of @pattacini that the axis names used in the iCub software (for example the names returned by the IAxisInfo interface or the one used in URDF/SDF files) are [1] :

neck
neck
neck
eyes
eyes
eyes

neck_pitch
neck_roll
neck_yaw
eyes_tilt
eyes_version
eyes_vergence

@pattacini I took the liberty of adding this line to your table.
[1] : http://wiki.icub.org/wiki/ICub_joints#Head_2.0

Great :+1:


Student Analytic Page Edit

Show the student group and year of study next to their name
Show student video analytics half way into the course

option to select multiple sessions to view analytics all together
investigate "and xx more media" in analytics sessions, if there's hidden issues


Add text-break to EthAddress

Describe the bug
When an EthAddress component extends past its container element, the address text does not wrap to stay inside. This causes issues on mobile where the full address isn't visible.
To Reproduce
Steps to reproduce the behavior:
https://codesandbox.io/embed/card-text-wrap-bug-4f4jx
Expected behavior
The EthAddress should have the word-break: all property set by default.
Screenshots

Rimble UI Version

0.9.3 (latest)

We might want to include wordBreak as a component prop on all text-based components.


srb rbi init fails when printing reflections.json for methods with more than 1 ignored parameter

Some dependencies on our project (e.g. https://github.com/ai/autoprefixer-rails/blob/0fc26b5286264521e3fb4929abd9dec105c15a78/lib/autoprefixer-rails/sprockets.rb#L59-L63) have methods declared where 2 parameters are ignored with method(_, _) latest sorbet version fails doing the bundle exec srb rbi init with them.
Happens as well when the code itself does this (not only on dependencies)
An example project for reproduction can be found here: https://github.com/franciscoj/sorbet-reproduce-error.
Thanks for the comments on this issue I've been able to pinpoint the version 0.5.5991 as the one that introduces this issue (version 0.5.5981 works)
Input
No errors present on sorbet.run (Adding it just in case)
→ View on sorbet.run
class Test
  def m(_, _)
  end
end

Observed output
When running bundle exec srb rbi init
Naming all Modules
Naming Bundler::ThorGot LoadError when trying to get nested name Bundler::Thor::RakeCompat
Naming Gem/home/user/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/sorbet-0.5.5994/lib/real_stdlib.rb:77: warning: constant Gem::RubyGemsVersion is deprecated
/home/user/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/sorbet-0.5.5994/lib/real_stdlib.rb:77: warning: constant Gem::ConfigMap is deprecated
Naming Struct/home/user/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/sorbet-0.5.5994/lib/real_stdlib.rb:77: warning: constant Struct::Tms is deprecated
Generating /tmp/d20201023-379925-1s5ppha/reflection.rbi with 900 modules and 36 aliases
Printing your code's symbol table into /tmp/d20201023-379925-1s5ppha/from-source.json
Printing /tmp/d20201023-379925-1s5ppha/reflection.rbi's symbol table into /tmp/d20201023-379925-1s5ppha/reflection.json
Traceback (most recent call last):
	6: from /home/user/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/sorbet-0.5.5994/bin/srb-rbi:237:in `<main>'
	5: from /home/user/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/sorbet-0.5.5994/bin/srb-rbi:196:in `main'
	4: from /home/user/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/sorbet-0.5.5994/bin/srb-rbi:121:in `init'
	3: from /home/user/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/sorbet-0.5.5994/bin/srb-rbi:232:in `block in make_step'
	2: from /home/user/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/sorbet-0.5.5994/lib/hidden-definition-finder.rb:38:in `main'
	1: from /home/user/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/sorbet-0.5.5994/lib/hidden-definition-finder.rb:47:in `main'
/home/user/.asdf/installs/ruby/2.6.6/lib/ruby/gems/2.6.0/gems/sorbet-0.5.5994/lib/hidden-definition-finder.rb:151:in `write_constants': /tmp/d20201023-379925-1s5ppha/reflection.rbi had unexpected errors. Check this file for a clue: /tmp/d20201023-379925-1s5ppha/reflection.json.err (RuntimeError)

Expected behavior
Sorbet would finish running the init as usual.
Edit November 6th 2020: Added failing versions.

I have exactly the same problem after updating sorbet:
-    sorbet (0.5.5939)
-      sorbet-static (= 0.5.5939)
+    sorbet (0.5.5994)
+      sorbet-static (= 0.5.5994)
     sorbet-coerce (0.2.7)
       polyfill (~> 1.8)
       safe_type (~> 1.1, >= 1.1.1)
@@ -387,7 +387,7 @@ GEM
       sorbet-coerce (>= 0.2.6)
       sorbet-runtime (>= 0.5)
     sorbet-runtime (0.5.5916)
-    sorbet-static (0.5.5939-universal-darwin-19)
+    sorbet-static (0.5.5994-universal-darwin-14)

Here's what reflection.json.err looks like for me:
$ cat /tmp/d20201026-28849-lotn3p/reflection.json.err
/tmp/d20201026-28849-lotn3p/reflection.rbi:19261: Hash key `_` is duplicated https://srb.help/3011
       19261 |      _: ::T.untyped,
                    ^
    /tmp/d20201026-28849-lotn3p/reflection.rbi:19260: First occurrence of `_` hash key
       19260 |      _: ::T.untyped,
                    ^

/tmp/d20201026-28849-lotn3p/reflection.rbi:69370: Hash key `_` is duplicated https://srb.help/3011
       69370 |      _: ::T.untyped,
                    ^
    /tmp/d20201026-28849-lotn3p/reflection.rbi:69369: First occurrence of `_` hash key
       69369 |      _: ::T.untyped,
                    ^

FWIW, I only had 2 gems that were causing an issue. I've already submitted a PR to autoprefixer-rails. The other was the aws-sdk-master gem. I see that someone did https://github.com/aws/aws-sdk-ruby/pull/2428 to fix it (which is itself a fix for a previous PR). It appears V2 of the AWS SDK has been released with the fix, but not aws-sdk-core as it would be when using V3.

Does this also affect Proc arguments? If so, I'm afraid this "technique" is quite popular.

Duplicate lambda arguments in rails:
# activesupport-<IP_ADDRESS>/lib/active_support/deprecation/behaviors.rb:104
-> message, callstack, _, _ { behavior.call(message, callstack) }

Duplicate block arguments tmpdir.rb, in the ruby stdlib:
# ~/.rbenv/versions/2.6.6/lib/ruby/2.6.0/tmpdir.rb:87
path = Tmpname.create(prefix_suffix || "d", *rest) {|path, _, _, d|

Related:
https://github.com/sorbet/sorbet/issues/2273
https://github.com/sorbet/sorbet/pull/3345
@DarkDimius
Does sorbet expects 3rd party gems to make changes for sorbet to work?

The Bootsnap gem also has this problem: https://github.com/Shopify/bootsnap/blob/b54a3679c095cb7aff25c75dcc177d46415a3a4a/lib/bootsnap/compile_cache/iseq.rb#L38
/var/folders/2n/6l8d3x457wq9m5fpry0dltb40000gn/T/d20201107-94628-1ls1rjt/reflection.rbi:90940: Hash key `_` is duplicated https://srb.help/3011
       90940 |      _: ::T.untyped,
                    ^
    /var/folders/2n/6l8d3x457wq9m5fpry0dltb40000gn/T/d20201107-94628-1ls1rjt/reflection.rbi:90939: First occurrence of `_` hash key
       90939 |      _: ::T.untyped,
                    ^

.. downgrading to 0.5.5981 worked for me.

After upgrading to 0.5.6111, I was able to run srb init. @connorshea could this be a result of your work (eg. 03261ce) or did I just get lucky :)

@jaredbeck if you're on the most recent bootsnap, it should've worked even if the issue is still present in sorbet.

I have a rather similar problem, it seems to be related to sorbet-rails maybe?
/tmp/d20201127-620-1t4usy5/reflection.rbi:32041: Hash key `_` is duplicated
https://srb.help/3011
       32041 |      _: ::T.untyped,
                    ^
    /tmp/d20201127-620-1t4usy5/reflection.rbi:32040: First occurrence of `_`
hash key
       32040 |      _: ::T.untyped,
                    ^

/tmp/d20201127-620-1t4usy5/reflection.rbi:84435: Hash key `_` is duplicated
https://srb.help/3011
       84435 |      _: ::T.untyped,
                    ^
    /tmp/d20201127-620-1t4usy5/reflection.rbi:84434: First occurrence of `_`
hash key
       84434 |      _: ::T.untyped,
                    ^

class ActionView::NullResolver < ActionView::PathResolver
  DEFAULT_PATTERN = ::T.let(nil, ::T.untyped)
  EXTENSIONS = ::T.let(nil, ::T.untyped)
  sig do
    params(
      path: ::T.untyped,
      exts: ::T.untyped,
      _: ::T.untyped,
      _: ::T.untyped,
    )
    .returns(::T.untyped)
  end
  def query(path, exts, _, _); end
end

class AutoprefixerRails::Sprockets
  include ::ActiveSupport::ToJsonWithActiveSupportEncoder
  sig do
    params(
      filename: ::T.untyped,
      block: ::T.untyped,
    )
    .returns(::T.untyped)
  end
  def initialize(filename, &block); end

  sig do
    params(
      _: ::T.untyped,
      _: ::T.untyped,
    )
    .returns(::T.untyped)
  end
  def render(_, _); end

Also being bitten by this, in my case it forced me to update aws-sdk.

Going to close this in favor of Tapioca
https://sorbet.org/blog/2022/07/27/srb-tapioca


MPS.from_singlets with Sz-conservation

The following code aims to run DMRG for a 4-site Heisenberg chain with Sz-conservation, starting with a singlet state.
import numpy as np
import tenpy

class HBChain(tenpy.models.model.CouplingModel, tenpy.models.model.MPOModel):
    def __init__(self, L, conserve):
        site = tenpy.networks.site.SpinHalfSite(conserve=conserve)
        lattice = tenpy.models.lattice.Chain(L, site)
        tenpy.models.model.CouplingModel.__init__(self, lattice)
        self.add_coupling(np.asarray(0.5), 0, 'Sp', 0, 'Sm', 1)
        self.add_coupling(np.asarray(0.5), 0, 'Sm', 0, 'Sp', 1)
        self.add_coupling(np.asarray(1.0), 0, 'Sz', 0, 'Sz', 1)
        tenpy.models.model.MPOModel.__init__(self, lattice, self.calc_H_MPO())

model = HBChain(4, 'Sz')
psi = tenpy.networks.mps.MPS.from_singlets(model.lat.mps_sites()[0], 4, [(0,1),(2,3)])
info = tenpy.algorithms.dmrg.run(psi, model, {})

However, I get the following error.
ValueError: incompatible LegCharge
self     | other
 +1      |  -1
0 [[ 1]  | 0 [[ 1]
1  [-1]] | 1  [-1]]
2        | 2

If I don't use any symmetries (replace 'Sz' by None in the model instantiation) or if I start from a product state everything works as intended.

Some wrong signs for qconj in MPS.from_singlets(), should be fixed now. Does this solve the issue?

Yes, it works now. Thank you for your help!


To Do list

Describe the project
It has options of adding and deleting and mark as done options for to do list
Issue Type:

[ ] Bug Report
[ ] Feature Request
[ ] Documentation
[x] New Project

Screenshots
I just started working on it.

The project is already present in the repository


Generated HTML on font change is not valid

Jodit Version: 3.4.1
Browser: Chrome
OS: Windows
Hello xdan,
We have a problem regarding fonts whose name consists of several words (e.g. Times New Roman). While changing a font of a text, Jodit internally creates a  element which contains also the style of the text. When the style is added to the  element, the font is handed over with single quotes (') but the object itself saves it with double quotes ("). The generated HTML for the text then looks like this:
Test

This HTML is not valid because the quotes are not correct. The quotes should look like this:
Test

or like this:
Test

Since we define the fonts with single quotes but they are somehow changed during creation of the  object, we are not able to make sure that the single quotes are used. But modern browsers can still handle the invalid HTML to make sure it works as expected. The Google Chrome browser for example converts the wrong HTML from:
Test

to:
Test

while the Microsoft Edge browser converts the wrong HTML from:
Test

to:
Test

If the user uses the Microsoft Egde Browser then everything works fine but if the user uses the Google Chrome browser we run into a problem because of a second factor: we unescape the HTML (with the Java String method: Strings.unescapeMarkup) before saving the content of the editor in our database. This leads to the change of the HTML from:
Test

back to:
Test

which can not be interpreted by Jodit anymore when the content is loaded again from the database in the editor. The HTML in the editor looks then something like this:
Test

which leads to the fact that the style of the  is wrong and the font is changed back to the default font. You can easily reproduce it by adding the following String into the HTML editor:
Test

Skipping the unescaping is not a possibility for us. And even if we would skip this step, the root cause is still that the HTML which is generated is not valid. While debugging the JavaScript we could find the place where the style is added to the :
css.ts line 48
(elm.style as any)[_key] = _value;

where "_value" contains a string with single quotes but afterwards the "elm.style" contains the value with double quotes.
I guess this is a bug but do you have any suggestions how we could solve this problem in the meantime?

Yes, it is browser behavior and Jodit can not change it.
I think you should change input value onSave in your db.
editor.e.on('afterGetValueFromEditor', (v) => {
    v.value = v.value.replace(/style="([^"]+)"/g, (res, rules) => `style="${rules.replace(/"/g, "'")}"`);
});

saveInYourDb(editor.value)


Istio egress gateway cannot be enabled

Describe the bug
I have AKS 1.27.9 with Azure managed Istio 1.20 enabled. I'm trying to enabled the Istio egress gateway using the AZ CLI, but the operation fails. Enabling internal ingress gateway works, though.
Related command
az aks mesh enable-egress-gateway
Errors
$ az aks mesh enable-egress-gateway  --subscription subid --resource-group rgname --name aksname
(BadRequest) Use of Istio egress gateway for Azure Service Mesh is disallowed.
Code: BadRequest
Message: Use of Istio egress gateway for Azure Service Mesh is disallowed.

Issue script & Debug output
  File "/home/ToniA/.azure/cliextensions/aks-preview/azext_aks_preview/vendored_sdks/azure_mgmt_preview_aks/v2024_02_02_preview/operations/_managed_clusters_operations.py", line 1996, in _create_or_update_initial
    raise HttpResponseError(response=response, error_format=ARMErrorFormat)
azure.core.exceptions.HttpResponseError: (BadRequest) Use of Istio egress gateway for Azure Service Mesh is disallowed.
Code: BadRequest
Message: Use of Istio egress gateway for Azure Service Mesh is disallowed.

cli.azure.cli.core.azclierror: (BadRequest) Use of Istio egress gateway for Azure Service Mesh is disallowed.
Code: BadRequest
Message: Use of Istio egress gateway for Azure Service Mesh is disallowed.
az_command_data_logger: (BadRequest) Use of Istio egress gateway for Azure Service Mesh is disallowed.
Code: BadRequest
Message: Use of Istio egress gateway for Azure Service Mesh is disallowed.

Expected behavior
Istio egress gateway should be enabled
Environment Summary
$ az --version
azure-cli                         2.59.0

core                              2.59.0
telemetry                          1.1.0

Extensions:
account                            0.2.5
aks-preview                      3.0.0b5
azure-devops                       1.0.0
azure-firewall                     1.0.1
containerapp                      0.3.50
rdbms-connect                      1.0.5
storage-preview                  1.0.0b1

Dependencies:
msal                              1.27.0
azure-mgmt-resource             23.1.0b2

Python location '/opt/az/bin/python3'
Extensions directory '/home/ToniA/.azure/cliextensions'

Python (Linux) 3.11.8 (main, Mar 27 2024, 04:03:26) [GCC 9.4.0]

Legal docs and information: aka.ms/AzureCliLegal

Your CLI is up-to-date.

Additional context
No response

Thank you for opening this issue, we will look into it.

@ToniA - Istio egress is currently not yet released as part of the addon and that's why we have validation errors for the egress part of serviceMeshProfile when it's invoked in the ARM API or in Azure CLI. Having said that, we are currently implementing the introduction of Istio egress as part of the addon. Will share an update here when we have a definitive ETA.

Please update your aks-preview extension to the latest version available.
az extension update --name aks-preview

This has been fixed and the issue should be closed.

@shashankbarsin @german1608
This Issue was closed without sharing a definitive ETA, has istio egress been implemented in the aks istio add-on?

This has been fixed and the issue should be closed.

i am not seeing this egress gateway option in az aks mesh in the preview. please let us know is this possible to enable egress gateway in aks istio add-on ?


when i pull down the header ,the image was stretched ,but i means that the image can stay the original height

my code
self.headerImg = [UIImageView new];     self.headerImg.image = [UIImage imageNamed:@"tongly01"];     self.headerImg.clipsToBounds = YES;     [self addSubview:self.headerImg];     self.headerImg.contentMode = UIViewContentModeScaleAspectFill;     [self.headerImg mas_makeConstraints:^(MASConstraintMaker *make) {         make.left.offset(12);         make.right.offset(-12);         make.top.offset(0);         make.bottom.offset(0);     }];

layout.disableStretching = YES;


Consider "latest" as fetched for the toVersion

Changes

Considering "latest" as fetched for the toVersion

Context

Fixes #924
Tests

I've checked my work by:

[X] Adding new tests or adjusting existing tests
[X] Testing manually (accessing to the review environment with /comparator?repo=renovatebot%2Frenovate&from=32.52.2&to=latest appended to the URL)

The "No processed releases to show" red warning box pops up, before the site shows the changelog. It looks like the site has crashed, but it's still processing the changelog.
Saw this while testing in the Vercel preview, with comparator?repo=renovatebot%2Frenovate&from=32.52.2&to=latest.

@HonkingGoose I'm afraid this was happening already. I created an issue for this while ago https://github.com/octoclairvoyant/octoclairvoyant-webapp/issues/531 I hope I can tackle this soon!


Docs: Migrate buffer userguide to pure python

Related to #4187

Change looks good - thank you.

The code contains symbol (Py_ssize_t) which is not declared/imported anywhere - so cython should raise an error. Cython does not need to understand annotation but it should at least check if the symbols in annotation were declared somewhere or imported

I'd be happy with this rule but with a warning rather than an error I think (it slightly defeats the point of PEP563 to have an error). Probably worth creating an issue...

Thank you. I will create a issue for that.


fix(UTC):Correct formatting and time UTC reading

Issue #, if available:
Description of changes:
Update the date reading
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Media Tailor and mpv2


[Bug] The application are not displayed to user when shared in View Mode

Steps to reproduce:

Add an application (Admin Role)
Now add multiple widget into the application
Click on the share button
Share the application as View mode to XYZ email ID
Now login into XYZ with View Role
Click on the Share button
Now add an email ID (ABC)and select role as View
Now Login to ABC Organisation
and observe the application

Observation :
User is not displayed with an empty organisation name and no application are displayed.
Expectation:
Application should be accessible to user when an View user has shared application in View mode

We seem to be experiencing this problem as well. It seems to be erratic. If the user is changed to admin and then changed back to viewer, it seems to be working as expected.
Is there any fix that is being looked at?

Yes, we are working on triaging the issue on high priority. Thanks for the data point around changing roles which causes the applications to show up. Will be helpful for us to zero in on the problem.


Feature Request: Editor Chooser

Currently there is a button to open in VSCode, and option to A) Hide the button, and B) Choose the editor it uses might be useful to those that use other editors.

i decided to stop supporting editors


iOS - Using xcframework embedded returns - is unavailable: cannot find Swift declaration for this class

/Users/vagrant/git/Shared/View/ContentView.swift:30:20: cannot find type 'Station' in scope
let stations: [Station]
Bitrise Build Issue Report template
Description of the issue
I have been trying to build my project in Swift using Xcode with an xcframework inside the bitrise but I have been encountering problems.
After configuring my workflows, when compiling I get some errors like: is unavailable: cannot find Swift declaration for this class - From the files that are inside my xcframework.
When running the bitrise on my local machine, everything worked perfectly.
Environment:
Works fine on my MacBook, I'm using bitrise CLI, and works well.
Do not work on bitrise.io
Which build Step causes the issue and which version of the step?
Xcode Archive & Export for iOS v3.2.x
Reproducibility
Just let it build and when goes through Xcode Archive I received the error

Does a "Rebuild" help? (You can trigger a rebuild from the Build's page, by clicking the "Rebuild" button in the top right corner of a finished build) : NO
Does a rebuild without caches help? (You can remove the Cache:Pull and Cache:Push steps temporarily to not to use the cache, or you can delete all the caches on the Settings tab of the app. : NO
Does the issue happen sporadically, or every time? : YES
Does upgrading the build Step to the latest version help? : NO
When did the issue start? : Always happened

Local reproduction
If I run it locally, works perfectly
Build log
https://app.bitrise.io/build/41f74f89fe19d9a2#?tab=log

Hello @fabriciomasiero 👋
Have you tried rebuilding in a clean git environment?
Please follow these steps:

open your Terminal / Command Line
type in: cd /tmp
clone your repository with: git clone REPOURL ./quick-repo-test --branch BRANCH-YOU-WANT-TO-TEST
example: git clone https://github.com/bitrise-io/bitrise.git ./quick-repo-test --branch master
cd ./quick-repo-test

If this is done and it works without issues, please send us the results 🙂


fix: InitiateFileUploadRequest_IfNotExist options has to be set with …

…the explicit value of true

added to reva bump in https://github.com/owncloud/ocis/pull/8412


move setupmodelparameters from each model to abstractNMM

move setupmodelparameters from each model to abstractNMM
broke example 2 and 5
modified the code to make example 2 working (using evaluate method)
example 5 (just gpu the new version code incudes the case with multiple blocks, we better use the new version to show how gpu works ) we could just set each par with device as gpu to test it?
another reason we should use the new example in zheng_dev for the multimodal is that the examples shown in this repo is fitted to the target value of state E from RWW and did not use the empirical eeg and bold in the cost function, which is actually not a multimodal fitting
separating the eeg and bold modules from nmm model is a good idea. In the new version we have those options. modal fitting uses the same script for all the models

This is part of splitting #143 and #144 into smaller PR chunks. Comments also in those closed commits.
Commit 1008fa has a modified ipyb which will add to package size even though it is reverted in a later commit. Modified/reverted in later commits.
It appears the bifurcation objective function component feature which is being used in a paper is removed. Some other objective function simplifications also done.
empRec data object removed, and eg002 content and figures at end commented out. Content of eg005 commented out or deleted.
Priors added directly in RWWEI2 model class, but in abstract class for other models. RWWEI2 model no longer inheriting from abstracts.
Some transparency from method arguments is removed and made non-optional.
Changes to equations require more detailed checks.

will resubmit it


Tôi gửi cho bạn Coffee_and_Testing.vcf bằng cách sử dụng Root Essentials.

Overview

Insomnia Version: (e.g. 5.0.2)
Operating System: (e.g. MacOS 10.12.4 (16E195))
Summary:  (A few sentences describing the issue. Try to include as much detail as possible.)

How To Reproduce
Please list all pertinent information and steps needed to reproduce the issue. For example:

Create new request
Perform a request which returns a response with a link in it
You can see the link query params aren't properly parsed

Other Notes
(Any other information you feel is relevant to the issue including lines of code that may be causing it, potential solutions, opinions, etc.)

Tôi gửi cho bạn Coffee_and_Testing.vcf bằng cách sử dụng Root Essentials.

222


Add prow clusters + refactor buckets

Adds a bucket and cluster module and uses them to setup the prow infrastructure.
This terraform has already been applied.

/approve

This terraform has already been applied.

How does one apply terraform? Is the terraform state shared somewhere? I'm investigating #33 and would like to know how I can make changes to the Terraform configuration.

@maelvls the terraform is in a shared tfstate bucket, you should be able to clone the repo, cd into the gcp directory and run terraform plan.

Could you please share the output of terraform apply? I'd like to see if there was somehow a change that happened when this terraform config was migrated from https://github.com/jetstack/terraform-jetstack to here.

For anyone stuck like me, here are the instructions for planning and applying the terraform configuration:
First, install OpenTofu:
brew install opentofu

Then, make sure that you have your "application default credentials" ready by running:
gcloud config set project cert-manager-release
export CLOUDSDK_CORE_PROJECT=cert-manager-release
gcloud auth application-default login

[!NOTE]
It isn't enough to run gcloud auth login; Terraform and OpenTofu rely on the application default credentials.


Netflix

I am unable to use my media keys with the Netflix website.

me too, for a long time now. Used to work just fine until about the summer of 2017.

I don't have active Netflix subscription, so can't check it. If someone can check and fix the issue, it would be great.

keySocket.init(
"nexflix",
{
"play-pause": function () {
var playPauseButton = document.querySelector('.button-nfplayerPlay, .button-nfplayerPause');
keySocket.simulateClick(playPauseButton);
},
"prev": function () {
var prevButton = document.querySelector('.prev');//Don't Find
keySocket.simulateClick(prevButton);
},
"next":  function () {
var nextButton = document.querySelector('.button-nfplayerNextEpisode');
keySocket.simulateClick(nextButton);
},
"stop": function () {
            var stopButton = document.querySelector('.button-nfplayerPause');
            keySocket.simulateClick(stopButton);
    }
}

);

`keySocket.init(
"nexflix",
{
"play-pause": function () {
var playPauseButton = document.querySelector('.button-nfplayerPlay, .button-nfplayerPause');
keySocket.simulateClick(playPauseButton);
},
"prev": function () {
var prevButton = document.querySelector('.prev');//Don't Find
keySocket.simulateClick(prevButton);
},
"next":  function () {
var nextButton = document.querySelector('.button-nfplayerNextEpisode');
keySocket.simulateClick(nextButton);
},
"stop": function () {
            var stopButton = document.querySelector('.button-nfplayerPause');
            keySocket.simulateClick(stopButton);
    }
}

);`

@felipedrakon thanks! maybe you can create a PR or at least update your formatting..

@tflori I have already created PR, since the formatting here in the comments is not cool, but this is the code, just change the file keysocket-netiflix.js when downloading pacot here in git and install in your chrome in the developer mode, while the code is not updated in the web store, have a nice day.

Guys, I gonna merge the PR and release new version to store today


win-kex-kali only runs with root privileges

I have set up a win-kex-kali in the kali-linux, but whenever I try to run it without sudo, it throws the following error
 unable to connect to socket: Connection refused (10061)
Running with sudo privileges works fine, but land you in the vncserver with overall root privileges, which is overall a security risk and even some apps don't like running with root permissions.

Can you please file this with the Kali Linux team? We do not have the right controls on the WSL team to fix this problem.
Thanks!


Handle secure/non-secure address space in prefetcher code

The refactoring of the generic cache in https://github.com/gem5/gem5/pull/1446 exposed an existing problem in our prefetcher code: while most of them seem to be using the TaggedEntry (which is a cache entry tagged by address and secure bit) to model their table entries, they often disregard the security bit when storing/querying for entries
As an example:
spatio_temporal_memory_straming using tagged entry: https://github.com/gem5/gem5/blob/stable/src/mem/cache/prefetch/spatio_temporal_memory_streaming.hh#L72
spatio_temporal_memory_straming always setting security = false when looking for an entry: https://github.com/gem5/gem5/blob/stable/src/mem/cache/prefetch/spatio_temporal_memory_streaming.cc#L228
We should fix the consistency of these prefetchers; either we properly pass the security bit to point to the correct address space or we stop using a TaggedEntry to model their table entries

Also in indirect_memory, pif, signature_path.
My 2 cents: I think all prefetchers should take the secure bit into account, as I think it would help improve address-pattern detection.


Change regions in views to be according to city

Related component: api/client
Description
perhaps along with a change in the views of the old site, to also use they city's region.

Prerequisites
[Make sure you've done the following before posting your issue:]

[ ] I have filled in the correct labels (fill at least one of bug/enhancement)
[ ] I have searched for duplicate issues and found none
[ ] My issue is phrased as a task - it's clear what needs to be done here.

Explanation: This means that the area field should not be available to fill in by form/api and instead it should be determined pre_save (or post_save) by city

Or it could be available and ignored in favor of the city's region. Simply change the value used for filtering and template.
Remember the old system is on it's way out, we should only update it if necessary.

@astar26 Plase clarify this issue - state what should be done and where. It's kind of amorphic right now


Availability?

We aren't seeing this feature or the ability to enable it in our ADB Admin page. Is this a preview feature that I'm not seeing documented somewhere?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 98eb0b83-1816-1010-23cd-fb85c4827063
Version Independent ID: 59f33c51-5f16-1427-3bae-01fcaa8814e7
Content: Customize Containers with Databricks Container Services - Azure Databricks
Content Source: databricks/clusters/custom-containers.md
Service: azure-databricks
GitHub Login: @mamccrea
Microsoft Alias: mamccrea

@ryan-daly-AgFCS  Thanks for bringing this to our attention. Your feedback  has been shared with the content owner for further review.

Hi @ryan-daly-AgFCS! This feature is still in private preview. Please contact your Technical Account Manager about getting access to the preview. We will be removing this article until the feature becomes public. I apologize for the inconvenience.
#please-close


mWeb - Category - Auto category displayed on entering incorrect merchant

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 9.0.16
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by:
Slack conversation:
Action Performed:
Pre-condition : 1.In old dot, as employee set expense rule for category. If (0)zero merchant, set select rent category.
In new dot in employee WS chat, create an expense with same merchant and verify auto category is assigned.

Go to https://staging.new.expensify.com/
Login as employee
Tap in employee Workspace chat
Create an expense with merchant entered as 5 and without any category selected

Expected Result:
Auto category must not be displayed on entering incorrect merchant
Actual Result:
Auto category displayed on entering incorrect merchant
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[x] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/user-attachments/assets/180f20ef-5790-4259-9f56-9dca3eeabb97
View all open jobs on GitHub

We think that this bug might be related to #vip-vsp

@trjExpensify  FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

I think it would be better to use tests that are more realistic for cases like this. There's very little chance a customer is going to have a merchant called 0, but rather the name of an actual merchant like "Home depot", "Uber" "TRJ's Bagel Factory" etc.
Either way, I can't reproduce it. I suspect they might have implicit categorisation in play where this particular account has coded the merchant in that way before. I would suggest trying on a new account or something.
https://github.com/user-attachments/assets/e7fd0f6d-bfdb-43b5-aa23-9580fb48d74b

Awaiting the retest.

Tester was able to reproduce the issue
https://github.com/user-attachments/assets/93c72ee3-544c-4f02-a554-38b388950c5c

@izarutskaya did they use a new account for this re-test to rule out implicit categorisation on an existing account?

Either way, I can't reproduce it. I suspect they might have implicit categorisation in play where this particular account has coded the merchant in that way before. I would suggest trying on a new account or something.

@izarutskaya bump on the above for the retest. :)


Made a change in code as it reqires thatit should start with letter

Closes: #1
Updated validations.py python script.
Fixed the behavior of validate_user function in validations.py.
Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[x] Tests pass
[x] Appropriate changes to README are included in PR

@googlebot I signed it!


Array variables with reference..

Hello,
We published a codeunit with couple of functions as web services. When we are browsing web service url in browser we can not see the array parameters with reference under results element for function in codeunit. Please find the screen shot.
Here is procedure syntax in with al
procedure GetCartPrices(ItemNumber: ARRAY[300] OF Code[20]; VariantCode: ARRAY[300] OF Code[20]; CustomerNumber: Code[20]; Quantity: ARRAY[300] OF Decimal; UOM: ARRAY[300] OF Code[20]; QuoteNo: Code[30]; CallFromCartPage: Boolean; var Price: array[300] OF Text[30]; var SalesPrice: ARRAY[300] OF Text[30]; var DiscountPercent: ARRAY[300] OF Text[30]; var LineTotal: ARRAY[300] OF Text[30]; var InvoiceDiscount: Text[30]; var TaxAmount: Text[30]; var ShippingAmount: Text[30]; var InvoiceAmount: Text[30]; ArraySize: Integer; var CouponCode: Code[20]; var Response: Text[200]);
Begin
End;
in the screen shot price, salesprice,discountpercent & linetotal are array parameters and not available under results. So that when we are using the soap URL and call function from another solution can not see above 4 parameters as references.

But we can able to see those array parameters under resultus element and use them references in another application with V1 and Nav 2018 as below

Can some one help me on that

What version are you using? BC with V2 extensions?

we are using Al Version 0.14.17461

We have reached out to the owning team and will update this thread once we receive a reply


Enhancements to explorer network treasury view

The Chore
Some suggestions to improve the treasury view:
Tasks

[ ] For recurring transfer show the below (put n/a for one-offs - alternatively you could make a really big tooltip on hover if you prefer not to have lots of n/a columns?)

[ ] Epoch to / from
[ ] Reward type - Concat dispatchMetric + dispatchMetricAssetId + marketIdsInScope (same as we do on reward cards)
[ ] EntityScope
[ ] lockPeriod
[ ] distributionStrategy

[ ] Ensure that recurring transfers appear every epoch that they are sent
[ ] Add epoch to the far left (and sort by epoch desc)

Additional details / background info

Point 2 is blocked by https://github.com/vegaprotocol/vega/issues/10374#issuecomment-1957362956

Marking as blocked until https://github.com/vegaprotocol/vega/issues/10374#issuecomment-2004492143 is valid. Trying to work around it via the transfers API is unsatisfying at best.


Node is not a requirement for nvm

Fixes #765.

Node.js is not a requirement for nvm, but is it not a requirement for npm?
Should not that check ought to be moved instead of removed?

As @qur2 and I pointed out in #765 nvm does not add node to $PATH unless

the user issues nvm use <a-version>, or
a default node version is configured with nvm (e.g. nvm alias default 0.10.35)

This is not a problem at all and there is no need to load completions before node gets added to the PATH (i.e. this is not about the completions for node, npm).
The problem is:
There is the function node-info which by default usage gets issued whenever the prompt is generated (if the user wants to use that information in the prompt). When node is not in the PATH currently the node-module won't create this function, which results in an error "prompt_myrompt_precmd: command not found: node-info" for every new prompt. It is not clear why that happens as the expectation would be that if the node-module is included node-info should actually exist.
So the solution would be to create this function no matter what and

populate $node-info with a version string like "no node available", or
throw an error, clearly indicating that node in fact is a requirement for the node-module


FI: Render Graph

What is the Problem?
vkb::CommandBuffer lazily creates resources and is sub-optimal due to its lack of contextual information. This leads to a reliance on the framework caching mechanisms. In some samples this may lead to resource leakage or incorrectly bound resources.
What is the proposed Solution?
For Samples to be more expressive and to align Vulkan Samples to industry standards I propose the creation of a two phase Render Graph. A build phase and an evaluation phase.
The Render Graph would need to own its own concepts of the render pipeline so that its build phase can optimally allocate resources, alias memory for larger post processing samples and reduce the amount of work needed in the evaluation phase.
This would align with Vulkans mentality of building things upfront to have optimal draw calls down the line. It would also significantly reduce the amount of work needed per frame where there hasnt been a need to rebuild the graph. Resources can also be created in parallel upfront. Passes can be reused in multiple samples and greatly simplified.
Some related discussion was carried out in #365
This is not to be used as an API sample. The best cases for this are performance samples and samples which contain techniques where rendering is not the priority but we still require optimal rendering calls for any scene in use.
Examples
API's similar to the Halcyon Renderer may work well in Vulkan Samples.

struct PassInput {};

struct PassOutput {
    ResourceHandle resource;
}

inline PassOutput some_render_pass(RenderGraph& graph, const PassInput &input) {
    auto resource_handle = graph.create_resource(); // create some global resource here

    PassOutput output{};
    output.resource = resource_handle;

    graph.add_pass("Some Render Technique", [=](ResourceTracker& tracker){

        // track read and writes for memory aliasing
        tracker.read(input.input_texture);
        tracker.write(output.resource);

        return [](CommandBuffer& command_bufferf){
            // execute commands here
            command_buffer.draw(3,1,0,0);
        }
    });

    return output;
};

Issues

Would require ditching the Command Buffer and the Pipeline Cache in favor of a better Graphics Pipeline builder and a thinner ComandEncorder pattern (see webgl encoder API for ideas)

AMD Render Pipeline Shader generic Render Graph library will be released soon and can solve all major pain points of this proposal

Closing this for now. I don't think we're going to implement this.


Parser broken for "INSERT INTO ... SELECT ... FROM ..." queries

Since this is standard (ANSI) SQL it should be supported :)
You can test with:
INSERT INTO spam
SELECT *
FROM eggs

I added this feature. This kind of inserts should work now:
INSERT INTO
    spam
SELECT
    *
FROM
    eggs

INSERT INTO
    table_name (col1, col2, 3)
VALUES
    ("value!", value2, 3)

INSERT INTO
    table_name
VALUES
    ("value!", value2, 3),
    ("1"),
    ("2")

Works great, thanks for the quick fix :)


Revert "[REVIEW] Fix flow classification notebook. Depends on cudf 3388"

Reverts rapidsai/notebooks-contrib#231

As this depends on a cudf version that 0.10 may not have, we should revert back to the last version and put have it only merge into master when we switch over to 0.11 stable