Fix key valid after seek out of bound

What have you changed? (mandatory)
This PR fixes #3378. Please refer to the issue's description for details.
This is a simpler implementation over a previous fix attempt: https://github.com/tikv/tikv/pull/3383 . However the logic is still seems to be very complex and please review carefully. Thanks!
What are the type of the changes? (mandatory)

Bug fix (non-breaking change which fixes an issue)

How has this PR been tested? (mandatory)
Unit test.
Does this PR affect documentation (docs/docs-cn) update? (mandatory)
No.
Does this PR affect tidb-ansible update? (mandatory)
No.
Refer to a related PR or issue link (optional)
Issue: #3378
Previous fix: #3383
Benchmark result if necessary (optional)
Add a few positive/negative examples (optional)

@BusyJay @MyonKeminta @zhangjinpeng1987  PTAL

@MyonKeminta Not required. After that, self.valid is still true so that valid check will fallback to iter.valid(), which is false.

I'm a little not sure that, though the out-of-bound check already exists before this PR, is it necessary?

@MyonKeminta The out-of-bound check is kind of optimization. However we don't have benchmark results now 🤣

@MyonKeminta The out-of-bound check is kind of optimization. However we don't have benchmark results now 🤣

Is boundary check still necessary after separating forward/backward cursors?

@BusyJay Maybe we still need to keep it. Not every scenario is unidirectional from a higher viewpoint becuase we prefer reuse cursor to avoid new iterator cost (i.e. batch_get un-ordered keys).

@zhangjinpeng1987 @MyonKeminta
Maybe there is some general misunderstanding about the solution and I will explain together here.
The flag "valid == false" means that last time the cursor enters the invalid state (i.e. cursor.valid() should be false) because of cursor's own boundary fast fail optimization. So, if the cursor is in invalid state because of the real iterator out of bound, the flag does not need to be set to false and the logic will remain correct.
As you can see, the flag is not synced with iter.valid(), so that the code can be simple, because there are too many places that iter.valid() will be changed. Not tracing iter.valid() will make the life easy.

I see. How about use different name instead valid to distinguish it from iter.valid?

@MyonKeminta That's what I want to do as well, but I didn't come up with some good ones. Maybe we can write more verbose comments?

@breeswish Ok I think that's also a good idea

Rest LGTM

@MyonKeminta Or maybe .. out_of_bound?

I'm ok about that, but maybe you can use in_bound so you don't need to invert the logic 😆

@zhangjinpeng1987 PTAL

/run-integration-tests

Fine, the bug is not in this PR.

/run-integration-tests


Bubble Sort Program

Please add this pr to your repository

Sorry, I don't think this is a suitable contribution to the project. Please find another way to increase your Hacktoberfest score.

Hi @AmruthPillai, this user is going around to several repos (mine included) that have the hacktoberfest topic and spamming them, trying to get 4+ PRs for Hacktoberfest. If you could please apply a spam label to PRs like this that you see, it'll disqualify that individual (and others who do this) from Hacktoberfest entirely and discourage this behavior in future Hacktoberfests.
Thank you! 🤝

@crweiner Hey there! I'm very sorry that you also had to face this kind of spam from the open source community. I wish there were a few more contributions that were in line with the true notion behind Hacktoberfest, to increase open source community building and learning to write readable/sharable code. Thank you for the link to mark a PR as spam, I was not aware of this.
All the best to your development efforts on your projects! 💯


Revert "Updating with YAML version of TOC"

Reverts Azure/azure-docs-cli-python#268

Acrolinx Scorecards
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard

docs-ref-conceptual/TOC.md
100
0
link

More info about Acrolinx

The scorecard links are good for one hour. If you're prompted to authenticate, you can close and reopen the PR to get new links. Or, use these credentials:
Account: report-viewer
Password: kermit$
Report false positive results or other issues

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-conceptual/TOC.md
:white_check_mark:Succeeded

docs-ref-conceptual/TOC.yml
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

#sign-off


Latest version doesn't supports Laravel v10

I see that composer.json file has been updated to support illuminate/log v10 but in latest tag it's still pulling the old composer.json with no support for v10.
Can you please release a new tag?

@Abhi0725 @Tyberious Sorry for the delay, new tag 1.1.3 has been released with Laravel 10 support.


Automated cherry pick of #4238: baremetal: fix register input params lost

Cherry pick of #4238 on release/2.13.
#4238: baremetal: fix register input params lost

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.13@eb584c4). Click here to learn what that means.
The diff coverage is n/a.

@@              Coverage Diff               @@
##             release/2.13   #4239   +/-   ##
==============================================
  Coverage                ?   6.87%
==============================================
  Files                   ?     519
  Lines                   ?   88088
  Branches                ?       0
==============================================
  Hits                    ?    6053
  Misses                  ?   81536
  Partials                ?     499

Flag
Coverage Δ

#aFlag
6.87% <ø> (?)

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 eb584c4...a3af11b. Read the comment docs.

/lgtm

/approve


Tiny corrections to documentation of gamma_gamma and pareto_nbd.

:books: Documentation preview :books:: https://pymc-marketing--380.org.readthedocs.build/en/380/

Thanks @AMeynen!


Add README for first 10 coding challenges

I have only added README in the folders for which a corresponding video exists, using the video descriptions with minor edits.

This is so wonderful, thank you!


App.Matcher receied unexpected message

When using external commands I keep getting this error
08:57:57.467 [error] App.Matcher App.Matcher received unexpected message in handle_info/2: {#Reference<0.3017095034.3088580615.6397>, nil}

08:57:57.468 [error] App.Matcher App.Matcher received unexpected message in handle_info/2: {:DOWN, #Reference<0.3017095034.3088580615.6397>, :process, #PID<0.187.0>,
 :normal}

This is happening with custom commands, but it also happened with the outside command.
My command:
defmodule App.Commands.Thank do
    use App.Commander

    def thank(update) do
        Logger.log :info, "Command /thank"

        send_message "You're welcome"
    end
end

Well pointed, thanks. Actually it was a problem of how I wrote the outside commands handler.

Tell me if everything went ok.

Seems to work. Thanks!

If anything happens just let me now so we can figure out how to improve this boilerplate.


[stable/concourse] Worker pre-stop ConfigMap created in web-only deployment

Describe the bug
Currently, when deploy a Concourse installation that is composed of only web
instances (i.e., it has worker.enabled == false), we end up creating the
ConfigMap that generates the pre-stop script for the worker.
https://github.com/helm/charts/blob/afdcbd010c407108bffe8cc5cfc3f7a5299c5a86/stable/concourse/templates/worker-prestop-configmap.yaml
That, however, is totally unecessary as we'd not be deploying any workers in a
web-only deployment.
Notice that there's no if guard there like we do for web-secrets:
https://github.com/helm/charts/blob/afdcbd010c407108bffe8cc5cfc3f7a5299c5a86/stable/concourse/templates/web-secrets.yaml#L1
Version of Helm and Kubernetes:

v2.14.2
v1.13.7-gke.8

Which chart:
Concourse
What happened:
pre-stop ConfigMap is created unecessary.
What you expected to happen:
Not have the ConfigMap created.
How to reproduce it (as minimally and precisely as possible):
worker:
  enabled: false

$ helm template \
  --values=./sample.yaml . \
  -x ./templates/worker-prestop-configmap.yaml

Anything else we need to know:

🙌

🙌


Add a Hazelcast IMDG based source and sink

Will see if I can create a PR

What is Hazelcast IMDG, please?
Shouldn't we consider to add Channel Adapters implementation on the matter, first of all, to the appropriate Spring Integration Hazelcast extension: https://github.com/spring-projects/spring-integration-extensions/tree/master/spring-integration-hazelcast ?
Thank you!

Hi, Hazelcast IMDG => http://imdg.hazelcast.org
Usually everyone calls it Hazelcast, but strictly it's the In-Memory-Data-Grid part of Hazelcast.
Spring Integration seems to have some coverage, so perhaps it wouldn't be much effort to add

Great! Thank you for the pointer, @neilstevenson !
Now let's come up what particularly you have in mind.
Since that Hazelcast looks so big, we should start from something, at least from use-case.
OTOH, I still have an idea to have Hazelcast Binder implementation, based on their Messaging support. So, maybe that is what yo would like to have.


macOS: added README note about Python version

Hey! 👋
Tested out building workerd today and ran into a small issue. The build fails on Python 3.9.7, and since miniforge has that as the default version (when no environments are activated) this seems like a common issue.
The solution is to use Python 3.10. Because I'm using miniforge I simply created a new Conda environment with Python 3.10 and activated it before build and that solved the issue.
This PR adds a note to the docs (under the macOS section) about this restriction/limitation.

Hi @isaac-mcfadyen,
What was the error under 3.9? I suppose this probably applies to Linux as well?

Hmm, actually, I have 3.9.2 installed on Debian and haven't seen an issue.

Hmm, interesting. Might also be related to ARM64, since I'm on an M1 Mac (ARM)?
I'm also on macOS Ventura 14 (Developer Beta) but I don't think that was it... although I might be wrong 😄
Full stacktrace follows (went away when moving to Python 3.10):
ERROR: /private/var/tmp/_bazel_isaac/a327433c429979ff29f013e2923f6d65/external/workerd-v8/BUILD.bazel:1:11: @workerd-v8//:v8 depends on @v8//:v8_icu in repository @v8 which failed to fetch. no such package '@v8_python_deps//': rules_python_external failed:  (ERROR: Exception:
Traceback (most recent call last):
  File "/private/var/tmp/_bazel_isaac/a327433c429979ff29f013e2923f6d65/external/pypi__pip/pip/_internal/cli/base_command.py", line 153, in _main
    status = self.run(options, args)
  File "/private/var/tmp/_bazel_isaac/a327433c429979ff29f013e2923f6d65/external/pypi__pip/pip/_internal/commands/wheel.py", line 158, in run
    resolver.resolve(requirement_set)
  File "/private/var/tmp/_bazel_isaac/a327433c429979ff29f013e2923f6d65/external/pypi__pip/pip/_internal/legacy_resolve.py", line 201, in resolve
    self._resolve_one(requirement_set, req)
  File "/private/var/tmp/_bazel_isaac/a327433c429979ff29f013e2923f6d65/external/pypi__pip/pip/_internal/legacy_resolve.py", line 365, in _resolve_one
    abstract_dist = self._get_abstract_dist_for(req_to_install)
  File "/private/var/tmp/_bazel_isaac/a327433c429979ff29f013e2923f6d65/external/pypi__pip/pip/_internal/legacy_resolve.py", line 311, in _get_abstract_dist_for
    req.populate_link(self.finder, upgrade_allowed, self.require_hashes)
  File "/private/var/tmp/_bazel_isaac/a327433c429979ff29f013e2923f6d65/external/pypi__pip/pip/_internal/req/req_install.py", line 225, in populate_link
    self.link = finder.find_requirement(self, upgrade)
  File "/private/var/tmp/_bazel_isaac/a327433c429979ff29f013e2923f6d65/external/pypi__pip/pip/_internal/index.py", line 878, in find_requirement
    best_candidate_result = self.find_best_candidate(
  File "/private/var/tmp/_bazel_isaac/a327433c429979ff29f013e2923f6d65/external/pypi__pip/pip/_internal/index.py", line 861, in find_best_candidate
    candidates = self.find_all_candidates(project_name)
  File "/private/var/tmp/_bazel_isaac/a327433c429979ff29f013e2923f6d65/external/pypi__pip/pip/_internal/index.py", line 791, in find_all_candidates
    collected_links = self._link_collector.collect_links(project_name)
  File "/private/var/tmp/_bazel_isaac/a327433c429979ff29f013e2923f6d65/external/pypi__pip/pip/_internal/collector.py", line 541, in collect_links
    for page in self._get_pages(url_locations):
  File "/private/var/tmp/_bazel_isaac/a327433c429979ff29f013e2923f6d65/external/pypi__pip/pip/_internal/collector.py", line 493, in _get_pages
    page = _get_html_page(location, session=self.session)
  File "/private/var/tmp/_bazel_isaac/a327433c429979ff29f013e2923f6d65/external/pypi__pip/pip/_internal/collector.py", line 339, in _get_html_page
    resp = _get_html_response(url, session=session)
  File "/private/var/tmp/_bazel_isaac/a327433c429979ff29f013e2923f6d65/external/pypi__pip/pip/_internal/collector.py", line 129, in _get_html_response
    resp = session.get(
  File "/private/var/tmp/_bazel_isaac/a327433c429979ff29f013e2923f6d65/external/pypi__pip/pip/_vendor/requests/sessions.py", line 546, in get
    return self.request('GET', url, **kwargs)
  File "/private/var/tmp/_bazel_isaac/a327433c429979ff29f013e2923f6d65/external/pypi__pip/pip/_internal/network/session.py", line 426, in request
    return super(PipSession, self).request(method, url, *args, **kwargs)
  File "/private/var/tmp/_bazel_isaac/a327433c429979ff29f013e2923f6d65/external/pypi__pip/pip/_vendor/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/private/var/tmp/_bazel_isaac/a327433c429979ff29f013e2923f6d65/external/pypi__pip/pip/_vendor/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/private/var/tmp/_bazel_isaac/a327433c429979ff29f013e2923f6d65/external/pypi__pip/pip/_vendor/cachecontrol/adapter.py", line 53, in send
    resp = super(CacheControlAdapter, self).send(request, **kw)
  File "/private/var/tmp/_bazel_isaac/a327433c429979ff29f013e2923f6d65/external/pypi__pip/pip/_vendor/requests/adapters.py", line 439, in send
    resp = conn.urlopen(
  File "/private/var/tmp/_bazel_isaac/a327433c429979ff29f013e2923f6d65/external/pypi__pip/pip/_vendor/urllib3/connectionpool.py", line 665, in urlopen
    httplib_response = self._make_request(
  File "/private/var/tmp/_bazel_isaac/a327433c429979ff29f013e2923f6d65/external/pypi__pip/pip/_vendor/urllib3/connectionpool.py", line 376, in _make_request
    self._validate_conn(conn)
  File "/private/var/tmp/_bazel_isaac/a327433c429979ff29f013e2923f6d65/external/pypi__pip/pip/_vendor/urllib3/connectionpool.py", line 994, in _validate_conn
    conn.connect()
  File "/private/var/tmp/_bazel_isaac/a327433c429979ff29f013e2923f6d65/external/pypi__pip/pip/_vendor/urllib3/connection.py", line 368, in connect
    self.ssl_context = create_urllib3_context(
  File "/private/var/tmp/_bazel_isaac/a327433c429979ff29f013e2923f6d65/external/pypi__pip/pip/_vendor/urllib3/util/ssl_.py", line 286, in create_urllib3_context
    context.verify_mode = cert_reqs
  File "/private/var/tmp/_bazel_isaac/a327433c429979ff29f013e2923f6d65/external/pypi__pip/pip/_vendor/urllib3/contrib/pyopenssl.py", line 438, in verify_mode
    self._ctx.set_verify(_stdlib_to_openssl_verify[value], _verify_callback)
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.9/site-packages/OpenSSL/SSL.py", line 1128, in set_verify
    self._verify_helper = _VerifyHelper(callback)
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.9/site-packages/OpenSSL/SSL.py", line 359, in __init__
    self.callback = _ffi.callback(
MemoryError: Cannot allocate write+execute memory for ffi.callback(). You might be running on a system that prevents this. For more information, see https://cffi.readthedocs.io/en/latest/using.html#callbacks
Traceback (most recent call last):
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/private/var/tmp/_bazel_isaac/a327433c429979ff29f013e2923f6d65/external/rules_python/python/pip_install/extract_wheels/__main__.py", line 5, in <module>
    main()
  File "/private/var/tmp/_bazel_isaac/a327433c429979ff29f013e2923f6d65/external/rules_python/python/pip_install/extract_wheels/__init__.py", line 87, in main
    subprocess.run(pip_args, check=True)
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.9/subprocess.py", line 528, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/opt/homebrew/Caskroom/miniforge/base/bin/python3', '-m', 'pip', 'wheel', '-r', '/private/var/tmp/_bazel_isaac/a327433c429979ff29f013e2923f6d65/external/v8/bazel/requirements.txt', '--require-hashes']' returned non-zero exit status 2.
)```

Ah, I see, this looks like it could indeed be specific to Mac M1.

Just to check, @mrbbot @penalosa, what versions of Python do you have on your macs? Just want to verify that 3.10 seems to be required generally and this isn't a problem specific to @isaac-mcfadyen's setup...

Works for me with python 3.9.10 (under /opt/homebrew/bin/python)

Er, sorry, sent that from the wrong computer. Try again: Works for me with Python 3.9.6 (under /usr/bin/python3)

It sounds like it might be a PyOpenSSL problem (possibly with something to do with libffi too) – specific to certain setups: https://github.com/pyca/pyopenssl/issues/873

It sounds like it might be a PyOpenSSL problem

Interesting, sounds like that could be it! Right down to the "fix" of upgrading to 3.10 described in this comment and a couple others.

In both my cases I was using either system python, or regular homebrew python – could it be something to do with conda or one of the packages in your env?

Mine is the same as @mrbbot —homebrew Python 3.10

PyOpenSSL is installed in my Conda env, could it be that?
pyopenssl                 22.0.0             pyhd8ed1ab_0    conda-forge


Control Plane Endpoint manager and reconciliation loop

Fixed #57
We decided to go with a reconciliation loop written in Go that will healthcheck the Control Plane Endpoint. If it does not respond it will identify a valid control plane and it re-assign Elastic IP.

This looks pretty good. I see a few questions:

it doesn't fix it yet, just returns nil, but I think you knew that; this is just the framework
it says it fixes #54 , but this has nothing to do with 54?
I don't see a default for the tag, which we should have
docs on how to configure it (README, mainly)

it doesn't fix it yet, just returns nil, but I think you knew that; this is just the framework

Right :) half an hour after we agreed on the plan is not enough for me to have it running 🍡

it says it fixes #54 , but this has nothing to do with 54?

Fixed 😄

I don't see a default for the tag, which we should have

As we discussed and agreed on slack let's keep an empty string as default. I use the empty string to check if the feature has to be enabled or not. If not the handler is not registered at all.

docs on how to configure it (README, mainly)
Coming soon!

Also, this needs a rebase

This needs a rebase.

Looks like it failed CI:
packet/cloud.go:78:2: struct field `ApiServerPort` should be `APIServerPort` (golint)
	ApiServerPort        int    `json:"apiServerPort,omitEmpty"`
	^
packet/constants.go:16:2: const `DefaultApiServerPort` should be `DefaultAPIServerPort` (golint)
	DefaultApiServerPort      = 6443
	^
main.go:34:2: const `envVarApiServerPort` should be `envVarAPIServerPort` (golint)
	envVarApiServerPort      = "PACKET_API_SERVER_PORT"
	^
make: *** [lint] Error 1
Makefile:120: recipe for target 'lint' failed


Add getSort() in OffserPaginator::class.

Q
A

Is bugfix?
❌

New feature?
✔

Breaks BC?
❌

👍


Commit.find Failure

Commit.find is failing because it is trying to call git ref-list --pretty=raw --max-count=1 The reason it isn't using the required parameter of <commit-id> is because the Commit.find call is in a callback for fs.readFile which returns an error because the folder .git/refs/heads doesn't contain anything (well some folders, but no files), so fs.readFile returns an error, which the callback call to Commit.find completely ignores and thereby fails. I feel like instead of going through all that effort to find the Head.current one could just call git ref-list --pretty=raw --max-count=1 HEAD and be done with it.
I'm calling git(path/to/repo).branch(callback) that calls Repo.prototype.branch which calls Head.current(this, callback) because of my not having specified a name.

I've changed
    Head.current = function(repo, callback) {
      return fs.readFile(repo.dot_git + "/HEAD", function(err, data) {
        var branch, m, ref;
        if (err) {
          return callback(err);
        }
        ref = /ref: refs\/heads\/([^\s]+)/.exec(data);
        if (!ref) {
          return callback(new Error("Current branch is not a valid branch."));
        }
        m = ref[0], branch = ref[1];
        return fs.readFile(repo.dot_git + "/refs/heads/" + branch, function(err, id) {
          return Commit.find(repo, id, function(err, commit) {
            if (err) {
              return callback(err);
            }
            return callback(null, new Head(branch, commit));
          });
        });
      });
    };

to
    Head.current = function(repo, callback) {
      return fs.readFile(repo.dot_git + "/HEAD", function(err, data) {
        var branch, m, ref;
        if (err) {
          return callback(err);
        }
        ref = /ref: refs\/heads\/([^\s]+)/.exec(data);
        if (!ref) {
          return callback(new Error("Current branch is not a valid branch."));
        }
        m = ref[0], branch = ref[1];
        return Commit.find(repo, "HEAD", function(err, commit) {
          if (err) {
            return callback(err);
          }
          return callback(null, new Head(branch, commit));
        });
      });
    };

And the problem is resolved. Would you be open for a PR for such a change, or do you see something wrong with this approach?

I've found that the assumption that files will be in refs/heads is flawed: https://git-scm.com/book/en/v2/Git-Internals-Maintenance-and-Data-Recovery


Changes for NOC-301-Add2021NocCodesdataFromSSOT

Changes for https://hive.aved.gov.bc.ca/jira/browse/NOC-376
Created a new JobBoard.NocCodes2021 table with the same schema as NocCodes, except that the Code model is a 5-digit string.
Migration script to be run on Package Manager Console is as follows:
add-migration AddNocCodes2021 -context jobboardcontext
update-database -context jobboardcontext.

Done my review for this round, @sunanditasahu

Done my second review, @sunanditasahu


add support for pinned comment

I've been historically against including latest comments viewing when installing, mostly because it would clutter the interface too much and because they wouldn't be relevant unless you actually encounter an issue.
However, pinned comment will be available soon, so it might be worth displaying this comment (and only that one) when installing the package, while reviewing PKGBUILDs for example. Pinned comments will typically include important notes from the maintainer and thus, would be actually relevant in most or even all cases.

Won't implement. In most case, you'd check comment only if an error arises. Let pacaur and aur-comment-fetcher do their respective job.


update_ref() is unused but code does not run without it

Hello!
The quadrotor_control.py file contains a function 'update_ref' that is called in the simulate.py line 101. However, the controller_template.py file skips this function and the control_ref variable that is defined in that line is unused in the code.
Traceback (most recent call last):
  File "c:\Users\uber\Documents\autopilot_sim\rotorpy-main\attitude_flight.py", line 99, in <module>
    results = sim_instance.run(t_final      = 20,       # The maximum duration of the environment in seconds
  File "c:\Users\uber\Documents\autopilot_sim\rotorpy-main\rotorpy\environments.py", line 115, in run
    (time, state, control, flat, imu_measurements, imu_gt, mocap_measurements, state_estimate, exit) = simulate(self.world,
  File "c:\Users\uber\Documents\autopilot_sim\rotorpy-main\rotorpy\simulate.py", line 101, in simulate
    control_ref = [sanitize_control_dic(controller.update_ref(time[-1], flat[-1]))]
AttributeError: 'CustomControl' object has no attribute 'update_ref'

What is the purpose of the update_ref() function? Is it an artifact of an older implementation? It seems like it should be deleted.

update_ref was added more of as a helper function to compute feedforward terms based on higher derivatives of the flat output. It was never meant to be called in the main simulation loop. Thanks for catching this :)
I removed this line in b215519ccac1b1c8da7f9967fb32c4f633452a60


Use absolute directories for temp files given to inkscape.

Inkscape on Mac has a weird relocation problem:
/usr/local/bin/inkscape will typically be a script to cd into a
different directory.  Relative paths break.  I know this works on
POSIX-like systems, but I'm not so sure about Windows.

Can you please give some more detailed information about what the problem is, preferably with a minimal example we can use to reproduce it?

Inkscape on Mac installs into an “app bundle” instead of scattered across /usr. To compensate, it uses this program as /usr/local/bin/inkscape: https://gitlab.com/inkscape/inkscape/blob/INKSCAPE_0_92_3/packaging/macosx/Resources/bin/inkscape
It works well enough to start the GUI, but doesn’t deal well with relative paths: “.” is off in /Applications/Inkscape.app/Contents/ by the time it’s parsed.
Using absolute paths works for me. I’m told an environment variable of “%CD%” is often set on Windows, but I don’t really have a dev machine for that.
To reproduce this, I guess you get a Mac, install mactex, Xcode, and homebrew, and brew cask install Inkscape, and then make to run the included tests. Something will generate error messages about not finding the temporary PDF files emitted from latex—that’s Inkscape looking in the entirely wrong place.
Brian Sniffen

On Sep 6, 2019, at 1:34 PM, John MacFarlane<EMAIL_ADDRESS>wrote:
Can you please give some more detailed information about what the problem is, preferably with a minimal example we can use to reproduce it?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

This somehow fell entirely off my radar. I'm very sorry for the delay.
We've added a pandoc.system module in pandoc 2.7.3: the module provides functions to get the current working directory and to create temporary directories. This could solve the portability problems.

I've fixed this while also completely changing the way temporary files are handled. Thanks for bringing it up.


The zodiacs are outdated.

You might want to update them.
https://www.livescience.com/4667-astrological-sign.html

Hi @dertuxmalwieder
thanks, I actually knew. I think most people will be fine seeing their "birth zodiac sign".
But actually, It might a good idea to implement the correct astrological zodiac signs and make this another bot.
Contributions are welcome, if they are configurable. :-)


Missing metrics from events

Description
Doesn't look like Events are reporting metrics, traces or logs to Application Insights.

NB: testet i at-miljø


new: add tool for managing evolution resource files

What type of PR is this?
/kind feature
Any specific area of the project related to this PR?
This PR adds a tool (and a project-level makefile) for managing the resource files contained in falcosecurity/evolution. For now, this involves autogenerating the list of maintainers (MAINTAINERS.md), and the README.md file.
What this PR does / why we need it:
Which issue(s) this PR fixes:
Special notes for your reviewer:

LGTM label has been added.  Git tree hash: 4627a3b79c8e8e32c080f65c4ce660bfe339f13f

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: jasondellaluce, leogr
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Calling modal function from skopt minimize

This is a simple example of how to call a modal function inside a skopt minimize function. This is useful for scaling hyperparameter tuning.
let me know if i need to do anything for the testing/formatting/dependencies!
Type of Change

[X] New Example
[ ] Example updates (Bug fixes, new features, etc.)
[ ] Other (changes to the codebase, but not to examples)

Checklist

[ ] Example is testable in synthetic monitoring system, or lambda-test: false is added to example frontmatter
[ ] Example does not require third-party dependencies to be installed locally
[ ] Example is documented with comments throughout, in a Literate Programming style.

 Thanks for your contribution.

hey @scottrblock this is cool, you still interested in adding this example?


Ensure module loaded before checking exports. Closes #82

According to https://hexdocs.pm/elixir/Kernel.html#function_exported?/3

Returns true if module is loaded and contains a public function with the given arity, otherwise false.

In my project, this was always returning false but now has the correct behaviour

Closes #82

Thanks a lot @howleysv 💜


Enzyme update to 3.6.0

This pr upgrades enzyme to 3.6.0 and fixes type errors in tests.

Type errors need to be resolved:
https://github.com/Shopify/quilt/blob/6cd8bda33d435da8f8be404dd85be44cfcc8d347/packages/react-form-state/src/tests/validators.test.tsx#L56-L59
https://github.com/Shopify/quilt/blob/6cd8bda33d435da8f8be404dd85be44cfcc8d347/packages/koa-shopify-auth/src/auth/test/oauth-start.test.ts#L61

This should unblock #295


Upload metadata

What?

Send metadata (operating system version, SDK version)

Why?

It will help us with debugging.

CC @pusher/mobile

Codecov Report

Merging #42 into master will increase coverage by 2.79%.
The diff coverage is 79.13%.

@@            Coverage Diff             @@
##           master      #42      +/-   ##
==========================================
+ Coverage   65.24%   68.04%   +2.79%
==========================================
  Files          27       29       +2
  Lines         728      848     +120
  Branches       13       18       +5
==========================================
+ Hits          475      577     +102
- Misses        253      271      +18

Impacted Files
Coverage Δ

Sources/NetworkService.swift
0% <0%> (ø)
:arrow_up:

Sources/PushNotifications.swift
8.04% <0%> (-0.6%)
:arrow_down:

Tests/SDKTests.swift
100% <100%> (ø)
:arrow_up:

Sources/Metadata.swift
100% <100%> (ø)

Tests/PushNotificationsNetworkableTests.swift
87.95% <100%> (+1.46%)
:arrow_up:

Tests/MockPushNotificationsNetworkable.swift
100% <100%> (+16.66%)
:arrow_up:

Tests/MetadataTests.swift
90.16% <90.16%> (ø)

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 a135629...4217706. Read the comment docs.


[BUG] Adding a sheet to the sheets object does not work

Describe the bug
When adding a list of sheets to the sheets object, the operation does not fail but no element is added to the sheets object.
To Reproduce
Steps to reproduce the behavior:

Try this snippet in a script environment:

#r "nuget: FSharpSpreadsheetML"

open FSharpSpreadsheetML
open DocumentFormat.OpenXml
open DocumentFormat.OpenXml.Packaging
open DocumentFormat.OpenXml.Spreadsheet

// setting up the .xlsx file
let thisSpreadsheetDocument = Spreadsheet.initEmpty <insertYourDesiredPath>

// Create WorkbookPart, Workbook and connect them
let thisWbp = Spreadsheet.initWorkbookPart thisSpreadsheetDocument
let thisWb = Workbook.empty ()
Workbook.set thisWb thisWbp

// Create WorksheetPart, Worksheet, SheetData and connect all of them
let thisWsp = WorkbookPart.initWorksheetPart thisWbp
let thisSheetData = SheetData.empty ()
let thisWs = Worksheet.empty ()
Worksheet.setWorksheet thisWs thisWsp
Worksheet.addSheetData thisSheetData thisWs

// Create Sheets object and add it to the Workbook
let thisSheets = Sheet.Sheets.empty ()
thisWb.Sheets <- thisSheets // function to add a Sheets object to a Workbook is missing

// Create single Sheet, set properties, and (try to) add it to the Sheets object
let thisSheet = Sheet.empty ()
let idOfWsp = WorkbookPart.getWorksheetPartID thisWsp thisWbp
Sheet.setID idOfWsp thisSheet
Sheet.setSheetID 1u thisSheet
Sheet.setName "mySheet" thisSheet
Sheet.Sheets.addSheets [thisSheet] thisSheets // this does not work!

Try to access a single sheet (and fail):

Sheet.Sheets.getFirstSheet thisSheets // returns null
thisSheets.FirstChild // dito
thisSheets.Elements<Sheet>() |> Seq.head |> fun x -> x.Name // errors
Sheet.countSheets thisSpreadsheetDocument // returns 0

Expected behavior
addSheets should successfully add a sheet seq to the sheets object.
Screenshots
None.
OS and framework information (please complete the following information):

OS: Windows 10 Home 64-bit
OS Version 10.0, Build 18363
.Net core SDK version: 5.0.402
F#SpreadsheetML nuget package version: 0.0.7

Workaround
.AddChild method seemed to work in my case:
thisSheets.AddChild thisSheet // returns true

// check:
Sheet.Sheets.getFirstSheet thisSheets // returns Sheet = seq [ ]
thisSheets.FirstChild // returns OpenXmlElements = seq [ ]
thisSheets.Elements<Sheet>() |> Seq.head |> fun x -> x.Name // returns StringValue mySheet {HasValue = true; InnerText = "mySheet"; Value = "mySheet";}
Sheet.countSheets thisSpreadsheetDocument // returns 1

Additional context
Problem seems to be the .Append method.
Edit:
When trying to add a second sheet with .AddChild it just overwrites the first one. In this case, .AppendChild (not .Append!) works.
I think we need to clarify this occurence at least in the triple-slash documentation.

I think you've found the solution yourself. Append needs to be replaced by AppendChild.
Would be nice if you could PR it


Use of deprecated antialiasing in displayCoverArt.py

In the latest version of pillow, the Image.ANTIALIAS method has been replaced by Image.LANCZOS. This may be worth updating in displayCoverArt.py as it appears a few times here, and the installation script does not specify a specific version of pillow.
(Thanks for putting the effort into this library btw was super easy to get up and running!)

Fixed


AppCompatActivity and using ToolBar with transparent status bar

When I switch PullToZoomScrollActivity to AppCompatActivity and use Toolbar in the layout with transparent status bar, the image doesn't always start at the top of the status bar.
Also, when you get the layoutParams to make it work, at this line.
LinearLayout.LayoutParams localObject = new LinearLayout.LayoutParams(mScreenWidth, (int) (7.0F * (mScreenWidth / 16.0F)));
Then the Pull down to Zoom still doesn't start until the bottom of the status bar and the status bar has a light grey background.

Any ideas on the pull down to zoom from the top of the status bar?
In the mean time, I put     android:background="?attr/colorPrimaryDark"  in the profile_zoom_view.xml ImageView so the grey status bar will be gone.

@rogue5  any your code?
This is my layout ,It's can work
<FrameLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical">

    <com.ecloud.pulltozoomview.PullToZoomScrollViewEx
        android:id="@+id/scroll_view"
        android:layout_width="match_parent"
        android:layout_height="match_parent"/>

    <android.support.v7.widget.Toolbar
        android:id="@+id/tool_bar"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="?attr/colorPrimary"
        android:minHeight="?attr/actionBarSize"/>
</FrameLayout>


point normals on the sparse point cloud

Is it possible to get point normals on the sparse point cloud like in the dense? This is not a feature request so much as a question.

It is not possible. The points in the sparse point cloud are computed by triangulating matches and no normal is produced on during that process.

Thanks!


Issues while cloning using git-tfs

Greetings
I am running into the following issue while cloning a project. Any help would be greatly appreciated.
C:\migration>git-tfs clone http://awvu-tfs-app:8080/tfs/DefaultCollection/ILSPSO-Tools $/ILSPSO-Tools/Main
Initialized empty Git repository in C:/migration/Main/.git/
TF31002: Unable to connect to this Team Foundation Server: http://awvu-tfs-app:8080/tfs/DefaultCollection/ILSPSO-Tools.
Team Foundation Server Url: http://awvu-tfs-app:8080/tfs/DefaultCollection/ILSPSO-Tools.
Possible reasons for failure include:

The name, port number, or protocol for the Team Foundation Server is incorrect.
The Team Foundation Server is offline.
The password has expired or is incorrect.

Technical information (for administrator):
The remote server returned an error: (404) Not Found.
The remote server returned an error: (404) Not Found.
git-tfs_log.txt

Leave out the teamproject name from the collection url -> http://awvu-tfs-app:8080/tfs/DefaultCollection/


Reduce Guava usage

Not sure if removing Guava dependency is something on your roadmap, but there are multiple spots where its usage doesn't introduce much value, for example:

Charsets.UTF_8 is already provided by Java as StandardCharsets.UTF_8
Sets.newConcurrentHashSet() doesn't provide any extra value over a simple synchronized collection (in those particular spots)
Maps.newHashMap() is just a wrapped HashMap's constructor

@pivovarit
Thanks for submitting this PR! The Guava dependency comes from docker-java (and we shade it later) so we don't plan to remove it unless docker-java drops it (Soon, btw)
Since the PR's title says "reduce", I wonder if there are more uses left?
I believe we should either remove every use of Guava altogether, probably when we update to docker-java 3.2.0, not just some.

@bsideup sure, I can work towards removing all of it - wanted to probe your thoughts first!


Add prelim CUDA class support to Lightning shared library

Context: This PR adds compilation support for CUDA to Lightning.
Description of the Change: A CUDA-enabled class StateVectorGPU is added, with necessary built and tooling changes. The CUDA runtime libraries are linked during compilation, allowing a user/developer to build CUDA supported methods into Lightning.
Benefits: Lightning can support CUDA kernels.
Possible Drawbacks: CUDA adds additional compilation and configuration complexity.
Related GitHub Issues:

Awesome work Lee! Having one issue though:
On graham, with cmake -DENABLE_CUDA=On, I get these types of errors
/home/tvincent/pennylane-lightning-gpu-testing/pennylane-lightning/pennylane_lightning/src/util/Util.hpp(134): warning: constexpr if statements are a C++17 feature
/home/tvincent/pennylane-lightning-gpu-testing/pennylane-lightning/pennylane_lightning/src/util/Util.hpp(134): error: namespace "std" has no member "is_same_v"
Any idea what is happening here? For some reason nvcc is not picking up the C++17 features?
===Environment===
Currently Loaded Modules:

CCconfig          3) imkl/2020.1.217 (math)   5) mii/1.1.1            7) gcc/9.3.0        (t)     9) cuda/11.2.2 (t)  11) ucx/1.8.0         13) openmpi/4.0.3 (m)
gentoo/2020 (S)   4) StdEnv/2020     (S)      6) gcccore/.9.3.0 (H)   8) cudacore/.11.2.2 (H,t)  10) gdrcopy/2.1      12) libfabric/1.10.1

Awesome work Lee! Having one issue though:
On graham, with cmake -DENABLE_CUDA=On, I get these types of errors
/home/tvincent/pennylane-lightning-gpu-testing/pennylane-lightning/pennylane_lightning/src/util/Util.hpp(134): warning: constexpr if statements are a C++17 feature
/home/tvincent/pennylane-lightning-gpu-testing/pennylane-lightning/pennylane_lightning/src/util/Util.hpp(134): error: namespace "std" has no member "is_same_v"
Any idea what is happening here? For some reason nvcc is not picking up the C++17 features?
===Environment=== Currently Loaded Modules:
1. CCconfig          3) imkl/2020.1.217 (math)   5) mii/1.1.1            7) gcc/9.3.0        (t)     9) cuda/11.2.2 (t)  11) ucx/1.8.0         13) openmpi/4.0.3 (m)

2. gentoo/2020 (S)   4) StdEnv/2020     (S)      6) gcccore/.9.3.0 (H)   8) cudacore/.11.2.2 (H,t)  10) gdrcopy/2.1      12) libfabric/1.10.1

Hmmm, that is strange. I wonder if it is attempting to use nvcc/nvc++ as the CXX compiler, which may be the problem with a non 11.4+ version of CUDA. Can you run cmake as:
cmake -BBuild -DENABLE_CUDA=ON
cmake --build ./Build --verbose

and pipe the output of both to a file?

This work will be superseded.


Console option not always available

I don't believe I ever saw this until I upgraded from 4.1 to 4.2.3 very recently.  I have gotten the option and successful consoles thru moVirt since that upgrade, but I can find quite a number of VMs that provide no such option.  I have no problem getting a console thru the standard web interface on a regular desktop computer for the same VMs.  Any ideas of what I should be looking for?

Thanks for reporting this. Could you please check the REST API of the VMs which work in webadmin but not in moVirt?
listing graphical consoles
curl -k -X GET \
  https://$ENGINE_ADDRESS/ovirt-engine/api/vms/$VM_ID/graphicsconsoles \
  -H "accept: application/xml" \
  -H "authorization: Basic $BASE_64_AUTH"

fetching  .vv file
curl -k -X GET \
  https://$ENGINE_ADDRESS/ovirt-engine/api/vms/$VM_ID/graphicsconsoles/$CONSOLE_ID \
  -H "accept: application/x-virt-viewer" \
  -H "authorization: Basic $BASE_64_AUTH"

BASE_64_AUTH is "user@profile:password" encoded in base64

Is $VM_ID simply the VM name?  If not, how can I find it?  Assuming, it is, the first curl command (listing graphical consoles) returned nothing.  Also noteworthy is that maybe perhaps these consoles aren't working from the webadmin page.  In attempting to do a desktop console for a VM where moVirt didn't offer the option, I was able to download the vv file and Remote Viewer opened a new window but rather than the actual console, the window shows a single message of "Connected to graphic server".  Although I seem to have the same desktop console problem for all VMs right now, even if moVirt does work.  Desktop was recently updated to Fedora 28 and I've been fighting other issues, but maybe this all stems from the oVirt upgrade.  Thoughts?

Is $VM_ID simply the VM name? If not, how can I find it?

It should be an id. You can find it in the vm edit dialog in the webadmin or here
curl -k -X GET \
  https://$ENGINE_ADDRESS/ovirt-engine/api/vms/ \
  -H "accept: application/xml" \
  -H "authorization: Basic $BASE_64_AUTH"

also you can find the CONSOLE_ID in this request ... /api/vms/$VM_ID/graphicsconsoles

Also noteworthy is that maybe perhaps these consoles aren't working from the webadmin page.

Although I seem to have the same desktop console problem for all VMs right now, even if moVirt does work.

That is weird. It may not be a moVirt issue. But anyway, I am curious, what these requests will return.

I was able to download the vv file and Remote Viewer

through webadmin?

Desktop was recently updated to Fedora 28 and I've been fighting other issues, but maybe this all stems from the oVirt upgrade. Thoughts?

not sure, but you can also check /var/log/ovirt-engine/engine.log
btw just in case, are you running the latest version of moVirt?

Ah, I didn't think to edit the VM to get the ID.  I simply looked at the overview page.  Yes, I had meant I'd gotten the vv through the webadmin -- I didn't even try with curl because I was pretty sure the VM ID was different than a name since I see UUIDs all over in oVirt.  I have moVirt v2.0.2 (via auto-update) and that looks to be the latest according to the releases page here.
Okay, so now that I've got the VM ID thing down I can get you some request results.  This host doesn't offer a console option in moVirt:
 jflorian@zuul ~  curl -k -X GET   https://$ENGINE_ADDRESS/ovirt-engine/api/vms/$VM_ID/graphicsconsoles   -H "accept: application/xml"   -H "authorization: Basic $BASE_64_AUTH"
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<graphics_consoles>
    <graphics_console href="/ovirt-engine/api/vms/909ca5f3-84f1-46a6-8e79-2bc908477912/graphicsconsoles/7370696365" id="7370696365">
        <actions>
            <link href="/ovirt-engine/api/vms/909ca5f3-84f1-46a6-8e79-2bc908477912/graphicsconsoles/7370696365/proxyticket" rel="proxyticket"/>
            <link href="/ovirt-engine/api/vms/909ca5f3-84f1-46a6-8e79-2bc908477912/graphicsconsoles/7370696365/remoteviewerconnectionfile" rel="remoteviewerconnectionfile"/>
            <link href="/ovirt-engine/api/vms/909ca5f3-84f1-46a6-8e79-2bc908477912/graphicsconsoles/7370696365/ticket" rel="ticket"/>
        </actions>
        <protocol>spice</protocol>
        <vm href="/ovirt-engine/api/vms/909ca5f3-84f1-46a6-8e79-2bc908477912" id="909ca5f3-84f1-46a6-8e79-2bc908477912"/>
    </graphics_console>
</graphics_consoles>

Er, um I feel dense, but I don't understand how to get the CONSOLE_ID to get you the results of the vv download.
I thought I had some news about "fixing" VMs by editing them temporarily to be headless before setting them back to their normal console config.  That seemed to "repair" them for both moVirt and webadmin.  Then I was convinced it was merely because they'd been powered off (as is necessary for that change).  However, in playing with this one VM, I've seen it go back and forth.  Sometimes the webadmin only states that it's connected, other times I get the actually console.  Likewise, sometimes moVirt has the menu option, sometimes it doesn't.  At no time did I see anything unusual in the engine.log.

Alrighty!  I think I can finally give you the details you've been asking for.  This VM is up, but not giving the console option in moVirt (as checked both before and after the results below):
 jflorian@zuul ~  curl -k -X GET \
    https://$ENGINE_ADDRESS/ovirt-engine/api/vms/$VM_ID/graphicsconsoles \
    -H "accept: application/xml" \
    -H "authorization: Basic $BASE_64_AUTH"
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<graphics_consoles>
    <graphics_console href="/ovirt-engine/api/vms/b65a9c17-a071-4754-bad4-ff88f44006e0/graphicsconsoles/7370696365" id="7370696365">
        <actions>
            <link href="/ovirt-engine/api/vms/b65a9c17-a071-4754-bad4-ff88f44006e0/graphicsconsoles/7370696365/proxyticket" rel="proxyticket"/>
            <link href="/ovirt-engine/api/vms/b65a9c17-a071-4754-bad4-ff88f44006e0/graphicsconsoles/7370696365/remoteviewerconnectionfile" rel="remoteviewerconnectionfile"/>
            <link href="/ovirt-engine/api/vms/b65a9c17-a071-4754-bad4-ff88f44006e0/graphicsconsoles/7370696365/ticket" rel="ticket"/>
        </actions>
        <protocol>spice</protocol>
        <vm href="/ovirt-engine/api/vms/b65a9c17-a071-4754-bad4-ff88f44006e0" id="b65a9c17-a071-4754-bad4-ff88f44006e0"/>
    </graphics_console>
</graphics_consoles>

 jflorian@zuul ~  CONSOLE_ID=7370696365

 jflorian@zuul ~  curl -k -X GET \
    https://$ENGINE_ADDRESS/ovirt-engine/api/vms/$VM_ID/graphicsconsoles/$CONSOLE_ID \
    -H "accept: application/x-virt-viewer" \
    -H "authorization: Basic $BASE_64_AUTH"
[virt-viewer]
type=spice
host=<IP_ADDRESS>
port=5914
password=PAmUkUJeR/CE
# Password is valid for 120 seconds.
delete-this-file=1
fullscreen=0
toggle-fullscreen=shift+f11
release-cursor=shift+f12
secure-attention=ctrl+alt+end
tls-port=5915
enable-smartcard=0
enable-usb-autoshare=0
usb-filter=null
tls-ciphers=DEFAULT
host-subject=O=doubledog.org,CN=<IP_ADDRESS>
ca=-----BEGIN CERTIFICATE-----\nMIIDyTCCArGgAwIBAgICEAAwDQYJKoZIhvcNAQEFBQAwSjELMAkGA1UEBhMCVVMxFjAUBgNVBAoT\nDWRvdWJsZWRvZy5vcmcxIzAhBgNVBAMTGmV1cm9wYS5kb3VibGVkb2cub3JnLjY2MjI2MB4XDTE1\nMTIyMzIwMDEyMVoXDTI1MTIyMTIwMDEyMVowSjELMAkGA1UEBhMCVVMxFjAUBgNVBAoTDWRvdWJs\nZWRvZy5vcmcxIzAhBgNVBAMTGmV1cm9wYS5kb3VibGVkb2cub3JnLjY2MjI2MIIBIjANBgkqhkiG\n9w0BAQEFAAOCAQ8AMIIBCgKCAQEAys+T6HH5QyckpsSKOVjIz3a6vexymoKCaAw6/FHuKMLXHo9o\n2Y0qXl9/M62QVfObNW3H96lFZS1+H+MvNd2o/0qaYg4zEQ51CZZuy4BbCZ7paYEuqKbz8K5CO6qe\nEWXVf3mMQTyt8Ei/BTBB31pd6GYZSjgLpSJ1+JYQEsK1Bsz/xMnaq4snHqdOTET+cm0/dCQfd/0d\nf2WGhHse3I8hzWpJNroF0c+y4MG5oiNeQOi5KuJk6KqHoklThkMESJDjqso3oQlvBS8ZJu7b3MkT\nJJiN2C/XWPQ1IdpDQhB9jlcMTkETt2uDQSq3e7/ThJ+zpgpfn73UdHtQsNupDaCpCwIDAQABo4G4\nMIG1MB0GA1UdDgQWBBT7L4UEgiuXW+haOLGQXXd+kfXHfTBzBgNVHSMEbDBqgBT7L4UEgiuXW+ha\nOLGQXXd+kfXHfaFOpEwwSjELMAkGA1UEBhMCVVMxFjAUBgNVBAoTDWRvdWJsZWRvZy5vcmcxIzAh\nBgNVBAMTGmV1cm9wYS5kb3VibGVkb2cub3JnLjY2MjI2ggIQADAPBgNVHRMBAf8EBTADAQH/MA4G\nA1UdDwEB/wQEAwIBBjANBgkqhkiG9w0BAQUFAAOCAQEAqZDnj2XsKlOq4gnBhvvivQEGF+uoQE4f\nL4BWIzMdbZgn3o/CQixwMpq8OeY200I4k0BH6l/PEEXnWF6sM5zFcED5SWWnV31FF4mqfg3wEolg\nCgz80tniZUk1LsDkOxbRjQZjDostlhJet6C8Ib05obZXYpJIzpnBiD+c+xJ6vEgJKmUvOaXvE4xy\nCtU9QzHTdfGEP9+jJkzplk6XuM7CjSqWZhlrapeWfYY6RJ7rACeuU/RHZMBKFq1GAK+dYN46fJ6Y\nUya/SQHtLCt5sXVZbOsbrWyjqsIKzqYqRczTJ/khcN+pDrSfNmLrP6QTyONISipoWIBaAZiij7cY\n0Y8Uyg==\n-----END CERTIFICATE-----\n
secure-channels=main;inputs;cursor;playback;record;display;smartcard;usbredir
versions=rhev-win64:2.0-160;rhev-win32:2.0-160;rhel7:2.0-6;rhel6:99.0-1
newer-version-url=http://www.ovirt.org/documentation/admin-guide/virt/console-client-resources

[ovirt]
host=ovirt.doubledog.org:443
vm-guid=b65a9c17-a071-4754-bad4-ff88f44006e0
sso-token=4dWbbkOpR8YDLKVNlSt6QYRsfeptyeZ9ECt3px6e2okpZqcUsGhvDAttqHVbBr6RZHKJ2Ks3ky_Zx8OLn9pgug
admin=1
ca=-----BEGIN CERTIFICATE-----\nMIIDyTCCArGgAwIBAgICEAAwDQYJKoZIhvcNAQEFBQAwSjELMAkGA1UEBhMCVVMxFjAUBgNVBAoT\nDWRvdWJsZWRvZy5vcmcxIzAhBgNVBAMTGmV1cm9wYS5kb3VibGVkb2cub3JnLjY2MjI2MB4XDTE1\nMTIyMzIwMDEyMVoXDTI1MTIyMTIwMDEyMVowSjELMAkGA1UEBhMCVVMxFjAUBgNVBAoTDWRvdWJs\nZWRvZy5vcmcxIzAhBgNVBAMTGmV1cm9wYS5kb3VibGVkb2cub3JnLjY2MjI2MIIBIjANBgkqhkiG\n9w0BAQEFAAOCAQ8AMIIBCgKCAQEAys+T6HH5QyckpsSKOVjIz3a6vexymoKCaAw6/FHuKMLXHo9o\n2Y0qXl9/M62QVfObNW3H96lFZS1+H+MvNd2o/0qaYg4zEQ51CZZuy4BbCZ7paYEuqKbz8K5CO6qe\nEWXVf3mMQTyt8Ei/BTBB31pd6GYZSjgLpSJ1+JYQEsK1Bsz/xMnaq4snHqdOTET+cm0/dCQfd/0d\nf2WGhHse3I8hzWpJNroF0c+y4MG5oiNeQOi5KuJk6KqHoklThkMESJDjqso3oQlvBS8ZJu7b3MkT\nJJiN2C/XWPQ1IdpDQhB9jlcMTkETt2uDQSq3e7/ThJ+zpgpfn73UdHtQsNupDaCpCwIDAQABo4G4\nMIG1MB0GA1UdDgQWBBT7L4UEgiuXW+haOLGQXXd+kfXHfTBzBgNVHSMEbDBqgBT7L4UEgiuXW+ha\nOLGQXXd+kfXHfaFOpEwwSjELMAkGA1UEBhMCVVMxFjAUBgNVBAoTDWRvdWJsZWRvZy5vcmcxIzAh\nBgNVBAMTGmV1cm9wYS5kb3VibGVkb2cub3JnLjY2MjI2ggIQADAPBgNVHRMBAf8EBTADAQH/MA4G\nA1UdDwEB/wQEAwIBBjANBgkqhkiG9w0BAQUFAAOCAQEAqZDnj2XsKlOq4gnBhvvivQEGF+uoQE4f\nL4BWIzMdbZgn3o/CQixwMpq8OeY200I4k0BH6l/PEEXnWF6sM5zFcED5SWWnV31FF4mqfg3wEolg\nCgz80tniZUk1LsDkOxbRjQZjDostlhJet6C8Ib05obZXYpJIzpnBiD+c+xJ6vEgJKmUvOaXvE4xy\nCtU9QzHTdfGEP9+jJkzplk6XuM7CjSqWZhlrapeWfYY6RJ7rACeuU/RHZMBKFq1GAK+dYN46fJ6Y\nUya/SQHtLCt5sXVZbOsbrWyjqsIKzqYqRczTJ/khcN+pDrSfNmLrP6QTyONISipoWIBaAZiij7cY\n0Y8Uyg==\n-----END CERTIFICATE-----\n

 jflorian@zuul ~  curl -k -X GET   https://$ENGINE_ADDRESS/ovirt-engine/api/vms/$VM_ID/graphicsconsoles/$CONSOLE_ID   -H "accept: application/x-virt-viewer"   -H "authorization: Basic $BASE_64_AUTH" > /tmp/x.vv
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  3590  100  3590    0     0  13914      0 --:--:-- --:--:-- --:--:-- 13861

 jflorian@zuul ~  remote-viewer /tmp/x.vv

(remote-viewer:31234): GSpice-WARNING **: 10:47:20.256: Error parsing auto-connect-filter string, keeping old filter

When the remote-viewer window opened, I was met again with the "Connected to graphic server" message just like what happens sometimes when I use the webadmin console and it decides to misbehave.

Thanks a lot. It seems that everything is ok API-wise, so I guess there might be a bug in moVirt. I will look into it when I get some time.
The "Connected to graphic server" message, should be unrelated to moVirt. Anyway, please let me updated if you figure out something more.

Thanks for looking into this and also showing me around the API a bit.  I will definitely keep you posted if I learn anything new.

I am sorry, but I could not reproduce this. I tried it on engine v4.2.3 with multiple android versions and it worked.
Just keep it mind that the vm needs to be refreshed in moVirt (to download the consoles).
Btw, is SPICE capability visible in moVirt?

Just keep it mind that the vm needs to be refreshed in moVirt (to download the consoles).

Do you mean to say that I need to do something like swipe down while looking at the VM details screen, which gives me the spinner briefly?   If so, I am doing that.
I do see the SPICE capability, whether before or after doing the refresh I describe above, for both VMs that provide the console option and those that don't.  Here's a scrape, for example, showing that:

FWIW, in the web UI, all of my VMs show "SPICE" in the Graphics column of the VMs view.
Also interesting, others too have noticed the desktop console problem I noted above.

Do you mean to say that I need to do something like swipe down while looking at the VM details screen, which gives me the spinner briefly? If so, I am doing that.

yes

I do see the SPICE capability, whether before or after doing the refresh I describe above, for both VMs that provide the console option and those that don't. Here's a scrape, for example, showing that:

I looked at the code again but could not find anything. There seems to be a bug there. I am sorry that I can't do anything about that until I can reproduce it.
What is your android version?

FWIW, in the web UI, all of my VMs show "SPICE" in the Graphics column of the VMs view.
Also interesting, others too have noticed the desktop console problem I noted above.

I see, although it really seems the problem is in android menus misbehaving.


360 support with three.js

I have seen many implementations for 360 videos using three.js, any plan for that here?
And another is the cue-points
take a look at this
https://github.com/videogular/videogular2

Hi @upq I wasn't planning on making anything for this outside of the what HTML5 video player provides. It's ideally just a simple wrapper for custom controls. I do however see value in these two features (especially cue points).
As it is so simple to add custom components to the video player you could create your own repository for these features if you think they would be useful to others. You can add your custom component as a child to the <Video/> element where they will receive the state of the video via props. In this custom component is where you can add your cue points logic etc for your add on.
Thanks!

@mderrick I started working on it , i may PR that if you don't mind.

@upq sounds good! I'd rather it be it's own repository 'add-on' rather than in the core though. I will eventually link to third party components compatible with the player if I get some.


Update flyway-core to 7.8.2

Updates org.flywaydb:flyway-core from 7.5.4 to 7.8.2.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.flywaydb", artifactId = "flyway-core" } ]

labels: library-update, semver-minor

Superseded by #132.


crash on startup with the latest version

hi! i'm getting this crash after updating to the latest version
https://pastebin.com/BiFaeayE

hi, can you may try updating zenutils and crafttweaker, I noticed they are a few versions behind.

oh! sorry! i went to my pack after a while and didn't noticed the update, will do as soon as i can and let you know!

i updated those mods, but the issue remains...
the crash happens only with some mods (for example with dimensional doors, industrial wires, greenery), so it might be a problem caused by an other lib mode, it will take a while to find the issue, i will let you know

Ok...that's odd:
I've tried messing around with the mods in the pack, but it looks like none of them is causing this interaction :/
However, those mods above that i was testing in the pack, all caused some crash at some point, but not aleays at startup o_O
So i would say that, untill i can definitely prove the interaction, random tweaker it's not directly involved in the crash

after a bit of testing, i'm pretty sure that the crash happen only when there is a mod that lack some requirement.
for some reason it appear that randomtweaker crash before that mod can notify tha there is a requirment missing, disabling randomtweaker when there is a crash will notify about the missing mod, then reenabling randomtweaker after fixing the missing mod also fix the crash
pretty odd ahah

thanks for help, I'll find time to check it out


Support for abi encode and decode.

What problem does your feature solve?
This feature would add ability to write interchain dapps and support any kind of communication between Soroban and EVM smart contracts.
What would you like to see?
Natively exposed functions for abi encoding and decoding with a reasonable gas cost.
Maybe this could use the existing rust implementation of ethabi underneath
What alternatives are there?
Importing ethabi into the contract itself, but it becomes expensive in terms of gas usage and deployment.
Alternatively some custom packing unpacking could be implemented (for predefined data structure) but that would not allow flexibility and dynamic data types.

Here is a sample of how abi encoding/decoding may be used: function call, spec
And here are existing rust crates that could be potentially used for the implementation:

The implementation included in Alloy has an abi encoder/decoder implementation and supports no_std and wasm target
The implementation from rust-ethereum

@re1ro When embedding the eth abi did you do something like what this example does? https://github.com/stellar/soroban-examples/tree/6c27ca6211ae04d5393cf16590e7da84f1d1f3f5/eth_abi
If you'd like to propose a change to the protocol, which adding a host function would be, could you start a stellar-protocol discussion at https://github.com/stellar/stellar-protocol/discussions?
Could you share more details about the size / cost with numbers and example contracts in that discussion?


Replace sklearn package with scikit-learn

Summary
sklearn has been deprecated, causing our code quality check build to break
https://github.com/Qiskit/qiskit-ibm-runtime/actions/runs/3595252302/jobs/6054515435#step:4:194
Details and comments
Fixes #

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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 64.128%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
3377

Relevant Lines:
5266

💛  - Coveralls


Compile error if makefile missing -ltr

Hi
I was having issues compiling agc using make -f makefile.release agc (to avoid the python binding), and ran into several errors about a missing reference to a clcok like below
stats.c:(.text+0x11c2): undefined reference to `clock_gettime'
 undefined reference to `clock_gettime'
in function `_mi_clock_now':

Adding -lrt to the CLINK line of the makefile fixed this and I was able to get the program running beautifully. My libc is old (2.17) but my gcc is newer (11.2) which may be the cause of the issue, but in case anyone else runs into this it does fix it.
Best,
Alex

AGC 3.1 is ready. This should be fixed now.


ReferenceError: Bloodhound is not defined

I know there was already an issue about this. But I could not solve it using the old issue as a reference.
What I actually do is this:
var Bloodhound = require('typeahead.js/dist/bloodhound');
var typeahead = require('typeahead.js/dist/typeahead.jquery.js');
var addressPicker = require('typeahead-addresspicker/dist/typeahead-addresspicker.js');

But what I get is just a:

ReferenceError: Bloodhound is not defined

I even downgraded my typeahead.js version to 0.10.5 but it didn't solve the problem. Any idea what could lead to this problem?

Okay the problem was the order. I had to load first typeahead and then Bloodhound. Was completely my fault and hat nothing to do with this lib here.


[REQUEST] Add support for style argument for console.log

How would you improve Rich?
It would be awesome if one could pass a style argument to console.log, like console.print:
console.log('foo', style='red') instead of console.log('[red]foo[/red]')
What problem does it solve for you?
Makes the callsites nicer and unifying the API.

Fixed in 9.4.0


When I try to build I get this message

warning: [options] source value 7 is obsolete and will be removed in a future release
warning: [options] target value 7 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
error: warnings found and -Werror specified
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':android_intent:compileDebugJavaWithJavac'.

Compilation failed; see the compiler error output for details.

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 52s
Exception: Gradle task assembleDebug failed with exit code 1

can you post some more details into this, thanks!
btw see if this helps https://stackoverflow.com/questions/33404552/execution-failed-for-task-appcompiledebugjavawithjavac-in-android-studio

Hi @Ahmed-ALshmre,
Thanks for filing the issue, please provide the output of flutter doctor -v and steps to reproduce the issue, along with a minimal reproducible code sample, This helps to better investigate the issue.
Thank you.

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


Combination with scrollspy and auto focus on tabs while scrolling

Hello there.
I combined scrolling tabs with scrollspy. Everything works fine and when I scroll down, tabs will be selected automatically. But the problem is when the selected tab goes beyond the navbar.

This is when I'm scrolling.

And this is when the selected tab is beyond the navbar.
If I continue scrolling, the selected tab goes completely out of sight.
Do you have a solution to auto focus on tabs while scrolling and showing whole tab?
Regards

The plugin has a scrollToActiveTab method, described in the README here.
So you could attach a listener on scrollspy's activate.bs.scrollspy event and have it call the scrollToActiveTab method when a new item becomes activated by scrollspy:
$('#myScrollspy').on('activate.bs.scrollspy', function () {
  $('.nav-tabs').scrollingTabs('scrollToActiveTab');
})

Would that give you what you need?

Thank you for noticing me to attach a listener on scrollspy's activate.bs.scrollspy event.
The problem now is $('.nav-tabs').scrollingTabs('scrollToActiveTab');. Acctually It doesn't do anything in my case. Not that nor $('.nav-tabs').scrollingTabs('refresh');.
This is my usage of scrollingTabs:
    $('.nav-tabs').scrollingTabs({         enableSwiping: true,         scrollToTabEdge: true,         disableScrollArrowsOnFullyScrolled: true,         widthMultiplier: 1,         reverseScroll: true,         enableRtlSupport: true,         leftArrowContent: [             '

'         ].join(''),         rightArrowContent: [             '

'         ].join('')     });

Would you be able to put together a plunk (maybe just fork one of the demo plunks from the README) that has your implementation? That would be helpful. I'm not sure why scrollToActiveTab and refresh wouldn't work.

OK thanks. I'll email a demo.
Please check your email.

OK, I finally managed to get it working. This was a tricky one! There were a few things going on:

Since you're using Bootstrap 4, you need to attach the activate.bs.scrollspy event listener to the scroll element, not to the nav element. Bootstrap 3 triggered that event on the newly active tab li element but Bootstrap 4 triggers it on the scroll element (the one with data-spy="scroll"). I had to dig into the Bootstrap code to figure this out because their documentation doesn't make it clear. (I also submitted a PR to them to clarify their documentation.)

You need to get v2.1.1 of the scrolling-tabs plugin (which I just published). scrollToActiveTab was not working correctly for RTL so I needed to fix it.

You need to pass option bootstrapVersion: 4 to the scrolling-tabs plugin if you're using Bootstrap 4 because 4 handles some things differently than 3 that I need to account for (e.g., attaching the active class to the tab's li > a element rather than the li).

Here's your site.js updated with those changes.

@mikejacobson thank you very much.
Your support is awesome 👍

Is there any site, to see this in action? I m looking for the same solution... cheers

Is there any site, to see this in action? I m looking for the same solution... cheers

https://kb.tapfood.ir/Restaurant/22


Add hdf5 output to ci

Purpose

Closes #1360. cc @bischtob
To-do

Content

[ ] I have read and checked the items on the review checklist.

bors r+


ci: validate build artifacts (gas report, table codegen)

I've noticed a few times where codegen tables were out of sync with the latest branch, so I've extended the previous gas report action to also validate codegen is up to date.

Gonna wait until https://github.com/latticexyz/mud/pull/470 and merge that in here too


Android 13

Voice not recording in Android Version 13

@Uzairpirwani works for me using the latest version atm : 'com.github.AsynctaskCoffee:VoiceRecorder:beta-0.5'


containers from scratch: --mount-proc doesn't work

https://ericchiang.github.io/post/containers-from-scratch/ says to use --mount-proc=$PWD/rootfs/proc but that doesn't work because of https://github.com/karelzak/util-linux/issues/648

Running into the same issue on RHEL8CSB. Please update the post, Eric.

Also worth reading in this regard: https://unix.stackexchange.com/a/535581

I played around a little more. Mounting proc manually inside the container is not good. If done incorrectly (which I did, and I don't know what my mistake was) you lose the global proc and can't even remount it.
What helps is adding the --fork flag. Not sure why yet, but someone tries to explain it here more in-depth: https://bugzilla.redhat.com/show_bug.cgi?id=1390057


Front Page Issues

###Getting started page

[x] Simple landing page that states the purposes of the project and how to utilize it.

done


why not set fun

receive("increment") {
    self.counter = self.counter + 1;
}

become
set fun increment {
    self.counter = self.counter + 1;
}

much like
get fun counter(): Int {
    return self.counter;
}

Why is this change needed?


fix(store): Put DeleteMany into a transaction

Description
DeleteMany currently has strange semantics where it may give you a partial deletion. This moves delete many into a single, all or nothing transaction which is much clearer semantics
Checklist

[ ] Investigated and inspected CI test results
[ ] Unit test and regression tests added
[ ] Evaluated and added CHANGELOG entry if required
[ ] Determined and documented upgrade steps
[ ] Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)

If any of these don't apply, please comment below.
Testing Performed
Here I tell how I validated my change
TODO(replace-me)
Use this space to explain how you validated that your change functions exactly how you expect it.
Feel free to attach JSON snippets, curl commands, screenshots, etc. Apply a simple benchmark: would the information you
provided convince any reviewer or any external reader that you did enough to validate your change.
It is acceptable to assume trust and keep this section light, e.g. as a bullet-point list.
It is acceptable to skip testing in cases when CI is sufficient, or it's a markdown or code comment change only.
It is also acceptable to skip testing for changes that are too taxing to test before merging. In such case you are
responsible for the change after it gets merged which includes reverting, fixing, etc. Make sure you validate the change
ASAP after it gets merged or explain in PR when the validation will be performed.
Explain here why you skipped testing in case you did so.
Have you created automated tests for your change? Explain here which validation activities you did manually and why so.
Reminder for reviewers
In addition to reviewing code here, reviewers must also review testing and request further testing in case the
performed one does not seem sufficient. As a reviewer, you must not approve the change until you understand the
performed testing and you are satisfied with it.

/retest


Part#loopEnd inclusive?

I have a MIDI file that has an event scheduled at the end of a track and am noticing that it does not trigger the callback.
Here's a simple example. -- should loopEnd be inclusive of events that occur at that exact time?

This is the desired behavior. loopEnd is exclusive of the end point. this is hopefully consistent across all of the classes. and i just double checked, but also consistent with how loopEnd is handled in the AudioBufferSourceNode in the WAA.

@tambien thanks, for checking. Not sure if adding docs about it would help others.
My specific use case is that I use https://github.com/Tonejs/Midi to parse a midi file, but instead of having a single event in the part for a specific start/release combo, I add separate start and release events to be a bit more flexible.
If anyone else finds this, I'm fixing this by scheduling the last release a tick earlier.


🐧 Improve Linux support

To avoid compatibility errors with Linux (issue37) I updated Script.swift to import Dispatch if the OS is Linux to avoid the error error: no such module 'Dispatch' during the build.
import Foundation
import Files
import ShellOut
import Require
#if os(Linux)
    import Dispatch
#endif

This fix resolves the build issue so you can build and run Marathon on a Linux machine. Unfortunately the install doesn't work and when I try to install a working script I had this error:
💥  Failed to compile script
I also updated the MarathonTests.swift to run all the test except testEditingScriptWithXcode and 4 of 34 tests failed on a Linux machine with Ubuntu 16.04
Test Suite 'MarathonTests' failed at 12:25:50.019
	 Executed 34 tests, with 4 failures (3 unexpected) in 194.676 (194.676) seconds
Test Suite 'debug.xctest' failed at 12:25:50.019
	 Executed 34 tests, with 4 failures (3 unexpected) in 194.676 (194.676) seconds
Test Suite 'All tests' failed at 12:25:50.019
	 Executed 34 tests, with 4 failures (3 unexpected) in 194.676 (194.676) seconds

Those tests are all related to the install command:
Test Case 'MarathonTests.AddingAndRemovingRemotePackage' started at 12:37:40.118
<EXPR>:0: error: MarathonTests.AddingAndRemovingRemotePackage : threw error "💥  Cannot remove package 'files' - no such package has been added
👉  Did you mean to remove the cache data for a script? If so, add '.swift' to its path
   To list all added packages run 'marathon list'"
Test Case 'MarathonTests.AddingAndRemovingRemotePackage' failed (9.49 seconds)

Test Case 'MarathonTests.testInstallingLocalScript' started at 12:40:04.579
<EXPR>:0: error: MarathonTests.testInstallingLocalScript : threw error "💥  Failed to compile script"
Test Case 'MarathonTests.testInstallingLocalScript' failed (18.473 seconds)

Test Case 'MarathonTests.testInstallingRemoteScriptWithDependencies' started at 12:40:23.052
<EXPR>:0: error: MarathonTests.testInstallingRemoteScriptWithDependencies : threw error "💥  Failed to compile script"
Test Case 'MarathonTests.testInstallingRemoteScriptWithDependencies' failed (17.406 seconds)

Test Case 'MarathonTests.testUsingMarathonfileToInstallDependencies' started at 12:25:17.879
/home/darthpelo/Marathon/Tests/MarathonTests/MarathonTests.swift:521: error: MarathonTests.testUsingMarathonfileToInstallDependencies : XCTAssertEqual failed: ("4") is not equal to ("2") -
Test Case 'MarathonTests.testUsingMarathonfileToInstallDependencies' failed (28.189 seconds)

On macOS all the tests are green.

@JohnSundell thanks 😄
At this point I don't have a clear idea about where to start to investigate so a verbose option can be very useful! Thanks!

@darthpelo It's in master now, give it a try! 😄 You can append --verbose to any command.

Founded the issue:
alessioroberto@ Marathon (master)$ .build/debug/Marathon install ../script/helloLinux.swift --verbose
🏃  $ readlink OriginalFile
   /home/alessioroberto/script/helloLinux.swift
   Compiling script...
   $ swift build --enable-prefetching -c release -Xswiftc -static-stdlib
   Compile Swift Module 'ShellOut' (1 sources)
   Compile Swift Module 'Hellolinux' (1 sources)
   Linking ./.build/release/Hellolinux
   /usr/bin/ld.gold: error: cannot find -lFoundation
   /usr/bin/ld.gold: error: cannot find -lFoundation

Of course, as for the installation of Marathon, the -Xswiftc -static-stdlib option doesn't work on Linux.


Update setup.py

There's some old stuff in here.

Codecov Report

Merging #88 (682e1fd) into main (39a0033) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files


Configuration problem on Hyundai/KIA EU server farm?

Using the EU version, I created a (test) script which uses the "update_all_vehicles_with_cached_state()".
When I run this script multiple times quickly, one after the other, and check the results, the data is consistent and the same (as expected) but only the "registration date" differs sometimes:
<         registration_date='2024-02-07 16:42:43.115',
---
>         registration_date='2024-02-07 15:42:43.115',

It looks like one of their servers/VMs in their pool is running with a wrong timezone setting or so.
All other times are always the same (but are also in Python's datetime format, the registration_date appears to be just a string).
I have read in the issues other questions about times, maybe we cannot trust on the consistency of their platform for this. Is there any (human) communication channel with Hyundai/KIA by someone?

A workaround has been made: https://github.com/Hyundai-Kia-Connect/hyundai_kia_connect_api/pull/643 and https://github.com/Hyundai-Kia-Connect/hyundai_kia_connect_api/pull/644
However, this is not the holy grail and indeed it would better that Hyundai/Kia fixes this. I do not have a communication channel.


Persistent runtime (workers? cloud functions? container?)

Context
In order to listen to webhook requests from repositories of the different installations, we need an always on endpoint.
Suggested solution

Cloudflare DDoS protection
Cloudflare Worker

Considered alternatives

Docker container (probably more hassle)
Cloud functions

#29 converts the app to run in V8 Isolates, like those of Cloudflare Workers.
This needs to be tested, and probably slightly fine-tuned.

This is done as part of #29, #30, #31 and #32


Version V1.0.4 Stable

Tested and working.

Got there in the end, first stabe Laravel composer package woohoo!


Improve mask

this pull request :

fades out the non-selected area (leaving selected area fully present)
generalises the select direction so it it RTL and bottom-to-top friendly

This is part of the onboarding epic for patchbay!
cc @dominictarr

Thanks for the great review @noffle !
:heart: :cactus: :tropical_fish:

testing with example, this doesn't work correctly... canvas.selection is not updated to reflect RTL or BTT

Good catch @dominictarr :disappointed_relieved:
fix pushed

awesome, merged into 1.1.0, along with the example fix branch

Hey looks like the npm one is up, but the changes aren't on github.
Can you resolve the change @dominictarr ?

sorry, fixed!
On Tue, Jan 31, 2017 at 9:44 PM, mix irving<EMAIL_ADDRESS>wrote:

Hey looks like the npm one is up, but the changes aren't on github.
Can you resolve the change @dominictarr https://github.com/dominictarr ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/hyperhype/hypercrop/pull/1#issuecomment-276306260,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAP1LlSAYKdk9G77-PVOIL1XubaFnRWPks5rXvRpgaJpZM4LwUL9
.


The SPO bundle leaves mutatingwebhookconfiguration behind

What happened:
When SPO is uninstalled after installation from a bundle, the mutatingwebhookconfiguration is left behind. This can be irritating for users because in case some namespaces are set to be listened to by the webhook, then launching pods in that namepsace will fail because the webhook is set to Fail and there's no service listening for the webhook config anymore.
What you expected to happen:
The webhook config should be deleted when the CSV is deleted.
How to reproduce it (as minimally and precisely as possible):

install SPO via OLM
uninstall SPO (delete csv,og,ip,sub)
kubectl get mutatingwebhookconfiguration

Anything else we need to know?:
I tried to fix the issue today and I like neither of the options.
First I tried to make the mutatingwebhookconfiguration owned by the operator deployment, but that doesn't work as it's a cluster-scoped resource.
Next, I tried to generate a mutatingwebhookconfiguration "stub" in the CSV, hoping that SPO would just update it but that doesn't work either, because OLM generates an instance of mutatingwebhookconfiguration CR per webhook, so you end up with one for binding and one for recording. They also use an autogenerated suffix:
- apiVersion: admissionregistration.k8s.io/v1
  kind: MutatingWebhookConfiguration
  metadata:
    creationTimestamp: "2022-12-12T13:49:50Z"
    generateName: binding.spo.io-
    generation: 1
    labels:
      olm.owner: security-profiles-operator.v0.6.1-dev
      olm.owner.kind: ClusterServiceVersion
      olm.owner.namespace: security-profiles-operator
      olm.webhook-description-generate-name: binding.spo.io
      olm.webhook-description-hash: 7665f6bdd9
    name: binding.spo.io-p2p8m
    resourceVersion: "174672"
    uid: a48351eb-11f5-490a-9501-eade8651e40e

So far I'm thinking that the best way would be to change SPO to create two MWC objects and try to, before creating, see if there are already objects that it should update based on labels and this way just update those that are pre-created by OLM. Hopefully OLM wouldn't be smart and wouldn't try to rewrite the MWC object back as per the CSV (even on CSV updates to the next SPO version...)
Environment:

Cloud provider or hardware configuration:
OS (e.g: cat /etc/os-release): RHCOS-4
Kernel (e.g. uname -a): N/A
Others: OPC 4.12, today's master

/remove-lifecycle rotten


[E2EE][AS] HashiCorp Vault Secure Storage Provider

https://github.com/turt2live/matrix-bot-sdk/issues/190


Expose traffic manager port to enable the simultaneous execution of multiple leaderboards.

Note: This PR requires scenario_runner:master for it to work. I've exposed the port in the scenario runner as well, but my changes have only been merged into master.

This change is

+@glopezdiest as a reviewer for testing of the feature.


How can I check linter only on the changed files?

Hello, do you have any suggestions to use this linter only on the changed files? Right now I was able to follow the instructions to make the linter work on specific folder, but not the changed files.

Hey @tamdrashtri sorry I missed this. There isn't an easy way to do that with this action. I'd have to build that and add do an API call to get the list of added, modified and removed files.
https://docs.github.com/en/webhooks-and-events/webhooks/webhook-events-and-payloads#push
Can you describe details of your use case? What kind of files are you trying to exclude that regularly trigger?


Change guidance for adding a previous offence

Change guidance for adding a previous offence to specify types of offences needed.
Trello ticket 729
Release checklist
As part of our continuous deployment strategy we must ensure that this work is
ready to be released at any point. Before merging to main we must first
confirm:
Pre merge checklist

[ ] Are any changes required to the e2e tests?
[ ] If you've added a new route, have you added a new
auditEvent? (see server/routes/apply.ts for examples)
[ ] Are there environment variables or other infrastructure configuration which needs to be included in this release?
[ ] Are there any data migrations required. Automatic or manual?
[ ] Does this rely on changes being deployed to the CAS API?

Post merge checklist
Once we've merged it will be auto-deployed to the dev environment.
Find the build-and-deploy job in CircleCI.
Should a release fail at any step, you as the author should now lead the work to
fix it as soon as possible.

Sorry @Harriethw I redid this as I had a conflict in this PR https://github.com/ministryofjustice/hmpps-community-accommodation-tier-2-ui/pull/396 I didn't know how to resolve. This was simpler for me. Hope that's okay!


System API JWT token struggles

Preflight Checklist

[X] I could not find a solution in the existing issues, docs, nor discussions
[X] I have joined the ZITADEL chat

Describe your problem
If you are struggling with System API JWT token related issues, here are few tips:
It can be result of:

misconfiguring zitadel-tool option  --audience=  --issuer=

https://github.com/zitadel/zitadel-tools
you can double check payload and verify signature with public key here
https://jwt.io/

diffrent behavior of openssl and base64 tools on macos and ubuntu

can be caused how/where you generate output of "base64 system-user-1.pub" command
i didnt dig deeper, but can be caused by stupid thing like trying copy-paste keys into your editor and later differences in encoding or \n \r symbols

misconfiguring or typo in username

SystemAPIUsers:
  - system-user-1:
      KeyData: <base64 encoded value of system-user-1.pub>

expired token

To understand all the above I had to go ... very deep into code
I was able to trace my issues by studying APITokenVerifier, VerifySystemToken functions output ...
https://github.com/zitadel/zitadel/blob/3396657c3f06b1815361de10505b542adb8b9152/internal/api/authz/context.go#L114
VerifyAccessToken
https://github.com/zitadel/oidc/blob/6d1231cb37c27f29ed6fc52bb52d5e7e260ca2dc/pkg/op/verifier_access_token.go#L31
Recommend to re-read documentation
https://github.com/zitadel/zitadel/tree/main/docs/docs/guides/integrate/zitadel-apis
And use grpcui
https://github.com/fullstorydev/grpcui
Zitadel code worked as intended, but I have to admit it was a struggle to understand and debug.
What I was trying to replication with System API is an experience similar to Terraform.
I didnt want to configure test environment by clicking through all UI features. I wanted to get a POC all configuration options are reproducible through the code.
Hope it helps
Describe your ideal solution
The ideal solution is just more error handling messages and more documentations
Version
latest
Environment
Self-hosted
Additional Context
No response

I'm struggling with the zitadel-go examples, none of the API examples work and I suspect it's due to a combination of poor documentation and possibly a bug in the code.
Similar to this ticket I traced the error i'm having here
https://github.com/zitadel/oidc/blob/6d1231cb37c27f29ed6fc52bb52d5e7e260ca2dc/pkg/op/verifier_access_token.go#L47
and
https://github.com/zitadel/oidc/blob/6d1231cb37c27f29ed6fc52bb52d5e7e260ca2dc/pkg/oidc/verifier.go#L117
This is the error I am receiving
2024-07-17 13:35:09 time=2024-07-17T20:35:09.650Z level=INFO msg="oidc introspection" err="ID=OIDC-Eib8e Message=token is not valid or has expired Parent=(issuer does not match: Expected: http://localhost:8080, got:<PHONE_NUMBER>54931203)"
the CheckIssuer is throwing the error.
I suspect the issue is between the audience and the issuer being confused somewhere

I'm also running into this issue 😢

I've edited the main post so we can plan this improvement.

I  had the same issue.

I had the same issue.
I changed both the issuer value and system api user name to the audience value,
then I received the following error:
msg="token verifier repo: verify JWT access token" caller="/home/runner/work/zitadel/zitadel/internal/authz/repository/eventsourcing/eventstore/token_verifier.go:287" error="invalid signature (invalid signature: no possible keys matches)"
I have tested against the latest 2.66.0,


Merge dev

This PR merges dev into feat-2.0.
There were many conflicts, with the more significant ones being around:

the auction in EE
the advance_era and similar methods of WasmTestBuilder
the BlockValidator (generally the changes from dev were used as this component still has to be updated on feat-2.0 to handle Transactions properly)
the Storage component (mainly related to handling execution results)
the main_reactor tests (three new tests and related helper functions added in feat-2.0 were rewritten to use the updated test fixture provided in dev - total runtime dropped from 5.5mins to 36secs)

Closes #4379.

bors merge

bors merge

bors merge

bors merge


Too many queries in the last time, without even querying 100 posts

Hi, I'm loading instaloader like so:
from instaloader import Instaloader, Hashtag
import json
import datetime
import time
from collections import deque

L = Instaloader(save_metadata=False, compress_json=False, download_video_thumbnails=False,
download_comments=False, download_videos=False, download_geotags=True,download_pictures=False)
L.post_metadata_txt_pattern = ""
L.download_geotags = False
L.save_metadata = False
L.save_metadata_json = False
L.download_comments = False

#L.load_session_from_file('session')
L.login("XXXXX", "XXXXX")
hashtags = Hashtag.from_name(L.context, "georgefloyd")

SINCE = datetime.datetime(2020, 5, 25)
UNTIL = datetime.datetime(2020, 6, 7)

def isApril(ringBuffer):
    if len(ringBuffer) == 0:
        return
    months = [ post.date_utc.month for post in ringBuffer]
    return max(set(months), key = months.count) == 4

def getPostsByDateRange(posts, startDate, endDate):
    postsByDateRange=[]
    ringBuffer=deque(maxlen=100)
    count=0
    updated=False
    for post in posts:
        #if date within selected range, append
        if (startDate < post.date_utc and post.date_utc < endDate):
            ringBuffer.append(post)
            postsByDateRange.append(post)
            if (len(postsByDateRange) % 100 == 0):
                print(len(postsByDateRange))
            updated=True
        #only checks ringbuffer every 5 posts, to save waiting ages
        if count <= 5:
            count=count+1
            continue
        #dont run it the state of the ringBuffer is the same
        if updated == True and isApril(ringBuffer):
            return postsByDateRange
        updated=False
        count=0

start = time.time()
postsByDateRange=getPostsByDateRange(hashtags.get_posts(), SINCE, UNTIL)
end = time.time()
print([post.shortcode for post in postsByDateRange])
print("Time Taken: ")
print(end - start)
print("Posts Found: ")
print(len(postsByDateRange))

I'm querying a popular hashtag (blm) but reach the following error before I've even collected 100 posts.

Too many queries in the last time. Need to wait 421 seconds, until 22:12.

If I'm wanting to look for dates within a certain range, how is it possible to do so without spending years dealing with too many queries, can instaloader not handle large hashtags?
Kind regards.

hello, i'm with the same problem here, but with profile's query.
the collect is giving "too many requests" too soon, and is giving some message about redirect as well:
"HTTP redirect from https://www.instagram.com/graphql/query to https://www.instagram.com/accounts/login/"

yes, I have this problem starting from 2 day ago. They might have changed something in the rate limit :(

First time trying this tool and I run into the "too many requests" issue merely by running the ghostFollowers example from the Advanced Instaloader Examples page.

Anyone here solves this? It's definitely not account related and my proxies/VPN connection also respond with the same 429 error.
Sadly this makes Instaloader kinda useless for me.

Same problem here, the error message appears after a very short list of downloaded media

I'm facing the same problem, has anyone managed to solve it?

I've been unable to resolve the problem, and as a consequence my girlfriends dissertation has had to change last minute as we needed the data to progress!
It shouldn't be this hard to query the data, I was close to just using selenium before time ran out.

Closing this question as it seems unclear what the question is actually about:

the quoted log message is explained in the documentation, and this question does not seem to refer to that explanation,
many off-topic comments, which further underlines the ambiguity of the question – 429 Too Many Requests and Too many queries in the last time are different messages with different meanings,
aggressive, provocative tone by this issue's author, instead of a discussion culture that actually invites to help.

@Lerring We're certainly not your free support service, we're not here to fix your problems. There are many peer-reviewed papers out there that successfully used Instaloader to obtain their data. Instaloader waits up to 11 minutes and 6 seconds – not "years" – as required per Instagram's rate limiting. If you find a way to avoid that  – "It shouldn't be this hard to query the data" – you're welcome to contribute.


Tutorial

Write a small tutorial on writing a GRPC endpoint in Armeria and testing it with Filibuster using jUnit and the IntelliJ plugin. Tutorial should contain an artificial bug.  We can talk about how to do that.  Should be done as a standalone repo that pulls in the Maven dependency and installs the plugin to keep it standalone as possible and go from 0 -> 100.
Do this after the other stuff but before the mock stuff (#68.)

Let's wait on this for a bit.


@xstate/fsm: assign not strongly typed

Description

Currently the assign function is using any and doesn't seem to be using the typestate feature: https://github.com/davidkpiano/xstate/blob/15f812b8029c406e98fd90fbbc997f58ff07b8cd/packages/xstate-fsm/src/index.ts#L9
I took a try at it by copying some of the things I saw in the base xstate package: https://github.com/davidkpiano/xstate/pull/761
I'm not sure how to use the typestate feature and the test file gives the error Type 'boolean' is not assignable to type 'false' https://github.com/davidkpiano/xstate/blob/53f338000f222a8e00497b407a6b619ce5c26950/packages/xstate-fsm/test/fsm.test.ts#L47
Expected Result

Expect assign in @xstate/fsm to be fully typed and use typestate generic feature
Actual Result

Typed as any
Additional context

@xstate/fsm: "1.0.1"

@davidkpiano Sorry if I caused any confusion by opening up a WIP PR, I'm stuck and need help to finish it off :(


pub: false Incompatible dependencies check

This issue was originally filed by @davidB

2 urls for the same repo, same head
Resolving dependencies...
Incompatible dependencies on 'asset_pack':

'simple_audio' depends on it with description "https://github.com/johnmccutchan/asset_pack.git"
'vdrones' depends on it with description "git://github.com/johnmccutchan/asset_pack.git"

#0      Entrypoint._installDependencies._installDependencies.<anonymous closure> (file:///mnt/data/b/build/slave/dart-editor-linux-trunk/build/dart/sdk/lib/_internal/pub/lib/src/entrypoint.dart:57:31)
#1      Future.Future.sync (dart:async:71:31)
#2      Entrypoint._installDependencies._installDependencies (file:///mnt/data/b/build/slave/dart-editor-linux-trunk/build/dart/sdk/lib/_internal/pub/lib/src/entrypoint.dart:56:12)
#3      _ThenFuture._sendValue (dart:async:397:24)
#4      _FutureImpl._setValue (dart:async:294:26)

This issue has been moved to dart-lang/pub#539.


cupy.asarray doesn't accept list of cupy.ndarray

Both numpy.asarray and cupy.asarray accept list of numpy.ndarray:
>>> numpy.asarray([numpy.zeros(1)])
array([[ 0.]])
>>> cupy.asarray([numpy.zeros(1)])
array([[ 0.]])

However, cupy.asarray doesn't accept list of cupy.ndarray:
>>> cupy.asarray([cupy.zeros(1)])
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/user/.pyenv/versions/flatten-obs/lib/python3.6/site-packages/cupy/creation/from_data.py", line 46, in asarray
    return core.array(a, dtype, False)
  File "cupy/core/core.pyx", line 1799, in cupy.core.core.array (cupy/core/core.cpp:58790)
  File "cupy/core/core.pyx", line 1824, in cupy.core.core.array (cupy/core/core.cpp:58526)
ValueError: Unsupported dtype object

This behavior might be consistent in some sense, but I often find it cumbersome when writing numpy/cupy agnostic code.

When writing code with Chainer, Unsupported dtype object was one of the common issue, especially in pre-processing code that is both compatible with NumPy/CuPy.
It is hard to guess the reason from this error message for first-timers.
How about documenting it in https://docs-cupy.chainer.org/en/stable/reference/difference.html?
(Note, to fully fix this issue, we need to implement CuPy version of PyArray_FromAny)

Got the same issue when split the prediction of Siamese Net to us Triplet loss.
Is there a workaround for this kind of usage?
    pred = net(X)
    a_preds = [pred[i] for i in range(0, batch*3, 3)]
    p_preds = [pred[i] for i in range(1, batch*3, 3)]
    n_preds = [pred[i] for i in range(2, batch*3, 3)]

    xp = cuda.get_array_module(pred)
    a_preds = xp.asarray(a_preds)
    p_preds = xp.asarray(p_preds)
    n_preds = xp.asarray(n_preds)

    loss = F.triplet(a_preds, p_preds, n_preds)

If you want to convert a list of CuPy arrays with the same shape to a single CuPy array, you can use xp.stack.
(Note that this does not work with more complicated structure, e.g., a list of list of CuPy arrays.)

Now this behavior is documented in #1027.
Should we close this issue?

Let's close this issue after finishing discussion in #1030.

OK.


created adaptives for team, streedcode sliders

dev
JIRA

Main JIRA ticket

Code reviewers

[ ] @github_username

Second Level Review

[ ] @github_username

Summary of issue
Lack of adaptives for mobile, tablet
Summary of change
Added adaptives for tablet and mobile.
Testing approach
--
CHECK LIST

[ ]  СI passed
[ ]  Сode coverage >=95%
[ ]  PR is reviewed manually again (to make sure you have 100% ready code)
[ ]  All reviewers agreed to merge the PR
[ ]  I've checked new feature as logged in and logged out user if needed
[ ]  PR meets all conventions

overrall, please check your code and fix indentations, remove blank likes and use pxToRem()

Please, fill in the pull request details correctly. Why are the sections "Assignees", "Project", "Development" empty?


jdk14 builds are missing jre packages

I'm told that JDK14 needs adding to the IF statements:
https://github.com/AdoptOpenJDK/openjdk-build/blob/01f365ec6a222dc6c30fe4452f80b1fbc4484ae7/configureBuild.sh#L211
https://github.com/AdoptOpenJDK/openjdk-build/blob/01f365ec6a222dc6c30fe4452f80b1fbc4484ae7/configureBuild.sh#L283

Fixed by #1601


Update default settings

Hi @tsahara,
This PR is update defalut value settings on config.rb.
They have two updates.
1) Update default of zone_id(to is1b)
Currently, SakuraCloud's default zone has been changed to is1b.
For details, please see folloiwng:

さくらのクラウドニュース:新規アカウントに対する石狩第1ゾーンのご利用制限開始について

2) Update default of disk_source_archive
Currently, archive(112800438454) is not exists on the SakuraCloud.
In addition, as the default of zone_id is changed, archive ID is also changed.
So, will update default of disk_source_archive to use available ID on is1b zone.

Thank you!