mongoaudit aborts during step 7

mongoaudit run from Kali / Debian OS to target on CentOS.
the below error message occurs on step 7 of 20:
Traceback (most recent call last):
File "/usr/local/bin/mongoaudit", line 11, in
sys.exit(main())
File "/usr/local/lib/python2.7/dist-packages/mongoaudit/main.py", line 63, in main
App().main()
File "/usr/local/lib/python2.7/dist-packages/mongoaudit/main.py", line 23, in init
self.main()
File "/usr/local/lib/python2.7/dist-packages/mongoaudit/main.py", line 58, in main
self.loop.run()
File "/usr/lib/python2.7/dist-packages/urwid/main_loop.py", line 278, in run
self._run()
File "/usr/lib/python2.7/dist-packages/urwid/main_loop.py", line 376, in _run
self.event_loop.run()
File "/usr/lib/python2.7/dist-packages/urwid/main_loop.py", line 682, in run
self._loop()
File "/usr/lib/python2.7/dist-packages/urwid/main_loop.py", line 719, in _loop
self._watch_filesfd
File "/usr/lib/python2.7/dist-packages/urwid/raw_display.py", line 393, in
event_loop, callback, self.get_available_raw_input())
File "/usr/lib/python2.7/dist-packages/urwid/raw_display.py", line 493, in parse_input
callback(processed, processed_codes)
File "/usr/lib/python2.7/dist-packages/urwid/main_loop.py", line 403, in _update
self.process_input(keys)
File "/usr/lib/python2.7/dist-packages/urwid/main_loop.py", line 503, in process_input
k = self._topmost_widget.keypress(self.screen_size, k)
File "/usr/lib/python2.7/dist-packages/urwid/container.py", line 592, in keypress
*self.calculate_padding_filler(size, True)), key)
File "/usr/lib/python2.7/dist-packages/urwid/container.py", line 1587, in keypress
key = self.focus.keypress(tsize, key)
File "/usr/local/lib/python2.7/dist-packages/mongoaudit/widgets.py", line 220, in keypress
return self.__super.keypress(size, key)
File "/usr/lib/python2.7/dist-packages/urwid/container.py", line 1587, in keypress
key = self.focus.keypress(tsize, key)
File "/usr/lib/python2.7/dist-packages/urwid/decoration.py", line 621, in keypress
return self._original_widget.keypress(maxvals, key)
File "/usr/lib/python2.7/dist-packages/urwid/container.py", line 1587, in keypress
key = self.focus.keypress(tsize, key)
File "/usr/lib/python2.7/dist-packages/urwid/container.py", line 1587, in keypress
key = self.focus.keypress(tsize, key)
File "/usr/local/lib/python2.7/dist-packages/mongoaudit/widgets.py", line 145, in keypress
self.next_callback()
File "/usr/local/lib/python2.7/dist-packages/mongoaudit/widgets.py", line 184, in next
self.callbacks['next'](form=self, **(self.get_field_values()))
File "/usr/local/lib/python2.7/dist-packages/mongoaudit/cards.py", line 99, in _next
self.run_test(cred, title, tester, tests)
File "/usr/local/lib/python2.7/dist-packages/mongoaudit/cards.py", line 127, in run_test
test_runner.run(self.app)
File "/usr/local/lib/python2.7/dist-packages/mongoaudit/widgets.py", line 271, in run
self.tester.run(self.each, self.end)
File "/usr/local/lib/python2.7/dist-packages/mongoaudit/testers/testers.py", line 45, in run
res = test.run()
File "/usr/local/lib/python2.7/dist-packages/mongoaudit/testers/testers.py", line 159, in run
result = TEST_FUNCTIONSself.name
File "/usr/local/lib/python2.7/dist-packages/mongoaudit/testers/tls.py", line 40, in valid
cert = socket_info.sock.getpeercert()
AttributeError: '_socketobject' object has no attribute 'getpeercert'

$ mkvirtualenv mongoaudit
(mongoaudit) $ pip install mongoaudit
(mongoaudit) $ mongoaudit  [ triggers menu, but throws this error on step 7: ]
Traceback (most recent call last):
  File "~/.virtualenvs/mongoaudit/bin/mongoaudit", line 11, in <module>
    sys.exit(main())
  File "~/.virtualenvs/mongoaudit/local/lib/python2.7/site-packages/mongoaudit/__main__.py", line 63, in main
    App().main()
  File "~/.virtualenvs/mongoaudit/local/lib/python2.7/site-packages/mongoaudit/__main__.py", line 23, in __init__
    self.main()
  File "~/.virtualenvs/mongoaudit/local/lib/python2.7/site-packages/mongoaudit/__main__.py", line 58, in main
    self.loop.run()
  File "~/.virtualenvs/mongoaudit/local/lib/python2.7/site-packages/urwid/main_loop.py", line 278, in run
    self._run()
  File "~/.virtualenvs/mongoaudit/local/lib/python2.7/site-packages/urwid/main_loop.py", line 376, in _run
    self.event_loop.run()
  File "~/.virtualenvs/mongoaudit/local/lib/python2.7/site-packages/urwid/main_loop.py", line 682, in run
    self._loop()
  File "~/.virtualenvs/mongoaudit/local/lib/python2.7/site-packages/urwid/main_loop.py", line 719, in _loop
    self._watch_files[fd]()
  File "~/.virtualenvs/mongoaudit/local/lib/python2.7/site-packages/urwid/raw_display.py", line 393, in <lambda>
    event_loop, callback, self.get_available_raw_input())
  File "~/.virtualenvs/mongoaudit/local/lib/python2.7/site-packages/urwid/raw_display.py", line 493, in parse_input
    callback(processed, processed_codes)
  File "~/.virtualenvs/mongoaudit/local/lib/python2.7/site-packages/urwid/main_loop.py", line 403, in _update
    self.process_input(keys)
  File "~/.virtualenvs/mongoaudit/local/lib/python2.7/site-packages/urwid/main_loop.py", line 503, in process_input
    k = self._topmost_widget.keypress(self.screen_size, k)
  File "~/.virtualenvs/mongoaudit/local/lib/python2.7/site-packages/urwid/container.py", line 592, in keypress
    *self.calculate_padding_filler(size, True)), key)
  File "~/.virtualenvs/mongoaudit/local/lib/python2.7/site-packages/urwid/container.py", line 1587, in keypress
    key = self.focus.keypress(tsize, key)
  File "~/.virtualenvs/mongoaudit/local/lib/python2.7/site-packages/mongoaudit/widgets.py", line 220, in keypress
    return self.__super.keypress(size, key)
  File "~/.virtualenvs/mongoaudit/local/lib/python2.7/site-packages/urwid/container.py", line 1587, in keypress
    key = self.focus.keypress(tsize, key)
  File "~/.virtualenvs/mongoaudit/local/lib/python2.7/site-packages/urwid/decoration.py", line 621, in keypress
    return self._original_widget.keypress(maxvals, key)
  File "~/.virtualenvs/mongoaudit/local/lib/python2.7/site-packages/urwid/container.py", line 1587, in keypress
    key = self.focus.keypress(tsize, key)
  File "~/.virtualenvs/mongoaudit/local/lib/python2.7/site-packages/urwid/container.py", line 1587, in keypress
    key = self.focus.keypress(tsize, key)
  File "~/.virtualenvs/mongoaudit/local/lib/python2.7/site-packages/mongoaudit/widgets.py", line 145, in keypress
    self.next_callback()
  File "~/.virtualenvs/mongoaudit/local/lib/python2.7/site-packages/mongoaudit/widgets.py", line 184, in next
    self.callbacks['next'](form=self, **(self.get_field_values()))
  File "~/.virtualenvs/mongoaudit/local/lib/python2.7/site-packages/mongoaudit/cards.py", line 99, in _next
    self.run_test(cred, title, tester, tests)
  File "~/.virtualenvs/mongoaudit/local/lib/python2.7/site-packages/mongoaudit/cards.py", line 127, in run_test
    test_runner.run(self.app)
  File "~/.virtualenvs/mongoaudit/local/lib/python2.7/site-packages/mongoaudit/widgets.py", line 271, in run
    self.tester.run(self.each, self.end)
  File "~/.virtualenvs/mongoaudit/local/lib/python2.7/site-packages/mongoaudit/testers/testers.py", line 45, in run
    res = test.run()
  File "~/.virtualenvs/mongoaudit/local/lib/python2.7/site-packages/mongoaudit/testers/testers.py", line 159, in run
    result = TEST_FUNCTIONS[self.name](self)
  File "~/.virtualenvs/mongoaudit/local/lib/python2.7/site-packages/mongoaudit/testers/tls.py", line 40, in valid
    cert = socket_info.sock.getpeercert()
AttributeError: '_socketobject' object has no attribute 'getpeercert'

(mongoaudit) $ pip freeze
mongoaudit==0.0.3
pymongo==3.4.0
urwid==1.3.1
wheel==0.26.0
You are using pip version 8.0.0, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.


Update Grafana Tempo to 2.3.

See blog post for exciting new stuff in 2.3.
Also polish the config a bit while we're in there.
Tested: applied in integration, Tempo deployments/statefulsets seems happy and new traces are still appearing.

gives developers the freedom to create terrible attribute names

Excellent 😈


how to bring data from firebase based on the location of the user i.e display data- from-the-nearest-users in the flutter app?

Hello, guys I am new to flutter firebase and location based services, i want to build an app in which the user can see other users who are near , of some distance like a 1km and can get notification from them, when they do any new activity? … please help out guys…please, please

Hi @SaiVaraPrasad-3
This platform is not meant for assistance on personal code.
Please see https://flutter.dev/community for resources and asking questions like this,
you may also get some help if you post it on Stack Overflow.
Closing, as this isn't an issue with Flutter itself,
if you disagree please write in the comments and I will reopen it
Thank you


cli doesn't seem to support WebRTC

It doesn't seem to connect to peers on the web. I've tried the same thing with the desktop application and it works perfectly fine, so it's nothing to do with my network. I'm using the latest version (1.6.0 (0.97.1)) and latest node LTS version 6.9.1

You're looking for https://github.com/feross/webtorrent-hybrid


target_image vsphere fails 'module' object has no attribute 'sudsobject'

The template files are a trivial edit of @imcleod 's centos.tpl and centos.ks to point to v6 instead of v7.
[martin@mlnuc imagefactory]$ sudo imagefactory --debug base_image   --file-parameter install_script ./centos6.ks      ./centos6.tpl
### succeds, then
[martin@mlnuc vagrant]$ sudo imagefactory --debug target_image --parameter vsphere_vmdk_format standard --id 12074d26-7045-416a-ad0e-d1e1d145a7fd vsphere
2017-01-19 19:07:09,212 DEBUG root thread(MainThread) Message: Unable to find python module, faulthandler... multi-thread tracebacks will not be available. See http://pypi.python.org/pypi/faulthandler/ for more information.
2017-01-19 19:07:09,213 INFO imgfac.PluginManager.PluginManager thread(MainThread) Message: Plugin (OVA) loaded...
(...)
2017-01-19 19:07:09,254 ERROR imgfac.Builder.Builder thread(026b9d45) Message: Exception encountered in _customize_image_for_target thread
2017-01-19 19:07:09,254 ERROR imgfac.Builder.Builder thread(026b9d45) Message: 'module' object has no attribute 'sudsobject'
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/imgfac/Builder.py", line 226, in _customize_image_for_target
    self.cloud_plugin = plugin_mgr.plugin_for_target(target)
  File "/usr/lib/python2.7/site-packages/imgfac/PluginManager.py", line 141, in plugin_for_target
    plugin = __import__('%s.%s' % (PKG_STR, plugin_name), fromlist=['delegate_class'])
  File "/usr/lib/python2.7/site-packages/imagefactory_plugins/vSphere/__init__.py", line 17, in <module>
    from vSphere import vSphere as delegate_class
  File "/usr/lib/python2.7/site-packages/imagefactory_plugins/vSphere/vSphere.py", line 31, in <module>
    from VSphereHelper import VSphereHelper
  File "/usr/lib/python2.7/site-packages/imagefactory_plugins/vSphere/VSphereHelper.py", line 23, in <module>
    from psphere.client import Client
  File "/usr/lib/python2.7/site-packages/psphere/client.py", line 37, in <module>
    from psphere import soap, ManagedObject
  File "/usr/lib/python2.7/site-packages/psphere/soap.py", line 91, in <module>
    class ManagedObjectReference(suds.sudsobject.Property):
AttributeError: 'module' object has no attribute 'sudsobject'

Image build FAILED with error: 'module' object has no attribute 'sudsobject'
[martin@mlnuc vagrant]$ cat /etc/fedora-release
Fedora release 25 (Twenty Five)
[martin@mlnuc vagrant]$ rpm -qa imagefactory\*
imagefactory-plugins-EC2-JEOS-images-1.1.9-2.fc25.noarch
imagefactory-plugins-RHEVM-1.1.9-2.fc25.noarch
imagefactory-plugins-1.1.9-2.fc25.noarch
imagefactory-1.1.9-2.fc25.noarch
imagefactory-plugins-OVA-1.1.9-2.fc25.noarch
imagefactory-plugins-Docker-1.1.9-2.fc25.noarch
imagefactory-plugins-ovfcommon-1.1.9-2.fc25.noarch
imagefactory-plugins-EC2-1.1.9-2.fc25.noarch
imagefactory-plugins-TinMan-1.1.9-2.fc25.noarch
imagefactory-plugins-vSphere-1.1.9-2.fc25.noarch

Updating to latest from updates-testing fixes this. Thanks!


Mix source failing - mix.lock format doesn't match expected regex evaluation

ref https://github.com/github/licensed/pull/240/checks?check_run_id=451451878
It looks like where currently the mix source expects a value like hexpm to be the last entry for each dependency, there is a new last value of the hash reference that the dependency is pinned at.
For example, after running script/source-setup/mix -f I have an entry for mime like
"mime": {:hex, :mime, "1.3.1", "30ce04ab3175b6ad0bdce0035cba77bba68b813d523d1aac73d9781b4d193cf8", [:mix], [], "hexpm", "6cbe761d6a0ca5a31a0931bf4c63204bceb64538e664a8ecf784a9a6f3b875f1"},

:wave: @bruce as you originally wrote this source enumerator and presumably have more mix and elixir experience, are you familiar with any changes to the mix.lock format, and potentially how to fix this so it works for newer versions of mix/elixir as well as the versions it was written to support?

@jonabc I’ll look at it this evening. Thanks for letting me know.


 And than, the cursor jumps to the end of the amount (i.e. after the last 9). Expected for the cursor to stay where it is.

checked


Capability to import JSON as an AST (Abstract Syntax Tree) representation

Currently, we have the functionality to export AST to JSON, but there is no existing method to reverse the process and cast JSON back into the AST object.

Accidental merge to master lol -> https://github.com/unpackdev/solgo/commit/e4c57c7145fc978dbc5e8a01e04492c7aff614fa
Basically a huge update where most of the JSON is imported. Note that Parser context wont be available as we're not really parsing but rather traversing through nodes and filling them out.


macchina: 6.1.8 -> 6.2.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/Macchina-CLI/macchina/releases.
meta.description for macchina is: Fast, minimal and customizable system information fetcher
meta.homepage for macchina is: https://github.com/Macchina-CLI/macchina
meta.changelog for macchina is: https://github.com/Macchina-CLI/macchina/releases/tag/v6.2.0
Updates performed

Rust version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 6.2.0 with grep in /nix/store/3j85jal506d9lj28fxwxyq3kpjkv5824-macchina-6.2.0
found 6.2.0 in filename of file in /nix/store/3j85jal506d9lj28fxwxyq3kpjkv5824-macchina-6.2.0

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

macchina

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/3j85jal506d9lj28fxwxyq3kpjkv5824-macchina-6.2.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A macchina https://github.com/r-ryantm/nixpkgs/archive/fe3c3f8937eb987833dcd6416547e3a145286f1a.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/fe3c3f8937eb987833dcd6416547e3a145286f1a#macchina

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/3j85jal506d9lj28fxwxyq3kpjkv5824-macchina-6.2.0
ls -la /nix/store/3j85jal506d9lj28fxwxyq3kpjkv5824-macchina-6.2.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

macchina

Maintainer pings
cc @414owen @figsoda for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/Macchina-CLI/macchina/releases.
meta.description for macchina is: Fast, minimal and customizable system information fetcher
meta.homepage for macchina is: https://github.com/Macchina-CLI/macchina
meta.changelog for macchina is: https://github.com/Macchina-CLI/macchina/releases/tag/v6.2.1
Updates performed

Rust version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 6.2.1 with grep in /nix/store/j6r7d3sj6rmwpfnj8cz16dxkczmjm989-macchina-6.2.1
found 6.2.1 in filename of file in /nix/store/j6r7d3sj6rmwpfnj8cz16dxkczmjm989-macchina-6.2.1

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

macchina

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/j6r7d3sj6rmwpfnj8cz16dxkczmjm989-macchina-6.2.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A macchina https://github.com/r-ryantm/nixpkgs/archive/0d4bfb52fb9eb80b1c762dac9037655626b00877.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/0d4bfb52fb9eb80b1c762dac9037655626b00877#macchina

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/j6r7d3sj6rmwpfnj8cz16dxkczmjm989-macchina-6.2.1
ls -la /nix/store/j6r7d3sj6rmwpfnj8cz16dxkczmjm989-macchina-6.2.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

macchina

Maintainer pings
cc @414owen @figsoda for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.


prevent nested thunk children from failing

This prevents avoidable failures in some cases, for example in a functional component using JSX that produces a double thunk:
render: (h, { children }) => <MyComponent>{ children }</MyComponent>

As this may get executed often, is it worth changing the recursion with a while loop? even thought it is less readable?

@posva Good idea! I don't think it's really less readable - just less functional, which is fine. 😃


Error on getting status

I'm having an issue with the getting status.

This behavior happens if the PR does not have any checkers, so to get through this issue I added the mergeable property into the stateQuery.
const stateQuery = `query($owner: String!, $repo: String!, $pull_number: Int!) {
                                  repository(owner: $owner, name: $repo) {
                                    pullRequest(number:$pull_number) {
                                      mergeable
                                      commits(last: 1) {
                                        nodes {
                                          commit {
                                            statusCheckRollup {
                                              state
                                            }
                                          }
                                        }
                                      }
                                    }
                                  }
                                }`
const vars = {
  owner: context.repo.owner,
  repo: context.repo.repo,
  pull_number: pull['number']
};

const result = await github.graphql(stateQuery, vars);
const [{ commit }] = result.repository.pullRequest.commits.nodes;

if(commit.statusCheckRollup != null){
  const state = commit.statusCheckRollup.state
  console.log('Validating status: ' + state);
  if(state != 'SUCCESS') {
    console.log('Discarding ' + branch + ' with status ' + state);
    statusOK = false;
  }
} else {
  const mergeable = result.repository.pullRequest.mergeable
  console.log('PR does not have statusCheckRollup, but mergeability is: ' + mergeable);
  if(mergeable !== 'MERGEABLE'){
    console.log('Discarding ' + branch + ' with mergeability: ' + mergeable);
    statusOK = false;
  }
}

Hi @BravoNatalie  - thanks for the PR!
And sorry this took some time to look at - first off, life happened. But secondly I also wasn't sure if this was strictly an improvement, or if there was a risk of causing problems/confusion, so I've been mulling this over. Here are the issues I've been considering:

There is already the option of setting "mustBeGreen" to false, as a way to work with PRs that don't get checks run on them

(Judging by the number of likes on this PR, I think I might need to highlight that more in the documentation, or have "mustBeGreen" default to false, to help those that don't have time to figure out what all the parameters mean)

Adding a second alternative interpretation of "mustBeGreen" - that it automatically falls back to - runs the risk of having mis-configurations of checks go unnoticed. I'm wondering if instead of a boolean for mustBeGreen, we should have an enum - e.g. "requirements" that could be either "None", "Green" or "Mergeable", so the user can explicitly opt into the behavior they want?
PRs with UNKNOWN/not-yet-defined mergeability will be left out of the combined PR. In my tests, if I had recently made any change to the base branch, then all PRs had status UNKNOWN and were left out. If I view any specific PR on GitHub, this nudges GitHub to update its mergeability status again, and it gets included in subsequent runs of the workflow.

I feel like this is quite a "gotcha" that users probably won't expect. Part of the point of this workflow is to avoid manual process. Is there a way we can nudge GitHub to update the mergeability status, and wait for that to complete, during the workflow? If not, we should at least consider listing the PRs that are left out of the Combined PR due to unkown mergeability, like we currently do with those left out due to merge conflicts.

The are some unrelated linter changes in the PR. After mulling it over, I'm ok with using double-quoted strings, so whatever

Overall, if it wasn't for 3) I would have merged this already. But I do worry that having the workflow be able to silently fail for non-obvious reasons is a bit of a foot-gun for users. Any thoughts?


⚠ Buyfrom.io has degraded performance

In 116daee, Buyfrom.io ($BUYFROM_IO_URL) experienced degraded performance:

HTTP code: 200
Response time: 5036 ms

Resolved: Buyfrom.io performance has improved in a10f6ba.


How can i take search input value of single?

I wanna take search input value when keydown.I used ".select2-input" class for take value but I took nothing.

@mert344 This project only provides CSS to visually integrate Select2 with Bootstrap 2/3. Your question regards the usage of Select2 itself – please ask your question over at https://github.com/select2/select2/issues or see https://select2.github.io/community.html for more information.


update packages

:x: Build TheIdServer 7.4.2-fix-dependencies1-0026 failed (commit https://github.com/Aguafrommars/TheIdServer/commit/9535f3048e by @invalid-email-address)


REMOVE FE build tool files as they're not used

@korthjp17 I dont' think you added the FE build tool stuff, but can you glance at the repo and confirm.


Upgrade to v1.8.0

Merge main at v1.8.0 into runtimecore branch.
Update lua build file to accommodate updates.
Update conan file with new version information.

3rdparty vTest: https://runtime-rtc.esri.com/view/vTest/job/vtest/job/3rdparty-interface/427/downstreambuildview/
Downstream RTC vTest: https://runtime-rtc.esri.com/view/vTest/job/vtest/job/runtimecore-interface/9622/downstreambuildview/

From https://github.com/Esri/benchmark/pull/4/commits/7c4eacb4e4367121cdf0de6d6a01db06055e2c7c on are the commits of interest.

Something still isn't right on Windows. I need to address that first.

Something still isn't right on Windows. I need to address that first.

Addressed. Should be good now.

RTC branch consuming this if you're interested: https://devtopia.esri.com/runtime/runtimecore/pull/23363


search result automatically collapse failed

Issue Type: Bug
My vscode config the item "Search: Collapse Result" to auto.
But it had no effection.
VS Code version: Code 1.43.0 (78a4c91400152c0f27ba4d363eb56d2835f9903a, 2020-03-09T19:47:57.235Z)
OS version: Windows_NT x64 10.0.18363

Works for me. What are you expecting to happen, and what actually happens?


Bug: partysocket does not return data object (as similar to original library it was forked from)

Besides #537 there is another core breaking bug that disables us from using partysocket.
The issue is that when used with websocket-as-promised, unlike the original fork of reconnecting-websocket at https://github.com/pladaria/reconnecting-websocket, the extractMessageData(event) function of websocket-as-promised does not receive the event.data property.
This is due to an underlying and breaking change (we consider this a bug) in partysocket.
If you make a test project and const response = await wsp.sendRequest({ some: 'thing' }); you will see that the returned data (if you call ws.send(...) with the exact same payload from the server back to the client on this message being received – it will not return event.data in extractMessageData option function per the docs at https://github.com/vitalets/websocket-as-promised#usage-with-ws

Thanks for reporting! I'll have a look

It's not clear to me that extractMessageData should receive event.data, I'm now of the opinion it should receive event itself, so as to be consistent across runtimes. ParrySocket's WebSocket implementation isn't meant to be a clone of the WS module, but a 'standard' WebSocket. I'm going to close this, but I'm happy to discuss.


Clamp mtime to source-epoch if specified

If source-epoch is defined on a pipeline we no clamp the mtime to that date for all files that are newer than the creation time of the tree (i.e. when Object was created). It is done in two places: 1) on finalize, right before we switch the mode to READ. 2) on commit, i.e. when the object is copied into the store. There we clamp the mtimes on Object before we copy it. We need to do this because that very object could later be directly be exported and would thus not go through finalize.  We do it on the object itself not the copy so that the snapshot and the resume code go through the same code path and thus behave the same.

Apart from the mentioned issues, I think this looks good!

This PR is causing unit test failures on RHEL-8.8


fix: don't keep connection alive after redirect

When we redirect the request we need to force destroy it as it the server may not close the connection afterwords.

Is it possible to add a test for this? The specific test scenario would help.


[Test] Incremental moves towards RebalancingSetExchangeIssuanceModule

Pull Request Test Coverage Report for Build 5130

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

Totals

Change from base Build 5076:
0.0%

Covered Lines:
981

Relevant Lines:
981

💛  - Coveralls


Still not able to build on Ubuntu - Linux Mint

new NBs (Dell XPS 13/15), new tries with current Ubuntu / Linux MInt
no more probs with QT versions but now the compiler isn't found, same failure on both systems

Ubuntu/Linux Mint is a OS (Operating System) and QT is a GUI Toolkit (Graphic User Interface)...

@bianchifan, do you have a C++ compiler installed?
What happens when you type:

$ c++

in your terminal? It should say something like:

c++: fatal error: no input files
compilation terminated.

The build script makes a folder, for you it would be ~/tmp/Embroidermodder/build, can you enter that folder and run:
$ CXX=c++ cmake ..

to manually override C++ compiler from /usr/bin/c++, then post the output here.
I'm not sure why it's defaulting to /usr/bin/c++ but I'll try and work it out before closing this thread.

$ CXX=c++ cmake ..

Thank you very much for your prompt help!
Unfortunately  I'll stumble in a well know problem like the whole past year..
Ubuntu's QT implementations are not the freshest.. :(
Qt5 when QT6 is en vogue and so on..

My actual QT versions (Ubuntu 23.10/Linux Mint 21.3) are 6.2.4-1
QT's docu tells: introduced in QT 6.3

In our behind-the-scenes build, I found we could use python's pip to install Qt 6.5 for us like this:

pip install -U pip --upgrade pip
pip install aqtinstall
python -m aqt install-qt windows desktop 6.5.0 win64_mingw
echo "set (CMAKE_PREFIX_PATH "6.5.0/mingw_64")" >> config.cmake

You could try this from the ~/tmp/Embroidermodder folder then re-run like this:

cd build
CXX=c++ cmake ..

Whether our CMake build is compatible with versions before Qt 6.3... I don't know. But it seems that Qt will continue to support CMake so we just need to use this workaround until Ubuntu updates their version.


Amazon App Tester

Hi!
It's not a real issue, but ask for help.
Yesterday I downgraded my Nexus to 4.4.4 to test Amazon in-app (I faced explicit intent issue on 5.1.1) and wanted to install Amazon App Tester application as usual, but seems that Amazon changed the way they deliver content (directly to the device via their cloud only) and I can't download App Tester neither from PC, nor from device.
I wonder if you have .apk to share, and it would be extremely useful for all to have a link to the App Tester in "How To support Amazon Appstore" wiki.
Thank you!

I managed to get App Tester from Kindle Fire, install it to Nexus and test in-apps.


0.5.0 removes ability to talk/respond in chat

Hi, I had a couple questions, not sure if there's a forum to ask about these, but I split them up into two different tickets since I know I'd prefer that for my projects.
The latest release prevents the bot from talking in a channel. I'm assuming this is known as per https://github.com/kevinthedang/discord-ollama/issues/13#issuecomment-2053856406 but I didn't know this until after searching a while, I browsed closed issues in this project. The error indicates that it still is looking for a channel. I've reverted to 0.4.4 for now as I prefer chats instead of threads.

Ah shoot! Can you provide any screenshots of any problems?
Are you utilizing docker and having issues?
Are threads kind of unwieldy and unnecessary?
Please let us know what you think! :) we're kind of doing this for fun.

@RoboMWM We can also add a command that toggles a thread/channel chatting. Do you think that would be useful? Or would you think users would just prefer chats in the channel?

It just says something like "the channel/thread does not exist." I can't recall the exact message unfortunately.
A toggle or config option would be fine. I'm also just playing around with it too. Personally I'd like something that replicates what Discord's "clyde" bot does, which has been only available in very small, active, private servers. Something that can be chatted with like another user in the server, that can use context from other chat messages in the channel and such. This has been the closest I've found to that so far (tho I only found this cuz of lollms, another hobby project, where I discovered ollama, and made me curious if there's other projects using this that work directly with discord lol).


0.13.12 regression in resolving org.scala-lang:scala-library in custom configuration

steps
Repo to reproduce: https://github.com/olafurpg/scalafmt/files/521826/issue485.zip
problem
Running scalafmt results in errors
[error] Modules were resolved with conflicting cross-version suffixes in {file:/Users/heiko/projects/scala/new-in-scala-212/}new-in-scala-212:
[error]    org.scala-lang.modules:scala-xml _2.11, _2.12.0-RC1

OR

java.lang.NoClassDefFoundError: scala/Product$class
    at org.scalafmt.config.Docstrings$ScalaDoc$.<init>(Docstrings.scala:8)
    at org.scalafmt.config.Docstrings$ScalaDoc$.<clinit>(Docstrings.scala)
    at org.scalafmt.config.ScalafmtConfig$.apply$default$2(ScalafmtConfig.scala:2)
    at org.scalafmt.config.Settings$class.$init$(Settings.scala:17)
    at org.sc

I am unable to reproduce the issue with sbt.version=0.13.11 in build.properties.
I tried the following with no success:
dependencyOverrides += "org.scala-lang" % "scala-library" % org.scalafmt.Versions.scala % "scalafmt"
// and
libraryDependencies += "org.scala-lang" % "scala-library" % org.scalafmt.Versions.scala % "scalafmt" force()

However, changing to typelevel/scala fixes the issue (PR: https://github.com/olafurpg/scalafmt/pull/522):
libraryDependencies += "org.typelevel" % "scala-library"     % org.scalafmt.Versions.scala   % "scalafmt"

expectation
I expected the scalafmt task to run without error.
More specifically, I expect the 0.13.12 resolver to not evict org.scala-lang:scala-library:2.11.8 from the scalafmt configuration in favor of org.scala-lang:scala-libary:2.12.0-RC1 defined in the default/compile configuration.
notes

Potential cause of this issue: https://github.com/sbt/sbt/pull/2634
Original scalafmt issue: https://github.com/olafurpg/scalafmt/issues/485#issuecomment-253978435
Scalafmt is 2.11 only. To overcome the 2.10 requirement for SBT plugins, the scalafmt SBT plugin uses a custom configuration to classload scalafmt with 2.11.8 scala-library.
Attempts to port scala.meta (a scalafmt dependency) to 2.10 have so far been unsuccessful: https://github.com/scalameta/scalameta/issues/295

How about with 0.13.13-RC3?

Good question. Unfortunately, I get the same error:
[info] java.lang.NoClassDefFoundError: scala/Product$class
[info] 	at org.scalafmt.config.Docstrings$ScalaDoc$.<init>(Docstrings.scala:8)
[info] 	at org.scalafmt.config.Docstrings$ScalaDoc$.<clinit>(Docstrings.scala)

@milessabin Could this be related to the mediator?

Yes, it could, but so far I've not been persuaded that what's being attempted makes any sort of sense at all ... in what circumstances is it reasonable to want more than one version of scala-library on the classpath?

To my best understanding, the classpaths are isolated between different configurations so there will only be one version of scala-library. Here's what the SBT documentation says about configurations:

Ivy configurations are a useful feature for your build when you need custom groups of dependencies, such as for a plugin.

It may very well be that I'm using configurations for the wrong purpose. All I want is a place to put together dependencies so I can classload scalafmt with scala-library 2.11.8. I am open for any suggestions on how to accomplish that.
PS. The classpath in https://github.com/olafurpg/scalafmt/pull/522  (where I used org.typelevel:scala-library) contained two versions of scala-library. I agree that is a terrible idea. I closed the PR.

More users have reported this issue. My current recommendation to them is to downgrade to 0.13.11, which I think is a shame.
Is there a chance this might get fixed in 0.13.13? I would be happy with the ability to force a scala-library version in a specific scope:
libraryDependencies += "org.scala-lang" % "scala-library" % "2.11.8" % "scalafmt" force()

Alternatively, is there another way to call 2.11 libraries in SBT plugins?

I'd like to help, but I have no idea what the implications of calling 2.11 libraries in SBT plugins are. All my experience with Scala over the last decade tells me that mixing Scala versions in a single JVM can't be expected to work.

It can be expected to work if you do this in completely different class loaders. And class loaders created from classpaths in different configurations should be expected to work if those alternative configurations do not have a stray scala-library.jar. If sbt is mixing up scala-library.jar across configurations, this is a bug and it should be fixed. Configurations should be completely isolated from each other in terms of dependency resolution and classpath construction.

In Scala.js, we use a similar mechanism to depend on a specific version of Jetty for use (via classloader) by our sbt plugin. See here: https://github.com/scala-js/scala-js/blob/v0.6.13/sbt-plugin/src/main/scala/org/scalajs/sbtplugin/ScalaJSPluginInternal.scala#L948-L962
This allows us to work even if another sbt plugin on the classpath depends on Jetty 9. This is essentially the same issue as using different Scala versions: you cannot mix Jetty 8 code and Jetty 9 code in the same classloader; but in different class loaders, it's fine.
The fact that our mechanism works for the jetty dependency, and that scalafmt's mechanism stopped working for the scala-library dependency, is a clear indicator that sbt is messing with scala-library in ways it shouldn't do.

And to finish with a more constructive comment (instead of sounding like a rant), the above:

sbt is messing with scala-library in ways it shouldn't do.

means that this thing is definitely fixable ;) And that's the direction in which we should look to solve the issue.

Ivy configurations are meant to be a dependency graph on its own, so if the plugin authors create a sandbox configuration that does not depend on Runtime, Compile or Test it's supposed to be isolated from everything else, and should be safe to use any (or even multiple) versions of Scala.
That does conflict with the general design goal of the mediator added by Miles, which enforces scalaVersion.value down to scala-* artifacts. We could:

check the scala-* artifact is binary compatible with scalaVersion first, and only when it's binary compatible enforce the scalaVersion.
or, enforce the scalaVersion only when the configuration is a descendant of Runtime, such as Compile, Test, and any custom configuration that extends them.

What do you think?

I think I prefer the first option, as I think when you have an error because you have different major Scala versions it'll be more obvious - as opposed to a configuration-based decision.
eg. I think it'll be easier to understand "here's the problem, I'm using a dependency the uses Scala 2.12", as opposed to "oh right, yeah, I should've remembered to extend Runtime"

The second option also special-cases the topology of configurations descendant from Runtime. Is it correct to assume that we want to only align scalaOrganization and scalaVersion across the dependency graph for just Runtime or should it be true for any custom topology?
A third option is what Olaf suggested: honour when force() is called.

@dwijnand We already special case Compile and Test to do all sorts of things like adding scala-library in there, so I don't think it's particularly odd that the scalaVersion enforcement is limited towards them.
We can introduce a new setting called scalaVersionConfigurations or something like that and default it to Compile (or Runtime) descendants, and the build users can tweak it if she wants a sandbox config to have the scalaVersion enforced.

If we want to go the configuration way, I think that's a good idea (wiring that down to the mediator, with bincompat in mind, might be really tricky though).
Do you think the force() idea is bad?

I think @eed3si9n's first option defeats a large part of the purpose of the mediator, so I find the second option a lot more appealing.

I'm not quite getting the force() suggestion ... how is that restricted to a particular configuration?
I think that any mechanism which mixes different versions of scala- artefacts within a single process should be done via classloader isolation and distinct configurations (if it's done at all).

I'm not feeling the force() because that means sandbox configuration is broken by default for sbt 0.13.12+, but works fine on 0.13.11.

Could someone fill me in/point me to some info on this mediator thing.

@sjrd See #2634

@sjrd It's a feature that was added in sbt 0.13.12 (https://github.com/sbt/sbt/pull/2634) that overrides scala organization and scala version transitively for scala-* artifacts like scala-compiler and scala-library.

@milessabin I don't think it does defeat a large part: the problem in #2286 was about using dependencies that transitively depended on for example scala-reflect or scala-compiler 2.11.5 (because that was the version of scala used when they were published) while having scalaVersion set to 2.11.8. The scope was always to upgrade the minor version (x.y.Z) of the scala artefacts.
But I don't see anyone against the configuration idea, so maybe that's the best choice.

I see, thanks. IMO the configuration-based idea is better, in that case.

It's a shame this issue was not fixed before 0.13.13. What's the next version that will address this bug?

I guess we sort of agreed on the direction of the fix but we never assigned who's going to work on it. Once we have a fix, I'd be happy to publish 0.13.14-M1.

Please fix asap, else scalafmt cannot be used for Scala 2.12.

Please fix, sooner the better :)

Here's a way to turn off scalaVersion mediator, as a workaround:
import sbt._
import Keys._

class MediatorWorkaround extends AutoPlugin {
  override def requires = plugins.JvmPlugin
  override def trigger = allRequirements
  override def projectSettings =
    Seq(
      ivyScala := { ivyScala.value map {_.copy(overrideScalaVersion = sbtPlugin.value)} }
    )
}

I'm also seeing behavior related to https://github.com/sbt/sbt/issues/1466 as reported by @johnynek:
bijection-core> clean
[warn] Binary version (2.11) for dependency org.scala-lang#scala-library;2.11.8
[warn] 	in com.twitter#bijection-core_2.10;0.9.3 differs from Scala binary version in project (2.10).

FWIW, instead of class MediatorWorkaround  I needed to use object MediatorWorkaround.
Also, in case anyone is wondering, I put the above in project/MediatorWorkaround.scala, which will get picked up by SBT, so
// inside project/MediatorWorkaround.scala
import sbt._
import Keys._

object MediatorWorkaround extends AutoPlugin {
  override def requires = plugins.JvmPlugin
  override def trigger = allRequirements
  override def projectSettings =
    Seq(
      ivyScala := { ivyScala.value map {_.copy(overrideScalaVersion = sbtPlugin.value)} }
    )
}

Would it be possible to use sbt 0.13.13 synthetic projects as a replacement for this custom-scope + update hack? Instead of adding a library dependency in a custom scope inside all projects, the plugin could create a synthetic project myPluginProject with a regular dependency on a 2.11/2.12 library. The plugin could then run the myPluginProject/runMain xxx  task to invoke the library as a replacement of running update in the custom scope and classload from that classpath.
Given that 2.10 is almost three years old now and two major versions away from the latest scala release, I think it would be nice if sbt offered a clean story for plugins to use modern scala versions.
BTW, I've decided to remove the scalafmt sbt plugin in its current form https://github.com/olafurpg/scalafmt/issues/597

It might be a way to workaround this regression.
Do users of the sbt-plugin tend to format everything in one go, or on a project-by-project basis?

Do users of the sbt-plugin tend to format everything in one go, or on a project-by-project basis?

I think the most common use-case is to format everything in one go. However, does it matter? To only format a subproject, the sbt plugin can pass in different flags to the mySyntheticPluginProject/runMain --flag subproject/.* task.

The next release of the scalafmt sbt plugin will use synthetic projects as a workaround for this issue, see https://github.com/olafurpg/scalafmt/pull/610. The plugin ended up being much smaller than the older plugin, which I'm very happy about.
sbt 0.13.13 is nice, thanks for a fantastic release. Feel free to close this issue.

Feel free to close this issue.

I wouldn't close this issue simply because there exists a workaround that takes a completely different direction. The fact remains that this is a bug, and it could affect other people.

Yeah, it's still a bug. Not closing it.

I hit on a related issue when working with Dotty + ScalaTest: https://github.com/lampepfl/dotty/issues/5612

@liufengyun I thought #2828 fixed this issue in 2016.
If Dotty is going to reverse the assumption made by #2634 that says organization and version number have to line up for scala-compiler, scala-library, scala-reflect, scala-actors, and scalap, we should open a separate issue to discuss this.


ED-2069: Add OCI oss support  superseed PR 1617,1615,1608,1602

combining PR 1617,1615,1608,1602

I see the previous PR (https://github.com/Sunbird-Obsrv/sunbird-data-pipeline/pull/1601) changes here as well -
Should we review and merge only this PR? Is both the PR changes are identical or any changes we have here?

@ddevadat  - Is this PR updated with the changes we discussed in the call? anything is pending to push?

@ddevadat - Is this PR updated with the changes we discussed in the call? anything is pending to push?

i updated and pushed the changes


How to train my own dataset?

Can I train my own dataset instead of any specific dataset?

Yes, you can do it. For that, you first need to generate pseudo-masks using mask_generator.py.
Kind regards,
Noel


Store app logs in UTC timezone

it's really tricky to debug things and see the interactions with the coordinator when we look at the app logs, because FLogs stores the logs in local time - and there seems to be no way to change it.
One quick way to fix this would be having our own wrapper,  something like this:
import 'package:f_logs/f_logs.dart';

void log(String message) {
  FLog.logThis(
    text: message,
    type: LogLevel.INFO,
    dataLogType: DataLogType.DEVICE.toString(),
    timestamp: DateTime.now().toUtc().toIso8601String(),  // Manually set UTC time
  );
}

we could make it fancy and have one function per log level.
Note that this would also greatly reduce our exposure to the deprecated FLogs package, and would make it easier to switch it sameday - see #1092 .

Nothing wrong about this :D


Update cmd_mb.go

The bucket creation is not working without this fix. We should have:
u.Path != "/" instead of u.Path != ""

I was just about to make this same pull request.
Confirming that the problem still exists today.


MAINT: Bump to 1.0.2

Will fail until https://github.com/conda-forge/mne-feedstock/pull/93 lands and then hits CDNs later today

Okay good now it failed, which it should  (no way 1.0.2_0 has hit CDNs yet). I found the bug only because it succeeded the first time incorrectly!

@hoechenberger FYI I think I have a test almost working, will push...

Got it!:
AssertionError: mne: got '1.0.1_0' != want '1.0.2_0'

Now let's see if it's fixed when I set the version properly in the version spec (and if the content is on the CDNs)

@hoechenberger ready for review/merge from my end


Add new features for v1.9.0

Coverage increased (+0.02%) to 96.402% when pulling 01c4df83ec706800f29b5bbc2c9ccb0f8abcc25b on 1.8.0-dev into 16d2393d18257b596b26ed2688c603f1384410fd on master.


Shutdown command

Add command to shutdown an aggregate or saga to allow it reload from persistence storage

done it in 1.9.1


Treat exceptions raised outside of notebook cells as errors

I opened a feature request on the nbmake repository to handle this case https://github.com/treebeardtech/nbmake/issues/77.

This has been fixed in nbmake 1.3.4 -- https://github.com/treebeardtech/nbmake/issues/77. We should try it out and then close this once we've confirmed it works for us.

I can confirm that the error which we had before in one of the notebooks is now detected correctly by nbmake. I upgraded the version of nbmake in #39  and close this issue accordingly.


Error: Unable to fetch weak subjectivity state: This operation was aborted

I am using Docker Compose to install and run Lodestar as a beacon node, but I encountered the following issue during runtime. Here is my Docker Compose configuration:

However, the logs of Lodestar contain the following errors:

anyone can solve ?

anyone can solve ?

I don't see any issue in your configuration. I have just tested this an was able to download state from https://checkpoint.gnosischain.com.
Maybe there was an issue with the checkpoint sync server.

anyone can solve ?

I don't see any issue in your configuration. I have just tested this an was able to download state from https://checkpoint.gnosischain.com.
Maybe there was an issue with the checkpoint sync server.

What can I do? Just wait? It was fine before, very strange.

What can I do? Just wait? It was fine before, very strange.

The checkpoint server seems fine, maybe there are other issues with your network. The download should be really fast as the state for gnosis chain is not that big, bit strange that it is running into a timeout.
Other option would be to remove --checkpointSyncUrl flag and let the node sync by itself, or at least you would see if your node is able to connect to peers

What can I do? Just wait? It was fine before, very strange.

The checkpoint server seems fine, maybe there are other issues with your network. The download should be really fast as the state for gnosis chain is not that big, bit strange that it is running into a timeout.
Other option would be to remove --checkpointSyncUrl flag and let the node sync by itself, or at least you would see if your node is able to connect to peers

thanks for your help,i'll try to remove and wait ,thanks again!

after i remove flag:
this is lodestar log:

and erigon log:

It looks like your node has issues connecting to peers as well. Based on the logs it looks like a networking issue, see also the Erigon error.
I am honestly not sure how to resolve this without knowing more details about your setup, it does not look like an issue with the client itself.
Better to move this discussion to discord as github is not great to debug such issues, could make sense to bring this up in eth-staker or gnosis discord, maybe someone had a similar issue before.
And feel free to join the Chainsafe discord, can continue debugging in #lodestar-help channel if you are not able to find a solution for this.


Bugfix/2241 rng model ctor

Submisison Checklist

[x] Run unit tests: ./runTests.py src/test/unit
[x] Run cpplint: make cpplint
[x] Declare copyright holder and open-source license: see below

Summary
Stan model's 3-arg constructor takes unsigned int (RNG seed) instead of RNG object itself; change discard strategy for RNG inits accordingly.
Intended Effect
Move burden of choosing/instantiating the RNG object used by the model constructor from the interfaces to core Stan.
How to Verify
Rung unit test src/test/unit/lang/generator_test.cpp
Side Effects
The function stan/services/util/create_rng.hpp use the chain id directly as the stride (discard) instead of using (chain_id - 1).  Interfaces should continue to enforce chain id > 0; the Stan model constructor calls the function create_rng using chain id 0.
Documentation
None
Reviewer Suggestions
Bob Carpenter or Sean Talts or Daniel Lee
Copyright and Licensing
Please list the copyright holder for the work you are submitting (this will be you or your assignee, such as a university or company): Mitzi Morris
By submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses:

Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

I fixed the merge conflict, but this now failing here on my local tests:
test/unit/services/sample/hmc_nuts_dense_inv_metric --gtest_output="xml:test/unit/services/sample/hmc_nuts_dense_inv_metric.xml"
Running main() from gtest_main.cc
[==========] Running 4 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 4 tests from ServicesSampleHmcNutsDenseEMassMatrix
[ RUN      ] ServicesSampleHmcNutsDenseEMassMatrix.ident_no_adapt
[       OK ] ServicesSampleHmcNutsDenseEMassMatrix.ident_no_adapt (6 ms)
[ RUN      ] ServicesSampleHmcNutsDenseEMassMatrix.ident_adapt_250
src/test/unit/services/check_adaptation.hpp:63: Failure
The difference between param_vals[ij] and test::unit::stod(strs[j]) is 0.45182600000000006, which exceeds err_margin, where
param_vals[ij] evaluates to 1.2162200000000001,
test::unit::stod(strs[j]) evaluates to 0.76439400000000002, and
err_margin evaluates to 0.20000000000000001.
[  FAILED  ] ServicesSampleHmcNutsDenseEMassMatrix.ident_adapt_250 (103 ms)
[ RUN      ] ServicesSampleHmcNutsDenseEMassMatrix.use_metric_no_adapt
[       OK ] ServicesSampleHmcNutsDenseEMassMatrix.use_metric_no_adapt (1 ms)
[ RUN      ] ServicesSampleHmcNutsDenseEMassMatrix.use_metric_skip_adapt
[       OK ] ServicesSampleHmcNutsDenseEMassMatrix.use_metric_skip_adapt (1 ms)
[----------] 4 tests from ServicesSampleHmcNutsDenseEMassMatrix (111 ms total)

@mitzimorris and @betanalpha --- can you work this out?

Looks like the test assumed a particular input RNG seed which changes in this PR.

On Jun 11, 2017, at 10:40 PM, Bob Carpenter<EMAIL_ADDRESS>wrote:
I fixed the merge conflict, but this now failing here on my local tests:
test/unit/services/sample/hmc_nuts_dense_inv_metric --gtest_output="xml:test/unit/services/sample/hmc_nuts_dense_inv_metric.xml"
Running main() from gtest_main.cc
[==========] Running 4 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 4 tests from ServicesSampleHmcNutsDenseEMassMatrix
[ RUN      ] ServicesSampleHmcNutsDenseEMassMatrix.ident_no_adapt
[       OK ] ServicesSampleHmcNutsDenseEMassMatrix.ident_no_adapt (6 ms)
[ RUN      ] ServicesSampleHmcNutsDenseEMassMatrix.ident_adapt_250
src/test/unit/services/check_adaptation.hpp:63: Failure
The difference between param_vals[ij] and test::unit::stod(strs[j]) is 0.45182600000000006, which exceeds err_margin, where
param_vals[ij] evaluates to 1.2162200000000001,
test::unit::stod(strs[j]) evaluates to 0.76439400000000002, and
err_margin evaluates to 0.20000000000000001.
[  FAILED  ] ServicesSampleHmcNutsDenseEMassMatrix.ident_adapt_250 (103 ms)
[ RUN      ] ServicesSampleHmcNutsDenseEMassMatrix.use_metric_no_adapt
[       OK ] ServicesSampleHmcNutsDenseEMassMatrix.use_metric_no_adapt (1 ms)
[ RUN      ] ServicesSampleHmcNutsDenseEMassMatrix.use_metric_skip_adapt
[       OK ] ServicesSampleHmcNutsDenseEMassMatrix.use_metric_skip_adapt (1 ms)
[----------] 4 tests from ServicesSampleHmcNutsDenseEMassMatrix (111 ms total)
@mitzimorris https://github.com/mitzimorris and @betanalpha https://github.com/betanalpha --- can you work this out?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/stan-dev/stan/pull/2313#issuecomment-307677890, or mute the thread https://github.com/notifications/unsubscribe-auth/ABdNlgPt4Le_8JPhy5TZQKQsNTEjRSELks5sDKU3gaJpZM4NjJGV.


TunableOp support

🚀 The feature, motivation and pitch
https://pytorch.org/docs/stable/cuda.html#tunableop
Please make sure we can pass the following UTs.
test_linagl.py
"test_bmm_tunableop_rocm_xpu_float32",
"test_numeric_check_leak_tunableop_rocm_xpu_float32",
"test_matmul_small_brute_force_tunableop_xpu_float16",
"test_matmul_small_brute_force_tunableop_xpu_float32",
"test_matmul_small_brute_force_tunableop_xpu_float64",
"test_addmm_relu_tunableop_rocm_xpu_float32",
" test_addmm_relu_tunableop_rocm_xpu_float64",
"test_matmul_offline_tunableop_xpu_float16",
Alternatives
No response
Additional context
No response

No plan to support tunable in 2.6, close this issue.


Almost 1.0

Adds passes, codegen, (incomplete) auto pass generation, typechecking, basic catas, basic list matching, etc.

All basic features seem to be working


Datepicker doesn't update input text when (date) value attribute is provided

The internal date object is updated, but the input value remains the same. The following fix seems to solve the problem:
Add inputValue: this.props.formatter(nextProps.value) as an attribute to the state object being set on https://github.com/salesforce-ux/design-system-react/blob/master/components/date-picker/date-picker.jsx#L274

@kevinparkerson I am un-assigning this issue.


[Feature/51601] Both platforms: Updated layout and flow of countries consent

The dialog on the first screen, when does it appear?

The dialog on the first screen, when does it appear?

The dialog on the first screen, when does it appear?

@pavshr when clicking the X in the upper right corner

The dialog on the first screen, when does it appear?

@pavshr when clicking the X in the upper right corner


added application password resource

Before creating a pull request make sure that:

[ ] commit messages are meaningful and follow good commit message guidelines
[ ] README and other documentation has been updated / added (if needed)
[ ] tests have been updated / new tests has been added (if needed)

Please remove this line and everything above and fill the following sections:
JIRA link (if applicable)
Change description
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[ X] No

Unrelated but:
Don't use format like in this:
https://github.com/hmcts/darts-shared-infrastructure/blob/9b4820d0099d09ff235879199dc1004b2cd07c33/azuread_application.tf#L3
Use interpolation instead:
darts-${env}-app
What do they need this app for?


https://issues.jboss.org/browse/WFCORE-467 improve patch inspect functio...

...nality to support patch bundles
Thanks,
Alexey

Linux Build 1446 is now running using a merge of cea1c37bee1f03ab3d2cd02d0287248373fb15a7

Windows Build 1106 is now running using a merge of cea1c37bee1f03ab3d2cd02d0287248373fb15a7

Core - Full Integration Build 707 is now running using a merge of cea1c37bee1f03ab3d2cd02d0287248373fb15a7

Windows Build 1106 outcome was SUCCESS using a merge of cea1c37bee1f03ab3d2cd02d0287248373fb15a7
Summary: Tests passed: 3076, ignored: 65 Build time: 0:19:04

Linux Build 1446 outcome was SUCCESS using a merge of cea1c37bee1f03ab3d2cd02d0287248373fb15a7
Summary: Tests passed: 3076, ignored: 65 Build time: 0:19:28

Core - Full Integration Build 707 outcome was FAILURE using a merge of cea1c37bee1f03ab3d2cd02d0287248373fb15a7
Summary: Tests failed: 39 (39 new), passed: 2788, ignored: 412, muted: 1 Build time: 0:51:48
Build problems:
Failed tests detected
Failed tests
org.jboss.as.test.clustering.cluster.ejb.stateful.StatefulFailoverTestCase(SYNC-tcp).failoverOnStop: <no details avaliable>

org.jboss.as.test.clustering.cluster.ejb.stateful.StatefulFailoverTestCase(SYNC-tcp).nestedBeanFailover: <no details avaliable>

org.jboss.as.test.clustering.cluster.ejb.stateful.StatefulFailoverTestCase(SYNC-tcp).connectionFactoryFailover: <no details avaliable>

org.jboss.as.test.clustering.cluster.ejb.stateful.StatefulFailoverTestCase(SYNC-tcp).jmsConnectionFactoryFailover: <no details avaliable>

org.jboss.as.test.clustering.cluster.ejb.stateful.StatefulFailoverTestCase(SYNC-tcp).noFailover: <no details avaliable>

org.jboss.as.test.clustering.cluster.ejb.stateful.StatefulFailoverTestCase(SYNC-tcp).simpleFailover: <no details avaliable>

org.jboss.as.test.clustering.cluster.ejb.stateful.StatefulTimeoutTestCase(SYNC-tcp).timeout: <no details avaliable>

org.jboss.as.test.clustering.cluster.ejb.xpc.StatefulWithXPCFailoverTestCase(SYNC-tcp).testBasicXPC: <no details avaliable>

org.jboss.as.test.clustering.cluster.ejb.xpc.StatefulWithXPCFailoverTestCase(SYNC-tcp).testSecondLevelCache: <no details avaliable>

org.jboss.as.test.clustering.cluster.ejb.remote.RemoteFailoverTestCase(SYNC-tcp).testSecureStatelessFailover: <no details avaliable>

org.jboss.as.test.clustering.cluster.ejb.remote.RemoteFailoverTestCase(SYNC-tcp).testStatelessFailover: <no details avaliable>

##### there are 29 more failed tests, see build details

Core - Full Integration Build 709 is now running using a merge of cea1c37bee1f03ab3d2cd02d0287248373fb15a7

Core - Full Integration Build 709 outcome was SUCCESS using a merge of cea1c37bee1f03ab3d2cd02d0287248373fb15a7
Summary: Tests passed: 2828, ignored: 412 Build time: 0:58:57

Windows Build 1120 is now running using a merge of c5e535e6f08bc7f74793df25195c5d224fcae7f8

Core - Full Integration Build 723 is now running using a merge of c5e535e6f08bc7f74793df25195c5d224fcae7f8

Linux Build 1462 is now running using a merge of c5e535e6f08bc7f74793df25195c5d224fcae7f8

Linux Build 1462 outcome was SUCCESS using a merge of c5e535e6f08bc7f74793df25195c5d224fcae7f8
Summary: Tests passed: 3076, ignored: 65 Build time: 0:18:14

Windows Build 1120 outcome was SUCCESS using a merge of c5e535e6f08bc7f74793df25195c5d224fcae7f8
Summary: Tests passed: 3076, ignored: 65 Build time: 0:20:30

Core - Full Integration Build 723 outcome was SUCCESS using a merge of c5e535e6f08bc7f74793df25195c5d224fcae7f8
Summary: Tests passed: 2838, ignored: 416 Build time: 0:54:10


What is the status of this project?

Hi there.. I want to know the status of this project.. Is it still being developed or completely abandon. Judging from the commit history, there is no new commit for the last 3 months..

Howdy! This project is still very alive and active, though that activity doesn't really show up here.
Lately I'm developing on the "saferegioncomplete" branch of my personal fork at https://github.com/verdagon/vale/tree/saferegioncomplete, and I post an update every day or two to the #progress channel of the discord server.
(Leaving this open until I can figure out a good way to show progress even when there's nothing I can merge into master)

If it's just about showing progress, you could always start a pull request as soon as you branch out.
That way, every time you push, the pull request will be updated and people who subscribed to the pull request (or the repo) will get notifications, and the "last updated" date on the pull request will be updated.
It can lead to clutter, but it increases visibility.

Howdy! This project is still very alive and active, though that activity doesn't really show up here.
Lately I'm developing on the "saferegioncomplete" branch of my personal fork at https://github.com/verdagon/vale/tree/saferegioncomplete, and I post an update every day or two to the #progress channel of the discord server.
(Leaving this open until I can figure out a good way to show progress even when there's nothing I can merge into master)

ah ic.. sorry didn't aware of the discord channel.. hope you keep this project going on cause I see a lot of potential in this language


allow unsigned firmware upgrades

Because:

Power users and developers should be able to run firmware images
built by themselves, independently from a Shift signature

This commit:

introduces Redis key 'base:update:allow-unsigned' with default 0
replaces the static /etc/mender/mender.conf file with a template
adds the bbb-config.sh command 'enable/disable unsigned_updates'
restores this setting on update

Tested directly on base
root@bitbox-base:~# sudo bbb-cmd.sh mender-update install flashdrive
2.0.1
runtime: go1.11.2
INFO[0000] Loaded configuration file: /etc/mender/mender.conf  module=config
WARN[0000] No server URL(s) specified in mender configuration.  module=config
WARN[0000] Server entry 1 has no associated server URL.  module=config
INFO[0000] Mender running on partition: /dev/mmcblk1p3   module=main
INFO[0000] Start updating from local image file: [/mnt/backup/update.base]  module=standalone
Installing Artifact of size 250013696...
ERRO[0000] Reading headers failed: installer: failed to read Artifact: reader: expecting signed artifact, but no signature file found  module=standalone
ERRO[0000] installer: failed to read Artifact: reader: expecting signed artifact, but no signature file found  module=main
ERR: mender install failed with error code 1
MENDER_UPDATE_INSTALL_FAILED
root@bitbox-base:~# bbb-config.sh enable unsigned_updates
INFO: set Redis key 'base:update:allow-unsigned' to '1'
generateConfig() from /opt/shift/config/templates/mender.conf.template, read-only partition of overlayroot
connected to Redis
opened template config file /opt/shift/config/templates/mender.conf.template
writing into output file /etc/mender/mender.conf
written 4 lines
placeholders: 0 replaced, 0 kept, 0 deleted, 0 lines deleted, 0 set to default
checks: 1 lines dropped, 0 lines kept

INFO: Chrooting into [/media/root-ro]
connected to Redis
opened template config file /opt/shift/config/templates/mender.conf.template
writing into output file /etc/mender/mender.conf
written 5 lines
placeholders: 0 replaced, 0 kept, 0 deleted, 0 lines deleted, 0 set to default
checks: 1 lines dropped, 0 lines kept

root@bitbox-base:~# sudo bbb-cmd.sh mender-update install flashdrive
2.0.1
runtime: go1.11.2
INFO[0000] Loaded configuration file: /etc/mender/mender.conf  module=config
WARN[0000] No server URL(s) specified in mender configuration.  module=config
WARN[0000] Server entry 1 has no associated server URL.  module=config
INFO[0000] Mender running on partition: /dev/mmcblk1p3   module=main
INFO[0000] Start updating from local image file: [/mnt/backup/update.base]  module=standalone
Installing Artifact of size 250013696...
INFO[0000] no public key was provided for authenticating the artifact  module=installer
.INFO[0000] native sector size of block device /dev/mmcblk1p2 is 512, we will write in chunks of 1048576  module=dual_rootfs_device
.INFO[0000] opening device /dev/mmcblk1p2 for writing     module=block_device
INFO[0000] partition /dev/mmcblk1p2 size:<PHONE_NUMBER>     module=block_device
..........................


testing: set OPENSSL_MODULES to the providers directory by default

Merged.
8b138d3fe4d9dbbc632511d4ac8b7099b793630b testing: set OPENSSL_MODULES to the providers directory by default


Support custom objects in TDTM framework

Currently, HEDA includes triggers for a number of objects. In this case users that want to add TDTM classes to the framework don't need to create triggers, just the classes. However, users may want to create TDTM classes for objects for which we don't provide triggers, of for custom objects.

**lurch: add

Tracking W-010624

Thinking about globalizing the factory?

Yes, a user in the Hub asked about this: https://powerofus.force.com/_ui/core/chatter/groups/GroupProfilePage?g=0F980000000CjxL&fId=0D58000002kgKXC&s1oid=00D00000000hWLM

UW-Extension also asked about this in the call we had on 6/15/16.

Thanks for the updates!

Hi Carlos, I will certainly plan to take advantage of this as soon as it's available.

+1 on requesting this functionality.  Would be wonderful to have the factory globalized so we can write our own triggers.  Any word on when this will be available?

It had to be pushed due to competing priorities, but we will start working on this in the current sprint.

Included in beta release 1.19 (Beta 1)

Included in production release rel/1.19


Add address / copy address component to creators' pages

This is already in progress, just need to merge it in.
This gives the ability to see the profile's truncated 0xAddress and click to copy to clipboard.

Added copy address:


Adapt SPM.mat file paths

The file paths stored in SPM.mat are absolute; when the data is moved to another machine, SpmGlm can adjust these paths to new project directory and filesystem separator style.

[x] prepend base path
[x] adjust for filesystem

Sounds good


remoting-client-javafx removed

The remoting-client-javafx module is not needed and can easily be removed.

This change is

Coverage decreased (-0.6%) to 69.086% when pulling 21dbb933cced0123eb17409925b3b0b14513549d on remoting-client-javafx into 57c722c9834a80c9a08cbea136ccf4c65e0244fd on master.

Coverage decreased (-1.2%) to 68.459% when pulling 2896cc4cd49612c190da5cc68043e7c760cd3c88 on remoting-client-javafx into 57c722c9834a80c9a08cbea136ccf4c65e0244fd on master.

Reviewed 25 of 25 files at r1, 6 of 6 files at r2.
Review status: all files reviewed at latest revision, all discussions resolved, some commit checks failed.

Comments from Reviewable


[wip] feat: dim theme mode

Summary
https://app.clickup.com/t/86dqv30nq
requires https://github.com/ArkEcosystem/laravel-foundation/pull/608
todo:

[x] mobile toggle
[x] toggling theme on mobile doesn't update desktop dropdown option
[x] tests
[x] stan
[ ] go over all pages and compare with design
[ ] look into removing the need for an !important flag for all dim modes against dark

Checklist

[ ] I checked my UI changes against the design and there are no notable differences
[ ] I checked my UI changes for any responsiveness issues
[ ] I checked my UI changes in light AND dark mode
[ ] I checked my (code) changes for obvious issues, debug statements and commented code
[ ] I opened a corresponding card on Clickup for any remaining TODOs in my code
[ ] I added a short description on how to test this PR (if necessary)
[ ] Documentation (if necessary)
[ ] Tests (if necessary)
[ ] Ready to be merged

Desktop issues:

[ ] navbar - search field icon
[ ] navbar - theme icon colour
[ ] navbar - currency dropdown bg colour
[ ] general - secondary button colours
[ ] home - tab selected colour border
[ ] general - all link colours
[ ] home - learn more button colour
[ ] navbar - search text input colour
[ ] general - page header colour
[ ] general - badge colours
[ ] compatible wallets - ark vault cta bg & "control your assets" colours
[ ] compatible wallets - submit wallet cta text & button colours
[ ] exchanges - dropdown chevron colour
[ ] exchanges - submit exchange cta text & button colours
[ ] general - table info tooltip bg colour
[ ] statistics - TODO
[ ] delegates - cta background
[ ] delegates - missed count badge colour
[ ] delegates - recent votes - addressing badge should be generic colour
[ ] monitor - better check of favourite icon
[ ] monitor - "generating" badge colour
[ ] monitor - all 3 status colour icons in header
[ ] block - id header & detail border colours
[ ] wallet - transactions - negative amount badge colour (red colours are wrong)

Mobile:

[ ] navbar - network & price dropdown button colour
[ ] general - tab dropdown wrong bg colours
[ ] search - button next to input on modal
[ ] search - input text & icon colour
[ ] compat. wallets - divider colour
[ ] exchanges - dropdown pair icon colour
[ ] general - disabled pagination background colour
[ ] statistics - tab/dropdown text colour
[ ] delegates - cta reversed top/bottom
[ ] transaction - copy button bg colour
[ ] transaction - copy address icon colour
[ ] delegates - recent votes - addressing should be generic colours


add more jokes to joke plugin

I have submitted a pull request to add more jokes to the plugin.

any other first-timers who want to add more jokes, feel free!


DOC: optimize: Add Examples to fmin_bfgs docstring

Reference issue
Picked one function listed in #7168
What does this implement/fix?
Add a simple example to docstring.
Additional information
Though scipy.optimize has the defined Rosebrock function, I defined it inline to give the idea for users.

The Linux Tests / Nightly CPython error looks like it is happening in other PRs (e.g. gh-13661)


Trying to help / setting it up for myself

Hello ! I am trying to use this script in order to create an album for each directory in my file system, the structure is the following

Photos

Tokyo

Kyoto

Day01

Osaka

Day01

Day02

... (And about 200 more directories)
Is it possible to create an album with each folder ? Ideally each album would contain the files in all its children directories, but I guess this might not be possible.
I have encountered some issues with .DS_STORE files on MacOS (I have my photos mounted on SMB so it created this file every time I enter a directory)
I've added in im.py line 89:
 for filename in os.listdir(folder):
            full_path = os.path.join(folder, filename)
+            ## If the file is hidden (starts with .) skip it or it doens't end with jpg, jpeg, raf, png, skip it
+            if filename.startswith('.') or not filename.lower().endswith(('.jpg', '.jpeg', '.raf', '.png')):
+                continue
            if os.path.isfile(full_path):
                replaced_path = full_path.replace(original_path, replace_path)

In order for it to skip my hidden/non photos files but I still get an issue :
Exception when calling create_album: (404)
Reason: Not Found
HTTP response headers: HTTPHeaderDict({'X-Powered-By': 'Express', 'Content-Type': 'application/json; charset=utf-8', 'Content-Length': '69', 'ETag': '"45-ZIXwJFYuB0um"', 'Date': 'Tue, 28 Nov 2023 17:58:08 GMT', 'Connection': 'keep-alive', 'Keep-Alive': 'timeout=5'})
HTTP response body: {"message":"Cannot POST /album","error":"Not Found","statusCode":404}
Creating .album

Issue
Have I done something wrong ? My library is mounted as an external library inside of Immich, but I mounted the/Photos directory as read-only. Does immich create a .album files / directories in order to create albums ?
Any help would be much appreciated

Can you send me how you invoked the script?
I have mac too. Having .DS_STORE should not be a problem, just slow down the script as it would check if it exists as assets.
Yes, it creates .album to store the albumID created for a folder.
As it now it creates an album for each folder, there is not an option to flat directory structure. If you want to implement that you probably need also to specify the depth. Ex -depth 1 to create album only for first level and store all assets in subdir.

Actually I gave up after my issue and ended up another script to achieve what I wanted : https://gist.github.com/REDVM/d8b3830b2802db881f5b59033cf35702
It ended up working well enough for my use case


Default fetcher doesn't fetch anything

Bug report
Description / Observed Behavior
After upgrading from 0.4.2 to 1.2.1 when trying to fetch with the default fetcher
This doesn't work:
export const useGroupedData1 = (): FeeData | undefined => {
  const { data } = useSWR<RawFeeData>(`${feesBasePath}/all`, {
    refreshInterval: Duration.millisFromSeconds(4),
  });

  return data === undefined ? undefined : decodeFeeData(data);
};

This does:
export const useGroupedData1 = (): FeeData | undefined => {
  const { data } = useSWR<RawFeeData>(
    `${feesBasePath}/all`,
    async (url: string) => {
      const res = await fetch(url);
      return res.json() as Promise<RawFeeData>;
    },
    {
      refreshInterval: Duration.millisFromSeconds(4),
    },
  );

  return data === undefined ? undefined : decodeFeeData(data);
};

Observed behavior is nothing happens at all. I verified that useSWR does get called, undefined gets returned, but the actual request never fires. I tried to dig into the source but it's a bit hard to read after transpilation.
Additional Context
SWR version: 1.2.1

Please check https://swr.vercel.app/blog/swr-v1#migration-guide, there is no more default fetcher since 1.0. You can simply add it if necessary:
(url) => fetch(url).then(res => res.json())

@shuding alright, I'll add a default fetcher.
How about updating the documentation: https://swr.vercel.app/docs/options
It still says optional

It is optional — you can skip that option and use SWR for pure state management. For example: https://paco.me/writing/shared-hook-state-with-swr.

@shuding sure. I'm guessing that's not what most users are checking the docs for but either way, I feel like we're talking past each other.
I just spent 30min trying to figure out why SWR isn't fetching my resources. No error, no nothing. Docs say omitting the fetcher is fine.
Do you think there's something we can do to help others not fall into the same waste of time?

I see. Fair enough! You're the maintainer. I trust your judgement. on that
(:
In that case, I'd suggest to do nothing an wait for a couple 👍, or "me
too" first.
On Sun, 13 Feb 2022 at 19:12, Shu Ding @.***> wrote:

I think this only happens for 0.x users as they thought there's a default
fetcher. For new users, there's no example on the docs omitting that
parameter (if there is, we should correct it!). However I totally
understand your point and we can add a note there next to the fetcher
option: "if not specifying a fetcher, SWR will skip fetching the data".
—
Reply to this email directly, view it on GitHub
https://github.com/vercel/swr/issues/1854#issuecomment-1038311247, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAPLBV7EUXHULYUZFA35WQTU27YAHANCNFSM5OJK6MBQ
.
You are receiving this because you authored the thread.Message ID:
@.***>


Inaccurate description about request response when deleting and using the product-composite microservice in chapter 07, section "Using RabbitMQ without using partitions"

In chapter 07, section "Using RabbitMQ without using partitions" we have:
...
7. Finally, delete it with the following command:
curl -X DELETE localhost:8080/product-composite/1
8. Try to get the deleted product again. It should result in a 404 - "NotFound" response!
...
However, when calling delete on the product-composite service we do not get anything because the app it is just sending Delete events to RabbitMQ (as expected). It could not return a 404 NotFound response because there is no actual response from microservice. I think that even in previous sections/chapters where we are no using message broker the microservices are idempotent and 1+ delete operations do not return a 404, but just an http 200 OK. I am not 100% sure of this last statement, though. I hope this helps!

Hello again :-)
Step no 8 says: "Try to get the deleted product again", mening issue a GET request, not a DELETE request. Like the one in step  no 6:
curl -s localhost:8080/product-composite/1

It is expected to return 404.
Ok?

@magnus-larsson Thank you for the clarification.

Great, keep on asking questions!


refactor: Refactor module loader to support @types/node

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: kdy1:x: kodiakhq[bot]You have signed the CLA already but the status is still pending? Let us recheck it.


revert yamux back to my patch pending hashicorp/yamux#30

reverting this until https://github.com/hashicorp/yamux/issues/30 is fixed

SGTM but name field disappeared

dammit. I even filed an issue for it before pushing and i still forgot to fix it: https://github.com/whyrusleeping/gx/issues/75


Call Web Method (Service Operation)

can i use this for call 'web method' like Login(string user, string password).
i was try and i get error like:
Error: [$resource:badcfg] http://errors.angularjs.org/1.5.8/$resource/badcfg?p0=Error in resource% etc.
i use this code:
 return {                 mold: $odataresource("http://localhost:55213/MmsDataService.svc/Login", {"user":"myuser","password":"mypassword"})                             .odata()                             .query()             }
Thanks and regards,

Hi, it resolved. response from web method  must in array not single value.
Thanks and Regards

Resolved my problem


Timezone data: Update to 2015c

Timezone information is updated to 2015c, released on 14 Apr 2015.
I used build/zoneinfo2lua.pl to pull data from my Ubuntu 14.10.
Changes in 2015b and 2015c are rather small:
http://mm.icann.org/pipermail/tz-announce/2015-March/000029.html
http://mm.icann.org/pipermail/tz-announce/2015-April/000030.html
 Mongolia will start observing DST again this year, from the last
 Saturday in March at 02:00 to the last Saturday in September at 00:00.

 Palestine will start DST on March 28, not March 27.  Also,
 correct the fall 2014 transition from September 26 to October 24.
 Adjust future predictions accordingly.

 Egypt's spring-forward transition is at 24:00 on April's last Thursday,
 not 00:00 on April's last Friday.  2015's transition will therefore be on
 Thursday, April 30 at 24:00, not Friday, April 24 at 00:00.  Similar fixes
 apply to 2026, 2037, 2043, etc.

Signed-off-by: Hannu Nyman<EMAIL_ADDRESS>

Thanks hannu!


Update members.json

Hi there, it seems like you already added yourself to the webring so I'll be closing this PR. You're still free to contribute if you want to make improvements to the webring itself (so far I haven't created any issues yet, but I might add a todo list of features I want to add)


Add Check for Imu.reset() Failure (fixes #62)

Summary

Checks that imu.reset() failed, in addition to checking errno.
Will try to calibrate imu up to 5 times, before giving up, after which, it will set the imu to nullptr.

Motivation
Without this fix:

If errno is PROS_ERR, ENODEV, or ENXIO, then the chassis.calibrate() method will forever attempt to recalibrate the imu, even if calibration is successful.
If imu calibration fails once, it will forever be in this loop.
If imu calibration will never succeed (eg. imu is disconnected), it will forever be in this loop, blocking the thread.

Test Plan
I would build this library and make sure the problems I described are fixed and that it works normally. But, I don't know how to build it, as it is not described in CONTRIBUTING.md. I can implement these tests if informed on how to do so.

You have a point about the contributing.md I'll update it. Also, good catch

CONTRIBUTING.md has been updated with instructions for building

Tested, LGTM


feat: test directory removals

Add some tests to make sure when a directory is removed, its contents are not visible later on.

What type of PR is this?

Which issue does this PR fix:
What does this PR do / Why do we need it:
If an issue # is not available please add repro steps and logs showing the issue:
Testing done on this change:

Automation added to e2e:

Will this break upgrades or downgrades?
Does this PR introduce any user-facing change?:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Note, this is expected to fail, since stacker is broken with respect to "rm -rf /existingdir; mkdir /existingdir"

Replaced by 604


Tags

There are versions on PyPI which are not tags here

Added now 😀
https://github.com/adiralashiva8/pytest-metrics/releases/tag/v0.4


Fidelity is not considered in arkgoserver

Looks like arkgoserver calculates always without fidelity. This gives a wrong impression to new voters.

payrec is not updated with fAmount2Send

@Jarunik are these still open?

I think they are fine now.


Happy new year.

Fails

:no_entry_sign:
Commit with the 'docs' type should change documentation files

  Generated by :no_entry_sign: dangerJS against da9f5e9c0ca29f4064a2d5402c34f7550ce20422

Fails

:no_entry_sign:
Commit with the 'docs' type should change documentation files

  Generated by :no_entry_sign: dangerJS against da9f5e9c0ca29f4064a2d5402c34f7550ce20422

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

3.2.0
GitHub release

Your semantic-release bot :package::rocket:

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

3.2.0
GitHub release

Your semantic-release bot :package::rocket:


Fix coverage dir for Xcode 8

Coverage remained the same at 81.989% when pulling 117c46656057c135319269a67aeee49d1e23faf0 on fix-coverage-dir into 52e4108a99bd3dc170b44033ef6f7b078097892e on master.

Coverage remained the same at 81.989% when pulling 0a1a0fde0d04d3603c4e5a6acc71338e80eb7756 on fix-coverage-dir into 52e4108a99bd3dc170b44033ef6f7b078097892e on master.


Fix visual shader color constants not retaining edits

Fix https://github.com/godotengine/godot/issues/21598

Thanks!

Awesome!


Late-breaking change to well.less path

This file was merged after the other template files were moved.

:+1:

:+1:

Superseded by https://github.com/cfpb/cfgov-refresh/pull/1069


Using in combination with TanStack React Table V8

Hi,
I would like to use this library in combination with React Table V8, but there's no clear example of this anywhere. They have an example with react-dnd, but not with dnd-kit.
Here's the example: https://codesandbox.io/p/devbox/tanstack-table-example-column-dnd-sqo7wj?embed=1&file=%252Fsrc%252Fmain.tsx
I would appreciate some help to figure out the equivalent implementation with dnd-kit.

https://codesandbox.io/p/devbox/3cfnfl?embed=1&file=%2Fpackage.json&layout=%257B%2522sidebarPanel%2522%253A%2522EXPLORER%2522%252C%2522rootPanelGroup%2522%253A%257B%2522direction%2522%253A%2522horizontal%2522%252C%2522contentType%2522%253A%2522UNKNOWN%2522%252C%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522id%2522%253A%2522ROOT_LAYOUT%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522UNKNOWN%2522%252C%2522direction%2522%253A%2522vertical%2522%252C%2522id%2522%253A%2522clrj12qz400063b6lliqa6klz%2522%252C%2522sizes%2522%253A%255B100%252C0%255D%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522EDITOR%2522%252C%2522direction%2522%253A%2522horizontal%2522%252C%2522id%2522%253A%2522EDITOR%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522EDITOR%2522%252C%2522id%2522%253A%2522clrj12qz400023b6l8zyna8sx%2522%257D%255D%257D%252C%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522SHELLS%2522%252C%2522direction%2522%253A%2522horizontal%2522%252C%2522id%2522%253A%2522SHELLS%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522SHELLS%2522%252C%2522id%2522%253A%2522clrj12qz400033b6l6d5qkkhg%2522%257D%255D%252C%2522sizes%2522%253A%255B100%255D%257D%255D%257D%252C%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522DEVTOOLS%2522%252C%2522direction%2522%253A%2522vertical%2522%252C%2522id%2522%253A%2522DEVTOOLS%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522DEVTOOLS%2522%252C%2522id%2522%253A%2522clrj12qz400053b6lkl6fyqu5%2522%257D%255D%252C%2522sizes%2522%253A%255B100%255D%257D%255D%252C%2522sizes%2522%253A%255B50%252C50%255D%257D%252C%2522tabbedPanels%2522%253A%257B%2522clrj12qz400023b6l8zyna8sx%2522%253A%257B%2522tabs%2522%253A%255B%257B%2522id%2522%253A%2522clrj12qz400013b6lfihjwodu%2522%252C%2522mode%2522%253A%2522permanent%2522%252C%2522type%2522%253A%2522FILE%2522%252C%2522filepath%2522%253A%2522%252Fpublic%252Findex.html%2522%252C%2522state%2522%253A%2522IDLE%2522%257D%255D%252C%2522id%2522%253A%2522clrj12qz400023b6l8zyna8sx%2522%252C%2522activeTabId%2522%253A%2522clrj12qz400013b6lfihjwodu%2522%257D%252C%2522clrj12qz400053b6lkl6fyqu5%2522%253A%257B%2522id%2522%253A%2522clrj12qz400053b6lkl6fyqu5%2522%252C%2522tabs%2522%253A%255B%255D%257D%252C%2522clrj12qz400033b6l6d5qkkhg%2522%253A%257B%2522id%2522%253A%2522clrj12qz400033b6l6d5qkkhg%2522%252C%2522activeTabId%2522%253A%2522clrj16t72005a3b6lzkkk5nbl%2522%252C%2522tabs%2522%253A%255B%257B%2522type%2522%253A%2522TASK_LOG%2522%252C%2522taskId%2522%253A%2522start%2522%252C%2522id%2522%253A%2522clrj16t72005a3b6lzkkk5nbl%2522%252C%2522mode%2522%253A%2522permanent%2522%257D%255D%257D%257D%252C%2522showDevtools%2522%253Atrue%252C%2522showShells%2522%253Afalse%252C%2522showSidebar%2522%253Atrue%252C%2522sidebarPanelSize%2522%253A15%257D

I just realized it, and I've been looking for a long time, hoping it can help you.
just see three component.
https://codesandbox.io/p/devbox/dndkit-react-table-shadcn-3cfnfl


Refactor smart phrases

I don't like the current implementation. at all.

Will write my own replacement function and ditch util %s


Adding basic ESP32 support

Based on Issue #71 (thanks @antonio-fiol).
Adding basic support for ESP32 (not including "examples").

Hi Yuri
Thank you so much for your PR! Just a few questions before I merge:

wouldn't it make sense to add our own Wifi header file which contains these compiler flags instead of adding them over and over again? (I wonder why the ESP32 coders did this change in the first place...
What is the effect of the setNoDelay change?

Hi

I guess you are right ;-) adding own WiFi header.
Honestly, I didn't checked effect of setNoDelay by myself, just took it from @antonio-fiol suggested patch.   After playing with  both options, I see no noticeable effect. So, reverting it back to setNoDelay(false).
Without "Ticker" support on ESP32 it looks a bit ugly (see WeatherStationDemo), still looking for better solution.

I was having trouble getting the info downloaded, and that was one of my
tests.
It turned out to be something else (checking if still connected made
everything fail) and forgot to roll back that.
El 25 jun. 2017 16:01, "Y"<EMAIL_ADDRESS>escribió:

Hi

I guess you are right ;-) adding own WiFi header.
Honestly, I didn't checked effect of setNoDelay by myself, just took
it from @antonio-fiol https://github.com/antonio-fiol suggested
patch. After playing with both options, I see no noticeable effect. So,
reverting it back to setNoDelay(false).
Without "Ticker" support on ESP32 it looks a bit ugly (see
WeatherStationDemo), still looking for better solution.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/squix78/esp8266-weather-station/pull/74#issuecomment-310904332,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AWOtcZ8XOI3M0Irmqa2ArMeJelwzMccPks5sHmg2gaJpZM4OESvG
.

Please note that "WeatherStationDemoExtended" depends on the following :

Experimental WiFiManager fork : https://github.com/bbx10/WiFiManager/tree/esp32

And the following libraries (are NOT supported by Espressif) :
https://github.com/bbx10/WebServer_tng
https://github.com/bbx10/DNSServer_tng


Fix corruption of thread linked list

When a new thread finishes very quickly it could happen that the removal from the linked list was executed before the push. The linked list didn't check for that situation and it ends corrupted.
This is what was causing errors while the GC runs on the specs. There are some tests that create new threads with an almost empty body.
Fixes #8184

A comment about this: it looks like a simple PR but it took days to find out the cause. The work these fixes take isn't related to the code change size at all!


webcontainer v1

This appears to still be something that opens up an external iframe. Are there any alternatives to that yet? Is that on StackBlitz's roadmap?


Comparison function wrong?

https://github.com/aaronscherzinger/polygonnesting/blob/2da12c838e38ebea16ca65cdbeb6d79081bc30fc/polygonnesting.h#L564 I think that you should use GetY when x has the same value. I think there is a bug here according to your comments. I didn't test the code though.

Sorry for the late reply, I overlooked your comment - you are of course right! I fixed the bug, thanks a lot for reporting this.


Use op::v0::Interpolate in opset3

As currently agreed op::v0::Interpolate should be used in opset3.
It means that Resize-10 should produce op::v0::Interpolate.

@rkimballn1 @silee2 removed from review after change base to dynamic

Will be merged to dldt closed source repository in MR#7594


Logs/Errors for pull not getting triggered

How can I check the logs/errors if pull is not triggered?
I've installed the app and granted permission to my repository(which is fork of a public repo) but it doesn't seem to work, and https://pull.git.ci says File not found.

You can look at logs if you run your own installation. Please provide more details and i can check for you if you prefer to use the hosted version.

I am currently using hosted version in Github Apps. The project is https://github.com/saxo-datagov/datahub

Sorry for the delay, I just checked your repo it seems pull is working normally at this time. Please reply if you have another example or see any other issues. Thank you!


Publish to packagist.org

Hi and thanks for putting together such a great template.
Are you able to publish to packagist.org?
I am using bedrock to manage wordpress/themes/plugins via composer, and while I can require via git, it would be easier via packagist since you already have the composer.json file in place

@twosg can you help here out?

@crftwrk Its easy you simply need to submit it at https://packagist.org/packages/submit

https://packagist.org/packages/bootscore/bootscore


🐛 Bug: Misrepresenting directional rail stops with the same lat/long

Describe the bug

In the MTC 9-county network, 19th and Macarthur stops on Southbound BART services are skipped. This bug is generated in the network creation step (the original pipeline notebooks). These two stations are different compared to the other BART stations in the input GTFS as they have two separate stop records for south and north bound respectively, although the lat/long of the south and north bound stops are exactly the same. Since the lat/long are the same for the south and north bound stops, only one rail node is generated. But the south bound stop did not get associated with the generated rail node, thus the final itinerary is skipping the south bound stops.
Need to check if this is corrected in Ranch's transit algorithm and if not, fix it.
Progress:

[ ] Sufficient information provided
[ ] Cause identified/found
[ ] Test developed/identified
[ ] Approach determined
[ ] Test passes

To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Failing tests

[ ] No applicable test failed, need to create.
[ ] other...specify

Triggering line of code
Thoughts on resolution
Full stack trace

@yueshuaing


Updated FastCGIServerRequest docs

Updated FastCGIServerRequest docs with new examples and code explanations

Codecov Report

Merging #254 into master will decrease coverage by 0.09%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master     #254     +/-   ##
=========================================
- Coverage   74.81%   74.71%   -0.1%
=========================================
  Files          31       31
  Lines        4181     4181
=========================================
- Hits         3128     3124      -4
- Misses       1053     1057      +4

Flag
Coverage Δ

#CHTTPParser
57.46% <ø> (-0.07%)
:arrow_down:

#KituraNet
74.71% <ø> (-0.1%)
:arrow_down:

Impacted Files
Coverage Δ

...urces/KituraNet/FastCGI/FastCGIServerRequest.swift
79.74% <ø> (ø)
:arrow_up:

...ces/KituraNet/Server/ServerLifecycleListener.swift
79.16% <0%> (-4.17%)
:arrow_down:

Sources/KituraNet/HTTP/HTTPServer.swift
79.88% <0%> (-1.12%)
:arrow_down:

Sources/CHTTPParser/http_parser.c
57.27% <0%> (-0.07%)
:arrow_down:

Continue to review full report at Codecov.

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


How can I generate source code into main/src/java directly?

Now seems I have to manually copy from target/java-gen, right?

got it, add config
<outputDirectory>${basedir}/src/main/java</outputDirectory>


feat(auth): add SAML IdP support in cloudformation template

add provider type and metadata url params to createIdentityProvider in
hostedUIProvidersCustomResources lambda function to allow SAML IdP support. To add SAML provider,
add provider type param to hostedUIProviderMeta in parameters.json and metadata url param to
hostedUIProviderCreds in team-provider-info.json
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@div5yesh can you please update the merge conflicts here so this PR can go through review? I'm specifically not using amplify cli on my projects because auth add/update keeps screwing up my SAML implementation with cognito, so my team and I would find this change very useful.


Optional setting to start with Home page

Is your feature request related to a problem? Please describe.
Users actually don't know about Home page and don't use that at all. But there is a lot of important and useful info.
Describe the solution you'd like
We need an option (enabled by default and managed by config) to start Rocket Chat desktop client with Home page (like https://open.rocket.chat/home)
Additional context
New user gets Home page on first desktop client launch, but usually not read it and start exploring new software browsing chats and other. But if Home page will open every desktop client start, it definitely will get more attention.

Hey @ankar84 I dont know if this would be a server configuration instead of a desktop one.
You think that only on desktop would this be great?
We can just disable the lastPath saving to the config.json. Then it will open always the Home.
But we need to think better in what to do.
What do you think?

Hello, @jeanfbrito !!
I think that desktop client solution is rather easy to accomplish then Web client with server side setting.
And the idea is to popularize home page among our users.

Hey @jeanfbrito, I would be delighted to work on this issue.
According to me, we should provide an option (in form of switch, may be) to "Always open home page" so that user will be able to keep the behaviour only for the desktop app as according to me it's better suited that way (as also mentioned by @ankar84).

We can just disable the lastPath saving to the config.json. Then it will open always the Home. But we need to think better in what to do. What do you think?
After looking closely at the mechanism to store the lastPath property, according to me, rather than preventing the storage (or update mechanism to config.json) we should reset it to a blank string whenever the window closes based on the setting chose by the user.

I am really looking forward to solve this issue. Please let me know if this approach appeals to you.
Thanks,
Prisha Gupta

Hey @jeanfbrito, I have made the necessary changes in my recent PR (#2805). I would request you to please have an eye of the changes I made. I would love to know your views about it.
Thanks you
Prisha Gupta

Thanks @preeesha! I was on vacation, now I'm looking on the PRs. Could you give an opinion to it @ankar84 ?

Thanks for the feedback @jeanfbrito. I'll update you in 24-48h with resolved conflicts.