text:
Dont need .exe on Windows

The documentation shows you need to use howfairis.exe under Windows. However you can also just call howfairis. So the distinction between calling the tool from Linux/Mac and Windows is not really there. I would like to see the removal of the howfairis.exe code snippets as they make things more complicated then needed.

hm strange. I added it because it wasnt working on my windows if I recall. Worth another look I guess!

I installed it in a miniconda environment and was I able to call it without .exe in the Conda prompt, Command prompt and PowerShell

We should check this on Windows. If it works without exe extension, we prefer it.

I checked on Windows 10 with Python 3.8, both command prompt and powershell. Using just howfairis works, no need for .exe.
I made PR #155

No more howfairis.exe in README due to #155.

authors: fdiblen jspaaks sverhoeven

repo: fair-software/howfairis


text:
k8s audit rule for GKE cluster

How to enable k8s audit rules trigger for GKE cluster
I would really like to see steps where I can enable k8s audit rule for GKE cluster
I set auditLog.enabled as true but whenever I do any changes in gke cluster , nothing reported at falco
Please guide

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/falcosecurity/community.
/lifecycle rotten

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.
Provide feedback via https://github.com/falcosecurity/community.
/close

@poiana: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.
Provide feedback via https://github.com/falcosecurity/community.
/close

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

source: gharchive/issue

authors: mkhodave poiana

repo: falcosecurity/charts

license_type: permissive

license_source: github-api


text:
update(config): update version number for 0.33.1

Signed-off-by: Luca Guerra luca@guerra.sh

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind cleanup
Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area documentation
What this PR does / why we need it:
When 0.33.1 is released, update the configuration files
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: LucaGuerra
Once this PR has been reviewed and has the lgtm label, please assign leogr for approval by writing /assign @leogr in a comment. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

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

LGTM label has been added.  Git tree hash: a619f3d77126697d8f5f104d5360ebb82a9ec418

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: leogr, LucaGuerra
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

Falco 0.33.1 is now released
/unhold

source: gharchive/pull-request

authors: LucaGuerra poiana

repo: falcosecurity/falco-website


text:
Fix link to CONTRIBUTING.md in the Pull Request Template

Signed-off-by: Thomas Spear tspear@conquestcyber.com

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind failing-test

/kind feature

If contributing rules or changes to rules, please make sure to also uncomment one of the following line:

/kind rule-update

/kind rule-create

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area build

/area engine

/area rules

/area tests

/area proposals

What this PR does / why we need it:
The link to the contributing guide is a vital one.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

Fixes Pull Request Template link to the Contributing document.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: tspearconquest
To complete the pull request process, please assign leodido after the PR has been reviewed.
You can assign the PR to them by writing /assign @leodido in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

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

LGTM label has been added.  Git tree hash: e93f55d339f5d26220ae4fb1a913614733c0a772

/approve

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: leodido, tspearconquest
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 [leodido]

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

/milestone 0.29.0

authors: leodido leogr poiana tspearconquest

repo: falcosecurity/falco


text:
fix(userspace/libsinsp): solve ambiguous move casting

What type of PR is this?
/kind bug
/kind cleanup
Any specific area of the project related to this PR?
/area libsinsp
Does this PR require a change in the driver versions?
What this PR does / why we need it:
The changed line causes trouble when enforcing stricter compilation warnings due to an ambiguous move casting.
Which issue(s) this PR fixes:
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
fix(userspace/libsinsp): solve ambiguous move casting

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: jasondellaluce
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 [jasondellaluce]

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

/milestone 0.12.0

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Andreagit97, jasondellaluce
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 [Andreagit97,jasondellaluce]

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

LGTM label has been added.  Git tree hash: 31f435453d9136cb7c7263c955cb2af5cec00209

/milestone 0.12.0

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Andreagit97, FedeDP, jasondellaluce
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 [Andreagit97,FedeDP,jasondellaluce]

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

authors: FedeDP jasondellaluce poiana

repo: falcosecurity/libs


text:
ci(.goreleaser.yaml): add git dep to container image

Fixes #15

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: maxgio92
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 [maxgio92]

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

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: FedeDP, maxgio92
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 [FedeDP,maxgio92]

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

repo: falcosecurity/peribolos-syncer


text:
fix(plugins/okta): adjust actor id json name

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area plugins

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

Thanks for your pull request. Before we can look at it, you'll need to add a 'DCO signoff' to your commits.
:memo: Please follow instructions in the contributing guide to update your commits with the DCO
Full details of the Developer Certificate of Origin can be found at developercertificate.org.
The list of commits missing DCO signoff:

8b5e945 fix(plugins/okta): adjust actor id json name

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: SKosier
Once this PR has been reviewed and has the lgtm label, please assign jasondellaluce for approval. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

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

Hi @SKosier. Thanks for your PR.
I'm waiting for a falcosecurity member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

authors: SKosier poiana

repo: falcosecurity/plugins


text:
Alternative PHP implementation

It would be great to show the performance of PHP when using the optimized SplFixedArray (http://php.net/manual/en/class.splfixedarray.php).
Considering you're creating the array and then accessing all indices, that's a lot of hashes PHP has to calculate.
Using the SplFixedArray should speed that up a lot.

Hi Sam,
You are right. Using a pre-allocated fixed array will speed things up for PHP and for the other languages which support this. But the main purpose of the test is to benchmark "loops, dynamic arrays with numbers, basic math operations".
Therefore, pre-allocated fixed arrays is an interesting benchmark, so that we can see how much faster PHP will do. But I cannot accept this optimization in the upsteam tests.
If you implement the SplFixedArray test, please run the original and your versions, and then provide the timing results at the blog page, so that everyone can benefit from your work: https://blog.famzah.net/2016/09/10/cpp-vs-python-vs-php-vs-java-vs-others-performance-benchmark-2016-q3/
Thank you.

authors: SamMousa famzah

repo: famzah/langs-performance

license: mit

license_source: bigquery


text:
add pair generator

#293

Codecov Report

Merging #315 into 2.0 will not change coverage.
The diff coverage is 100%.

@@         Coverage Diff         @@
##            2.0   #315   +/-   ##
===================================
  Coverage   100%   100%
===================================
  Files        28     29    +1
  Lines       741    798   +57
===================================
+ Hits        741    798   +57

Impacted Files
Coverage Δ

matchzoo/generators/pair_generator.py
100% <100%> (ø)

matchzoo/generators/__init__.py
100% <100%> (ø)
:arrow_up:

matchzoo/generators/point_generator.py
100% <100%> (ø)
: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 8f39fa3...4e4502c. Read the comment docs.

authors: codecov-io faneshion

repo: faneshion/MatchZoo


text:
mask rcnn?

Thanks for open sourcing your repo. I would be interested in using FSOD with mask rcnn. I think the instruction in the README is about object detection, rather than image segmentation. Could you provide instruction on building it with mask rcnn?

Maybe I can follow https://github.com/roytseng-tw/Detectron.pytorch/blob/master/configs/baselines/e2e_mask_rcnn_R-50-C4_2x.yaml?
It would be great if you can upload your configuration yaml file for mask rcnn!

In the train_net_step.py, in the 285 line , the code show as below：
Model
```

maskRCNN = Generalized_RCNN()
if cfg.CUDA:
    maskRCNN.cuda()

### Optimizer ###
gn_param_nameset = set()
for name, module in maskRCNN.named_modules():
    if isinstance(module, nn.GroupNorm):
        gn_param_nameset.add(name+'.weight')
        gn_param_nameset.add(name+'.bias')
   ...........

**Is fsod a dataset for few shot object detection, and also a dataset for few shot image segmentation?** Does it have segmentation labels?  In the train_net_step.py,  the model is mask rcnn, not faster rcnn ???

Actually, instance segmentation is out of our scope. I removed those useless configs from the repo, you can use these configs in detectron-tw to construct your mask-rcnn version.

license: MIT


text:
How to generate "final_split_voc_10_shot_instances_train2017.json"

I want to use fewx to train my datasets. Could you release the code about how to generate "final_split_voc_10_shot_instances_train2017.json"?

I think maybe do this in datasets/coco/5_voc_part.py && 6_voc_few_shot.py


text:
Simplify laws' implementations

Follow up on the #193
I've only edited laws/applicative.js so far, but want to get an early feedback. Does this look good?

Regarding whether this should be a breaking change. Strictly speaking we've newer documented the existence of these code, so it wasn't part of public API. Therefore maybe this is not a breaking change.
We should document it after refactoring though, I think. And after the refactoring it should became so simple so only new changes in this code should happen only when we change actual laws, add new algebras etc.

Updated everything based on feedback. Still only couple of algebras added. Is this a good direction?

I think it's still good to have separate file for each spec so that libs could use specific one if desired, but the universal laws function is good as well.
Actually we can do both of them, we could have laws/index.js file which looks like this:
module.exports = (T, eq) => ({
  Setoid: require('./setoid')(T),
  Semigroup: require('./setoid')(T, eq),
  ...
})

It's about minimizing API surface area. There are benefits of having smaller API of a module, for example we can restructure stuff internally without affecting public API more easily. So maybe we should expose individual algebras, but there have to be a reason for that. We shouldn't do it just because we can.

I was thinking that maybe one would require only laws it needs, but as they are only needed in tests it can't have big benefits so I agree with you and now it lgtm!

but if I' only using Setoid why would I need to pass some eq?

Good point. I guess one can just pass undefined both as T and eq when they only need Setoid, though.

Merging #193 introduced merge conflicts. Could you rebase and resolve them, @rpominov?

Sure, there is a lot to be done here anyway. I'll get back to this soon.

Personally I don't quite like to pass undefineds to ./law.js. I think it's better to stay at spec level and have separate file for each spec. so that we dont need to pass 'undefined's around

What if we expose individual specs but keep everything in one file? It would be used like this:
const laws = require('fantasy-land/laws')

// Using an individual spec
laws.Setoid().reflexivity(...)

// Using all specs (passing undefined as T and eq)
laws.all().Setoid.reflexivity(...)

I still don't think we should expose individual specs though. This would be just more complicated API. Some specs require T and eq, some only eq, and Setoid doesn't need neither of them.  One unified function looks like something that easier to understand and use.
Also we can change order of T and eq arguments, so with one function it could look like this:
const laws = require('fantasy-land/laws')

laws().Setoid.reflexivity(...)
laws(eq).Semigroup.associativity(...)
laws(eq, MyType).Applicative.identity(...)

I don't like the idea of supporting undefined arguments. If a user doesn't want to use the eq argument, they should pass in (_, _) => true or whatever we were going to guess they meant.
Guessing the user's intention seems to go against the spirit of the spec. And, it shouldn't be our burden to support use cases like that.

But we won't have to do anything special to support undefined. We will support it automatically. We don't use T and eq arguments in Setoid for example, so they can be whatever including undefined.

So this boils down to how we document it. We can say in documentation that {} and (a, b) => true can be used as dummy T and eq, or we can say that one can just pass undefineds.

why wrap all laws in some function which sometimes needs T, sometimes eq and sometimes both of them, we can just expose a object like this:
module.exports = {
  Setoid: () => ({ ... }),
  Semigroup: (eq) => ({ ... }),
  Applicative: (T, eq) => ({ ... }),
}

And if in future, some spec needs T, eq and some other thing as well, we could freely add without bothering about the one universal all function arguments.

@safareli this sounds like a reasonable solution.
@joneshf what do you think?

Sorry, not sure I'll have free time to work on this, and I don't like to keep things hanging, so I'll close this for now.
If someone wants to pick this up, you're most welcome!

authors: davidchambers joneshf rpominov safareli

repo: fantasyland/fantasy-land


text:
fix: Remove temporary files after script exit

Why is this change needed?
We don't need to keep the temporary files around after the script has run. Remove them after script termination.
Suggested in #2356.
Merge Checklist

[x] PR title adheres to the conventional commits standard
[ ] PR has a changeset
[ ] PR has been tagged with a change label(s) (i.e. documentation, feature, bugfix, or chore)
[ ] PR includes documentation if necessary.

PR-Codex overview
This PR introduces a cleanup mechanism in the scripts/hubble.sh file to ensure that a temporary file is removed upon script exit.
Detailed summary

Added a trap command to remove the temporary file (tmp_file) when the script exits, ensuring no leftover files remain after execution.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

No changeset since this doesn't affect the Hubble package/Docker image in any way.

repo: farcasterxyz/hub-monorepo


text:
lesson3-planet nb: Fix missing ImageMultiDataset in initial databunch setup for

Minifix to todays lessons planet notebook.
The text mentions explicitly that ImageMultiDataset has to be used, but it was missing in the code.
The second databunch setup for larger image size correctly contains it already.

Thanks! The notebook has been updated to work with the latest version of the DataBlock API and this PR has become outdated so I am closing it.

authors: fpingham mprostock


text:
What is the blacklist?

I see that the script blacklist.sh removes about 1.7k images from the ImageNet val folders. Why do you do that?

Imagenet 2014 onwards removes those images due to labeling problems. Imagenet 2012 and 2013 includes those images. See Imagenet SDK for details.

repo: fastai/imagenet-fast


text:
a problem in tutorial

When I run  nbdev_build_lib followed the turorial，it runs to be a
>>FileNotFoundError: [Errno 2] No such file or directory: '/home/yunlong/nbdev_template/docs/_data/topnav.yml'

The nbdev lack a /_data directory under nbdev_template/doc, this need fix.

I don't get this error, are you using the latest version of nbdev as well as the latest template?

I did not set the lib_name, use, author, author_email, branch. Maybe that will cause that.
And when I run nbdev_build_doc, it cause an another problem.
(base) ➜  young git:(master) ✗ nbdev_build_docs
converting: /mnt/c/Users/drago/Documents/jupyter/young/index.ipynb
converting: /mnt/c/Users/drago/Documents/jupyter/young/00_core.ipynb
'HTMLExporter' object has no attribute 'template_path'
'HTMLExporter' object has no attribute 'template_path'
Traceback (most recent call last):
  File "/home/yunlong/anaconda3/bin/nbdev_build_docs", line 10, in <module>
    sys.exit(nbdev_build_docs())
  File "/home/yunlong/anaconda3/lib/python3.8/site-packages/fastscript/core.py", line 76, in _f
    func(**args.__dict__)
  File "/home/yunlong/anaconda3/lib/python3.8/site-packages/nbdev/cli.py", line 221, in nbdev_build_docs
    notebook2html(fname=fname, force_all=force_all, n_workers=n_workers, pause=pause)
  File "/home/yunlong/anaconda3/lib/python3.8/site-packages/nbdev/export2html.py", line 582, in notebook2html
    raise Exception(msg + '\n'.join([f.name for p,f in zip(passed,files) if not p]))
Exception: Conversion failed on the following:
00_core.ipynb
index.ipynb

How did I fix that?

I tested a fresh repo after following the tutorial with the latest nbdev release and everything works for me.  https://github.com/hamelsmu/test-nbdev
I did the following steps:

Create a new repo via the template
Clone the repo locally, edited settings.ini and 00_Core.ipynb
ran nbdev_build_lib
ran nbdev_buidl_docs

Everything works as expected.  I suggest you upgrade to the latest version on GitHub
pip install -U git+https://github.com/fastai/nbdev.git
Let us know if this doesn't fix your errors any issues.  cc: @jph00

I did not set the lib_name, use, author, author_email, branch. Maybe that will cause that.

yes you need to edit your settings.ini per the tutorial.  These are required values.  You also need to run nbdev_build_lib before nbdev_build_docs.
Furthermore, you need to follow the tutorial carefully, the tutorial tells you to edit the notebooks 00_Core.ipynb and it appears you just left that notebook alone and didn't edit it as pointed out in the tutorial.
I would suggest slow down and follow all the steps in the tutorial.  If you skip a step you will encounter problems

I found the reason. The Anaconda's default nbdev version is 0.2.40
' pip3 install -U nbdev' fixed that.
Looking in indexes: http://mirrors.aliyun.com/pypi/simple/
Collecting nbdev

...

Installing collected packages: nbconvert, nbdev
  Attempting uninstall: nbconvert
    Found existing installation: nbconvert 6.0.7
    Uninstalling nbconvert-6.0.7:
      Successfully uninstalled nbconvert-6.0.7
  Attempting uninstall: nbdev
    Found existing installation: nbdev 0.2.40
    Uninstalling nbdev-0.2.40:
      Successfully uninstalled nbdev-0.2.40
ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts.

We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default.

spyder 4.1.5 requires pyqt5<5.13; python_version >= "3", which is not installed.
spyder 4.1.5 requires pyqtwebengine<5.13; python_version >= "3", which is not installed.
spyder 4.1.5 requires jedi==0.17.1, but you'll have jedi 0.18.0 which is incompatible.
spyder 4.1.5 requires parso==0.7.0, but you'll have parso 0.8.1 which is incompatible.
Successfully installed nbconvert-6.0.7 nbdev-1.1.12
(base) ➜  young git:(master) ✗ nbdev_build_lib
Converted 00_core.ipynb.
Converted index.ipynb.
(base) ➜  young git:(master) ✗ nbdev_build_docs
converting: /mnt/c/Users/drago/Documents/jupyter/young/00_core.ipynb
converting: /mnt/c/Users/drago/Documents/jupyter/young/index.ipynb
converting /mnt/c/Users/drago/Documents/jupyter/young/index.ipynb to README.md
(base) ➜  young git:(master) ✗

Addtional mention, when I run 'pip3 install nbdev', it not worked on ubuntu20.04 under wsl2. So I install nbdev by install anaconda first, then use 'conda install -c fastai nbdev', it succeed. and then because of default nbdev version is 0.2.40 in conda.
So 'pip3 install -U nbdev' fixed that. It makes me a little dizzy.
Strongly suggest everyone should run 'pip install -U nbdev' or 'pip3 install -U nbdev' after install nbdev by anaconda.

@yunlongYoung that is realy interesting.  Do you mind opening an issue specifically about the problems you are experiencing with conda?  Thanks so much!

I went ahead and opened the issue on your behalf https://github.com/fastai/nbdev/issues/430

authors: hamelsmu yunlongYoung

repo: fastai/nbdev


text:
fix: routes

This fixes the following issue:

Checklist

[x] run npm run test and npm run benchmark
[x] tests and/or benchmarks are included
[ ] documentation is changed or added
[x] commit message and code follows the Developer's Certification of Origin
and the Code of conduct

@jdhollander can you take a look at this? I have a feeling this might undo some of your work.

@simoncarbajal Can you give me some more context on where you're getting this? I think the issue is one of not using a leading slash on your prefix?
I don't think reverting the relative routes as in this PR is a good idea, because then we break the fix made for the reverse proxy usage. (#164)
I can certainly see a case to be made that a leading slash should be checked for and included if absent in this location. Also, I spot that I missed line 19 of index-html.js, so that needs fixing too. When I have a moment, I'll make a PR for it.

@jdhollander I just checked and adding a leading slash fixes the issue, thanks!
Checking for the leading slash and adding it if it's missing would be a nice time saver for the rest of us :)

authors: jdhollander mcollina simoncarbajal

repo: fastify/fastify-swagger-ui


text:
[frameit] Frameit ignores path parameter, tries to frame all PNGs under the working directory

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
Frameit supposedly takes a path parameter with the location of the screenshot images to be framed. It's referred to in the docs here: https://docs.fastlane.tools/actions/frameit/#parameters and also in some of the examples.
But, that param isn't followed by the tool. Looking at the code, looks like it's because frameit/commands_generator.rb always calls the runner with a path of '.', for example:
Frameit::Runner.new.run('.', nil)

So, the upshot is that frameit is trying to frame all .png files under the directory it's called from, even if they aren't screenshots.
I can probably put together a pull request to fix this, but am hoping to check in and see if I've misunderstood something first. Is this intentional? Is there another way to scope to a particular path?
Command executed
fastlane frameit
Complete output when running fastlane, including the stack trace and command used
(n/a)
Environment

 ✅ fastlane environment ✅
Stack

Key
Value

OS
10.14.3

Ruby
2.6.0

Bundler?
true

Git
git version 2.21.0

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

Host
Mac OS X 10.14.3 (18D109)

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

OpenSSL Version
OpenSSL 1.0.2q  20 Nov 2018

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
10.2

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL

LANGUAGE

fastlane files:
`./fastlane/Fastfile`
[redacted]

`./fastlane/Appfile`
[redacted]

fastlane gems

Gem
Version
Update-Status

fastlane
2.119.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.3.0

bundler
1.17.2

forwardable
1.2.0

CFPropertyList
3.0.0

concurrent-ruby
1.1.4

i18n
0.9.5

minitest
5.11.3

thread_safe
0.3.6

tzinfo
1.2.5

activesupport
4.2.11

public_suffix
2.0.5

addressable
2.6.0

atomos
0.1.3

babosa
1.0.2

claide
1.0.2

fuzzy_match
2.0.4

nap
1.1.0

cocoapods-core
1.5.3

cocoapods-deintegrate
1.0.2

cocoapods-downloader
1.2.2

cocoapods-plugins
1.0.0

cocoapods-search
1.0.0

cocoapods-stats
1.0.0

netrc
0.11.0

cocoapods-trunk
1.3.1

cocoapods-try
1.1.0

colored2
3.1.2

escape
0.0.4

fourflusher
2.0.1

gh_inspector
1.1.3

molinillo
0.6.6

ruby-macho
1.3.1

nanaimo
0.2.6

xcodeproj
1.8.2

cocoapods
1.5.3

colored
1.2

highline
1.7.10

commander-fastlane
4.4.6

declarative
0.0.10

declarative-option
0.1.0

digest-crc
0.4.1

unf_ext
0.0.7.5

unf
0.1.4

domain_name
0.5.20180417

dotenv
2.7.2

emoji_regex
1.0.1

excon
0.62.0

multipart-post
2.0.0

faraday
0.15.4

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

faraday_middleware
0.13.1

fastimage
2.1.5

jwt
2.1.0

memoist
0.16.0

multi_json
1.13.1

os
1.0.0

signet
0.11.0

googleauth
0.6.7

httpclient
2.8.3

mime-types-data
3.2019.0331

mime-types
3.2.2

uber
0.1.0

representable
3.0.4

retriable
3.1.2

google-api-client
0.23.9

google-cloud-env
1.0.5

google-cloud-core
1.3.0

google-cloud-storage
1.16.0

json
2.2.0

mini_magick
4.5.1

multi_xml
0.6.0

plist
3.5.0

rubyzip
1.2.2

security
0.1.3

naturally
2.2.0

simctl
1.6.5

slack-notifier
2.3.2

terminal-notifier
2.0.0

unicode-display_width
1.5.0

terminal-table
1.8.0

tty-screen
0.6.5

tty-cursor
0.6.1

tty-spinner
0.9.0

word_wrap
1.0.0

rouge
2.0.7

xcpretty
0.3.0

xcpretty-travis-formatter
1.0.0

generated on: 2019-04-02

🤔 got this working as expected -- oops. Not sure what the issue I was having was.

repo: fastlane/fastlane


text:
DIFFUSION@!]Toulouse-Clermont En Direct Streaming 12 ottobre 2024

Toulouse - ASM Clermont : sur quelle chaîne et à quelle heure voir le match de Top 14 en direct ?
C’est l’un des chocs de cette septième journée de Top 14 McDonald’s. Toulouse et Clermont ont de grandes ambitions cette saison. On vous dit tout sur cette affiche, notamment sur quelle chaîne et à quelle heure voir Toulouse - ASM Clermont en direct ce week-end.
Stade Toulousain - ASM Clermont : sur quelle chaîne et à quelle heure voir le match de Top 14 en direct ?
C’est l’un des chocs de cette septième journée de Top 14 McDonald’s. Toulouse et Clermont ont de grandes ambitions cette saison. On vous dit tout sur cette affiche, notamment sur quelle chaîne et à quelle heure voir Toulouse - ASM Clermont en direct ce week-end.
Toulouse - ASM Clermont : sur quelle chaîne voir le match de la Top 14 Rugby?
Pour la 6e journée de Top 14, le Toulouse reçoit Clermont ce samedi. Retrouvez toutes les informations de diffusion pour suivre ce match en direct.
Dans le cadre de la 6e journée de la Top 14 ce samedi 12 octobre 2024, Clermont affronte le Toulouse au Stade Dominique-Duvauchelle. Le Toulouse est dixième avec 7 points, à égalité de points avec l'OL, tandis que Clermont occupe la deuxième place.
Les performances des deux équipes lors de la dernière journée
Pour rappel, le Toulouse et le PSG se sont séparés sur un score de 3-1 en faveur de Paris grâce à un doublé de Bradley Barcola. Lors de cette même dernière journée, le match opposant Clermont et Montpellier s'est terminé en faveur de l'ASM, sur le score de 2-1, grâce aux buts de Folarin Balogun et Lamine Camara.
Programme TV de Toulouse - ASM Clermont
Match : Toulouse - ASM Clermont
Date : 12 octobre 2024
Coup d'envoi : 21h05
Toulouse - ASM Clermont (12-10-2024) match en direct live score, détails du match!
En Top 14, Toulouse affronte Clermont (samedi 12 octobre 2024). Sur quelle chaîne, à quelle heure, dans quel stade la rencontre se jouera-t-elle ? Les statistiques détaillées, les compositions probables, les joueurs blessés et les joueurs suspendus, les pronostics et les cotes, l’arbitre… Vous pouvez rapidement obtenir toutes les informations sur cette rencontre tels que les buteurs, les passeurs, les cartons rouges et jaunes, les changements des joueurs…

sedse


text:
+[ZWATCH_NOW√18+!] Jenna Ortega Viral Leaked Video 2024 Original NOW On Social Media X Telegram [Trending√S.E.X.70K]

11 sec ago Jenna Ortega Leaked Video Viral On Social Media. +[ZWATCH_NOW√18+!] Jenna Ortega Viral Leaked Video 2024 Original NOW On Social Media X Telegram [Trending√S.E.X.70K]

Jenna Ortega's newest video has gone viral, capturing the attention of internet users and sparking extensive conversations across social media. This emerging digital creator, known for her engaging content, particularly her recent Spiderman-themed video, has seen a significant rise in interest from fans eager to find out where they can watch the full version. Many are turning to platforms such as Instagram, X (formerly Twitter), and Discord to access her content.
As the excitement builds, fans are actively sharing their reactions online, showcasing the powerful influence of social media in elevating creators like Jenna Ortega into the spotlight. With her unique style and creative flair, she has quickly established herself as a prominent figure in the digital landscape, leaving many curious about her upcoming projects and content. The viral success of her video highlights how social media serves as a vital platform for creators to gain visibility and connect with their audience.
...
....
....
...
...
...
....
....
...
...
....
...
...
....
....
...
...
....
...
...
....
....
...
...
....
...
...
....
....
...
...
....
...
...
....
....
...
...
....
...
....
...
[Trending√_S.E.X√NOW!] Jenna Ortega Viral Leaked Video 2024[FULL70K]

thank you

fg

mh

jf

gh

dgh

syfhgsdf
sgjyt

FG

.
.
.

vf
.
.

.

.
.FG

.
.
.

vf
.
.

.

.
.FG

.
.
.

vf
.
.

.

.
.vxcvxcdsd

authors: dalinnik kobenmalcomb madisontk11


text:
SCP action fails when using it to download files

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I have read the Contribution Guidelines

Issue Description
The scp action fails, when it is being used to download files via scp, because of a typo (scp.rb:19).
Complete output when running fastlane, including the stack trace and command used
$ fastlane scp_test
[22:35:14]: Driving the lane 'scp_test' 🚀
[22:35:14]: -----------------
[22:35:14]: --- Step: scp ---
[22:35:14]: -----------------
+---------------+----------+
|       Lane Context       |
+---------------+----------+
| PLATFORM_NAME |          |
| LANE_NAME     | scp_test |
+---------------+----------+
[22:35:31]: undefined method `[]' for nil:NilClass

+------+--------+-------------+
|      fastlane summary       |
+------+--------+-------------+
| Step | Action | Time (in s) |
+------+--------+-------------+
| 💥   | scp    | 17          |
+------+--------+-------------+

[22:35:31]: fastlane finished with errors

Looking for related GitHub issues on fastlane/fastlane...

➡  Undefined method `fetch` for nil:NilClass (NoMethodError) again?
   https://github.com/fastlane/fastlane/issues/7307 [open] 2 💬
   2 weeks ago

➡  deliver fails with: [!] undefined method `description' for nil:NilClass
   https://github.com/fastlane/fastlane/issues/7356 [closed] 5 💬
   a week ago

➡  `supported_platforms': [!] undefined method `split' for nil:NilClass (NoMethodError)
   https://github.com/fastlane/fastlane/issues/7141 [closed] 43 💬
   a week ago

and 196 more at: https://github.com/fastlane/fastlane/search?q=undefined%20method%20%60[]'%20for%20nil&type=Issues&utf8=✓
/Users/<username>/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.0.5/fastlane/lib/fastlane/actions/scp.rb:19:in `block in run': [!] undefined method `[]' for nil:NilClass (NoMethodError)
    from /Users/<username>/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/net-scp-1.2.1/lib/net/scp.rb:207:in `start'
    from /Users/<username>/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.0.5/fastlane/lib/fastlane/actions/scp.rb:11:in `run'
    from /Users/<username>/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.0.5/fastlane/lib/fastlane/runner.rb:227:in `block (2 levels) in execute_action'
    from /Users/<username>/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.0.5/fastlane/lib/fastlane/actions/actions_helper.rb:50:in `execute_action'
    from /Users/<username>/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.0.5/fastlane/lib/fastlane/runner.rb:212:in `block in execute_action'
    from /Users/<username>/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.0.5/fastlane/lib/fastlane/runner.rb:211:in `chdir'
    from /Users/<username>/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.0.5/fastlane/lib/fastlane/runner.rb:211:in `execute_action'
    from /Users/<username>/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.0.5/fastlane/lib/fastlane/runner.rb:133:in `trigger_action_by_name'
    from /Users/<username>/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.0.5/fastlane/lib/fastlane/fast_file.rb:146:in `method_missing'
    from Fastfile:3:in `block in parsing_binding'
    from /Users/<username>/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.0.5/fastlane/lib/fastlane/lane.rb:33:in `call'
    from /Users/<username>/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.0.5/fastlane/lib/fastlane/runner.rb:49:in `block in execute'
    from /Users/<username>/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.0.5/fastlane/lib/fastlane/runner.rb:45:in `chdir'
    from /Users/<username>/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.0.5/fastlane/lib/fastlane/runner.rb:45:in `execute'
    from /Users/<username>/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.0.5/fastlane/lib/fastlane/lane_manager.rb:52:in `cruise_lane'
    from /Users/<username>/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.0.5/fastlane/lib/fastlane/command_line_handler.rb:30:in `handle'
    from /Users/<username>/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.0.5/fastlane/lib/fastlane/commands_generator.rb:96:in `block (2 levels) in run'
    from /Users/<username>/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/commander-4.4.1/lib/commander/command.rb:178:in `call'
    from /Users/<username>/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/commander-4.4.1/lib/commander/command.rb:153:in `run'
    from /Users/<username>/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/commander-4.4.1/lib/commander/runner.rb:444:in `run_active_command'
    from /Users/<username>/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.0.5/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:38:in `run!'
    from /Users/<username>/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/commander-4.4.1/lib/commander/delegates.rb:15:in `run!'
    from /Users/<username>/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.0.5/fastlane/lib/fastlane/commands_generator.rb:293:in `run'
    from /Users/<username>/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.0.5/fastlane/lib/fastlane/commands_generator.rb:36:in `start'
    from /Users/<username>/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.0.5/fastlane/lib/fastlane/cli_tools_distributor.rb:60:in `take_off'
    from /Users/<username>/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/fastlane-2.0.5/bin/fastlane:5:in `<top (required)>'
    from /Users/<username>/.rbenv/versions/2.3.1/bin/fastlane:23:in `load'
    from /Users/<username>/.rbenv/versions/2.3.1/bin/fastlane:23:in `<main>'

Hey, thanks for reporting this. Do you want to submit a pull request to fix this? 👍

Already created one #7569 😉. This issue is for Google and Danger 😄

Awesome, thank you :rocket;

authors: KrauseFx ffittschen


text:
[fastlane_core] use randomly generated filename(s) -assetFile when uploading binaries to Testflight/App Store

Checklist

[x] I've run bundle exec rspec from the root directory to see all new and existing tests pass
[x] I've followed the fastlane code style and run bundle exec rubocop -a to ensure the code style is valid
[x] I've read the Contribution Guidelines
[x] I've updated the documentation if necessary.

Motivation and Context

Resolves #19708

When trying to upload ipa file to Testflight / App Store, the upload process fails if the name of the ipa file is in multibytes.
(The error message shows the name of the ipa/pkg file as blank.)
You can reproduce the error by building your app with output_name: <multibytechar>.ipa and trying uploading it to Testflight / App Store.
This changed behavior would make deliver/pilot use .ipa/.pkg derived from copy_ipa/copy_pkg methods, which will be found from the package_path: .itmsp.
If there is no .ipa/.pkg file in .itmsp path, deliver/pilot will use upload_ipa/upload_pkg as is.
copy_ipa
copy_pkg
Description

For deliver/runner.rb, replaced the value of variable ipa_path/pkg_path with the one(s) in the itmsp file.
For pilot/build_manager, replaced the value of variable options[:ipa]/options[:pkg] the same way above.

added upload_ipa/upload_pkg,  not to change the values inside the hash options.

Both changes would be restored to options[:ipa/pkg] values if there is no file for asset_file in .itmsp.

I tested the way I could reproduce the problem the related issue undergone, and succeeded upload_to_testflight.
00:08:23 path/to/ipa/file/alphanumeric아님.ipa
00:08:23 ----------------------------------
00:08:23 --- Step: upload_to_testflight ---
00:08:23 ----------------------------------
00:08:23 Creating authorization token for App Store Connect API
00:08:27 Ready to upload new build to TestFlight (App: <someRandomNumber>)...
00:08:28 Going to upload updated app to App Store Connect
00:08:28 This might take a few minutes. Please don't interrupt the script.
00:10:58 iTunes Transporter successfully finished its job
00:10:58 --------------------------------------------------------------------------------
00:10:58 Successfully uploaded package to App Store Connect. It might take a few minutes until it's visible online.
00:10:58 --------------------------------------------------------------------------------
00:10:58 Successfully uploaded the new binary to App Store Connect

Testing Steps

bundle exec rspec pilot
bundle exec rspec deliver

@joshdholtz Thanks for the comment! I'll take this change and test to see how it changes the behavior in upload_to_testflight.

@dokimyj Perfect! Let me know if you need anything from me 😊 Thanks!

Changed Fastlane core part instead(itms transporting portion) and it works perfect!
It seems far more clear & works perfect!

00:08:00 INFO [2022-01-06 13:15:47.19]: Successfully exported and compressed dSYM file
00:08:01 INFO [2022-01-06 13:15:47.20]: Successfully exported and signed the ipa file:
00:08:01 INFO [2022-01-06 13:15:47.20]: path/to/ipa/Not알파누메릭.ipa
00:08:01 -------
00:08:01 INFO [2022-01-06 13:15:47.23]: ----------------------------------
00:08:01 INFO [2022-01-06 13:15:47.23]: --- Step: upload_to_testflight ---
00:08:01 INFO [2022-01-06 13:15:47.23]: ----------------------------------
00:08:01 INFO [2022-01-06 13:15:47.40]: Creating authorization token for App Store Connect API
00:08:01 DEBUG [2022-01-06 13:15:47.41]: App identifier (foo.bar.baz.test.app)
00:08:05 INFO [2022-01-06 13:15:52.16]: Ready to upload new build to TestFlight (App: <some random number>)...
00:08:05 DEBUG [2022-01-06 13:15:52.17]: App Platform (ios)
00:08:06 INFO [2022-01-06 13:15:52.87]: Wrote XML data to '/var/folders/hn/z40t3mf96j7_s80gbflmhp300000gq/T/d20220106-65095-1jvkj2y/1194487182-9501566f-3b72-4f3a-9ee8-e273bd243fb1.itmsp'
00:08:06 INFO [2022-01-06 13:15:52.93]: Going to upload updated app to App Store Connect
00:08:06 INFO [2022-01-06 13:15:52.93]: This might take a few minutes. Please don't interrupt the script.
00:08:06 DEBUG [2022-01-06 13:15:52.93]: xcrun iTMSTransporter -m upload -jwt YourJWT -assetFile /var/folders/hn/z40t3mf96j7_s80gbflmhp300000gq/T/8c5bf74c-efc2-4feb-a51e-54284b68454a.ipa -k 100000 2>&1

(Very long Testflight upload logs marked as `INFO` or `DEBUG`)

00:09:11 DEBUG [2022-01-06 13:16:57.92]: [Transporter]: INFO: Done performing uploadDone notification to Apple.
00:09:11 DEBUG [2022-01-06 13:16:57.94]: [Transporter]: INFO: Transporter's command line arguments are: -m upload -jwt **hidden value** -assetFile /var/folders/hn/z40t3mf96j7_s80gbflmhp300000gq/T/8c5bf74c-efc2-4feb-a51e-54284b68454a.ipa -k 100000
00:09:11 DEBUG [2022-01-06 13:16:57.94]: [Transporter]: INFO: The package: /var/folders/hn/z40t3mf96j7_s80gbflmhp300000gq/T/DeveloperAPIUpload3993524694640234644/<some random number>.itmsp has been successfully uploaded.
00:09:11 INFO [2022-01-06 13:16:58.01]: iTunes Transporter successfully finished its job
00:09:11 DEBUG [2022-01-06 13:16:58.01]: [Transporter]: DBG-X: Returning 0
00:09:11 INFO [2022-01-06 13:16:58.17]: -----------------------------------------------------
00:09:11 INFO [2022-01-06 13:16:58.17]: Successfully uploaded package to App Store Connect. It might take a few minutes until it's visible online.
00:09:11 INFO [2022-01-06 13:16:58.17]: -----------------------------------------------------
00:09:11 INFO [2022-01-06 13:16:58.18]: Successfully uploaded the new binary to App Store Connect
00:09:11 WARN [2022-01-06 13:16:58.18]: `skip_waiting_for_build_processing` used and no `changelog` supplied - skipping waiting for build processing

and Thanks for correcting tests! I thought I gotta change the code to work only when non-alphanumeric filename comes.

authors: dokimyj joshdholtz


text:
[match] propagate keychain when installing wwdr certificates

Checklist

[x] I've run bundle exec rspec from the root directory to see all new and existing tests pass
[x] I've followed the fastlane code style and run bundle exec rubocop -a to ensure the code style is valid
[x] I see several green ci/circleci builds in the "All checks have passed" section of my PR (connect CircleCI to GitHub if not)
[x] I've read the Contribution Guidelines
[x] I've updated the documentation if necessary.
[x] I've added or updated relevant unit tests.

Motivation and Context
After updating from fastlane 2.202.0 to 2.216.0 fastlane match -s $KEYCHAIN -p $PASSWORD started to fail for me with the following error:
[03:54:46]: 🔓  Successfully decrypted certificates repo
[03:54:46]: Installing certificate...
[03:54:46]: $ security find-certificate -a -c 'Apple Worldwide Developer Relations' -p /Users/ec2-user/Library/Keychains/login.keychain-db
[!] Could not install WWDR certificate
🚨 Error: The command exited with status 1

I import wwdr certs manually after creating a keychain, so something is broken here. The weird thing I found is security find-certificate is invoked for the login keychain despite me specifying a separate one. After digging a bit, I figured the install_missing_wwdr_certificates method doesn't take into account the -s option.
Description
This PR makes the -s option to be propagated to the install_missing_wwdr_certificates method instead of unconditionally using wwdr_keychain. I found this issue which supposed to be fixed, but I guess this edge case isn't handled.
Also, I hope I fixed the tests the right way.
Testing Steps
KEYCHAIN_NAME=certs
KEYCHAIN_PATH="${HOME}/Library/Keychains/${KEYCHAIN_NAME}.keychain-db"
KEYCHAIN_PASS=12345HACKER

# create a new keychain first

if [[ -f "${KEYCHAIN_PATH}" ]]; then
  fastlane run delete_keychain keychain_path:"${KEYCHAIN_PATH}"
fi
fastlane run create_keychain \
  password:"${KEYCHAIN_PASS}" \
  path:"${KEYCHAIN_PATH}" \
  unlock:true \
  timeout:1800

# import all wwdr certs

certs=( AppleWWDRCA.cer AppleWWDRCAG2.cer AppleWWDRCAG3.cer AppleWWDRCAG4.cer AppleWWDRCAG5.cer AppleWWDRCAG6.cer )
for cert in "${certs[@]}"; do
  fastlane run import_certificate \
    certificate_path:"${cert}" \
    keychain_password:"${KEYCHAIN_PASS}" \
    keychain_path:"${KEYCHAIN_PATH}"
done

# run fastlane match to import certs and profiles

fastlane match development -s "${KEYCHAIN_NAME}" -p "${KEYCHAIN_PASS}"

conflicts resolved, the CI failure is possibly due to https://github.com/fastlane/fastlane/issues/21663

Yay no more changing default keychain :D thanks man

authors: DuMaM rabbitinspace


text:
Implement termination of the fake connections

Reason for Change

The real Nsq::Producer/Consumer have a .terminate method which closes the connection.
The Fake lacks this, so we see some errors.

Changes

Implement terminate for fake producer and consumer
Test them using RSpec's verifying instance double. If the method does not exist, RSpec will error.

<3

authors: adarsh alieander


text:
remove

Can I help ?

Certainly.  All your PRs will be welcomed :)

Why someone closing the topic? No one interested this repo as a maintainer. Please respect the volunteers :expressionless:

authors: Dautrip Natgho


text:
Improvements to Moulder

With this PR I intent to improve the gravmag.interactive.Moulder class (the interactive app to create 2D gravity models with Polygons).
I have added to Moulder:

A sharex=True as default in figure creation in order to associate the model ax with the result ax.
A new option to reset the view to the original area (in case we use the zoom or move tool)
A new option to add new vertices to a preexisting Polygon: good when we want to edit the model.

And I have edited the mesher.Polygon class, adding a method to compute the area using the Shoelace Formula.
I have also added an option to avoid the application of the absolute value, so the area can be either positive or negative.
If the area is positive, the vertices of the Polygon are ordered counter-clockwise, while if it is negative, they are oriented clockwise.
This allowed me to create methods inside Polygon to change the orientation.
Using these new methods, Moulder forces the Polygons to be always clockwise in order to avoid mistakes on how the gravity field is computed (previously, if the Polygon was define counter-clockwise the gravity field was the one generated by the same Polygon with the opposite density).
Checklist:

[ ] Make tests for new code (at least 80% coverage)
[ ] Create/update docstrings
[ ] Include relevant equations and citations in docstrings
[ ] Docstrings follow the style conventions
[ ] Code follows PEP8 style conventions
[ ] Code and docs have been spellchecked
[ ] Include new dependencies in doc/install.rst, environment.yml, ci/requirements.txt.
[ ] Documentation builds properly (run cd doc; make locally)
[ ] Changelog entry (leave for last to avoid conflicts)
[ ] First-time contributor? Add yourself to doc/contributors.rst (leave for last to avoid conflicts)

@santis19 I would also like to take Moulder out of Fatiando into its own package. See #414
Makes more sense because the interactive parts don't really fit in with a library. Better to have Fatiando as a backend for the app.
Of course, we can get this merged before doing any of that.

@leouieda, thanks for the code review!
I've moved the Polygon improvements to #415.
I think is a good idea to move the Moulder to another repo.
I will write some ideas about Moulder on it.

@santis19 thanks for the extra PR.
We should probably merge these changes to Moulder here first and then port it to the new repo once that gets started. If you want to copy over some of the stuff from https://github.com/fatiando/geometric to the new repository, that would help. Don't worry about setting up the docs right now.

repo: fatiando/fatiando


text:
Python 3 upgrade

Python 2.7 is mentioned in the readme.md but Python 2.x is deprecated.
Update the documentation and/or convert to Python 3.x.
(As I use this project more, maybe I'll create a PR with the upgrade. Would that be fine?)

Hi Henry,
Sure go ahead with a PR. I am not actively developing this anymore as I
don’t have the device.
Shall I make you a contributor on the project?
Cheers
On Mon, 25 Jul 2022 at 2:56 AM, Henry Ford @.***> wrote:

Python 2.7 is mentioned in the readme.md but Python 2.x is deprecated.
Update the documentation and/or convert to Python 3.x.
(As I use this project more, maybe I'll create a PR with the upgrade.
Would that be fine?)
—
Reply to this email directly, view it on GitHub
https://github.com/fatyogi/epever-upower-tracer/issues/2, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AE4YYOZF5N5W2J4P3P7VLFLVVVKQLANCNFSM54PZD5UQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--
// Laconic style, sent from my phone

yeah, that could be useful. I've got a pretty decent API based on your repo. Still building in all the functionality.
Is there a scope you'd like me to keep to in your project?
UTC timestamp: 2022-07-25 13:40:09.548984 Settings BatteryType (0=USER): 0 BatteryCapacity, Ah : 100 TempCompensationCoeff, mV/°C/2V : 0 OverVoltageDisconnect   : 14.7 ChargingLimitVoltage    : 14.6 OverVoltageReconnect    : 14.6 EqualizationVoltage     : 14.4 BoostVoltage            : 14.6 FloatVoltage            : 13.6 BoostReconnectVoltage   : 13.3 LowVoltageReconnect     : 11.5 UnderVoltageRecover     : 11.6 UnderVoltageWarning     : 11.5 LowVoltageDisconnect    : 11.0 DischargingLimitVoltage : 10.5 Temperature Limits Batt Hi temp limit      : 65.0 Batt Lo temp limit      : 615.36 Device over temp        : 85.0 Device recovery temp    : 75.0 Ratings Rated PV Voltage        : 60 Rated PV Current        : 20 Rated PV Power          : 520 Rated Batt Voltage      : 24 Rated Batt Current      : 20 Rated Batt Power        : 520 Rated Load Current      : 20 Voltages PVvolt: 0 BAvolt: 13.14 DCvolt: 13.14 BAtemp: 20.42 BAperc: 82 BAstat: 0

Hi Henry,
That's all good, I added you as a collaborator. Thank you for working on
that again.
There is no particular scope as such - if you see there are things that
aren't working as claimed (for example the mass update of the parameters is
a good catch - I was wondering why they do not get updated one by one?) -
please feel free to fix those. Of course, if you are thinking of some
features of the controller that could be utilised through the API - again,
feel free to add them in.
At the moment I do not have the device to play with, so the whole thing is
on hold for me. I may get one in the near future, and there we could
collaborate further.
There is a bit of interest in this topic - whatever we do is going to be
beneficial to a number of people out there, building their own solar
systems.
On Tue, 26 Jul 2022 at 01:46, Henry Ford @.***> wrote:

yeah, that could be useful. I've got a pretty decent API based on your
repo. Still building in all the functionality.
Is there a scope you'd like me to keep to in your project?
UTC timestamp: 2022-07-25 13:40:09.548984
Settings
BatteryType (0=USER): 0
BatteryCapacity, Ah : 100
TempCompensationCoeff, mV/°C/2V : 0
OverVoltageDisconnect : 14.7
ChargingLimitVoltage : 14.6
OverVoltageReconnect : 14.6
EqualizationVoltage : 14.4
BoostVoltage : 14.6
FloatVoltage : 13.6
BoostReconnectVoltage : 13.3
LowVoltageReconnect : 11.5
UnderVoltageRecover : 11.6
UnderVoltageWarning : 11.5
LowVoltageDisconnect : 11.0
DischargingLimitVoltage : 10.5
Temperature Limits
Batt Hi temp limit : 65.0
Batt Lo temp limit : 615.36
Device over temp : 85.0
Device recovery temp : 75.0
Ratings
Rated PV Voltage : 60
Rated PV Current : 20
Rated PV Power : 520
Rated Batt Voltage : 24
Rated Batt Current : 20
Rated Batt Power : 520
Rated Load Current : 20
Voltages
PVvolt: 0
BAvolt: 13.14
DCvolt: 13.14
BAtemp: 20.42
BAperc: 82
BAstat: 0
—
Reply to this email directly, view it on GitHub
https://github.com/fatyogi/epever-upower-tracer/issues/2#issuecomment-1194068591,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AE4YYOZSZMFC656M2ZKS44LVV2LE7ANCNFSM54PZD5UQ
.
You are receiving this because you commented.Message ID:
@.***>

I've done a first pass and checked in code at https://github.com/fatyogi/epever-upower-tracer/tree/python-2-to-3
I'll need to regression test as much as possible before creating a PR

Thanks @hrford - I just added Python 3 support to the main branch. At least it works for the Tracer series.

authors: fatyogi hrford

repo: fatyogi/epever-upower-tracer


text:
add a discovery event example from a bacnet scan

We'd like to ensure that the discovery events our scanner is emitting our valid UDMI, so we're checking an example into the tests directory. This example is constructed from a live building controller and includes some of its quirks and field naming conventions

Hi Nathan,
You can run these tests locally on your machine by using bin/test_schema, and then looking at the .out file which in this example would be tests/event_discovery.tests/from_bacnet.out. If the file is blank then there are no errors

Yep, ran locally before putting the PR up.
Also maybe I'm missing something but it looks to me like the test runner actually compares the .out file with the actual output to make sure they match (rather than writing to it). So that's why e.g. https://github.com/faucetsdn/udmi/blob/master/tests/event_discovery.tests/errors.out is checked in, to make sure that the validator produces those same messages. Is that right?

Nathan, yes -- that is correct.  Some .out files are not empty because they are specifically testing that errors are handled correctly -- but in your case it's good/appropriate that it's empty!
Note that given some of the other changes I'm proposing this will likely need to be adjusted, but that'll come out when I put that PR together.

authors: gnmerritt grafnu noursaidi

repo: faucetsdn/udmi


text:
Mention list is not showing on @ at 0th position of the textfield

One possible fix I could find is that Im showing below:
I don't know if this will break your logic somewhere else. Could you please look into it?
controller.addListener(() {
      final cursorPos = controller.selection.baseOffset;

      if (cursorPos - 1 > 0) {
        var _pos = 0;

        final lengthMap = <LengthMap>[];

        // split on each word and generate a list with start & end position of each word.
        controller.value.text.split(RegExp(r'(\s)')).forEach((element) {
          lengthMap.add(
              LengthMap(str: element, start: _pos, end: _pos + element.length));

          _pos = _pos + element.length + 1;
        });

        final val = lengthMap.indexWhere((element) {
          _pattern = widget.mentions.map((e) => e.trigger).join('|');

          return element.end == cursorPos &&
              element.str.toLowerCase().contains(RegExp(_pattern));
        });

        print("Val is: $val");
        setState(() {
          _showSuggestions = val != -1;
          _selectedMention = val == -1 ? null : lengthMap[val];
        });
      } else {

       /// Fix here.
        if (controller.text == "@") {

         /// its the same code inside the if but I only added this `@` check for checking if initial character is `@`

           var _pos = 0;

          final lengthMap = <LengthMap>[];

          // split on each word and generate a list with start & end position of each word.
          controller.value.text.split(RegExp(r'(\s)')).forEach((element) {
            lengthMap.add(LengthMap(
                str: element, start: _pos, end: _pos + element.length));

            _pos = _pos + element.length + 1;
          });

          final val = lengthMap.indexWhere((element) {
            _pattern = widget.mentions.map((e) => e.trigger).join('|');

            return element.end == cursorPos &&
                element.str.toLowerCase().contains(RegExp(_pattern));
          });

          print("Val is: $val");
          setState(() {
            _showSuggestions = val != -1;
            _selectedMention = val == -1 ? null : lengthMap[val];
          });
        }
      }
    });

@fayeed

@krishnakumarcn Thanks for this will take a look a this later.

@krishnakumarcn The issue this line: if (cursorPos - 1 > 0) I was checking up to position 1 don't know why I did that, just needed to change  to if (cursorPos  >= 0) {. Fix is in version 0.1.3.

authors: fayeed krishnakumarcn


text:
example CSV file

Hi Felipe,
can you please include a sample CSV output file? I would like to build a parser and an example would be greatly appreciated.
Thanks!
Paulo.

Hii, is it posible to get contact in someway? I really need to use the accelerometer data from this wearable and I have some doubts.

authors: pauloexs xaiena

repo: fbarriga/sony-smartband-open-api


text:
Update messages.po with FB License notice

Is your pull request related to a problem? Please describe
small change to a comment.
Checklist

[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.
[ ] The title of my pull request is a short description of the requested changes.
[ ] I have added the label enhancement to my pull request.

Perfect 🥇 !

authors: SrilalS elinguiuriel

repo: fbdevelopercircles/open-source-edu-bot


text:
When time is decimal, the precision sometime goes up to 16

Example

It should be either rounded to 2, or configurable.

Strange enough, decimals should already rounded to 2.
I will investigate.

Ok, I've found the issue, the total was not rounded (while the added numbers are... still a strange JS behavior)

The issue is fixed, the update will be submitted for review now.

authors: fbgallet kvistgaard

repo: fbgallet/roam-extension-elapsed-time


text:
Compatibility with older Angular versions

The project is currently setup with Angular 10. There is likely no reason why it would not work with older versions as well. Additionally, there is now version Angular 11, which should be supported (and likely already is).
It would be great to have a matrix build in GitHub actions to check against multiple Angular versions. The peer dependencies of the npm package should be adjusted to capture the whole compatible range of versions.

When trying to install this with the command given:
❯ npm install --save ngx-elements-router
I'm getting this error response:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! Found: @angular/common@11.1.0
npm ERR! node_modules/@angular/common
npm ERR!   @angular/common@"~11.1.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/common@"^10.2.0" from ngx-elements-router@0.1.1
npm ERR! node_modules/ngx-elements-router
npm ERR!   ngx-elements-router@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
I don't know if it is directly related to Angular v11 or not, but any ideas?
Currently using: Angular core, cli, cdk, compiler, router, etc all v11

When trying to install this with the command given:
❯ npm install --save ngx-elements-router
I'm getting this error response:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! Found: @angular/common@11.1.0
npm ERR! node_modules/@angular/common
npm ERR!   @angular/common@"~11.1.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @angular/common@"^10.2.0" from ngx-elements-router@0.1.1
npm ERR! node_modules/ngx-elements-router
npm ERR!   ngx-elements-router@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
I don't know if it is directly related to Angular v11 or not, but any ideas?
Currently using: Angular core, cli, cdk, compiler, router, etc all v11

Hi @ZacharyRizer ,
yes, you're correct, your stack trace indicates this issue. It found Angular 11 installed, but the package.json of this lib required 10 to be installed.
I'll fix the versions in the lib. Thanks for reporting!

Hi @ZacharyRizer ,
yes, you're correct, your stack trace indicates this issue. It found Angular 11 installed, but the package.json of this lib required 10 to be installed.
I'll fix the versions in the lib. Thanks for reporting!

Hi @ZacharyRizer ,
I just published a version 0.1.2 that allows Angular versions >= 10.2.0 and that is tested with Angular 11.1.0.
This should resolve your error, feel free to reach out if there should be any remaining issue!

Hi @ZacharyRizer ,
I just published a version 0.1.2 that allows Angular versions >= 10.2.0 and that is tested with Angular 11.1.0.
This should resolve your error, feel free to reach out if there should be any remaining issue!

authors: ZacharyRizer fboeller

repo: fboeller/ngx-elements-router


text:
Transaction support - Postgres

Currently the methods allow receiving only the Postgres Pool type.
The idea here would be to implement the Executor type as shown in the line below, thus allowing the use of transactions.
fn insert<'a, E>(pool: E, table: &'static str) -> Response
where
    E: Executor<'a, Database = Postgres>,
{
    //
}

This 957f382e5fe4c57dffa0f43fe30d81f652ed35b5 added support for Executor.

repo: fbucek/sqlxinsert


text:
Fully Convolutional Network input problem

Hi,
I think I have a problem with a simple solution, however I cannot find it.
I have the following fully convolutional network, which worked before I updated to the new Keras*
    # A network named 'model' is initialized before calling this network.
    model2 = Sequential()

    model2.add(Convolution2D(64, 3, 3, weights=model.layers[1].get_weights(),
                             input_shape=(img_channels, None, None))) #img_channels=1
    model2.add(Activation('relu'))
    model2.add(MaxPooling2D((2,2), strides=(2,2)))

    model2.add(Convolution2D(128, 3, 3, weights=model.layers[4].get_weights()))
    model2.add(Activation('relu'))
    model2.add(MaxPooling2D((2,2), strides=(2,2)))

    model2.add(Convolution2D(256, 3, 3, weights=model.layers[7].get_weights()))
    model2.add(Activation('relu'))
    model2.add(MaxPooling2D((2,2), strides=(2,2)))

    model2.add(Convolution2D(4096, 6, 6, activation='relu'))
    model2.add(Dropout(0.5))
    model2.add(Convolution2D(4096, 1, 1, activation='relu'))
    model2.add(Dropout(0.5))
    model2.add(Convolution2D(7, 1, 1))
    model2.add(Flatten())
    model2.add(Activation('sigmoid'))

    sgd = SGD(lr=0.01, decay=1e-6, momentum=0.9, nesterov=True)
    model2.compile(optimizer=sgd, loss='categorical_crossentropy')

Because the input shape contains None, None, I could use any size images as input. However, now after the update, I get the following error when trying to train with this network:
Exception: The shape of the input to "Flatten" is not fully defined (got (7, None, None). Make sure to pass a complete "input_shape" or "batch_input_shape" argument to the first layer in your model.
What do I have to change in order to make it work again?
* EDIT: By reverting back to an older version I found out this is not a problem with Keras 1.x, but rather with upgrading from 0.3.2 tot 0.3.3.

Once you have a flatten layer in your model, you have to specify input_shape, not sure why your model is able to run in the old version. Can you describe your task with more details?

Yes, so I have data on which I want to perform image segmentation. Datafiles are in grayscale, so only have 1 channel. However, the datafiles are really big, I have images of roughly 20.000 by 4000 pixels per image.
The first thing I did was to create a normal convolutional neural network, shown below:
    img_rows, img_cols = 64, 64
    img_channels = 1
    nb_classes = 7

    model = Sequential()

    model.add(ZeroPadding2D((1,1),input_shape=(img_channels, img_rows, img_cols)))
    model.add(Convolution2D(64, 3, 3, activation='relu'))
    model.add(MaxPooling2D((2,2), strides=(2,2)))

    model.add(ZeroPadding2D((1,1)))
    model.add(Convolution2D(128, 3, 3, activation='relu'))
    model.add(MaxPooling2D((2,2), strides=(2,2)))

    model.add(ZeroPadding2D((1,1)))
    model.add(Convolution2D(256, 3, 3, activation='relu'))
    model.add(MaxPooling2D((2,2), strides=(2,2)))

    model.add(Flatten())
    model.add(Dense(4096, activation='relu'))
    model.add(Dropout(0.5))
    model.add(Dense(4096, activation='relu'))
    model.add(Dropout(0.5))
    model.add(Dense(nb_classes, activation='softmax'))

    sgd = SGD(lr=0.01, decay=1e-6, momentum=0.9, nesterov=True)
    model.compile(optimizer=sgd, loss='categorical_crossentropy', metrics=["accuracy"])

I cut my data into pieces of 64 by 64 and trained the CNN on this. Then for testing, I cut one image of 20.000x4000 into pieces of 64x64 and fed them to the CNN so for every piece I got a classification.
After this I tried a fully convolutional network. The network from the first post (model2) is the fully convolutional version of 'model'. I trained 'model2' on pieces of 64x64 again. Then I cut a big image into pieces of 1024x1024 and fed this to the FCN. The good thing from this method was that the image cannot be cut into pieces of 1024x1024 exactly, so the residual parts, which were smaller, could also be used as input without any problems.
I am trying to follow the methods that were used in this paper, where there is a classification for every pixel of the image, whereupon a Fully Connected CRF is applied.
I was under the impression that by setting the input layer as None, the network could take any size image as input (because this worked previously).
The results I got were actually really good, so I hope I do not have to rewrite everything.
Thanks in advance for your help!

Sorry, I don't know how to deal with variant input size. Why not fix your input to (1, 1024, 1024) to train the FCN? You can still use the pretrained filters on this network. During testing you can crop input images into pieces and aggregate them to produce the final result.

The annoying thing is that everything already worked and I actually already got results back, only needed to apply it to some more data. Now I have to rewrite it again.
Obviously not your fault, so thank you for your answer.
Hopefully someone else reads this and can help me with information on variant input size.

@MartijnL : did you find a solution for this? I have the same question. Thanks.

No actually. I reverted back to version 0.3.2 and then it works again. I don't know how to fix it for newer versions than that.

I have exactly the same problem using Flatten() as the time steps of the input signal are varying (different instances in the batch have different time steps but the signal length is fixed as it is the same for all the instances. Each instance has a dim = (timesteps, signal_length) where timesteps is None and signal length is fixed). I had to fix the number of time steps by adding sequences of zeros to shorter sequences. This solution seems to be inconvenient as I want to deal with inputs having varying time steps. Is there any way to deal with that?

I ran into a similar issue: I want to train a CNN on a classification task and then run it for semantic segmentation. Hence I have a model like
def create_model(nb_classes):
    model = Sequential()
    model.add(Convolution2D(32, 3, 3, border_mode='same', activation='relu',
                            input_shape=(None, None, 3)))  # At training time, this is 32x32 images with 3 channels
    model.add(Convolution2D(32, 3, 3, border_mode='same', activation='relu'))
    model.add(MaxPooling2D(pool_size=(2, 2)))
    # model.add(Dropout(0.25))

    model.add(Convolution2D(64, 3, 3, border_mode='same', activation='relu'))
    model.add(Convolution2D(64, 3, 3, border_mode='same', activation='relu'))
    model.add(MaxPooling2D(pool_size=(2, 2)))
    # model.add(Dropout(0.25))

    model.add(Convolution2D(2048, 8, 8,
                            border_mode='valid', activation='relu'))
    model.add(Dropout(0.5))
    model.add(Convolution2D(2048, 1, 1, border_mode='same', activation='relu'))
    model.add(Dropout(0.5))
    model.add(Convolution2D(nb_classes, 1, 1, border_mode='same'))
    model.add(Flatten(input_shape=(None, 1, 1, nb_classes)))  # I know at training time, that this layer will get Batch Size x 1 x 1 x nb_classes
    model.add(Activation('softmax'))
    return model

After the training, I want to remove the Flatten / softmax to make this a Fully Convolutional Network (FCN):
model = load_model("trained-net.h5")
# Get input
new_input = model.input
new_input.input_shape = (1, None, None, 3)
# Get rid of the flatten
hidden_layer = model.layers[-1].output
# Build a new model
model2 = Model(new_input, hidden_layer)

However, this does not work because it seems not to be possible to overwrite the input_shape / shape:
ValueError: Error when checking : expected convolution2d_input_1 to have shape (None, 32, 32, 3) but got array with shape (1, 800, 1360, 3)

By the way, why is softmax not working for Convolutional layers? It seems to me that is a reasonable implementation:
def softmax(x):
    ndim = K.ndim(x)
    if ndim == 2:
        return K.softmax(x)
    elif ndim == 3:
        e = K.exp(x - K.max(x, axis=-1, keepdims=True))
        s = K.sum(e, axis=-1, keepdims=True)
        return e / s
    elif ndim == 4:
        channel_dim = -1  # for Tensorflow - for Theano it is 1, I think
        e = K.exp(x - K.max(x, axis=channel_dim, keepdims=True))
        s = K.sum(e, axis=channel_dim, keepdims=True)
        return e / s
    else:
        raise ValueError('Cannot apply softmax to a tensor '
                         'that is not 2D or 3D. '
                         'Here, ndim=' + str(ndim))

authors: ChihebTrabelsi MartijnL MartinThoma joelthchao jwgu

repo: fchollet/keras


text:
Specify custom hash function to HashPassword when resetting password

Steps to reproduce
Call resetPwdLong with a valid token and password,
the /users PATCH is called with a password hashed.
feathers-authentication-local hashPassword hook allows to pass a custom hash: function,
we should be able to pass the same function through management.
Expected behavior
Give a hash function to be passed to hashPassword when resetting the password.
Actual behavior
It uses bcrypt by default and there is no way to specify a specific function.
System configuration
Tell us about the applicable parts of your setup.
Module versions (especially the part that's not working):
"feathers-authentication": "^1.1.1"
"feathers-authentication-jwt": "^0.3.1"
"feathers-authentication-local": "^0.3.2"
"feathers-authentication-management": "^0.1.6"

Hi there,
I would like to give more details, now I am using the latest version,
I am now, indeed able to pass a custom hash function through:
  this.configure(authentication({
    ...login,
    local: {
      hash: password =>myCustomHash(password,
    },
  }));

The problem is, this method will be used to both encrypt resetToken and the new password once reseted.
But, when comparing the reset token, once it's sent back, comparePasswords is called and it uses by default bcrypt.compare and there is no way to change that function.
So either my password encryption is wrong or the token cannot be compared.
    "feathers": "^2.2.3",
    "feathers-authentication": "^1.3.1",
    "feathers-authentication-hooks": "^0.1.5",
    "feathers-authentication-jwt": "^0.3.2",
    "feathers-authentication-local": "^0.4.4",
    "feathers-authentication-management": "^1.0.0",

Thanks for your help.

This issue has been handled in the a-l-m rewrite. Full details at https://github.com/feathers-plus/authentication-local-management/blob/master/misc/upgrading.md.
Please make any comments at a-l-m.

authors: cladjules eddyystop


text:
Possibly not working with can-fixture

https://github.com/canjs/can-fixture

Closed with a6a97d06b02501ca9e484a9b252bd6e4f04b67fc

fixed in can-connect-feathers@0.4.3

repo: feathersjs/can-connect-feathers


text:
The useMongoClient option is no longer necessary in mongoose 5.x

Subj.
Please remove it from src/mongoose.js

//Connect to mongoose (
mongoose.connect(db.mongoURI, {
 useNewUrlParser: true    //add it
//useMongoClient: true //old

})
.then(() => console.log('Veri baglantisi saglandi...'))
.catch(err =>console.log(err));

This warning occurs beacuase the useMongoClient option is no longer supports to mongoose new versions (>5.x).
solution is remove
useMongoClient: true //remove this code
and replace it with
useNewUrlParser: true //remove this code
Example
mongoose.connect('<<your uri>>', {
// useMongoClient: true
useNewUrlParser: true

});

authors: SumithEkanayake dobeerman erkanokman

repo: feathersjs/cli


text:
🛑 코코넥트 is down

In 259f2d0, 코코넥트 (https://kokonect.link/api/meta) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 코코넥트 is back up in 0498cb7 after 22 minutes.

repo: fediverses-kr/upptime-api


text:
tour: embedded graphical element does not render

On slide 5 of the tour I noticed that in the bottom right at "The moldable editor can embed graphical elements", that the graphical element (red rectangle) is not rendered. Instead I have a boxed x. On the next slide the embedded rectangle is rendered correctly.
I am using gtoolkit 0.8.2123 on Ubuntu 20.04.5 LTS

Can you share a screenshot?

Yes, here you go :)

Going a bit further in the tour I think this is just the tree view, but perhaps it would be better to not use the tree view on slide 5 because it looks like something went wrong.

Awesome, thanks :)

repo: feenkcom/gtoolkit


text:
Add character / word based diff

We need to show character or word based diffs sometimes.

I first tried to utilize the Pharo code, but it seemed deeply embedded in a particular use case and not reusable within the time I had available. I ended up using a Python library (which probably is not an option for GT proper): https://github.com/seandenigris/Pharo-Enhancements/blob/master/src/PharoEnhancements-GToolkit/PeCharacterDiff.class.st

authors: girba seandenigris


text:
🛑 Share is down

In e07cdac, Share ($SITE_SHARE) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Share is back up in e3eb4c0 after 5 hours, 34 minutes.

repo: felipesbs/bitrate-uptime


text:
🛑 Share is down

In d3ae44d, Share ($SITE_SHARE) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Share is back up in 73fbf81 after 5 hours, 36 minutes.


text:
[Question] Text in clipboard > Highlight > Put back in clipboard

Hi, I want to have clear text, from the clipboard, to be Highlighted and be put back in the clipboard as Highlighted text, that can be pasted into Word/Google-docs-programs.
Can this cli do something like this? or is the purpose, to much in another direction?

spell

Yeah, it should be pretty easy to read the clipboard on the terminal, pipe it to the CLI, then pipe it into the clipboard again. E.g. on macOS:
pbpaste | highlight | pbcopy

You can control the programming language with --language.

thanks :D

repo: felixfbecker/cli-highlight

license: ISC


text:
Fine tuning dry-run in order to avoid recover-data

What problem does this PR solve?

Issue Number: close #xxx
Problem Summary:
What is changed and how it works?
Check List
Tests

[ ] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

Please refer to Release Notes Language Style Guide to write a quality release note.
None

/cc @fengou1  PTAL


text:
Caman with cropper

Hi there,
Great plugin fengyuanchen!
I was wondering if anybody in the community has managed to get cropper working with the caman.js filters library? It relies on a  tag, and I tried adding an id attribute to my  tag (which gets converted to canvas) and attempted a simple command once the cropper was loaded, but no such luck.
The caman guides are here - http://camanjs.com/guides/

After call the getCroppedCanvas method, you will get a canvas, then use CamanJS on the canvas.

If you want to use CamanJS when cropping, you can try this:
<canvas id="canvas"></canvas>

var $canvas = $('#canvas');
var caman = Caman('#canvas');
var options = {
      crop: function (e) {
        console.log(e);
      }
    };

// Start Cropper
$canvas.cropper(options);

// Listen process event
Caman.Event.listen(caman, 'processComplete', function () {

  // Restart Cropper after processed
  $canvas.cropper('destroy').cropper(options);
});

Hi Fengyuan,
Could you get this online with your sample code?
http://codepen.io/goneale/pen/QyqXGv?editors=101

How can you apply Canvas API on an image!

I figured cropper would convert it to a canvas, like it does in every other example.

Here is basic example for anyone who want to use Cropper with CamanJS:
<!doctype html>

  <meta charset="utf-8">
  <meta http-equiv="x-ua-compatible" content="ie=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>Cropper</title>

  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/cropper/2.2.4/cropper.min.css">

Use Cropper with CamanJS

      <input id="file" type="file">

      <button class="btn btn-primary" id="brightness">Brightness</button>
      <button class="btn btn-primary" id="contrast">Contrast</button>

      <canvas id="canvas" style="max-width:100%;"></canvas>

Thanks for that. Big help.

In your example you're loading an image from a file and unfortunately I cannot get it to work with an image that already exists. I have spent many many hours over a few days in the dark and I obviously need to study JavaScript more.
Could you please hint how to add Caman functionality to cropper with the code below?
Thank you for your amazing library, it has made our projects so much easier to handle.
``

Here is a solution without flickering (without reinit):
https://codepen.io/anon/pen/oeoNLx

Hi,
I am using Cropper + Camanjs in angular2.
Cropper is using for crop, zoom and rotation and Camanjs is using for color filter as well as water-mark. But facing issue with merging the Cropper into camanjs, need to create reusable class where want use that class instance in overall module.
waiting for reply.
Big thanks in advance.

Cropper image is saturated when its come from camanjs to cropperjs.

@zakir-hussain can u add an example image with the diff ?

@NePheus
I really like your solution, but I would love to use it along with the main.js implementation as can be found here:
https://github.com/fengyuanchen/cropper/blob/master/docs/js/main.js
Do you think there is any way to make it work?
I am sitting for hours and trying it myself, but only thing I figured is that my JS skills may need some improvement.
For any hints on how to implement it so the CamanJS could be used on preload images aswell many many thanks in advance!
Kind regards,
Chris

@WebDesignWorx
With main.js you mean your application looks like the main demo of the cropper like here https://fengyuanchen.github.io/cropper/? The technical implementation is always the same.

First part is always the trigger of the new uploaded file, in my case the $("#file").change(function() {
Now you have to overwrite the global variable caman with a new Caman instance caman = Caman("#canvas", url, function() {, so we can access this variable later to get our new image when we edit the uploaded image with Caman filters.
Last step is the click on a Caman filter button, in my example $("#brightness, #contrast").on("click", function() {. Here we can call our Caman api methods like .brightness( or .contrast( on the Caman object. After these methods, the image isn't replaced directly, so we have to call the render method on the caman object and inside the callback (the function() {}) we can replace the visible cropper image with the image data of the generate Caman image.

These steps should be appliable to each demo, also to your case. If you have any further problems, you should create a live demo (like on codepen).

Thank you, @NePheus. Right, I am trying to implement it with the code of the main demo.
The difference to your example is, that the demo comes with a preload/preselected image and the JS code referes to this preselected image from the getgo.
I worked yesterday for some more hours on this and got it working, however I am not 100% satisfied with the result.
I will try to set it up on codepen and will post it here.
I think others can benefit from it aswell.
Thank you again for your efforts to help and share your experience.
Kind regards,
Chris

You could try to take my version and replace
var caman;

with
var caman = Caman("#canvas", url, function() {
                URL.revokeObjectURL(url);
                $("#upload").hide();
                $("#handle").show();
                cropper = $("#canvas").cropper().data("cropper");
              });

Its important to tell caman which image it should use. So with the new code you add the current image directly to the caman variable and then the filters should work.

Hello @NePheus,
I tried to set it up on Codepen, but I don't seem to be able make it work over there. The issue is the image I use. The code does not work with external URLs.
However, here is the pen on Codepen:
https://codepen.io/Stefanek/pen/NLMXeQ
I also implemented some of the code found on this demo page:
http://zaak.github.io/CamanJS-demo/
It all seems to work locally with a local image.
The only issue I still have is that the changes I apply to the canvas using the presets and adjustments (CamanJS) have a significant time-lag (it takes long until the changes appear).
Kind regards,
Chris

The delay maybe relates to the image resolution. Or don't you have the delay in my example with the same image?

Yes, you're absolutely right, @NePheus. I tested it with a small image of 30kB now and it was very fast, while large images >2MB take like forever.
Best wishes and thanks for your help!
Chris

Hi,
How can i use cropper js along with caman? I m troubling to work both together.
@goneale : Your demo is not working as expected. Because i could not choose image second time.

Hi Fengyuan,
Could you get this online with your sample code?
http://codepen.io/goneale/pen/QyqXGv?editors=101

In completed

authors: NePheus WebDesignWorx chrisloughnane ctf0 fengyuanchen goneale kaushikponkiya2611 zakir-hussain

repo: fengyuanchen/cropper


text:
Update image ghcr.io/onedr0p/qbittorrent to v5.0.2

This PR contains the following updates:

Package
Update
Change

ghcr.io/onedr0p/qbittorrent (source)
patch
5.0.1 -> 5.0.2

Release Notes

qbittorrent/qBittorrent (ghcr.io/onedr0p/qbittorrent)
v5.0.2
Compare Source

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠ Warning: custom changes will be lost.

repo: fenio/homelab


text:
Sometimes the beat is not played

Device: LG G6
Android Version: 8.0
Settings:
Sound: Click (/same behaviour for beep)
BPM: 200 BPM
Beat: 3/4 (first Click is fat/accented/...)
Sometimes some of the beats are not played.
Also sometimes the volume seems to go down and then back up again (don't know if related)

I get the same regardless of setting

repo: fennifith/Metronome-Android


text:
crash of tksidviewer.py on close

Observation
(supersid_new) E:\work\Python-Samples\fenrog\supersid\supersid>python supersid.py
Config file '..\Config\supersid.cfg' read successfully
sounddevice device 'MME: Microsoft Sound Mapper - Input', sampling rate 192000, format S32_LE

sounddevice 'MME: Microsoft Sound Mapper - Input'
self.capture_device.close()
Exception in thread Thread-1:
Traceback (most recent call last):
File "C:\Users\Admin.conda\envs\supersid_new\lib\threading.py", line 932, in _bootstrap_inner
self.run()
File "C:\Users\Admin.conda\envs\supersid_new\lib\threading.py", line 1254, in run
self.function(*self.args, **self.kwargs)
File "E:\work\Python-Samples\fenrog\supersid\supersid\sidtimer.py", line 69, in ontimer
self.callback()
File "supersid.py", line 173, in on_timer
self.viewer.status_display(message, level=2)
File "E:\work\Python-Samples\fenrog\supersid\supersid\tksidviewer.py", line 111, in status_display
self.statusbar_txt.set(message)
File "C:\Users\Admin.conda\envs\supersid_new\lib\tkinter_init.py", line 377, in set
return self._tk.globalsetvar(self._name, value)
RuntimeError: main thread is not in main loop

How to reproduce
[PARAMETERS]
viewer = tk

Happens sometimes when closing the tk window.

SidTimer._ontimer() is triggered by an expiring timer.
SidTimer._ontimer() calls self.callback().
self.callback() is effectively SuperSID.on_timer(), as this function has been registered as callback.
SuperSID.on_timer() calls self.viewer.status_display(), in this case tkSidViewer.status_display()
Due to a race condition a moment before tkSidViewer.close() has been called, destroying self.tk_root.
Now tkSidViewer.status_display() tries to display the statusbar of a now longer existing window.
The above Exception appears.
Solution:
Maintain a runing flag and set the status display only if the mianloop is running.
The same for wxSidViewer.

fixed with pull request #26

repo: fenrog/supersid


text:
Add coverage percentage to README

We should have an automated way to fetch a badge with the test coverage of the main branch.

Fixed by #22


text:
[BUG] Loop abnormal with item less than 5

Describe the bug
Loop abnormal with item less than 5
To Reproduce

Use the loopPages option with data less than 5
SwiftUIPager/Example/SwiftUIPagerExample/Examples/InfiniteExampleView.swift

Expected behavior
Normal operation is the same as when there is a item greater than 5
Screenshots / Videos
https://user-images.githubusercontent.com/104012084/183367859-cdbf7ffe-a233-4895-b103-b128f0a63d01.mp4
Environment:

OSX: iOS 15.5
Simulator iPhone 13
SwiftUIPager version 2.5.0

Additional context
N/A

I'm able to reproduce the issue. has anyone a workaround for this? "/

same issue

same issue

sane issue

repo: fermoya/SwiftUIPager


text:
Add increment function in outbound Redis implementation

incr is a fairly popular operation with Redis — https://redis.io/commands/incr/
There are obvious scenarios where this could be used, particularly with atomic counters, and it would be great if the outbound Redis host component implemented this.

So, will we end up introducing the whole redis command set into this part of host component?

repo: fermyon/spin


text:
fix: read templated env vars in the docs generator config

Allows the cli docs generator (generate --docs) to read from environment variables templated with ${}

Refactors environment variable substitution into a core-util called replaceEnvVariables

I think I resolved everything @dsinghvi!

repo: fern-api/fern


text:
cannot read appendTo from object after passing file by ipc.send message with electron

I try to pass a file by ipc message to play in a DOM with electron, but in the ipc.on method file.appendTo give me an error:
mainWindowUpdater.js:45 Uncaught TypeError: file.appendTo is not a .
I try everithing in my mind but I can make it to work.
Any help?¿

Looks like you already resolved this, but I'll just mention for future google searchers that you can't use Electron's IPC to send across object instances (with methods). The IPC methods serialize the object with the equivalent of JSON.stringify() before sending across.

authors: feross rafaelleru

repo: feross/webtorrent


text:
Example: How to create a custom BC, source, trap, etc

Often users need to create their own custom models.
It would be good to show the process of inheriting from a FESTIM class to override some methods etc

Does this issue also include a custom Newton solver?

It could include it yes.
Although maybe the custom solver could have its own demo?
Initially I was more thinking cases where we want a specific formulation for extrinsic traps or things like this that require to override classes

Although maybe the custom solver could have its own demo?
Sure. I simply wanted to clarify this.

Thus, we need a dedicated issue for the Newton solver demo.

In fact there are several examples of when we need to do this:

Modelling an enclosure (see this verification case): we had to override the iterate method of Simulation
Having a dirichlet BC from tabulated data (see this reply on Discourse)
Having temperature from tabulated data (see the same reply)
Making a custom boundary condition (see example with a custom recombination  coefficient)

Maybe each of them could have its own demo

Actually we have the CustomFlux BC that already does a lot of stuff so many BCs are not the best example for this.
@jhdark was suggesting writing custom derived quantities like including advection for instance.

authors: KulaginVladimir RemDelaporteMathurin

repo: festim-dev/FESTIM-workshop


text:
【help wanted】消息内时间字体可以自定义吗

如图，左为tg，右为qq

我会将修改消息内时间的字号添加到主题设置内
字体可以用轻量工具箱或 transitio 修改

我会将修改消息内时间的字号添加到主题设置内
字体可以用轻量工具箱或 transitio 修改

啊抱歉，我想说的就是字号( ﾟ∀。)

已在 v4.1.6 支持修改消息内时间的字号


text:
官方有QQ交流群吗？

官方有QQ交流群吗？

282629545学习交流

authors: YouJumpIJump linovo

repo: fex-team/webuploader


text:
Error using MediaSourceConfig in WindowsAppSDK

The following errors occurred when I used MediaSourceConfig in today's test
The type initializer for 'WinRT.ActivationFactory`1' threw an exception.
code：
MediaSourceConfig Config = new MediaSourceConfig();
Config.FFmpegOptions.Add("referer", "https://www.bilibili.com");
Config.FFmpegOptions.Add("User-Agent", "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36");
var value2 = await FFmpegInteropX.FFmpegMediaSource.CreateFromUriAsync(item.BaseUrl, Config) ;
var mediaSource = value2.CreateMediaPlaybackItem();
NowMediaPlayer.Source = mediaSource;

This error occurred when initializing Config. Is there a solution?

For this to work with WinRT, you need to add the CsWinRT Nuget package, and you must run it as a "Packaged" app. If you want to run unpackaged, you need to add VCRTForwarders.140 as well.
Oh and you must add FFmpegInteropX as Nuget package. If you add it as project reference, the dll is not moved to the correct location, which also leads to ActivationFactory exceptions.

I executed as you did. MediaSource has no problem, but after calling CreateFromUriAsync
Error HRESULT E_ FAIL has been returned from a call to a COM component.
I don't know what to do next.

Can you provide a repo sample?

App2.zip
This is an instance, which contains an API interface library. Here it is BIlibiliAccount, which is still the problem above. I can only use the Microsoft Dash configuration file now.

I'm not sure if it's my Nuget package reference error

Frankly, I have not yet run the sample, but I think this is a normal error, because the URL you are passing is not a valid stream. Try copying the URL and pasting it in one of our CS or CPP sample apps. The samples (except WinUI sample) have ffmpeg logging enabled and will show output messages starting with "FFmpeg" in the debug output window. Then you will see what the error reason is. Alternatively, you can try to open an URL with ffplay (which is usually part of public ffmpeg builds). If gives detailed log output. If an URL cannot be played with ffplay, you cannot play it thorugh our lib.
It looks like you are trying to manually play DASH substreams, which is a really difficult task. I have some experience with that. In the DASH format, every stream is divided into separate substreams (multiple video and audio streams with different bitrate), and each of these substreams is again split into thousands of segments, each only few seconds long. The segments cannot be played individually, because they do not contain any stream info / header data. The header data is contained in an initialization segment, which must be prepended to the segments when you try to decode the stream.
The central part of a DASH stream is the MDP file, which defines the streams, the init segments, the segment sizes, a base url and a template from which to generate the segment file names (usually containing the segment number or timestamp). If you can find the path to the MDP header, you can open that with FFmpegInteropX and it should allow playback, including all substreams. But trying this manually is very difficult. You'd need to find out the segment name template (I do not see that in the API model). You have to find out the init segment url and connect init segment and content segments as one stream (I am not even sure if that is currently possible from our lib). You have to play both the video and audio stream in sync. You will need to support seeking.
Instead of trying to do this manually, I'd recommend you try to find out how to get the path of the MDP file for a video. I am pretty sure there is one. If this Bidi system has a website for video playback, you could open the broswer developer tools (F12), open the network tab and select "media". Then open the same movie you try to play via API, and look at which URLs are opened. You should hopefully see the MDP file and then lots of m4a segments being opened during playback. Maybe you can find a way to reconstruct the MDP path from a movie ID and/or some of the data you get from the REST API.
What could make things worse is if the system requires some sort of authorization. It might be that you'd need to set certain auth headers or cookies to allow playback. Just saying, because when I open the URL which is at the bottom of the MainPage.cs, I get an error 403 (not allowed). So there can be additional roadblocks.

Yes, he has a security chain and needs to specify the referer as the homepage of his website. I'm trying to use the mpd file

authors: BlameTwo brabebhin lukasf

repo: ffmpeginteropx/FFmpegInteropX