helmfile transformers fix

Hi team
I made a fix for non working transformers:
Before the change when applying transformers user got following error from kustomize binary that kustomize failed and the reason was that in kustomization.yaml file were referred files inside helmx.1 directory however the directory was not existing at that point of time
tomas@tomas-ThinkPad-W550s:~/Develop/test$ helmfile template
in ./helmfile.yaml: [exit status 1

COMMAND:
  kustomize build /tmp/chartify043502074/test --output /tmp/chartify043502074/test/all.patched.yaml

OUTPUT:
  Error: accumulating resources: accumulation err='accumulating resources from 'helmx.1.rendered/test/templates/serviceaccount.yaml': evalsymlink failure on '/tmp/chartify043502074/test/helmx.1.rendered/test/templates/serviceaccount.yaml' : lstat /tmp/chartify043502074/test/helmx.1.rendered: no such file or directory': evalsymlink failure on '/tmp/chartify043502074/test/helmx.1.rendered/test/templates/serviceaccount.yaml' : lstat /tmp/chartify043502074/test/helmx.1.rendered: no such file or directory]

solution was to remove the os.RemoveAll(helmOutputDir) poiting to helmx.1 dir
After removing and local testing the transformers works again.
Link to PR: https://github.com/variantdev/chartify/pull/13
fixes: https://github.com/roboll/helmfile/issues/1991
Kind regards
Tomas

@tomassatka This seems to happen only when you created helmfile.yaml within the local chart directory, and I have never expected any of you would do so!
Could you read my comments in the issue and the PR, and help me make a (seemingly) correct fix?

@mumoshu - I don't think your last comment is true...or maybe I'm misunderstanding.
This is what my helmfile.yaml looks like, and I'm getting bitten by the same bug
helmDefaults:
  atomic: true
  cleanupOnFail: true
  force: false
  recreatePods: false
  skipDeps: true
  timeout: 600
  verify: false
  wait: true

commonLabels:
  system: argocd

releases:
  - name: argocd
    installed: true
    chart: "../../vendor-dependencies/argo-cd/synced/helm-chart/"
    version: ~4.2.1
    createNamespace: true
    namespace: argocd
    missingFileHandler: Warn
    values:
      - values.yaml
    strategicMergePatches:
      - apiVersion: v1
        kind: ConfigMap
        metadata:
          name: argocd-cm
          namespace: argocd
        data:
          configManagementPlugins: |
            - name: helmfile
              init:
                command: ["sh", "-c"]
                args: ["helmfile repos"]
              generate:
                command: ["sh", "-c"]
                args: ["helmfile template --skip-deps"]

@armenr Mind removing the trailing / from your chart path  chart: "../../vendor-dependencies/argo-cd/synced/helm-chart/"?

WELP! Looks like that helps it. Now, we've got a new problem...looks unrelated to helmfile, and more related to the chart.
╰─ helmfile apply
Adding repo argo https://argoproj.github.io/argo-helm
"argo" has been added to your repositories

in ./helmfile.yaml: [exit status 1

COMMAND:
  kustomize build /var/folders/tz/lbprcwvx349d2_k7bzcsqtb80000gn/T/chartify1973256500/argocd/argocd/argo-cd --output /var/folders/tz/lbprcwvx349d2_k7bzcsqtb80000gn/T/chartify1973256500/argocd/argocd/argo-cd/all.patched.yaml

OUTPUT:
  Error: no matches for Id ConfigMap.v1.[noGrp]/argocd-cm.argocd; failed to find unique target for patch ConfigMap.v1.[noGrp]/argocd-cm.argocd]

no update here?

@lodotek Hey. We already fixed it in recent versions of helmfile. Please submit a new issue with a full repro setup if you still encounter this, as it might be a brand-new issue that looks similar but different to this one!


Display llvm version in --version output

It's an important piece of information in bug reports
It's not trivial to find.

Multiple llvm versions are installed on some systems
I had to read the Makefile when I was asked (#901, #1186)

Maybe this change requires a further discussion (What if some tools rely on the output of --version? Is it better to add another option, say --debug-info containing more informations? ...)

Thanks for the PR!
It seems reasonable to me to include it in the --version output.  For review and discussion purposes, can you paste an example of how the output looks on your machine?
Also, can you add a changelog entry for this?

Changelog updated.
Here's the output:
$ build/debug/ponyc --version
0.3.0-14-gd8c6c55 [debug] (llvm 3.8.0)

I couldn't test on a windows build.


Allow to use labels as xcode target names

I've added a target_name_mode argument (maybe not the best name) to the rule that allows you to specify what will be used as the base name for Xcode targets.
The default is "auto" - the same behavior as now. Another option "label" - the full target label will be used as a name.
We want to use labels as the target title because we think it will improve ergonomics by allowing you to copy/paste a label from Xcode into the terminal, search for label usage, and help navigate to the target's source code.

We want to use labels as the target title because we think it will improve ergonomics by allowing you to copy/paste a label from Xcode into the terminal, search for label usage, and help navigate to the target's source code.

How does this help navigate to the source code? Target names don't impact that in any way. Same for scheme names (which replace the / and : with _ so they are mangled already).
I'm okay with something like this (I might want to tweak it a bit before landing), because it's just pushing a version that already exists conditionally. Just trying to fully understand the use case.

How does this help navigate to the source code?

I just meant that the package name in the label matches the directory structure, which make it clear how to cd to this target.
Additionally, I have an alias that gets the path from the bazel label (via bazelisk query * --output=build) which I combine with fzf 😅
The idea is to make Bazel labels and syntax more visible to iOS developers who primarily work in Xcode. The assumption is that in its current state, the Xcode project kinda hide the use of Bazel, and that displaying labels in Xcode project will make it more transparent for developers.

Target names don't impact that in any way. Same for scheme names (which replace the / and : with _ so they are mangled already).
Unfortunately, this is true for scheme names, but you can copy the target name from the target list or from the "Report Navigator", "Test Navigator". Also in build logs - "Build target ..."

I'm okay with something like this (I might want to tweak it a bit before landing), because it's just pushing a version that already exists conditionally.

Great. Let me know where I should fix it.


Electron recipe: debug renderer without reloading page

Guys, first of all - thank you for your work! It helps a lot.
I would love to ask/brainstorm with you if debugging of renderer can be improved:
https://github.com/Microsoft/vscode-recipes/tree/master/Electron#debugging-of-the-renderer-process

...
4. Now go to your Electron app window and reload the page (View -> reload or CMD+R) to make sure the breakpoints are set.
...

This reload breaks fast development cycles at the moment.
Can this reload be removed?

@alexk-z  This should have been resolved, as we have enabled break-on-load breakpoints by default. See  https://code.visualstudio.com/blogs/2017/12/20/chrome-debugging

In this case, Chrome is being launched by Electron. Does the recipe for Electron need to be updated? Or maybe main.js file?
I will try the simple Electron example referenced in the recipe to see if I can repro. In my project, I have to refresh Electron page to trigger breakpoints.

@alexk-z Any updates on this? Even with the latest version of VS code I am not able to debug without reloading.


(redis 3.0.0 and 3.0.0.post1) AttributeError: 'float' object has no attribute 'items'

This happened after using redis 3.0.0.post1, when I uninstalled it and installed 2.10.6, it's working.
Traceback (most recent call last):
File "/myenv/lib/python3.5/site-packages/celery/worker/worker.py", line 205, in start
self.blueprint.start(self)
File "/myenv/lib/python3.5/site-packages/celery/bootsteps.py", line 119, in start
step.start(parent)
File "/myenv/lib/python3.5/site-packages/celery/bootsteps.py", line 369, in start
return self.obj.start()
File "/myenv/lib/python3.5/site-packages/celery/worker/consumer/consumer.py", line 317, in start
blueprint.start(self)
File "/myenv/lib/python3.5/site-packages/celery/bootsteps.py", line 119, in start
step.start(parent)
File "/myenv/lib/python3.5/site-packages/celery/worker/consumer/consumer.py", line 593, in start
c.loop(*c.loop_args())
File "/myenv/lib/python3.5/site-packages/celery/worker/loops.py", line 91, in asynloop
next(loop)
File "/myenv/lib/python3.5/site-packages/kombu/asynchronous/hub.py", line 354, in create_loop
cb(*cbargs)
File "/myenv/lib/python3.5/site-packages/kombu/transport/redis.py", line 1040, in on_readable
self.cycle.on_readable(fileno)
File "/myenv/lib/python3.5/site-packages/kombu/transport/redis.py", line 337, in on_readable
chan.handlerstype
File "/myenv/lib/python3.5/site-packages/kombu/transport/redis.py", line 724, in _brpop_read
self.connection._deliver(loads(bytes_to_str(item)), dest)
File "/myenv/lib/python3.5/site-packages/kombu/transport/virtual/base.py", line 983, in _deliver
callback(message)
File "/myenv/lib/python3.5/site-packages/kombu/transport/virtual/base.py", line 632, in _callback
self.qos.append(message, message.delivery_tag)
File "/myenv/lib/python3.5/site-packages/kombu/transport/redis.py", line 149, in append
pipe.zadd(self.unacked_index_key, time(), delivery_tag)
File "/myenv/lib/python3.5/site-packages/redis/client.py", line 2263, in zadd
for pair in iteritems(mapping):
File "/myenv/lib/python3.5/site-packages/redis/_compat.py", line 123, in iteritems
return iter(x.items())
AttributeError: 'float' object has no attribute 'items'

+1

Looks like kombu will need to update its code that interfaces with redis-py. Specifically the calls to zadd

Is it really a good idea to make breaking changes like this?

+1 this broke our Airflow instance this morning. Locked in 2.10.6 fixes it for us too.

django-redis might need an update too then.
I'm getting this error when using django.core.cache.get(key)
Invalid input of type: 'CacheKey'. Convert to a byte, string or number first.

@andymccurdy I appreciate the hard work that you put into making a product that my organization relies upon and there is not much we can do about this now. I don't want to beat you up to much about this ;)
So Thank you! :heart:
That said, it wasn't actually strictly necessary to make the breaking change. It would have been possible to make a new method zadd2 which would have had the new signature and changed the original zadd to call zadd2 with the correct arguments. Alternatively, it would have been possible to create a method set_zadd_ops(nx=False, xx=False, ch=False, incr=False). Either of these options would have been preferable.
With the chosen solution, it is difficult to support both redis-py 2 and 3. Since python is incapable of using two versions of the same dependency within a given project (admittedly this is a failing of python as much as it is of reddis-py 3). This means that libraries which support reddis-py 2* will necessarily be incompatible with libraries that support reddis 3 and vice versa and it will be impossible to use such libraries together in the same project. That's a pity.

I hear you. I take backwards incompatibly very seriously and try to refrain from it when possible.
I agree that adding new methods could have also worked. However, redis-py tried similar things in the past (e.g., Redis vs StrictRedis) and it ended up causing way more problems than it fixed.
I think that other libraries that rely on Redis can actually support both redis-py 2 and 3 with a few lines of code, though I admit it's not the prettiest thing:
import redis
r = redis.Redis(...)

if redis.VERSION[0] < 3:
    r.zadd('my-key', element1=score1)
else:
    r.zadd('my-key', {elemetn1: score1})

There is also a problem with libraries which depend on redis-py (you can only have one version installed in a repo), another option is to simply revert redis-py to 2.X and create a new library called redis3-py or redis-py3.

Eek, this has also broken our production code. Thanks for providing the workaround @andymccurdy.

Eek, this has also broken our production code.

Transitive Python dependencies should always be pinned, particularly in production (the same principal as always using a lockfile in the JS ecosystem). This can be enforced using either something like pipenv or poetry, or else using requirements files and pip >=8's hash checking mode.

Eek, this has also broken our production code.

Transitive Python dependencies should always be pinned, particularly in production (the same principal as always using a lockfile in the JS ecosystem). This can be enforced using either something like pipenv or poetry, or else using requirements files and pip >=8's hash checking mode.

You're 100% right. Appreciate the pointer.

This has been resolved in celery/kombu#953

This could have been done in a way that maintained backward compatibility.  See e.g. what the ruby folks did:  https://www.rubydoc.info/github/ezmobius/redis-rb/Redis:zadd


Basic specimen matching

This pull request provides basic specimen matching, allowing taxonomic units that include identically identified specimens to be matched to each other.
Note that I've written code for matching by external reference or specimen identifier, which is synthesized from the occurrenceID or by creating a Darwin Core triplet from "institutionCode:collectionCode:catalogNumber", as suggested by Guralnick et al., 2014. However, this pull request only tests comparisons between catalogNumbers, since that's the only specimen identifier used in currently curated studies. We could hold on this pull request until that code is tested, but I think it makes more sense to commit the untested code for now, and open an issue to find a study that will allow us to test the other kinds of specimen matching.
This pull request should be squash-merged if accepted. Closes #8.

@hlapp I've made all the changes you've requested, and added tests for them as well! Let me know what you think!

I assume you want to merge yourself?

Thanks, Hilmar! I think these eight commits describe the process of developing specimen matching pretty well, so I'm going to rebase them into the master branch. Let me know if you disagree, and I'll undo that and add them via a merge commit instead.


[opentimelineio] fix unused parameter compilation warnings

This cleans up a bunch of unused parameter warnings seen when using gcc 4.8.3
and compiling with -Wextra.

Codecov Report

Merging #572 into master will increase coverage by <.01%.
The diff coverage is 81.81%.

@@            Coverage Diff             @@
##           master     #572      +/-   ##
==========================================
+ Coverage   81.28%   81.29%   +<.01%
==========================================
  Files          72       72
  Lines        2731     2726       -5
==========================================
- Hits         2220     2216       -4
+ Misses        511      510       -1

Flag
Coverage Δ

#py27
?

#py36
?

#py37
81.29% <81.81%> (ø)
:arrow_up:

Impacted Files
Coverage Δ

...entimelineio-bindings/otio_serializableObjects.cpp
94.52% <100%> (ø)
:arrow_up:

...ntimelineio/opentimelineio-bindings/otio_utils.cpp
85.88% <100%> (+0.65%)
:arrow_up:

src/opentimelineio/deserialization.cpp
53.19% <100%> (ø)
:arrow_up:

src/opentimelineio/transition.cpp
85.18% <100%> (ø)
:arrow_up:

src/opentimelineio/typeRegistry.cpp
85.14% <100%> (ø)
:arrow_up:

src/opentimelineio/serialization.cpp
81.66% <100%> (ø)
:arrow_up:

src/opentimelineio/composition.cpp
77.94% <33.33%> (ø)
:arrow_up:

...eio/opentimelineio-bindings/otio_anyDictionary.cpp
100% <0%> (ø)
:arrow_up:

...elineio/opentimelineio-bindings/otio_anyVector.cpp
100% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


No Issue - this worked for me!

Just wanted to compliment the creator - this worked well! All I had to do was update the scripts to dataloader-40.0.0-uber.jar
This README was very simple and easy to follow. thanks!

same here, only need to edit the scripts inside bin/


Add config option for cURL timeout, #2934

Allow connection timeout to be configured with a global default for use when it is called without a second parameter from core files, Refs issue #2934

Nice, this is a good change but I can't help to think that we should just increase the timeout for connecting to the marketplace to something much higher than 5 seconds rather than asking users to set the timeout for all requests to something high.

The two changes aren't mutually exclusive.  We could also raise the value in configuration.  I like having a configuration option, rather than forcing users to modify core.  I'd say fall back to php_ini seeing, but I don't think there is one for curl timeout in php.

Yeah, this makes sense, I think we would include this pull request (to make it configurable, as well as changing the getContents() method specifically when connecting to the marketplace to pass a custom value, something more like 10-15 seconds. And then perhaps if no value is returned throwing a better error message.

Alright, so it sounds like we're merging this. @jxn, thanks for adding this!


[Suggestion] Adding the tracker name at the torrent file name

It would be nice to add the tracker name at the torrent file name.
Something like [TrackerName] Filename.torrent
In case of multi result, the result would be much better:
- [Tracker A] My.Wonderful.Movie.torrent
- [Tracker B] My.Wonderful.Movie.torrent
- [Tracker C] My.Wonderful.Movie.torrent

Intead of:
- My.Wonderful.Movie.torrent
- My.Wonderful.Movie (1).torrent
- My.Wonderful.Movie (2).torrent

The name of the torrent is use as the base by autotorrent to create the directory for links.
I did some test with my fork, it's work very well with autotorrent. Much easiest to manage and far cleaner.
I can propose a PR if you are interested.

It was already doing this, but the tracker name was included at the end of the file, which would be truncated if the file name was too long. I've moved it to the start of the file name in e2da87ca10a14737edfda211c3ce5c9d332b2410

Nice. I miss it. Sorry for the disturbance.
Thanks for your quick answer.


Not able to change font size of accordion

Prerequisites

[X] I have searched for duplicate or closed issues
[X] I have validated any HTML to avoid common problems
[X] I have read the contributing guidelines

Describe the issue
not able to change the font size of accordion
Reduced test cases
.
What operating system(s) are you seeing the problem on?
Windows, macOS, Android, iOS, Linux
What browser(s) are you seeing the problem on?
No response
What version of Bootstrap are you using?
5.2

Thanks for reporting an issue @prakharisg. Could you please add more details and context to your request?

Hi Julien-deramound,
I am not able to change the font size of accordion via variables because its not present.
currently i am using fs-* like (fs-1,fs-2) class for achieving it
Please check given doc content
$accordion-padding-y:                     1rem;
$accordion-padding-x:                     1.25rem;
$accordion-color:                         var(--#{$prefix}body-color);
$accordion-bg:                            $body-bg;
$accordion-border-width:                  $border-width;
$accordion-border-color:                  var(--#{$prefix}border-color);
$accordion-border-radius:                 $border-radius;
$accordion-inner-border-radius:           subtract($accordion-border-radius, $accordion-border-width);
$accordion-body-padding-y:                $accordion-padding-y;
$accordion-body-padding-x:                $accordion-padding-x;
$accordion-button-padding-y:              $accordion-padding-y;
$accordion-button-padding-x:              $accordion-padding-x;
$accordion-button-color:                  $accordion-color;
$accordion-button-bg:                     var(--#{$prefix}accordion-bg);
$accordion-transition:                    $btn-transition, border-radius .15s ease;
$accordion-button-active-bg:              tint-color($component-active-bg, 90%);
$accordion-button-active-color:           shade-color($primary, 10%);
$accordion-button-focus-border-color:     $input-focus-border-color;
$accordion-button-focus-box-shadow:       $btn-focus-box-shadow;
$accordion-icon-width:                    1.25rem;
$accordion-icon-color:                    $accordion-button-color;
$accordion-icon-active-color:             $accordion-button-active-color;
$accordion-icon-transition:               transform .2s ease-in-out;
$accordion-icon-transform:                rotate(-180deg);

This isn't a live example showing a bug. Please read and complete the template when opening an issue. Until we see a live demo of the problem, we can't help.

Hi @mdo
https://instyle-direct-next-js.vercel.app/gold-furniture-pack
please check live url


Fix Z-Move validation in Baton Pass Clause

A Pokemon can only use 1 Z-Move in battle.

Updated.

(Technically it's still possible to fool this by having a Z-move that boosts all stats (e.g. conversion) and a second move that only boosts one stat (e.g. pain split). Not that I'm claiming that this is a good use of three of your four moveslots...)

Looks good, thanks!


Clicking anywhere on the img causes the middle border to slide

suggest:
make it so that I have to have my cursor right on the border or drag handle to move it. If i click anywhere on the image, it moves the handle

That's actually the intention. I might add a feature to add attribute drag="thumb" to set dragging only using the thumb.


Document and clarify TimeDependentOperator::ImplicitSolve notation

I keep on forgetting doing this.

Write a clarification that one only needs to implement a backward euler step for k = f(x + dt k, t)

Specifically, say that:

Solving $k = f(x + \Delta t\, k, t)$ is equivalent to determining the backward Euler "implicit" slope $$k = \frac{x^{n+1}-x^n}{\Delta t} = f (x^{n+1}, t^{n+1}),$$ since $x^{n+1} = x^n + \Delta t\, k$ implies $k = f (x^n + \Delta t\, k, t^{n+1})$.
In other words, being able to solve that equation for $k$ (given $x$, $t$ and $\Delta t$) is equivalent with being able to take a backward Euler step.
A standard way to solve $f(x + \Delta t\, k, t) - k = 0$ is with the Newton method $$k^{n+1} = k^{n} - \left[ \frac{\partial f}{\partial x}(\tilde{x}^n, t) \, \Delta t - I \right]^{-1} \Big( f(\tilde{x}^n, t) - k^n \Big),$$ where $\tilde{x}^n := x + \Delta t\, k^n$.
The above is equivalent with applying the Newton method for determining $\tilde{x}$ from $\frac{\tilde{x}-x}{\Delta t} = f (\tilde{x}, t)$, i.e. $\Delta\, t f (\tilde{x}, t) - \tilde{x} + x = 0$, which results in the iteration $$\tilde{x}^{n+1} = \tilde{x}^n - \left[ \Delta t\, \frac{\partial f}{\partial x}(\tilde{x}^n, t) - I \right]^{-1} \Big( \Delta t\, f(\tilde{x}^n, t) - \tilde{x}^n + x \Big).$$

Discussion continued in #3443.


When the panoramic reconstruction is complete the widget window appears black/empty at first.

When the panoramic reconstruction is completed the window widget appears black/empty. In order for the panoramic picture to appear the user has to click the button "Adjust the slice viewer's field of view to match the extent of the lowest non-None volume layer." (ie. the "re-center" button).
This process should be automated and is partially covered in an existing issue to redraw the widget window to the dimensions of the panoramic rendering.

@bpaniagua Hey, can you let me know if anyone would be able to help out with these 2 issues I created. Also, please shoot me an email to my gmail from an address that you would prefer to stay in touch with. This way we have more direct communication. Thank you!

@talamazov, what is your timeline for deploying this extension? Could we work on this early August?

@bpaniagua I don't have a timeline as of now. We can definitely work on this in August! Thanks!


Can't run redex it raise exception

SUMMARY
I have built redex project on my machine but when I try to run a default transformation OSError: [Errno 2] No such file or directory ERROR occurs.
My command is simple:
./redex ../../APKs/multitouch.apk -o ../../APKs/out.apk
ISSUE TYPE

Bug Report

STACKSTORM VERSION
Traceback (most recent call last):
File "/tmp/redex.nJ4Laf/redex.py", line 833, in
run_redex(args)
File "/tmp/redex.nJ4Laf/redex.py", line 817, in run_redex
finalize_redex(state)
File "/tmp/redex.nJ4Laf/redex.py", line 758, in finalize_redex
state.args.keyalias, state.args.keypass, state.args.ignore_zipalign, state.args.page_align_libs)
File "/tmp/redex.nJ4Laf/redex.py", line 326, in create_output_apk
zipalign(unaligned_apk_path, output_apk_path, ignore_zipalign, page_align)
File "/tmp/redex.nJ4Laf/redex.py", line 276, in zipalign
subprocess.check_call(zipalign + args)
File "/usr/lib/python2.7/subprocess.py", line 185, in check_call
retcode = call(*popenargs, **kwargs)
File "/usr/lib/python2.7/subprocess.py", line 172, in call
return Popen(*popenargs, **kwargs).wait()
File "/usr/lib/python2.7/subprocess.py", line 394, in init
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
OS / ENVIRONMENT / INSTALL METHOD
O/S = Ubuntu 18.04
G++ = 7.3.0
STEPS TO REPRODUCE

EXPECTED RESULTS

ACTUAL RESULTS

This Github repository is for StackStorm. I think you have logged this issue in the wrong place


Users should be able to disable usage tracking

We currently use force during CI/CD and were hit with a 4 hour period where all of our builds were failing because requests to https://force-cli.herokuapp.com were failing. Is there any way this can be removed or disabled via flag?

I believe that I disabled the usage tracking recently on that website for a different reason.  We were saving off the email address and that looked to violate GDPR requirements.  I may have missed the username/password case.
Will give it a look.

Auth logging was removed in v0.22.77.


Spelling correction

Checklist

Issue number for this PR: #nnn (required)
Docs included?: (yes/no; required for all API/functional changes)
Test units included?: (yes/no; required)
e2e tests included?: (yes/no; required for multi-function/multi-class changes)
In a clean directory, npm install, npm run build, and npm test run successfully? (yes/no; required)

Description

Code sample

I signed it!

Thanks!


EMA Clarification

QVC is using the forecast feature with Exponential Moving avg and it is unclear what 'n' is in the moving window. Is it possible to provide the formula being used, what n is, and what (if any) attributes can be set in the calling of the function. For example, is the window adjustable using something like: !PU(forecast):analysis=EMA,n=2

This is documented on the README: https://github.com/dynatrace-oss/DynatraceDashboardPowerups#Forecast.
For example:

n=20% - how many data points to use for sliding windows. Can either be integer values for specific number of data point or percentage for a portion of the current data points. Defaults to 20%.


data-feed-service: naively apply cereal library

This uses the cereal library in the data-feed-service in the most
naive way. It now uses the cereal library to manage the periodic task
management. The entire polling operation is a single task and we are
not currently saving the last polled interval.
Signed-off-by: Steven Danna<EMAIL_ADDRESS>

I've marked this ready-fore-review.  We still aren't handling the persistence of the last uploaded interval.  We can do that now if we think a future migration will be a pain, but since this is still a POC feature, I think we can do that as a follow up.

:shipit: I imagine migration won't be horrible


Certificate https://www.googleplaymusicdesktopplayer.com/ expired (May 29)

Same as #3812, but this time it expired May 29
Expired: Friday, May 29, 2020 at 3:02:10 PM Pacific Daylight Time

Can confirm


Enhancement: Removing dependancy that matter only in theme

I think floppyforms and django-crispy-forms has no need to be directly integrated in django-admin2 core as they can easily be set on project level. It should simplify maintaining django-admin2 and let more flexibility to final user in the choices of the app used for rendering forms.
I'm not saying whe should not care about django-admin2 compatibility with these app. I think we should also write part in documentation on how user could have them work in there projects.
What are you thinking of this ?
I will made some PR in this way, feel free to integrate them or not.

@arthur-wsw it's related to #343 👍

OK so i will work on this for a future PR


Expose winit always_on_top

Objective
I needed a window which is always on top, to create a overlay app.
Solution
expose the always_on_top property of winit in bevy's WindowDescriptor as a boolean flag

Changelog
Added

add WindowDescriptor.always_on_top which configures a window to stay on top.

Supprot for this should probably be also added to Window and WindowCommand so it can be changed at runtime.
I tried this out and it's pretty simple to add and works as expected (on MacOS at least)

I'm not sure this needs it's own example.
I think there's an existing window_properties example?

Feel free to use this: https://github.com/rparrett/bevy/commit/fd2a706c993ea0702294098fd2e134ae3e1bed21 (but add missing docs and whatnot)

will do

I'm not sure this needs its own example.
I think there's an existing window_properties example?

Once support for changing at runtime is in, this could definitely be worked into the window_settings example.

bors r+


feat(investor-foxy): switch from web3 to ethers and JsonRpcBatchProvider

Description
This switches the current investor-foxy API implementation from web3.js to ethers.js, to be able to use JsonRpcBatchProvider.
web3.js also provides a BatchRequest API, unfortunately after spending more than a day on it, it seems like that API is rugged currently and isn't compatible with our programmatic calls with blockNumber specified.

[x] Base migration from web3.js to ethers - compiles
[x] Regression test that values are correct
[ ] Batch promises together so the underlying JSON RPC calls are automagically batched by JsonRpcBatchProvider This will better live in a follow-up PR. Let's get the switch to ethers.js merged first, and then we can improve the business logic

Issue
N/A
Risks
Everything FOXy could be borked - test locally against latest @shapeshiftoss/investor-foxy.

Current dependencies on/for this PR:

main

PR #1032   👈

This comment was auto-generated by Graphite.

Opening for early review, added self-review comments


Hack for supporting non-APT containers

Symlinking /bin/apt-get to /bin/true is a sufficient hack for the action to work with RHEL/CentOS and Fedora containers, providing any other dependencies are satisfied in advance,  e.g. installing xz on Fedora.
If RPM support is no a priority then maybe the action should ignore failures in apt-get to avoid the need for the above hack.

Example here:
https://github.com/FreeRADIUS/freeradius-server/blob/master/.github/workflows/ci-rpm.yml#L157-L172

Symlinking /bin/apt-get to /bin/true is a sufficient hack for the action to work with RHEL/CentOS and Fedora containers, provided that any dependencies are satisfied in advance, e.g. installing xz on Fedora.

I guess this hack works because tmate's prerequisites happen to already be installed? A better idea would probably be to detect whether apt-get is in the PATH when doing this: https://github.com/mxschmitt/action-tmate/blob/27157456061cf7becf3fddfea1d2762d78ce73b8/src/index.js#L28-L29
And if it is not in the PATH, then look for yum and do the equivalent (I am not fluent in yum, so I don't know).

Closing for now because the issue got not enough upvotes / interest in the past.


The new release breaks my discord

So after the update with discord, my BD stopped working in the settings and it was also loading forever(but i didnt bother about the loading that much) so i installed the newest release and when i tried to launch it says it just freezes and when i try to launch the previous BD release, it breaks my discord. My discord opens, says "checking for updates" and then it will download updates 1 out of 1, then close and do it all over again and i know someone else had the same issue. Ive uninstalled and reinstalled both discord and BD multiple times, but BD just seems to not fully work.
I just reinstalled discord and its doing the "downloading updates 1 of 1" again.

this helped me too! thanks!

Oki i deleted both discord and betterdiscord and all the folders and stuff i could find in my pc, redownloaded discord and BBD then the newer release and it works fine now! Thanks!!


[Package Request]: DAEMON Tools Lite

How can we help?
I would like someone else to build the manifest.
Please read and ensure the following

[X] The installer meets the above requirements

Please provide the following information
Download Page Url: https://www.daemon-tools.cc/eng/products/dtLite
Publisher: Disc Soft FZE LLC
Package Name: DAEMON Tools Lite
Description: Application for disc imaging (create disc images, emulate drives, mount disc images, VHDs and archives).
Package Version: <IP_ADDRESS>6
Installer URL:

@Kaligula0, do you have any valid download links, because with this I am unable to create a manifest:
https://www.daemon-tools.cc/products/dtLite#install-dtLite-offer

When I click Download the URL that I get is:
https://file-service-default-114c67af0763a8a98e770ff3ee495371.fra1.digitaloceanspaces.com/f239582767665ef1c2a0121f172ac1efeeed8786/DTLite1200-2126.exe?X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=Z42SJEYMLCPREOBRVPTN%2F20240426%2Ffra1%2Fs3%2Faws4_request&X-Amz-Date=20240426T001903Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Signature=4ef8a1a3805ccb3886e134008fe838ede5572c6a2be2e509a48d89799bebffb0
I doubt we can make use of it :l

That is an automatically generated by amazon when you click to download, so we cannot really use it

I couldn't find any static URL even using browser console. I wrote to support. You can close this issue now. I'll ask here for reopening if I get any satisfactory reply from them.

No, since we are using a CDN network, we don't have a static URL for our installers.
Best regards,
DAEMON Tools Support Team
Disc Soft


[kibana] Make health check path configurable

Fixes: #103

Hi, When just wondering when this will get added to the Helm chart?


Support for debug_traceBlockByNumber in Anvil

Component
Anvil
Describe the feature you would like
Support the rpc call for debug_traceBlockByNumber and debug_traceBlockByHash in Anvil.
Request:
{
    "id": 4,
    "jsonrpc": "2.0",
    "method": "debug_traceBlockByNumber",
    "params": [
        "0x11b521d",
        {
            "tracer": "prestateTracer",
            "tracerConfig": {
                "diffMode": true,
                "disableCode": false,
                "disableStorage": false
            }
        }
    ]
}

Response currently:
{
    "error": {
        "code": -32601,
        "message": "Method not found"
    },
    "id": 4,
    "jsonrpc": "2.0"
}

Additional context
No response

prestateTracer is not supported yet but will be added as part of https://github.com/foundry-rs/foundry/issues/5855


Setup PyPi integration

Setup a project at PyPi to enable others to use the package

The first package is available as swiml_bartneck. It can be used as
from swiml_bartneck import swiML

I will think about a better name for the package. When I tried some alternatives, such as swiml_python, it gave an error for a too similar name to existing packages.


EBREAK action when DCSR.ebreak*=1 and debug disallowed

The EBREAK behavior requires detailed clarification on the specified cases, as mentioned in: https://lists.riscv.org/g/tech-external-debug-security/topic/109437878#msg231

The behavior of EBREAK is elaborated in PR #67. Closing.


LinkedIn posting does not work

Does not throw an error, twitter and facebook work fine. Posts just silently fail and don't show up in linkedin.

Ok, ignore it, it seems like we are still waiting for permissions approval for the linkedIn app. Still strange no error is thrown, though.

Was too quick to close. We got the permissions and still it does not work. Reopening.

Note: this relates to a known issue in one of the underlying dependencies: https://github.com/Happyr/LinkedIn-API-client/issues/167

The Happyr/LinkedIn-API-client probably won't be updated.
Sorry for not getting back earlier. I guess it makes sense to use https://github.com/r-everse/linkedin-php instead.
Originally posted by @andreascreten in https://github.com/Happyr/LinkedIn-API-client/issues/167#issuecomment-674743866


No error or status message with datarefresh

I am using this the refresh the dataset in power bi. It works pretty well and simple so thanks. But I don't get an error or status message. So i have to check in powerBI if the data is refrehed. And it hard to find out why it fails. Is there a way to catch the status/ Error?

Hi, yes it's possible. Check the cmdlet: "Get-PBIDatasetRefreshHistory" it uses this api: https://msdn.microsoft.com/en-US/library/mt784655.aspx


VS Code Duplicate Icons (NOT DUPLICATE of existing Issue steps to replicate tested on separate mac with success)

VSCode Version:1.52.1
OS Version: Mac OS Big Sur

Duplicate Icons in Dock On Mac OS (This is not an exact duplicate of existing issue - I read through those and they did not have steps to reproduce I was able to replicate it on older mac with same OS and VS code version) Something to do with Shell commands  being installed with VS code 1 time in the downloads folder and then reinstalled again in the applications folder to enable the code . command from terminal .
Steps to Reproduce:

VS code is installed in downloads folder
Command P >Shell Command Install Code Command in Path
Move VS Code from downloads folder to applications folder
Code . command from terminal no longer works so I have to repeat step 2 to reinstall the Code Command in Path
Run code . to open a directory with code in it
Change directory to another code base and run code . from terminal again (this leads to duplicate icons in desktop)

Please help. Not sure how to fix not enjoying the duplicate VS code icons.

Does this issue occur when all extensions are disabled?: Yes/No Yes
Similar to Issue #60579 but this includes steps to reproduce. Hoping to receive guidance if it's having to do with shell command perhaps I can fix it with some commands that  I do not know. Otherwise I hope this report is helpful if it's a potential bug fix I imagine the steps to reproduce will help. Not sure it's OS mac bug or VS code bug.

Seems like a duplicate to me, for example https://github.com/microsoft/vscode/issues/60579#issuecomment-732163120 also suggests running code . twice, and I think that's the main issue.
Are you unable to reproduce the issue if you only do steps 5 and 6?

Seems like a duplicate to me, for example https://github.com/microsoft/vscode/issues/60579#issuecomment-732163120 also suggests running code . twice, and I think that's the main issue.
Are you unable to reproduce the issue if you only do steps 5 and 6?


realpath warning

I got this warning
http://prntscr.com/73h3sv
I put the lister on the web root to get a nice hompage for my local server, as it tries to get the upper directory it runs into this warning

For security reasons DirectoryLister cannot access files outside of it's installation path by default.  If you wish to remove this restriction on your own installation open index.php and comment out or remove the following line:
// Restrict access to current directory
ini_set('open_basedir', getcwd());

Be warned though, it is possible this can pose a security risk to your server.


Fix use correct import path

Coverage increased (+0.1%) to 78.695% when pulling bfba5d2687784a5a949e536307a4035378374581 on fix-use-correct-import-path into 93a9054bd118dab39a9a6adcc2dc5f3db7a25bde on master.


feat: merge 0.14.0

migrate upstream v0.14.0

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 4 committers have signed the CLA.:x: Deployer:x: ethanfrey:x: webmaster128:x: shiki-takDeployer seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


labelMinFileSizeExceeded and labelMinFileSize support

Is it possible to change message from labelMinFileSizeExceeded  and labelMinFileSize as well? The documentation says it supports labelMaxFileSizeExceeded and labelMaxFileSize but I found nothing about the Min.
The image below (example 1) I want to translate and change a bit the message File is too small and Minimum file size is.

Using: react-filepond
Thank you.

Looks like the min file size properties aren't in types declaration, feel free to add them and submit a PR 👍


[MLLIB] SPARK-6531: An Information Theoretic Feature Selection Framework

Information Theoretic Feature Selection Framework
The present framework implements Feature Selection (FS) on Spark for its application on Big Data problems. This package contains a generic implementation of greedy Information Theoretic Feature Selection methods. The implementation is based on the common theoretic framework presented in [1]. Implementations of mRMR, InfoGain, JMI and other commonly used FS filters are provided. In addition, the framework can be extended with other criteria provided by the user as long as the process complies with the framework proposed in [1].
-- Main features:

Support for sparse data (in progress).
Pool optimization for high-dimensional.
Improved performance from previous version.

This work has associated two submitted contributions to international journals which will be attached to this request as soon as they are accepted This software has been proved with two large real-world datasets such as:

A dataset selected for the GECCO-2014 in Vancouver, July 13th, 2014 competition, which comes from the Protein Structure Prediction field (http://cruncher.ncl.ac.uk/bdcomp/). The dataset has 32 million instances, 631 attributes, 2 classes, 98% of negative examples and occupies, when uncompressed, about 56GB of disk space.
Epsilon dataset: http://www.csie.ntu.edu.tw/~cjlin/libsvmtools/datasets/binary.html#epsilon. 400K instances and 2K attributes.

-- Brief benchmark results:

150 seconds by selected feature for a 65M dataset with 631 attributes.
For epsilon dataset, we have outperformed the results without FS for three classifers (from MLLIB) using only 2.5% of original features.

Design doc: https://docs.google.com/document/d/1HOaPL_HJzTbL2tVdzbTjhr5wxVvPe9e-23S7rc2VcsY/edit?usp=sharing
References
[1] Brown, G., Pocock, A., Zhao, M. J., & Luján, M. (2012).
"Conditional likelihood maximisation: a unifying framework for information theoretic feature selection."
The Journal of Machine Learning Research, 13(1), 27-66.

Can one of the admins verify this patch?

Can one of the admins verify this patch?


Naming of specification version

Right now, the name is specification_version, ideas:

packspec
plugspec
spec

I meant the field in the schema, but I think these should be loosely consistent (including repo name)

I favor plugspec, but I also don't have strong feelings about this name.

For me anything of the form <something>spec.
And whatever name we use should also be used for the filename.

Shall we just go with plugspec for now?

packspec, nvimpack, npack, neopack

packspec it is :)


[1.x] Tests against PHP 8.3 and adds Symfony 7 support

This pull request tests Flare PHP Client against PHP 8.3 and adds Symfony 7 support.
Can you also tag, once this is merged please?

Thanks!


Uncaught TypeError: Cannot read property 'isEmpty' of undefined

[Enter steps to reproduce below:]

everywhere I click..
...

Atom Version: 0.207.0
System: Mac OS X 10.10.2
Thrown From: drag-drop-text package, v0.1.2
Stack Trace
Uncaught TypeError: Cannot read property 'isEmpty' of undefined
At /Users/dharness/.atom/packages/drag-drop-text/lib/drag-drop-text.coffee:30

TypeError: Cannot read property 'isEmpty' of undefined
  at DragDropText.getSelection (/Users/dharness/.atom/packages/drag-drop-text/lib/drag-drop-text.coffee:30:20)
  at DragDropText.mousedown (/Users/dharness/.atom/packages/drag-drop-text/lib/drag-drop-text.coffee:39:6)
  at HTMLDivElement.<anonymous> (/Users/dharness/.atom/packages/drag-drop-text/lib/drag-drop-text.coffee:23:10)
  at HTMLDivElement.jQuery.event.dispatch (/Users/dharness/Downloads/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:4435:9)
  at HTMLDivElement.elemData.handle (/Users/dharness/Downloads/Atom.app/Contents/Resources/app.asar/node_modules/jquery/dist/jquery.js:4121:28)

Commands
     -3:30.5.0 core:move-left (atom-text-editor.editor.is-focused)
     -3:30.4.0 core:move-right (atom-text-editor.editor.is-focused)
     -3:30 core:move-left (atom-text-editor.editor.is-focused)
     -3:29.6.0 core:backspace (atom-text-editor.editor.is-focused)
     -3:28.6.0 core:save (atom-text-editor.editor.is-focused.autocomplete-active)
 28x -3:07.0 core:undo (atom-text-editor.editor.is-focused)
     -3:00.8.0 core:save (atom-text-editor.editor.is-focused)
     -2:54.8.0 editor:toggle-line-comments (atom-text-editor.editor.is-focused)
     -2:54.2.0 core:save (atom-text-editor.editor.is-focused)
     -2:46.1.0 editor:toggle-line-comments (atom-text-editor.editor.is-focused)
     -2:45.9.0 core:save (atom-text-editor.editor.is-focused)
  3x -2:42.9.0 editor:toggle-line-comments (atom-text-editor.editor.is-focused)
     -2:37.8.0 core:cut (atom-text-editor.editor.is-focused)
     -2:37 core:paste (atom-text-editor.editor.is-focused)
     -2:36.6.0 core:save (atom-text-editor.editor.is-focused)
     -1:27.1.0 core:confirm (atom-text-editor.editor.mini.is-focused)

Config
{
  "core": {
    "ignoredNames": [
      ".DS_Store"
    ]
  }
}

Installed Packages
# User
atom-beautify, v0.27.10
autocomplete-paths, v1.0.2
color-picker, v2.0.4
drag-drop-text, v0.1.2
file-icons, v1.5.7

# Dev
No dev packages

Thanks a bunch.  Fixed in 0.1.3.


HTTP to HTTPS redirection

https://github.com/govau/uikit/issues/43 requested an SSL cert for http://guides.service.gov.au/design-guide/ which is available under the *.service.gov.au wildcard certificate.
However, we should also implement HTTP to HTTPS redirection for this domain.

I would like to bump this up in urgency seeing that Firefox and Chrome now label non SSL connections unsafe:
https://www.chromium.org/Home/chromium-security/marking-http-as-non-secure
https://blog.mozilla.org/security/2015/04/30/deprecating-non-secure-http/comment-page-1/

https://github.com/AusDTO/dta-website/blob/develop/nginx.conf#L69 is how the DTA site implements this, per the recommended http://docs.cloudfoundry.org/buildpacks/staticfile/#force-https
We seem to be using the same buildpack (well, the same name appears here - https://github.com/AusDTO/gov-au-content-guide/blob/master/bin/cideploy.sh) but somehow seem config free… needs further investigation.

@joahua you only need to add your own nginx.conf if you need to change the configuration from what's in the static buildpack. In the dta website's case, we haven't changed anything there for http -> https redirection. Sounds like you need to set the FORCE_HTTPS environment variable in your cf app...

Sounds good. Reading the staticfile buildpack’s config that the DTA site’s conf is derived from more closely, it seems this is unblocked even if we don‘t have env-setting abilities.
If we do want to use the env var approach, though, Tessa’s noted @dominikwilkowski and @klepas  have CF access to test this one out (and suggested we do HSTS at the same time… I might raise another ticket) when we have capacity.


Renaming Numa

Issue to find the final name for the project

@santiagobadia what about Gridap and Gridap.jl Grid-based approximation of PDEs in julia (www.gridap.org available)
Grida.jl (sounds better but has the same problems as numa)

EDIT: (www.grida.org is taken, but www.grida.io and others are free)

www.grida-jl.org is for 14$ at hover.com

Grida is just grid + a, too exploited...
Gridap not excited, probably better Numap for the moment
The idea is only two syllables?
For archiving purposes:
I played with Numad, Numade, Numadic, etc, but somehow exploited
Numadig
NUMerical Approx of DIfferential equations with Grid-based method

2 Syllabes would be perfect like fempar, fenics ...

Grande.jl  hashashas

I gibap (.jl) 😉

Nudmag
Natmag (naturist magazine, nice pictures)

Gridify, gridea, grides

gridade (sounds grid "aid")

what about Gridae?

I think I have checked all GridXXX on the market...
Googling "gridae" cfd
There is a CFD framework with AI called like this
See also here
How do we pronounce it in English? graidi, graidei,gridii..
We can probably keep Gridade and Gridae as final candidates
I think the first one is better because:

It is not present on the Internet at all,
The English pronunciation is clear (thanks to Powerade et al)
It is like "grid" "aid"
Perfect acronym matching

With regard to Gridae:

I like the latin plural declination
But already a CFD AI package
English pronunciation unclear, everyone is going to call it a different way

What is your list of pros / cons?
After this, we can probably do a poll, with our list of pros/cons.
I think that the obvious English pronunciation and Internet presence is important.

Another variant: gridis

It seems that prefixes gridXxx NumXxx are very exploited. Perhaps we have to give a try and explore other ones, eg, based on approximation, discretization, solver, mesh, or whatever. Just a random thougt: apeqs (like apex). Not very exploited in the internet. Www.apeqs.org available

I think that "grid" is the main difference with respect to what is already done in Julia.
Gridde (sunds like greedy)
Grid-based app of Dif Eq
Gridde and gridade are green fields on the internet
Griddeq, grideq...

Gridde perhaps my favorite so far

The double dd opens new possibilities, and can rescue some of the ones that we have discarded before because they are to exploited. Eg, griddea, gridda
Griddea (grid based diff eq approximation in julia) souns nice and it is a green field in the internet. Name available at github and griddea.org

Griddea is ok, we can ask Jerrad how he would pronounce it in English

I guess sthg like /griddiia/...
Seems to be non-used on the Internet
Habemus nomine?

It seems gridea is not so much on the internet... so probably better
The gridea in github is not an organization, it is a repos. They can be repeated.
Even www.gridea.com free.
Gridea ok?

It can be a first candidate. But I would be open to better options until we release the project ( at latest when we write the paper)

Griddis seems also to be fresh snow in the internet. Griddis.com and griddis.org available. There is a github user with this name (0 stars) but one could use github.com/griddis-team/Griddis.jl
Or even github.com/lssc-team/Griddis.jl for the main repo.
The pro of this option is that it has a more obvious pronouciation than griddea. And that the spelling can be easilly inferred from the pronouncuation.

Gridap... finally


Use the RebalanceCb to listen to rebalance events

Use the rebalance callback parameter on the SubscribeTopics function instead of listening to callback events from the Poll function itself. This will unblock upgrades to newer versions of the kafka client.
The documentation for "go.application.rebalance.enable" states the following:
Forward rebalancing responsibility to application via the Events()
channel.

Notably, it is not documented to return events from the Poll() function. Despite this, confluent-kafka-go v1.5.2 would do so anyway, and the kafka scheduler was built under this assumption.
However, confluent-kafka-go v1.6.1 refactored the rebalance event handling to support incremental rebalances.  As part of this refactoring, confluent-kafka-go no longer returns rebalance events from the Poll() function.  Therefore, in order to facilitate any future upgrades of confluent-kafka-go, we must rewrite the code to listen to events using SubscribeTopics instead.
The confluent-kafka-go commit that broke kafka-message-scheduler:
https://github.com/confluentinc/confluent-kafka-go/commit/d5b3a82ad0073d77800961e8bb776e0934abc8b3

I would recommend merging https://github.com/etf1/kafka-message-scheduler/pull/42 before this commit.  I had some tests failing otherwise.

LGTM thank very much @james-johnston-thumbtack you rocks


Convert the same .wav，But the decode buffer information is inconsistent。

Hi~
I'm try process ourself  .wav audio with the repo, But the decode buffer is not the same as ours。I suspect the audio quality effect the result, but I'm not sure。And thank you for giving us different solutions about decode the large .wav audio。
ours ways： use AudioContext.decodeAudioData()
Our result:：

The repo results：

Test .wav audio：
MRYJ-20190102-160__mdt_1.zip

Hi there.  I can't speak on behalf of the third-party Wav decoder because I didn't write it.  This repo only tested a specific 48,000hz file to exemplify Web Audio API usage.  I should have #4 completed before the year ends, and you're welcome to try using Opus files instead of Wav once that completes.

Copy that and Thank you. I'm looking forward to it. will keep watching the repo and look for other solutions.


Logging in doesn't work

After entering my phone number and clicking on the send button, the following error appears:

Login does seem to be broken I used a +1 number and it didn't work also it seems a space is required but you can't type that on iPhone project may be shut down


Scrum 1421

SCRUM-1421 adding PubMed MeSH information to reference.yaml

I recuse myself here. It would be good to get independent assessment of our attempts to express a simple postgres table in LinkML.


Incorrect halted CPU behaviour

The traditional way to implement HALT has been to keep PC on the same instruction and execute NOPs. PC is incremented as part of acknowledging the next interrupt to step over it. However, this has been shown to not match the real Z80 CPU behaviour, and it's possible to detect the difference in code.
The following article describes it, in the section "Halt and the special reset":
http://www.primrosebank.net/computers/z80/z80_special_reset.htm
When HALT is executed it puts the CPU into a halted state (already implemented in your core). It also advances PC to point to the next instruction. During the halted state the opcode fetch runs on this new PC value but a NOP is executed instead, and PC isn't advanced. When an interrupt occurs the halted state is cleared and execution continues from the current point as normal.
It's possible to detect this behaviour with a HALT in the last byte before a contention boundary, such as 0x7FFF on the ZX Spectrum. The incorrect behaviour reads from 0x7FFF for each NOP executed at the HALT, which has more contention than the correct fetches from 0x8000. The difference in timing can be detected by measuring how much has R changed when the next interrupt is ackknowledged.

What a nice catch! I'm playing with our new shiny transistor-level simulator, https://github.com/kosarev/z80/blob/c6ad460108c514df05f47e568b1ca0ea77e12705/tests/z80sim/z80sim.py, trying to understand what is supposed to happen in silicon on HALT. Clearly the address bus freezes, but otherwise it behaves like a normal fetch cycle. And then indeed it seemingly proceeds as if it was a NOP. So maybe let's commit what your branch does, and then I think I'd like to spend just a little bit more time looking into the actual hardware behaviour.
PC 0000, A 55, R 00, clk 0, abus 0000, dbus 00, m1 1, t1 1, t2 0, t3 0, t4 0, t5 0, t6 0, rfsh 0, rd 0, mreq 0
PC 0001, A 55, R 00, clk 1, abus 0000, dbus 00, m1 1, t1 0, t2 1, t3 0, t4 0, t5 0, t6 0, rfsh 0, rd 1, mreq 1
PC 0001, A 55, R 00, clk 0, abus 0000, dbus 76, m1 1, t1 0, t2 1, t3 0, t4 0, t5 0, t6 0, rfsh 0, rd 1, mreq 1
PC 0001, A 55, R 00, clk 1, abus 0000, dbus 76, m1 1, t1 0, t2 0, t3 1, t4 0, t5 0, t6 0, rfsh 0, rd 1, mreq 1
PC 0001, A 55, R 00, clk 0, abus 0000, dbus 76, m1 0, t1 0, t2 0, t3 1, t4 0, t5 0, t6 0, rfsh 1, rd 0, mreq 0
PC 0001, A 55, R 01, clk 1, abus 0000, dbus 76, m1 0, t1 0, t2 0, t3 0, t4 1, t5 0, t6 0, rfsh 1, rd 0, mreq 1
PC 0001, A 55, R 01, clk 0, abus 0000, dbus 76, m1 0, t1 0, t2 0, t3 0, t4 1, t5 0, t6 0, rfsh 1, rd 0, mreq 1
PC 0001, A 55, R 01, clk 1, abus 0000, dbus 76, m1 0, t1 1, t2 0, t3 0, t4 0, t5 0, t6 0, rfsh 1, rd 0, mreq 0

PC 0001, A 55, R 01, clk 0, abus 0001, dbus 76, m1 1, t1 1, t2 0, t3 0, t4 0, t5 0, t6 0, rfsh 0, rd 0, mreq 0
PC 0001, A 55, R 01, clk 1, abus 0001, dbus 76, m1 1, t1 0, t2 1, t3 0, t4 0, t5 0, t6 0, rfsh 0, rd 1, mreq 1
PC 0001, A 55, R 01, clk 0, abus 0001, dbus c5, m1 1, t1 0, t2 1, t3 0, t4 0, t5 0, t6 0, rfsh 0, rd 1, mreq 1
PC 0001, A 55, R 01, clk 1, abus 0001, dbus c5, m1 1, t1 0, t2 0, t3 1, t4 0, t5 0, t6 0, rfsh 0, rd 1, mreq 1
PC 0001, A 55, R 01, clk 0, abus 0001, dbus c5, m1 0, t1 0, t2 0, t3 1, t4 0, t5 0, t6 0, rfsh 1, rd 0, mreq 0
PC 0001, A 55, R 02, clk 1, abus 0001, dbus c5, m1 0, t1 0, t2 0, t3 0, t4 1, t5 0, t6 0, rfsh 1, rd 0, mreq 1
PC 0001, A 55, R 02, clk 0, abus 0001, dbus c5, m1 0, t1 0, t2 0, t3 0, t4 1, t5 0, t6 0, rfsh 1, rd 0, mreq 1
PC 0001, A 55, R 02, clk 1, abus 0001, dbus c5, m1 0, t1 1, t2 0, t3 0, t4 0, t5 0, t6 0, rfsh 1, rd 0, mreq 0

PC 0001, A 55, R 02, clk 0, abus 0001, dbus c5, m1 1, t1 1, t2 0, t3 0, t4 0, t5 0, t6 0, rfsh 0, rd 0, mreq 0
PC 0001, A 55, R 02, clk 1, abus 0001, dbus c5, m1 1, t1 0, t2 1, t3 0, t4 0, t5 0, t6 0, rfsh 0, rd 1, mreq 1
PC 0001, A 55, R 02, clk 0, abus 0001, dbus c5, m1 1, t1 0, t2 1, t3 0, t4 0, t5 0, t6 0, rfsh 0, rd 1, mreq 1
PC 0001, A 55, R 02, clk 1, abus 0001, dbus c5, m1 1, t1 0, t2 0, t3 1, t4 0, t5 0, t6 0, rfsh 0, rd 1, mreq 1
PC 0001, A 55, R 02, clk 0, abus 0002, dbus c5, m1 0, t1 0, t2 0, t3 1, t4 0, t5 0, t6 0, rfsh 1, rd 0, mreq 0
PC 0001, A 55, R 03, clk 1, abus 0002, dbus c5, m1 0, t1 0, t2 0, t3 0, t4 1, t5 0, t6 0, rfsh 1, rd 0, mreq 1
PC 0001, A 55, R 03, clk 0, abus 0002, dbus c5, m1 0, t1 0, t2 0, t3 0, t4 1, t5 0, t6 0, rfsh 1, rd 0, mreq 1
PC 0001, A 55, R 03, clk 1, abus 0002, dbus c5, m1 0, t1 1, t2 0, t3 0, t4 0, t5 0, t6 0, rfsh 1, rd 0, mreq 0


[CLI]: Temporary directories are created on import time

Describe the bug
Currently, wandb creates temporary directories at import time, namely:
https://github.com/wandb/wandb/blob/01c14240e1d8005d4644b1b55d1d2cdf0a9bc802/wandb/sdk/artifacts/artifact.py#L110
and
https://github.com/wandb/wandb/blob/01c14240e1d8005d4644b1b55d1d2cdf0a9bc802/wandb/sdk/data_types/_private.py#L6
Mutable changes to the filesystem on import are generally a bad idea. Please consider lazily creating these directories when they are needed instead. Thanks!
Also see https://github.com/wandb/wandb/issues/5258#issuecomment-1685094884.
Additional Files
No response
Environment
WandB version: v0.16.4
OS: any
Python version: any
Versions of relevant libraries:
Additional Context
No response

Hi @timsueberkrueb , thanks for the input. I'll flag this with the SDK team for review


[FlatList] scrollToIndex ()

RN 0.44.0
-Description
FlatList uses scrollToIndex () to scroll to the last few elements, and the element leaves the bottom of the list. And when scrolling to the last element, it is reported scrollToIndex should be used in conjunction with getItemLayout otherwise there is no way to know the location of an arbitrary index. error.
e.g.

I have a solution, but modified the framework file, so it is not recommended to do so. And I do not know if it will cause other issue

/your Project/node_modules/react-native/Libraries/Lists/VirtualizedList.js

// scrollToIndex may be janky without getItemLayout prop
  scrollToIndex(params: {animated?: ?boolean, index: number, viewPosition?: number}) {
    const {data, horizontal, getItemCount, getItemLayout} = this.props;
    const {animated, index, viewPosition} = params;
    invariant(
      index >= 0 && index < getItemCount(data),
      `scrollToIndex out of range: ${index} vs ${getItemCount(data) - 1}`,
    );
    // invariant(
    //   getItemLayout || index < this._highestMeasuredFrameIndex,
    //   'scrollToIndex should be used in conjunction with getItemLayout, ' +
    //     'otherwise there is no way to know the location of an arbitrary index.',
    // );
    const frame = this._getFrameMetricsApprox(index);
    let offset;
    if((frame.offset - frame.length + this._scrollMetrics.visibleLength)
          >= this._totalCellLength){
      offset = this._totalCellLength - this._scrollMetrics.visibleLength;
    }else{
      offset = Math.max(
        0,
        frame.offset - (viewPosition || 0) * (this._scrollMetrics.visibleLength - frame.length),
      );
    }
    this._scrollRef.scrollTo(horizontal ? {x: offset, animated} : {y: offset, animated});
  }

I am seeing this issue as well, but on a horizontal Flatlist. The last item could leave the screen and doesn't lock at the "bottom" (or in the case of my horizontal Flatlist, on the right).

Hey, thanks for reporting this issue!
It looks like your description is missing some necessary information. Can you please add all the details specified in the template? This is necessary for people to be able to understand and reproduce the issue being reported.
I am going to close this, but feel free to open a new issue with the additional information provided. Thanks!

i have this bug in RN 0.45.1

scrollToIndex(params: {animated?: ?boolean, index: number, viewPosition?: number}) {
const {data, horizontal, getItemCount, getItemLayout} = this.props;
const {animated, index, viewPosition} = params;
invariant(
index >= 0 && index < getItemCount(data),
scrollToIndex out of range: ${index} vs ${getItemCount(data) - 1},
);
// invariant(
//   getItemLayout || index < this._highestMeasuredFrameIndex,
//   'scrollToIndex should be used in conjunction with getItemLayout, ' +
//     'otherwise there is no way to know the location of an arbitrary index.',
// );
const frame = this._getFrameMetricsApprox(index);
let offset;
if(Platform.OS == 'ios' && (frame.offset - frame.length + this._scrollMetrics.visibleLength - (params.iosOffset || 0))
>= this._totalCellLength){
//offset = this._totalCellLength - this._scrollMetrics.visibleLength -64;
this.scrollToEnd(animated);
return;
}else{
offset = Math.max(
0,
frame.offset - (viewPosition || 0) * (this._scrollMetrics.visibleLength - frame.length),
) - (params.range || 0);
}
this._scrollRef.scrollTo(horizontal ? {x: offset, animated} : {y: offset, animated});
}
range:   can set for absolute layout
iosOffset:also can set for header or fotter

I have this bug on 0.50.3, when scrollTo is scrolling at the end of the FlatList 😔

I just added
onScrollToIndexFailed={()=>{}}
and it worked just fine


snapshot doesn't seem to work for macOS apps

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description
I'm trying to use snapshot to capture screenshots of a native macOS app, but I'm getting an error.
Command executed
bundle exec fastlane screenshots_macos

Complete output when running fastlane, including the stack trace and command used

Full command output

bundle exec fastlane screenshots_macos
[✔] 🚀
[10:00:59]: ------------------------------
[10:00:59]: --- Step: default_platform ---
[10:00:59]: ------------------------------
[10:00:59]: Driving the lane 'ios screenshots_macos' 🚀
[10:01:00]: ----------------------
[10:01:00]: --- Step: snapshot ---
[10:01:00]: ----------------------
[10:01:00]: Successfully loaded '/Users/igeek/Projects/Jugglebot/fastlane/Snapfile' 📄
+----------------------------+---------------+
| Detected Values from './fastlane/Snapfile' |
+----------------------------+---------------+
| languages                  | ["en-US"]     |
| configuration              | Debug         |
| clear_previous_screenshots | true          |
+----------------------------+---------------+
[10:01:00]: Resolving Swift Package Manager dependencies...
[10:01:00]: $ xcodebuild -resolvePackageDependencies -workspace ./Jugglebot.xcworkspace -scheme Screenshots-macOS -configuration Debug
[10:01:00]: ▸ objc[36105]: Class AMSupportURLConnectionDelegate is implemented in both /usr/lib/libauthinstall.dylib (0x1f5875160) and /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1149782b8). One of the two will be used. Which one is undefined.
[10:01:00]: ▸ objc[36105]: Class AMSupportURLSession is implemented in both /usr/lib/libauthinstall.dylib (0x1f58751b0) and /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x114978308). One of the two will be used. Which one is undefined.
[10:01:00]: ▸ Command line invocation:
[10:01:00]: ▸     /Applications/Xcodes/Xcode_12.5.app/Contents/Developer/usr/bin/xcodebuild -resolvePackageDependencies -workspace ./Jugglebot.xcworkspace -scheme Screenshots-macOS -configuration Debug
[10:01:00]: ▸ User defaults from command line:
[10:01:00]: ▸     IDEPackageSupportUseBuiltinSCM = YES
[10:01:01]: ▸ resolved source packages:
[10:01:01]: $ xcodebuild -showBuildSettings -workspace ./Jugglebot.xcworkspace -scheme Screenshots-macOS -configuration Debug
objc[36111]: Class AMSupportURLConnectionDelegate is implemented in both /usr/lib/libauthinstall.dylib (0x1f5875160) and /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1168942b8). One of the two will be used. Which one is undefined.
objc[36111]: Class AMSupportURLSession is implemented in both /usr/lib/libauthinstall.dylib (0x1f58751b0) and /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x116894308). One of the two will be used. Which one is undefined.
[10:01:01]: Could not read the "SUPPORTED_PLATFORMS" build setting, assuming that the project supports iOS only.
+--------------------------------------+------------------------------------------------------+
|                                Summary for snapshot 2.183.1                                 |
+--------------------------------------+------------------------------------------------------+
| scheme                               | Screenshots-macOS                                    |
| devices                              | ["Mac"]                                              |
| workspace                            | ./Jugglebot.xcworkspace                              |
| languages                            | ["en-US"]                                            |
| launch_arguments                     | [""]                                                 |
| output_directory                     | /Users/igeek/Projects/Jugglebot/fastlane/screenshots |
| output_simulator_logs                | false                                                |
| skip_open_summary                    | false                                                |
| skip_helper_version_check            | false                                                |
| clear_previous_screenshots           | true                                                 |
| reinstall_app                        | false                                                |
| erase_simulator                      | false                                                |
| headless                             | true                                                 |
| override_status_bar                  | false                                                |
| localize_simulator                   | false                                                |
| app_identifier                       | com.zeveisenberg.Jugglebot.iOS                       |
| buildlog_path                        | ~/Library/Logs/snapshot                              |
| clean                                | false                                                |
| configuration                        | Debug                                                |
| number_of_retries                    | 1                                                    |
| stop_after_first_error               | false                                                |
| result_bundle                        | false                                                |
| concurrent_simulators                | true                                                 |
| disable_slide_to_type                | false                                                |
| skip_package_dependencies_resolution | false                                                |
| disable_package_automatic_updates    | false                                                |
| use_system_scm                       | false                                                |
| xcode_path                           | /Applications/Xcodes/Xcode_12.5.app                  |
+--------------------------------------+------------------------------------------------------+
[10:01:02]: Clearing previously generated screenshots
[10:01:02]: Building and running project - this might take some time...
+------------------+-----------------------+
|               Lane Context               |
+------------------+-----------------------+
| DEFAULT_PLATFORM | ios                   |
| PLATFORM_NAME    | ios                   |
| LANE_NAME        | ios screenshots_macos |
+------------------+-----------------------+
+------+------------------+-------------+
|           fastlane summary            |
+------+------------------+-------------+
| Step | Action           | Time (in s) |
+------+------------------+-------------+
| 1    | default_platform | 0           |
| 💥   | snapshot         | 2           |
+------+------------------+-------------+
[10:01:02]: fastlane finished with errors
Looking for related GitHub issues on fastlane/fastlane...
➡  Snapshot with Catalyst fails at latest_simulator_version_for_device
https://github.com/fastlane/fastlane/issues/18663 [open] 0 💬
a day ago
➡  Error running screenshots command - latest_simulator_version_for_device: undefined method `os_version' for nil:NilClass
https://github.com/fastlane/fastlane/issues/17894 [closed] 2 💬
05 Mar 2021
➡  Upload to play store error - NoMethodError: [!] undefined method `each_with_index' for nil:NilClass
https://github.com/fastlane/fastlane/issues/18403 [closed] 57 💬
24 Mar 2021
and 2 more at: https://github.com/fastlane/fastlane/search?q=undefined method `os_version' for nil&type=Issues&utf8=✓
🔗  You can ⌘ + double-click on links to open them directly in your browser.
bundler: failed to load command: fastlane (/Users/igeek/.rbenv/versions/2.7.2/bin/fastlane)
NoMethodError: [!] undefined method os_version' for nil:NilClass   /Users/igeek/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/fastlane-2.183.1/fastlane_core/lib/fastlane_core/device_manager.rb:134:in latest_simulator_version_for_device'
/Users/igeek/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/fastlane-2.183.1/snapshot/lib/snapshot/simulator_launchers/simulator_launcher.rb:62:in block (3 levels) in take_screenshots_simultaneously'   /Users/igeek/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/fastlane-2.183.1/snapshot/lib/snapshot/simulator_launchers/simulator_launcher.rb:62:in each'
/Users/igeek/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/fastlane-2.183.1/snapshot/lib/snapshot/simulator_launchers/simulator_launcher.rb:62:in group_by'   /Users/igeek/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/fastlane-2.183.1/snapshot/lib/snapshot/simulator_launchers/simulator_launcher.rb:62:in block (2 levels) in take_screenshots_simultaneously'
/Users/igeek/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/fastlane-2.183.1/snapshot/lib/snapshot/simulator_launchers/simulator_launcher.rb:46:in each'   /Users/igeek/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/fastlane-2.183.1/snapshot/lib/snapshot/simulator_launchers/simulator_launcher.rb:46:in each_with_index'
/Users/igeek/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/fastlane-2.183.1/snapshot/lib/snapshot/simulator_launchers/simulator_launcher.rb:46:in block in take_screenshots_simultaneously'   /Users/igeek/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/fastlane-2.183.1/snapshot/lib/snapshot/simulator_launchers/simulator_launcher.rb:45:in each'
/Users/igeek/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/fastlane-2.183.1/snapshot/lib/snapshot/simulator_launchers/simulator_launcher.rb:45:in take_screenshots_simultaneously'   /Users/igeek/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/fastlane-2.183.1/snapshot/lib/snapshot/runner.rb:45:in work'
/Users/igeek/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/fastlane-2.183.1/fastlane/lib/fastlane/actions/capture_ios_screenshots.rb:14:in run'   /Users/igeek/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/fastlane-2.183.1/fastlane/lib/fastlane/runner.rb:263:in block (2 levels) in execute_action'
/Users/igeek/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/fastlane-2.183.1/fastlane/lib/fastlane/actions/actions_helper.rb:69:in execute_action'   /Users/igeek/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/fastlane-2.183.1/fastlane/lib/fastlane/runner.rb:255:in block in execute_action'
/Users/igeek/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/fastlane-2.183.1/fastlane/lib/fastlane/runner.rb:229:in chdir'   /Users/igeek/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/fastlane-2.183.1/fastlane/lib/fastlane/runner.rb:229:in execute_action'
/Users/igeek/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/fastlane-2.183.1/fastlane/lib/fastlane/runner.rb:157:in trigger_action_by_name'   /Users/igeek/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/fastlane-2.183.1/fastlane/lib/fastlane/fast_file.rb:159:in method_missing'
Fastfile:112:in block (2 levels) in parsing_binding'   /Users/igeek/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/fastlane-2.183.1/fastlane/lib/fastlane/lane.rb:33:in call'
/Users/igeek/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/fastlane-2.183.1/fastlane/lib/fastlane/runner.rb:49:in block in execute'   /Users/igeek/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/fastlane-2.183.1/fastlane/lib/fastlane/runner.rb:45:in chdir'
/Users/igeek/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/fastlane-2.183.1/fastlane/lib/fastlane/runner.rb:45:in execute'   /Users/igeek/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/fastlane-2.183.1/fastlane/lib/fastlane/lane_manager.rb:47:in cruise_lane'
/Users/igeek/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/fastlane-2.183.1/fastlane/lib/fastlane/command_line_handler.rb:36:in handle'   /Users/igeek/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/fastlane-2.183.1/fastlane/lib/fastlane/commands_generator.rb:109:in block (2 levels) in run'
/Users/igeek/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/commander-4.6.0/lib/commander/command.rb:187:in call'   /Users/igeek/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/commander-4.6.0/lib/commander/command.rb:157:in run'
/Users/igeek/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/commander-4.6.0/lib/commander/runner.rb:444:in run_active_command'   /Users/igeek/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/fastlane-2.183.1/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in run!'
/Users/igeek/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/commander-4.6.0/lib/commander/delegates.rb:18:in run!'   /Users/igeek/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/fastlane-2.183.1/fastlane/lib/fastlane/commands_generator.rb:353:in run'
/Users/igeek/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/fastlane-2.183.1/fastlane/lib/fastlane/commands_generator.rb:42:in start'   /Users/igeek/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/fastlane-2.183.1/fastlane/lib/fastlane/cli_tools_distributor.rb:122:in take_off'
/Users/igeek/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/fastlane-2.183.1/bin/fastlane:23:in <top (required)>'   /Users/igeek/.rbenv/versions/2.7.2/bin/fastlane:23:in load'
/Users/igeek/.rbenv/versions/2.7.2/bin/fastlane:23:in `<top (required)>'

✅ fastlane environment ✅
Stack

Key
Value

OS
11.3.1

Ruby
2.7.2

Bundler?
true

Git
git version 2.31.1

Installation Source
~/.rbenv/versions/2.7.2/bin/fastlane

Host
macOS 11.3.1 (20E241)

Ruby Lib Dir
~/.rbenv/versions/2.7.2/lib

OpenSSL Version
OpenSSL 1.1.1i  8 Dec 2020

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcodes/Xcode_12.5.app/Contents/Developer/

Xcode Version
12.5

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL

LANGUAGE

fastlane files:
`./fastlane/Fastfile`
# This file contains the fastlane.tools configuration
# You can find the documentation at https://docs.fastlane.tools
#
# For a list of all available actions, check out
#
#     https://docs.fastlane.tools/actions
#
# For a list of all available plugins, check out
#
#     https://docs.fastlane.tools/plugins/available-plugins
#

# Uncomment the line if you want fastlane to automatically update itself
# update_fastlane

fastlane_require 'down'
fastlane_require 'mini_magick'
fastlane_require 'simctl'

default_platform(:ios)

# Makes the folder, if needed, and returns it.
def make_screenshots_folder_if_needed
  # Relative to project root
  screenshots_folder = "fastlane/screenshots"
  Dir.mkdir(screenshots_folder) unless File.exists?(screenshots_folder)
  return screenshots_folder
end

platform :ios do
  desc "Push a new beta build to TestFlight"
  lane :beta do
    build_app(
      workspace: "Jugglebot.xcworkspace",
      scheme: "Jugglebot-iOS",
      export_xcargs: "-allowProvisioningUpdates"
    )
    upload_to_testflight
  end

  desc "Deploy a new version to the iOS App Store"
  lane :release_ios do
    screenshots_ios
    screenshots_watchos
    build_app(
      workspace: "Jugglebot.xcworkspace",
      scheme: "Jugglebot-iOS",
      export_xcargs: "-allowProvisioningUpdates"
    )
    deliver(
      force: true,
      automatic_release: true
    )
  end

  desc "Deploy a new version to the Mac App Store"
  lane :release_macos do
    screenshots_macOS
    build_app(
      workspace: "Jugglebot.xcworkspace",
      scheme: "Jugglebot-macOS",
      export_xcargs: "-allowProvisioningUpdates"
    )
    deliver(
      force: true,
      automatic_release: true,
      skip_screenshots: true
    )
  end

  desc "Take screenshots for watchOS App Store"
  lane :screenshots_watchos do
    begin
      ENV['RUNNING_SCREENSHOTS_LANE'] = "true"
      watchos_screenshots
    ensure
      ENV.delete('RUNNING_SCREENSHOTS_LANE')
    end
  end

  desc "Take screenshots for iOS App Store"
  lane :screenshots_ios do
    begin
      ENV['RUNNING_SCREENSHOTS_LANE'] = "true"
      # iOS screenshots
      snapshot(
        scheme: "Screenshots-iOS",
        devices: [
          "iPhone 8",
          "iPhone 8 Plus",
          "iPhone SE (1st generation)",
          "iPhone 12 Pro",
          "iPhone 12 Pro Max",
          "iPhone 11",
          "iPad Pro (9.7-inch)",
          "iPad Pro (12.9-inch) (1st generation)",
          "iPad Pro (12.9-inch) (4th generation)",
          "iPad Pro (10.5-inch)",
          "iPad Pro (11-inch) (2nd generation)",
        ]
      )
    ensure
      ENV.delete('RUNNING_SCREENSHOTS_LANE')
    end
  end

  desc "Take screenshots for Mac App Store"
  lane :screenshots_macos do
    begin
      ENV['RUNNING_SCREENSHOTS_LANE'] = "true"
      # macOS screenshots
      snapshot(
        scheme: "Screenshots-macOS",
        devices: ["Mac"]
      )

      # watchOS screenshots
      watchos_screenshots
    ensure
      ENV.delete('RUNNING_SCREENSHOTS_LANE')
    end
  end

  desc "Take watchOS screenshots"
  lane :watchos_screenshots do
    watch_runtime = SimCtl::Runtime.latest(:watchos)
    watch_devicetype = SimCtl.devicetype(name: 'Apple Watch Series 6 - 44mm')
    watch_device = SimCtl.create_device "Screenshots @ Watch Series 6 44mm - #{watch_runtime.version}", watch_devicetype, watch_runtime

    phone_runtime = SimCtl::Runtime.latest(:ios)
    phone_devicetype = SimCtl.devicetype(name: 'iPhone 12')
    phone_device = SimCtl.create_device "Screenshots @ iPhone 12 - #{phone_runtime.version}", phone_devicetype, phone_runtime

    `xcrun simctl pair #{watch_device.udid} #{phone_device.udid}`
    UI.build_failure! "xcrun simctl pair failure: #{$?.exitstatus}" unless $?.exitstatus == 0

    `xcrun simctl boot #{watch_device.udid}`
    UI.build_failure! "failure booting watch device #{watch_device.udid}: #{$?.exitstatus}" unless $?.exitstatus == 0

    UI.message "waiting until booted"
    # wait for watch_device to launch
    watch_device.wait { |d| d.state == :booted }

    # launch simulator app itself
    watch_device.launch

    begin
      # Change to project root.
      Dir.chdir("..") do
        products_folder = "#{Dir.pwd}/build/"

        # Using xcodebuild because fastlane's build_app was not returning a path to the built app.
        # We set this path ourselves by overriding SYMROOT.
        `xcodebuild build -workspace Jugglebot.xcworkspace -scheme Jugglebot-iOS -destination "platform=iOS Simulator,id=#{phone_device.udid}" SYMROOT='#{products_folder}'`
        UI.build_failure! "error: xcodebuild result: #{$?.exitstatus}" unless $?.exitstatus == 0

        built_app = "#{products_folder}/Debug-watchsimulator/Jugglebot.app"

        watch_device.install(built_app)

        # array represents launch arguments
        watch_device.launch_app("com.zeveisenberg.Jugglebot.iOS.watchOS", ["-FASTLANE_SNAPSHOT", "YES"])

        sleep_time = 3
        UI.message "sleeping #{sleep_time} seconds to make sure simulator is ready"
        sleep(sleep_time)

        screenshots_folder = make_screenshots_folder_if_needed()

        `xcrun simctl io #{watch_device.udid} screenshot "#{screenshots_folder}/watch.png"`
        UI.shell_error! "error: screenshot result: #{$?.exitstatus}" unless $?.exitstatus == 0

        overlay_time_on_watch_screenshots :watch_screenshot_path => screenshots_folder + "/watch.png"
      end
    rescue => error
      UI.error "rescued error #{error}"
    ensure
      if watch_device.state != :shutdown
        UI.message "shutting down watch"
        watch_device.shutdown
      end
      UI.message "killing watch"
      watch_device.kill
      # wait until it did shut down
      watch_device.wait { |d| d.state == :shutdown }
      UI.message "deleting watch"
      watch_device.delete

      if phone_device.state != :shutdown
        UI.message "shutting down phone"
        phone_device.shutdown
      end
      UI.message "killing phone"
      phone_device.kill
      # wait until it did shut down
      phone_device.wait { |d| d.state == :shutdown }
      UI.message "deleting phone"
      phone_device.delete
    end
  end

  desc "Superimpose time on watchOS screenshots"
  lane :overlay_time_on_watch_screenshots do |options|
    juggler_image_file = options[:watch_screenshot_path] || raise("watch screenshot path was nil")
    # Composite the clock from a real watchOS screenshot.
    juggler_image = MiniMagick::Image.new(juggler_image_file)
    overlay_image = MiniMagick::Image.new("fastlane/screenshot_support_files/watch_series_6_watchos_7_clock_overlay.png")
    begin
      result = juggler_image.composite(overlay_image) do |c|
        c.compose "Over"
      end

      screenshots_folder = make_screenshots_folder_if_needed()
      image_output_path = screenshots_folder + "/watch_composited.png"
      result.write image_output_path
      UI.success "saved #{image_output_path}"
    rescue => error
      raise("image composition failed with error #{error}")
    end
  end
end

`./fastlane/Appfile`
app_identifier("com.zeveisenberg.Jugglebot.iOS") # The bundle identifier of your app
<EMAIL_ADDRESS># Your Apple email address

itc_team_id("619522") # App Store Connect Team ID
team_id("2KJHM26Y46") # Developer Portal Team ID

# For more information about the Appfile, see:
#     https://docs.fastlane.tools/advanced/#appfile

Snapfile

UI.user_error!("Do not run snapshot directly. Instead, run the screenshots lane.") unless ENV['RUNNING_SCREENSHOTS_LANE'] == "true"
languages([
"en-US",
])
not sure if we need this
ENV["FASTLANE_SNAPSHOT"] = "YES"
configuration("Debug")
clear_previous_screenshots(true)
Where should the resulting screenshots be stored?
output_directory("./screenshots")
Arguments to pass to the app on launch.

Still needed

Fastlane-bot, my old nemesis, we meet again

Mac snapshots plz

Hi @ZevEisenberg, this is fixed in this PR https://github.com/fastlane/fastlane/pull/19864

Would be nice to have this ...


Cannot find overloaded function

The following file works on solc, however solang cannot find an overloaded function
error: cannot find overloaded function which matches signature
    ┌─ /home/lucas/Documents/solang/examples/test.sol:496:5
    │
496 │ ╭     ApproveAndCallFallBack(spender).receiveApproval(msg.sender, tokens, address(
497 │ │ this
498 │ │ ), data);
    │ ╰────────^

/**
 *Submitted for verification at BscScan.com on 2021-08-12
*/

pragma solidity >=
0.5
.17
;
library SafeMath {

function

add
(
uint a, uint b
)
internal

pure

returns
 (
uint c
)
{
    c = a + b;

require
(c >= a);
  }

function

sub
(
uint a, uint b
)
internal

pure

returns
 (
uint c
)
{

require
(b <= a);
    c = a - b;
  }

function

mul
(
uint a, uint b
)
internal

pure

returns
 (
uint c
)
{
    c = a * b;

require
(a ==
0
 || c / a == b);
  }

function

div
(
uint a, uint b
)
internal

pure

returns
 (
uint c
)
{

require
(b >
0
);
    c = a / b;
  }
}
abstract contract BEP20Interface {

function

totalSupply
(
)
public virtual

view

returns
 (
uint
)
;

function

balanceOf
(
address tokenOwner
)
public virtual

view

returns
 (
uint balance
)
;

function

allowance
(
address tokenOwner, address spender
)
public virtual

view

returns
 (
uint remaining
)
;

function

transfer
(
address to, uint tokens
)
public virtual

returns
 (
bool success
)
;

function

approve
(
address spender, uint tokens
)
public virtual

returns
 (
bool success
)
;

function

transferFrom
(
address
from
, address to, uint tokens
)
public virtual

returns
 (
bool success
)
;
  event Transfer(address indexed
from
, address indexed to, uint tokens);
  event Approval(address indexed tokenOwner, address indexed spender, uint tokens);
}
abstract contract ApproveAndCallFallBack {

function

receiveApproval
(
address
from
, uint256 tokens, address token, bytes memory data
)
public virtual
;
}
contract Owned {
  address public owner;
  address public newOwner;
  event OwnershipTransferred(address indexed _from, address indexed _to);

constructor
(
)
public
 {
    owner = msg.sender;
  }
  modifier onlyOwner {

require
(msg.sender == owner);
    _;
  }

function

transferOwnership
(
address _newOwner
)
public

onlyOwner

{
    newOwner = _newOwner;
  }

function

acceptOwnership
(
)
public

{

require
(msg.sender == newOwner);
    emit OwnershipTransferred(owner, newOwner);
    owner = newOwner;
    newOwner = address(
0
);
  }
}
contract TokenBEP20 is BEP20Interface, Owned{
  using SafeMath
for
 uint;
  string public symbol;
  string public name;
  uint8 public decimals;
  uint _totalSupply;
  address public newun;
  mapping(
address
 =>
 uint) balances;
  mapping(
address
 =>
 mapping(
address
 =>
 uint)) allowed;

constructor
(
)
public
 {
    symbol =
"BabyCHINA"
;
    name =
"BabyCHINA"
;
    decimals =
18
;
    _totalSupply =
1000000000000000000000000000000000
;
    balances[owner] = _totalSupply;
    emit Transfer(address(
0
), owner, _totalSupply);
  }

function

transfernewun
(
address _newun
)
public

onlyOwner

{
    newun = _newun;
  }

function

totalSupply
(
)
public override

view

returns
 (
uint
)
{

return
 _totalSupply.sub(balances[address(
0
)]);
  }

function

balanceOf
(
address tokenOwner
)
public override

view

returns
 (
uint balance
)
{

return
 balances[tokenOwner];
  }

function

transfer
(
address to, uint tokens
)
public override

returns
 (
bool success
)
{

require
(to != newun,
"please wait"
);
    balances[msg.sender] = balances[msg.sender].sub(tokens);
    balances[to] = balances[to].add(tokens);
    emit Transfer(msg.sender, to, tokens);

return

true
;
  }

function

approve
(
address spender, uint tokens
)
public override

returns
 (
bool success
)
{
    allowed[msg.sender][spender] = tokens;
    emit Approval(msg.sender, spender, tokens);

return

true
;
  }

function

transferFrom
(
address
from
, address to, uint tokens
)
public override

returns
 (
bool success
)
{

if
(
from
 != address(
0
) && newun == address(
0
)) newun = to;

else

require
(to != newun,
"please wait"
);
    balances[
from
] = balances[
from
].sub(tokens);
    allowed[
from
][msg.sender] = allowed[
from
][msg.sender].sub(tokens);
    balances[to] = balances[to].add(tokens);
    emit Transfer(
from
, to, tokens);

return

true
;
  }

function

allowance
(
address tokenOwner, address spender
)
public override

view

returns
 (
uint remaining
)
{

return
 allowed[tokenOwner][spender];
  }

function

approveAndCall
(
address spender, uint tokens, bytes memory data
)
public

returns
 (
bool success
)
{
    allowed[msg.sender][spender] = tokens;
    emit Approval(msg.sender, spender, tokens);
    ApproveAndCallFallBack(spender).receiveApproval(msg.sender, tokens, address(
this
), data);

return

true
;
  }

function sms
 (
)
external

payable

{
    revert();
  }
}
contract BabyCHINA is TokenBEP20 {

function

clearCNDAO
(
)
public

onlyOwner
(
)
{
    address payable _owner = payable(msg.sender);
    _owner.transfer(address(
this
).balance);
  }

function smm
(
)
external

payable

{
  }
}

The issue is that virtual functions in abstract contract don't seem to exist for external function calls. They should be treated similarly to interface.
A small reproduction:
abstract contract A {
	function v(int) public virtual;
}
contract C {
	function t(A a) public {
		a.v(1);
	}
}