Enzyme for BilinearFormIntegrator

Hello! Is there a way to use Enzyme to do automatic differentiation of a BilinearFormIntegrator for use in NonlinearForm? I noticed ex16p_newton.cpp here creates a wrapper manually. Instead of using different integrators inAssembleElementGrad, can Enzyme AD be used to automatically perform differentiation on calls to BilinearFormIntegrator::AssembleElementVector?

In general this is possible, yes. Creating the derivative on an element-vector level is more resource intensive than necessary. We're in the process of creating streamlined interface to allow Enzyme enabled derivatives on the quadrature point level which will be the most efficient and GPU compatible way.

Thank you!


buildpack: moved to by-name and modernized derivation

Description of changes

Formatted via nixfmt-rfc-style
Removed unnecessary rec (ref: https://nix.dev/guides/best-practices#recursive-attribute-set-rec)
Removed with lib;
Moved pkgs/development/tools/build-managers to pkgs/by-name

I also add myself to the maintainer list of this package, as it was empty.
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[x] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

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

@NotAShelf Thanks for the review, I have fixed what you pointed out.


cannot fetch when using template code of "keyword segment"

copy the same code but it still doesn't work , did i missed anything?

Hey @KristineWatson
Sorry for a bit late response. I just tried the same at my local setup and it seems to be working fine.
If this issue still persists, could you please provide me with more information? Such as the complete text that you're using here.
And your plugin version/operating system/obsidian version.
Thanks!

Closing issue because it was inactive for a couple of months


[ENHANCEMENT] Update dependencies and improve docs

Changes

Upgraded to Go 1.23
Updated all project dependencies
Enhanced README
Refreshed config/samples manifests
Updated CRDs in config/crd/bases to reflect new schema
Added optional perses-server-url flag for localhost testing:flag.StringVar(&persesServerURL, "perses-server-url", "", "The Perses backend server URL")

fixes #16

@ibakshay thank you for your contribution!. Can you please take a look at the tests, they might need an update.

@ibakshay thank you for your contribution!. Can you please take a look at the tests, they might need an update.

My pleasure. Thanks a lot for your review. The test is failing due to this serialization issue. I have already created a PR in prometheus/common repository for the fix. The test should be successfully after the PR in prometheus/common gets merged.


Decompiler / Function: mark function parameter as "unused", reflect that in decompiler

Is your feature request related to a problem? Please describe.
Functions sometimes have unused arguments; if the x86_64 optimizer is aware of this it can leave the register or stack slot "uninitialized", effectively passing a random value based on prior code, to that call.
Minimally, this leads to somewhat confusing decompilation where, eg, what is clearly a std::string is cast to some other object type entirely (matching the unused parameter.)
Earlier, when types were less clear, this back-propagated the type information from the function argument and mis-typed a whole pile of stuff because of it.
While the arguments can happen naturally, I run into this with MSVC-compiled C++ code with inlining, optimization, and templates can generate concrete function instantiations that:

internally, "bind" one function argument to some global value or constant, and
ignore the passed in value completely, and
in the caller, are not inlined, presumably due to some constraint on size and/or number of inlined fns
in the caller, ARE aware the function argument is unused, and do NOT clear or set the register / stack slot before calling.

This happens in "constructor with bulk construction of children" most often; the current example DisplayWidgetConsole, 9148 bytes of code, and creates 51 instantiations of ConsoleCommand<...> representing the various commands that can be run.  It stops inlining the template constructor instatiation at the 14th ConsoleCommand<>, 3017 (0xBC9) bytes into the function body.
In other places, NULL is passed in that slot, despite the compiler having access to the appropriate variable to fill it, because the optimizer "knows" it is unused in the function body.
(in the concrete example below, the this argument to a std::string constructor was still in RCX during the next call, so it seemed like the same thing was passed to the function twice, as two different types.)
Describe the solution you'd like
In writing code, developers often adopt conventions like void foo(void* /*unused*/, uint bar) to flag this to other humans.  This helps avoid any confusion.
For the decompiler, especially in the face of the optimizer generating these, it'd be great to be able to say "use of this function parameter is irrelevant, do not consider it for any purpose in understanding the code."
Ideally, it'd end up looking like this in the decompiled code:
// CURRENT
p_command = GAME::ConsoleCommand::ConsoleCommand
    (p_void,(PhysicsEngine2 *)help_cstr,(mem_fn<void,char*> *)&p_command_impl,&help_str);
// DESIRED
p_command = GAME::ConsoleCommand::ConsoleCommand
    (p_void,/* unused */,(mem_fn<void,char*> *)&p_command_impl,&help_str);

Describe alternatives you've considered
I was naming the parameter __unused or __ignored in the function prototype for that concrete instantiation.
This made the body of the function easier to understand, because I could see that I already did the work to make sure it was genuinely unused, not just "bad prototype of a called function makes it look unused."
OTOH, the decompiler back-propagated that name to local variables, and __ignored was often reused for meaningful values in other instantiations of the same template function.
Additional context
This, along with #2573, are the two main "features of code" I associate with a function that will never stop spitting out the decompiler warning that type propagation never settled, or that it exceeded the maximum restart count.
Unused arguments are less prone to triggering that, but they seem to push functions toward it.  I presume this is because the "unused" argument is treated as a valid "cast", and a stack slot suddenly changes from std::string to PhysicsEngine2, a conflict that can't be resolved without ignoring the "unused" parameter.

note: I can provide concrete code / "decompiler debug XML" for these, if you want.  let me know what chunks of whatevs are desirable.


Nit-picking wording

From http://weave.works/guides/weave-docker-centos-simple.html:

downloaded a docker image containing all three Weave components: Weave Router, WeaveDNS, and the Weave Docker API Proxy

Currently those components are in two images, and as of Weave Net 1.4 you would have downloaded a third image containing the plugin.

thnks @bryan
fixed: 6eba2ef7b61aa1dcdbee3ea9a438454aab6480bd


Error running CLI to publish graph

What Happened?
When I run logseq-publish-spa output at root of my Logseq graph directory, I got error:
Error: Logseq static directory '../logseq/static' does not exist. Please provide a valid directory

it does not matter whether I created output directory or not.. I assume output directory is also at the root of the graph directory.
Reproduce the Bug

open shell
go to root directory of a Logseq graph
run logseq-publish-spa output

Expected Behavior
the graph should be published successfully.
Desktop or Mobile Platform Information
MacOS: 14.2 (23C64)
Logseq App: Version 0.10.5 (79)
latest version of logseq-publish-spa

It's very confusing to me why the tool complains about that ../logseq/static directory.. I don't see that in my graph, nor in the test-graph in this graph

Hi. Did you follow the instructions at https://github.com/logseq/publish-spa?tab=readme-ov-file#cli? The CLI relies on the publishing frontend being built in a separate logseq directory that is git cloned separately. The cloned logseq directory should be under the same parent directory as the graph you are publishing e.g.:
- parent-directory/
   - your-graph/
   - logseq/
      - static/

I checked out 0.10.6 and build the static folder.
then running the command again gave me this error:
Parsing 94 files...
Export public pages unexpectedly failed with: #error {:message "ENOENT: no such file or directory, rename '-s/static/js/publishing/main.js' -> '-s/static/js/main.js'", :data {:type :sci/error, :line 30, :column 15, :message "ENOENT: no such file or directory, rename '-s/static/js/publishing/main.js' -> '-s/static/js/main.js'", :sci.impl/callstack #object[cljs.core.Volatile {:val ({:ns #object[oq logseq.publishing.export], :file "/Users/emacsbliss/repo/publish-spa/.nbb/.cache/5971908985a498cc9b88b1da0df7f8799334ae7f/nbb-deps/logseq/publishing/export.cljs", :sci.impl/f-meta {:ns #object[oq promesa.protocols], :name -bind, :arglists ([_ f] [_ f executor]), :doc "Apply function to a computation and flatten."}} {:ns #object[oq logseq.publishing.export], :file "/Users/emacsbliss/repo/publish-spa/.nbb/.cache/5971908985a498cc9b88b1da0df7f8799334ae7f/nbb-deps/logseq/publishing/export.cljs", :sci.impl/f-meta {:ns #object[oq promesa.protocols], :name -promise, :arglists ([_]), :doc "Create a promise instance from other types"}} {:line 30, :column 15, :ns #object[oq logseq.publishing.export], :file "/Users/emacsbliss/repo/publish-spa/.nbb/.cache/5971908985a498cc9b88b1da0df7f8799334ae7f/nbb-deps/logseq/publishing/export.cljs", :sci.impl/f-meta {:ns #object[oq promesa.core], :name all, :arglists ([promises]), :doc "Given an array of promises, return a promise\n  that is fulfilled  when all the items in the\n  array are fulfilled.\n\n  Example:\n\n  (-> (all [(promise :first-promise)\n            (promise :second-promise)]\n      (then (fn [[first-result second-result]]))\n       (println (str first-result \", \" second-result)\n\n  Will print out\n  :first-promise, :second-promise.\n\n  If at least one of the promises is rejected, the resulting promise will be\n  rejected."}})}], :file "/Users/emacsbliss/repo/publish-spa/.nbb/.cache/5971908985a498cc9b88b1da0df7f8799334ae7f/nbb-deps/logseq/publishing/export.cljs"}, :cause #object[Error Error: ENOENT: no such file or directory, rename '-s/static/js/publishing/main.js' -> '-s/static/js/main.js']}

Can you share what commands you have run including the last one that resulted in the error? It seems you're pointing the CLI at a directory that doesn't have the publishing app built. From the instructions I shared, yarn install --frozen-lockfile && yarn gulp:build && clojure -M:cljs release publishing is a necessary step

Is roam in ~/org or ~/org/logseq? It needs to be in ~/org in order for the command to work out of the box. The error message '-s/static/js/publishing/main.js' indicates that it's trying to copy a file from a -s directory which doesn't make sense

full path for roam is ~/org/roam, logseq is located in ~/org/logseq. I think the directory structure is correct, I suspect the latest release of logseq has changes causing some file missing, probably renamed..

looks like repo has some updates, so I upgrade to latest version of this repo and now it works.
Thanks for helping!

Exactly the same path issue here and I resolved it by adding command parameters which github action does:
# `logseq-publish-spa out` raise error, but
logseq-publish-spa out --static-directory ..\logseq\static\ # success

And after that, I tried " logseq-publish-spa out" again and it works too...


Cloud Adoption Framework - Number of Containers in The 3 Data Lakes

Hi,
Would it be possible to know why Microsoft recommends one container per Data Lake (except for Data Lake 2)? Is it because there are a limited number of RBAC Assignments (2000) per Subscription/Data Landing Zone? If we have RBAC on Containers, it may consume a large portion of RBAC Assignments?
Thanks for letting us know!
Xavier
[Enter feedback here]

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

ID: 174bef87-bea0-a095-3712-2c9dcf9e9388
Version Independent ID: 9deb539b-93a8-a3d0-25c3-ebf65e5a4441
Content: Provision three Azure Data Lake Storage Gen2 accounts for each data landing zone - Cloud Adoption Framework
Content Source: docs/scenarios/data-management/best-practices/data-lake-services.md
Service: cloud-adoption-framework
Sub-service: scenario
GitHub Login: @mboswell
Microsoft Alias: mboswell

This guidance has been detailed out in the https://docs.microsoft.com/en-us/azure/cloud-adoption-framework/scenarios/data-management/best-practices/data-lake-overview#the-three-data-lakes. Further updates are being made
#please-close


DSA <IP_ADDRESS> Strings : Introduction to Strings- Audio

Description
Description
Explain strings, string representation, and declaration.
Task

[ ] Audio

Note

While requesting the issue to be assigned, please mention your NAME & BATCH NUMBER.
Mention the type of contribution you want to make.
Kindly refer to the Issue Guidelines.
Do not use the assign command for this issue. Follow the above procedure.
In case you see that the issue has already been assigned, try to request a different task within the same issue.
Changes should be made inside the DSA/directory & DSA branch.
Name of the file should be the same as the issue.
This issue is only for 'GWOC' contributors of the 'DSA' Domain.

Domain
DSA
Type of Contribution
Audio
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

@Anushka-Gamad You can take up this issue.

/assign

Hi mam @goelesha
I want to contribute through AUDIO format, Please assign it to me.
Afreena begum
DSA Batch-1


Release/1.1.2

fixes #321

Codecov Report

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

@@           Coverage Diff           @@
##             main     #323   +/-   ##
=======================================
  Coverage        ?   92.28%
=======================================
  Files           ?       15
  Lines           ?      648
  Branches        ?       98
=======================================
  Hits            ?      598
  Misses          ?       50
  Partials        ?        0

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


[Feature] Add mx.isnan, mx.isinf

Title is pretty self-explanatory. Might also be worth lumping in isfinite, isposinf, isneginf.

Hi @awni long shot but I have been trying to get a hang of this repository for a while now, I believe it will be really helpful in me getting a more comprehensive understanding of ML frameworks, but I am not able to completely wrap my head around this, could you guide me through an issue, or give me some resources that would help understand that specific repository better, so that I can be of help and be an active contributor?? I have an understanding of tensorflow implementation. not a very deep understanding of pytorch, but I am ready to put in the effort.
thanks

At this point the best way to learn the library to contribute is to get started with as simple contribution. I'm happy to answer questions as you go along!
If you are not familiar with the high level frameworks like NumPy/Jax/PyTorch there are tons of educational resources available and that would be an even better place to start.
Just FYI: for this issue some familiarity with C++ is useful.

sure, Awni, I do have an understanding of C++ I will take this up and post my questions as we go along.

@awni if someone is working on it, can you please assign this issue to him?

@zuhorer are you planning to work on this? Shall I assign it to you?

yes please!!! much appreciated!

Hi @awni I believe we will also be implementing [isfinite] as well, right?

yes that makes sense, just to make sure, I will be implementing  isinf, isfinite, isposinf and isneginf as in np.

Hi, I am facing issues running the tests, is this a know error or am I missing something?
in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['git', 'rev-parse', '--short', 'HEAD']' returned non-zero exit status 128.

Share the build command?

pip install --user --upgrade build
pip install --user --upgrade twine

Generate the source distribution and wheel:
python -m build

I am gettting this error while executing this build command

You are following the wrong docs for building, use:
https://ml-explore.github.io/mlx/build/html/install.html#python-api
(We should remove the stale pypi stuff it is not useful)

Thanks @awni for pointing in the correct direction!
I have raise a PR for isneginf and added tests. If you could have a look would be great!
https://github.com/ml-explore/mlx/pull/448

hi, @awni I have raised a PR for isposinf and added tests,
https://github.com/ml-explore/mlx/pull/449

I believe there is an active PR for isinf so will wait on that.
I had a doubt:

as per the numpy definition of isfinite (Test element-wise for finiteness (not infinity and not Not a Number)). we will need to wait for isinf to be implemented as well?

All of these have been added. Thanks for the contributions @zuhorer !


Realease workflow

Use github action to create the release and publish it on NPM  when a tag is created

npm publish https://michaelzanggl.com/articles/github-actions-cd-setup/
https://github.com/marketplace/actions/github-release

See commit d85cfaf.
Need to be tested during the next release.


能否给一些finetue的demo

最好是 code 生成相关，codellama2 已经可以了，按照文档，但是实际上根本不行

Hi, thanks for submitting the issue. For fine tuning models, you may reach out to this documentation for usage. Or taking a look at the example here.
And for running code llama, you could refer to this doc. As for fine tuning code llama, please stay tuned on the future developments! 😁


Remove version: taers232c.GAMADV-XTD3 version 6.80.04

This version is older than what has been set in max-versions-to-keep by the publisher.
Microsoft Reviewers: Open in CodeFlow

URL: https://github.com/taers232c/GAMADV-XTD3/releases/download/v6.80.04/gamadv-xtd3-6.80.04-windows-x86_64.msi
OK
(Automated message - build 913)


fsm resource waste for grapics

After using graphics (even the standard xy-plot) I see a CPU waste in the system:

This persists after closing all fsm instances (empty DDerl window).

Probably false alarm induced by bad timestamp generating hangs in datetime processing, possibly in imem_snap.
Need to check imem_datatype:offset_timestamp and snapshot mechanism for tables with ddTimestamp() as key.


add restriction to not accept email with null value in the entity

some of the changes to be made

[ ] add test to validate non-null email
[ ] create script to add constraint to database

depends on PR https://github.com/fredsonchaves07/movie-catch-api/pull/123  approval


Fix #273 Enable developers to customize the way to handle unmatched requests

This pull request resolves #273 by introducing a new option to enable using @app.error handlers for unmatched requests. The default is set to False, which is fully backward compatible.
If the option is True, Bolt raises a BoltUnhandledRequestError with sufficient information. @app.error handler can customize the behavior for the patterns (e.g., having custom logging, changing HTTP status from 404 to something else).
app = App(
    token=os.environ["SLACK_BOT_TOKEN"],
    signing_secret=os.environ["SLACK_SIGNING_SECRET"],
)

# The default behavior won't be changed at all
response = app.dispatch(request)
assert response.status == 404
assert response.body == '{"error": "unhandled request"}'

app = App(
    token=os.environ["SLACK_BOT_TOKEN"],
    signing_secret=os.environ["SLACK_SIGNING_SECRET"],
    # enable @app.error handler to catch the patterns
    raise_error_for_unhandled_request=True,
)

@app.error
def handle_errors(error):
    if isinstance(error, BoltUnhandledRequestError):
        return BoltResponse(status=503, body="TODO")
    else:
        # other error patterns
        pass

response = app.dispatch(request)
assert response.status == 503
assert response.body == "TODO"

See the added unit tests for verifying the behavior.
Open questions to reviewers

Can we agree to have the new option? Or may we want to introduce new listener name (say, @app.unhandled or @app.unmatched)?
If we go with this option, does the naming raise_error_for_unhandled_request look good to you?

Category (place an x in each of the [ ])

[x] slack_bolt.App and/or its core components
[x] slack_bolt.async_app.AsyncApp and/or its core components
[ ] Adapters in slack_bolt.adapter
[ ] Document pages under /docs
[ ] Others

Requirements (place an x in each [ ])
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.

[x] I've read and understood the Contributing Guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.
[x] I've run ./scripts/install_all_and_run_tests.sh after making the changes.

Open questions to reviewers

Can we agree to have the new option? Or may we want to introduce new listener name (say, @app.unhandled or @app.unmatched)?
If we go with having a flag option, does the naming raise_error_for_unhandled_request look good to you?


nixops fails to build on master

❯ nix-build -A nixops --show-trace
error: while evaluating the attribute 'drvPath' at /path-to-nixpkgs/lib/customisation.nix:163:7:
while evaluating the attribute 'buildInputs' of the derivation 'nixops-1.7' at /path-to-nixpkgs/pkgs/development/interpreters/python/mk-python-derivation.nix:107:3:
while evaluating the attribute 'out.outPath' at /path-to-nixpkgs/lib/customisation.nix:156:13:
while evaluating the attribute 'propagatedBuildInputs' of the derivation 'python2.7-datadog-0.36.0' at /path-to-nixpkgs/pkgs/development/interpreters/python/mk-python-derivation.nix:107:3:
while evaluating 'getOutput' at /path-to-nixpkgs/lib/attrsets.nix:464:23, called from undefined position:
while evaluating anonymous function at /path-to-nixpkgs/pkgs/stdenv/generic/make-derivation.nix:157:17, called from undefined position:
while evaluating 'callPackageWith' at /path-to-nixpkgs/lib/customisation.nix:117:35, called from /path-to-nixpkgs/pkgs/top-level/python-packages.nix:5089:12:
while evaluating 'makeOverridable' at /path-to-nixpkgs/lib/customisation.nix:67:24, called from /path-to-nixpkgs/lib/customisation.nix:121:8:
while evaluating anonymous function at /path-to-nixpkgs/pkgs/development/python-modules/pillow/default.nix:1:1, called from /path-to-nixpkgs/lib/customisation.nix:69:16:
while evaluating 'makeOverridablePythonPackage' at /path-to-nixpkgs/pkgs/top-level/python-packages.nix:31:37, called from /path-to-nixpkgs/pkgs/development/python-modules/pillow/default.nix:9:1:
while evaluating 'makeOverridable' at /path-to-nixpkgs/lib/customisation.nix:67:24, called from /path-to-nixpkgs/pkgs/top-level/python-packages.nix:33:12:
while evaluating anonymous function at /path-to-nixpkgs/pkgs/development/interpreters/python/mk-python-derivation.nix:30:1, called from /path-to-nixpkgs/lib/customisation.nix:69:16:
Pillow-7.1.2 not supported for interpreter python2.7

I assume this derivation simply needs to be updated to use python 3 (and maybe bumped to a new version supporting it)

The new nixos-unstable suffers from this problem too.


Add LF preprocessors

Preprocessors are shared resources that are applied to data points before they are subjected to the logic in labeling functions. The idea is that e.g. multiple LFs want to pass a text examples through SpaCy before executing, so the preprocessor is defined once and passed to all of the LFs.

Examples of custom preprocessors are in the unit tests
A SpaCy-based preprocessor is implemented
The interface for TFs will be similar, so we can abstract out later (e.g. the logic for reconstructing data points with changed fields)
We can later add caching, etc.

Test plan

Added unit tests for preprocessors and everything that implements them upstream (LFs, appliers)

The main idea is that the LFAppliers will set it appropriately. It's rare that a user will call a LabelingFunction in isolation, so likely will never have to set the mode.


Don't have the HD project, weird bug that won't save my game

Validation

[X] Game has been updated to the latest RE4HD release (v1.1: https://www.re4hd.com/?p=9552)
[X] Data has been validated with SFV (a guide to using QuickSFV is available at that link, use that with this 1.1 SFV: BIO4-HDProject1.1-SFV.zip)

Describe your issue here (drag+drop ZIP to attach it)
I don't have RE 4 HD installed, just tweaks. Looks like QuickSFV only checks the HD Project files, so I haven't run it.
Doing a professional run, finally caved and used the trainer to set Ashely's health to maximum (got tired of her poor AI constantly dying and ruining everything), give myself back the yellow herb i'd used on her, and slightly lowered enemy health (since everything felt like a damn bullet sponge).
For some reason, my game will no longer save. Didn't have this issue until a few hours ago. Possible it's been around longer and I didn't notice - but the save I'm using has been fine up until this point, even after using trainer.
I made sure the file wasn't read-only, but even after disabling that and saving again it still wouldn't save. Tried using the save option from the trainer menu and it still wouldn't work.
Edit: The game said "save successful" after each save I did, but file explorer showed the file wasn't modified. Reloaded after saving again and yeah, it didn't save the game.
Not sure if it'll help, but here's the save file just in case:
Save.zip
I assume it applies to the other saves I have, but I haven't checked so I don't know for sure.
Edit 2: Verified the game's files and that didn't fix it. Will try a full reinstall.

Hello, i'm having the exacly same issue, but using HD project btw, after deleting the game and making a fresh install the game are saving correctly, i'll try to install hd project with the old version of re4_tweaks.

I have a problem, after applying the 4 GB patch the game stops saving. It pretends to be saved, but the save is not created. Looks like the 4GB patch breaks something.


added return_fields function, attempting to optionally limit fields r…

…eturned by find. Will solve #568 when completed.

Please add also exclude keyword, it'll be convenient

Are u going to finish it guys?


Link not working

Your provided heroku link of this web application is not working. It is showing "Deceptive site ahead".

Click on details and click on visit the unsafe site.

Alright. It's done, great.


[Accordion] bottom border is missing on last item

Expected Behavior
A bottom border should be displayed on the last item when the accordion is collapsed.
Current Behavior
Right now the border does not display and so it looks wrong.
You can see it on your demo page https://foundation.zurb.com/sites/docs/accordion.html

Possible Solution
remove border-bottom: 0 from .accordion-title
add margin-top: -1px to .accordion-title and .accordion-content
Your Environment

Foundation version(s) used: 6.5.0-rc2

Checklist (all required):

[X] I have read and follow the CONTRIBUTING document.
[X] This is a bug report or a feature request.
[X] There are no other issues similar to this one.
[X] The issue title is descriptive.
[X] The template is fully and correctly filled.

Hi @jmartsch,
Thank you for the issue. border-bottom: 0 should be override on the last element, but I think the selector for that was broke in #11227 (scss/components/_breadcrumbs.scss:102).
Poke @DanielRuf. With the way Sass handles &, it is not always safe to split selectors.

With the way Sass handles &, it is not always safe to split selectors.

I doubt this but I will check it then. Did you already do a git bisect?

It's just the   :last-child   &:not(.is-active) > &, I'll revert this single line.

Hm, was there a reason to remove border-#{$global-left}-width: 0?

With the way Sass handles &, it is not always safe to split selectors. – @ncoden

It's simply the result of having used the & selector wrongly.
By nesting :not in :last-child the scope has been changed and thus the result of the & changed too.
.accordion-title {

  :last-child:not(.is-active) > & {}
  // => :last-child:not(.is-active) > .accordion-title {}

  :last-child {
    &:not(.is-active) > & {}
  }
  // => .accordion-title :last-child:not(.is-active) > .accordion-title :last-child {}
}

But when you revert this I'd recommend to also make the selector more concrete.
Currently it (first) targets all :last-child elems on the page.
I think it would be better to use this instead
.accordion-title {
	.accordion-item:last-child:not(.is-active) > & {}
}

@SassNinja Yes this is the error I had in mind.

Thanks for fixing this so quickly :)

I'm using the latest version of mui and I still have this issue.

I'm using the latest version of mui and I still have this issue.

Hi, not sure if you mean material ui or foundation-sites. These are two totally different frontend frameworks and this repository here is for foundation-sites. Also I see no further mention of mui in this usse here.

Oh I'm extremely sorry. I didn't cross check it, my bad. I'm having this issue with latest mui version. I'll go check their site or git repo. Thank you ..


Add the missing onGeolocationPermissionsShowPrompt

By adding this, developper can use the js native function to get the position of a user.
You will need to set the correct permission like   and then request permissions ActivityCompat.requestPermissions
Voilà.

I think this solution won't work out of the box, on newer Android versions you would need to request the location permission. And the UI for that is going to differ per-app. Here's roughly what we did to make it work without any custom UI.
// WebFragment.kt
class WebFragment : TurboWebFragment() {
    var permissionsCallback: ((Boolean, Boolean) -> Unit)? = null

    val locationPermissionRequest = fragment.registerForActivityResult(
        ActivityResultContracts.RequestMultiplePermissions()
    ) { permissions ->
        when {
            permissions.getOrDefault(Manifest.permission.ACCESS_FINE_LOCATION, false) -> {
                permissionsCallback?.let { it(true, true) }
            }
            permissions.getOrDefault(Manifest.permission.ACCESS_COARSE_LOCATION, false) -> {
                permissionsCallback?.let { it(true, false) }
            }
            else -> {
                permissionsCallback?.let { it(false, false) }
            }
        }
        permissionsCallback = null
    }

    // ...

    override fun createWebChromeClient(): GeolocationPermissionsTurboWebChromeClient {
        return GeolocationPermissionsTurboWebChromeClient(this, session)
    }
}

class GeolocationPermissionsTurboWebChromeClient(
    private val fragment: WebFragment,
    s: TurboSession
) : TurboWebChromeClient(s) {
    override fun onGeolocationPermissionsShowPrompt(
        origin: String?,
        callback: GeolocationPermissions.Callback
    ) {
        if (ContextCompat.checkSelfPermission(
                App.sharedContext!!,
                Manifest.permission.ACCESS_FINE_LOCATION
            ) == PackageManager.PERMISSION_GRANTED
        ) {
            callback.invoke(origin, true, true)
        } else {
            fragment.permissionsCallback = { allow: Boolean, retain: Boolean ->
                callback.invoke(origin, allow, retain)
            }

            fragment.locationPermissionRequest.launch(
                arrayOf(
                    Manifest.permission.ACCESS_FINE_LOCATION,
                    Manifest.permission.ACCESS_COARSE_LOCATION
                )
            )
        }
    }

@ghiculescu, may you would push a PR ?

Let's see what @jayohms thinks.
As I said, I'm not sure this is generic enough that it should be included in the library for everyone.

Okay. How are you extending it in your app without touching the library ?

Using the above code - it just subclasses the library code.

The TurboWebChromeClient is left open so it can be extended in any app-specific ways necessary. @ghiculescu's approach is the one you should take in your app. For example, in the Basecamp apps we override onJsAlert() and onJsConfirm() to display nicer Material dialogs:
WebViewChromeClient.kt
class WebViewChromeClient(session: TurboSession) : TurboWebChromeClient(session) {
    override fun onJsAlert(view: WebView?, url: String?, message: String?, result: JsResult?): Boolean {
        val context = view?.context ?: return false

        MaterialAlertDialogBuilder(context)
            .setMessage(message)
            .setPositiveButton(context.getString(R.string.button_ok)) { dialog, _ ->
                dialog.cancel()
                result?.confirm()
            }
            .setCancelable(false)
            .create()
            .show()

        return true
    }

    override fun onJsConfirm(view: WebView?, url: String?, message: String?, result: JsResult?): Boolean {
        val context = view?.context ?: return false

        MaterialAlertDialogBuilder(context)
            .setMessage(message)
            .setNegativeButton(context.getString(R.string.button_cancel)) { dialog, _ ->
                dialog.cancel()
                result?.cancel()
            }
            .setPositiveButton(context.getString(R.string.button_ok)) { dialog, _ ->
                dialog.cancel()
                result?.confirm()
            }
            .setCancelable(false)
            .create()
            .show()

        return true
    }

WebFragment.kt
class WebFragment : TurboWebFragment() {

    // ...

    override fun createWebChromeClient(): TurboWebChromeClient {
        return WebViewChromeClient(session)
    }
}

The Geolocation permission is too app-specific to be included in the library code and any WebChromeClient features not implemented in the library can be added in your own custom TurboWebChromeClient.
Further, this PR's approach is too simplistic and needs to prompt the user for the proper permission like @ghiculescu outlined.

@ghiculescu, @jayohms, thanks.


feat(core): GitHub and OpenAI integration

Core logic now can collect the commits and the authors
OpenAI is integrated, it means the story can be created easily and posted to the GitHub issue

The core was upgraded to integrate GitHub and OpenAI. It could now collect commits and authors, and use OpenAI to create stories for GitHub issues. To make sure the command could be customized, multiple parameters were added. Finally, JavaDoc and documentation were added to help users understand the usage and customization.
Created by Commit Teller


Support ARM64 build

Should address issue https://github.com/weaveworks/scope/issues/2110

Have you tested this?
Has the situation noted in the comment changed?  (linking to http://stackoverflow.com/questions/31648793/go-programming-cross-compile-for-revel-framework)

@bboreham I will check later today :)

Hi @arnulfojr it would be great to get this merged but I really need to know it actually works on arm64.

Hi guys, I ended up submitting a PR (I don't know if I can push to this PR) on https://github.com/weaveworks/scope/pull/3537 that I built and confirm that works.
I currently run an ARM64 cluster with some SBCs and Scope is working perfectly.

Since #3537 have been merged. I believe this one can be closed.


Persisting state with Nuxt

Everything works great, as soon as I refresh the browser, it calls the method
info: after: authentication - Method: remove
and im logged out.
Method: remove is not specified anywhere in the client part. :bow:
And the strange thing is that the payload is still in my storage.
System configuration
I use nuxt with feathers and feathers vuex
"dependencies": {
    "@feathersjs/authentication": "^2.1.2",
    "@feathersjs/authentication-client": "^1.0.2",
    "@feathersjs/authentication-jwt": "^2.0.0",
    "@feathersjs/authentication-local": "^1.1.0",
    "@feathersjs/client": "^3.4.2",
    "@feathersjs/configuration": "^1.0.2",
    "@feathersjs/errors": "^3.3.0",
    "@feathersjs/express": "^1.2.0",
    "@feathersjs/feathers": "^3.1.3",
    "@feathersjs/socketio": "^3.2.0",
    "@feathersjs/socketio-client": "^1.1.0",
    "body-parser": "^1.18.2",
    "bootstrap-vue": "^2.0.0-rc.1",
    "compression": "^1.7.2",
    "cookie-storage": "^3.1.0",
    "cors": "^2.8.4",
    "feathers-authentication-hooks": "^0.1.7",
    "feathers-authentication-management": "^2.0.0",
    "feathers-hooks": "^2.1.2",
    "feathers-hooks-common": "^4.8.0",
    "feathers-mailer": "^3.0.0",
    "feathers-mongoose": "^6.1.0",
    "feathers-vuex": "^1.1.4",
    "helmet": "^3.11.0",
    "js-cookie": "^2.2.0",
    "mongoose": "^5.0.7",
    "nodemailer-smtp-transport": "^2.7.4",
    "normalize.css": "^8.0.0",
    "nuxt": "^1.3.0",
    "pug": "^2.0.0-rc.4",
    "save": "^2.3.2",
    "serve-favicon": "^2.4.5",
    "socket.io-client": "^2.0.4",
    "uws": "^9.14.0",
    "vue-i18n": "^7.4.2",
    "vuex-persistedstate": "^2.4.2",
    "winston": "^2.4.0"
  },

nuxt.config.js
const {
  resolve
} = require('path');
module.exports = {
  srcDir: resolve(__dirname, 'client'),
  dev: process.env.NODE_ENV !== 'production',
  router: {
    middleware: ['auth', 'i18n']
  },
  build: {
    vendor: [
      '@feathersjs/authentication-client',
      '@feathersjs/client',
      '@feathersjs/socketio-client',
      'feathers-hooks',
      'socket.io-client',
      'cookie-storage',
      'feathers-vuex',
      'js-cookie',
      'vuex-persistedstate',
      'vue-i18n'
    ]
  },
  head: {
    titleTemplate: 'Frontend',
    meta: [{
      charset: 'utf-8'
    }, {
      name: 'viewport',
      content: 'width=device-width, initial-scale=1'
    }, {
      hid: 'description',
      name: 'description',
      content: 'Demo App'
    }, ],
  },
  modules: [
    ['bootstrap-vue/nuxt', {
      css: false
    }],
  ],
  plugins: ['~plugins/i18n.js'],
  css<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>};

store/index.js
import Vuex from 'vuex'
import feathersClient from '@/api'
import feathersVuex, {
  initAuth
} from 'feathers-vuex'
const {
  service,
  auth
} = feathersVuex(feathersClient, {
  idField: '_id'
})
const createStore = () => {
  return new Vuex.Store({
    state: {
      locales: ['en', 'de'],
      locale: 'en'
    },
    actions: {
      nuxtServerInit({
        commit,
        dispatch
      }, {
        req
      }) {
        return initAuth({
          commit,
          dispatch,
          req,
          moduleName: 'auth',
          cookieName: 'feathers-jwt'
        })
      }
    },
    mutations: {
      SET_LANG(state, locale) {
        if (state.locales.indexOf(locale) !== -1) {
          state.locale = locale
        }
      }
    },
    plugins: [
      service('users'),
      service('authManagement'),
      auth({
        state: {
          publicPages: ['account-login', 'account-help', 'account-signup', 'account-verify', 'account-intro', 'account-reset']
        },
        userService: 'users'
      })
    ]
  })
}
export default createStore

api/index.js
import feathers from '@feathersjs/feathers';
import socketio from '@feathersjs/socketio-client';
import auth from '@feathersjs/authentication-client'
import io from 'socket.io-client'
import { CookieStorage } from 'cookie-storage';
//.configure(auth({ storage: feathersStorage }))

const socket = io('', { secure: false, transports: ['websocket', 'polling', 'xhr-polling', 'jsonp-polling'] })

const api = feathers()
  .configure(socketio(socket))
  //.configure(auth({ storage: feathersStorage }))
  .configure(auth({ storage: new CookieStorage() }))

export default api

middleware/auth.js
// If it's a private page and there's no payload, redirect.
export default function (context) {
  const { store, redirect, route, params } = context
  const { auth } = store.state

  // Protected
  if (!auth.publicPages.includes(route.name) && !auth.payload) {
    return redirect('/account/login')
  }
}

The authentication/remove method is called on the server when you call feathersClient.logout().  Does that help any?

You can close this issue. The problem was the Coockie handling via Nuxt on client-side.
https://github.com/feathers-plus/feathers-vuex#authentication-storage-with-nuxt
is not working anymore.
i use persitedstate for this.
import {
  Store
} from 'vuex'
import createPersistedState from 'vuex-persistedstate'
import * as Cookies from 'js-cookie'

export default ({
  store,
  isHMR
}) => {
  // In case of HMR, mutation occurs before nuxReady, so previously saved state
  // gets replaced with original state received from server. So, we've to skip HMR.
  // Also nuxtReady event fires for HMR as well, which results multiple registration of
  // vuex-persistedstate plugin
  if (isHMR) return

  window.onNuxtReady((nuxt) => {
    createPersistedState({
      paths: ['counter', 'auth', 'authManagement']
    })(store) // vuex plugins can be connected to store, even after creation
  })
}

Ah.  Thanks, @tguelcan!  I'll try this out and will probably update the docs to recommend that as the solution for Nuxt.

Is the way @tguelcan suggested still the way to do it? If yes, where is the code shown being executed?

I'm closing this now that we have a full Nuxt example in the docs.  Thanks!

Fixed in<EMAIL_ADDRESS>


defaults.closeIcon HTML doesn't bubble

When using custom close button HTML (see below), Featherlight doesn't bubble up to .featherlight-close to allow the modal to close.
$.featherlight.defaults.closeIcon = ''

Could you please provide a complete example (as requested in the contributing guidelines)

I'm not sure there's more to elaborate. This is the only configuring I've done so far.

Wouldn't that replace the 'x' with an empty span?

.fa and .fa-close are font awesome classes. Identical to the icons (HTML/CSS) here:
http://fortawesome.github.io/Font-Awesome/icons/

Then I'll repeat, would you please provide me with a working example, with the font-awesome resource linked and everything else you might need, so I don't have to guess things like this.
This is especially true for this issue which I don't see how or why it wouldn't work, nor am I sure what you mean by "doesn't bubble up".
In short, when reporting problems (for this project or any other), always make it very simple for the volunteers to reproduce your issue. This is especially easy to do with tools like jsfiddle.

Oh, I see now.
Fixed and released.
Thanks for reporting this


Unable to extract uploader id

Checklist

[ ] I'm reporting a broken site support issue
[ ] I've verified that I'm running youtube-dl version 2021.12.17
[ ] I've checked that all provided URLs are alive and playable in a browser
[ ] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[ ] I've searched the bugtracker for similar bug reports including closed ones
[ ] I've read bugs section in FAQ

Verbose log

PASTE VERBOSE LOG HERE

Description

WRITE DESCRIPTION HERE
it doesnt work, i tried everything
here is the error code
[debug] System config: []
[debug] User config: ['-f', 'mp4', '-f', 'best', '-o', 'C:UsersyogakumiDesktop%(title(s.%(ext)s', '--no-mtime']
[debug] Custom config: []
[debug] Command-line args: ['https://www.youtube.com/watch?v=5axVgHHDBvU', '--verbose']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.22621
[debug] exe versions: none
[debug] Proxy map: {}
[youtube] 5axVgHHDBvU: Downloading webpage
ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\YoutubeDL.py", line 815, in wrapper
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\YoutubeDL.py", line 836, in __extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\common.py", line 534, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\youtube.py", line 1794, in _real_extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpupik7c6w\build\youtube_dl\extractor\common.py", line 1012, in _search_regex
youtube_dl.utils.RegexNotFoundError: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

it doesnt work, i tried everything

Why not try reading #30839 as asked? Then, if you still (wrongly) thought that you needed to report the issue, you should have used the checklist to enlighten yourself.


cleanup

some updates+cleanup/simplification before a rewrite so 1) some quick/obvious improvements can be had and 2) i can have some more clarity

new engineers start out with apple ARM on macos 13+, so i've removed intel support and updated CI to use macos-13
since we have kandji there isn't much point to software_update reminder
simpler+faster homebrew install
better ordering (e.g. xcode goes first so that we have a python3 for sentry-cli installation)
just support zsh, also just use zshrc rather than profile
getsentry installs fine without devservices down
disable ipv6 (IME yarn fails with ipv6 enabled)

this was reduced in scope and split across multiple PRs following feedback


fix(security): the CVE-2022-2421 - upgrade socket.io-parser to >=4.2.1

To completely get rid of all instances of the vulnerable versions,
we also have to upgrade the example application's Angular versions:
Depends on #2229
Fixes #2228
Signed-off-by: Peter Somogyvari<EMAIL_ADDRESS>

Cactus_CI / cactus-cmd-api-server was failing so I have re-run it.


Send emails over api

Hi,
sorry but there is no example and could not find this one. There is an issue like this before, but i think i missed something or it is not possible to do it on free plan ?
       ```
         Campaign cp = new Campaign()
        {
            Recipients = new Recipient() { ListId = mailingListId },
            Type = CampaignType.Regular,
            Id = campaignId,
            //...
            Settings = new Setting()
            {
                //...
                TemplateId = templateId,
                ReplyTo = "somemail",
                FromName = "Tomo testira mailchimp",
                Title = "Testiranje",
                SubjectLine = "Test",

            }
        };

        var campaignResult = await _mailChimpManager.Campaigns.AddOrUpdateAsync(cp);
        _mailChimpManager.Campaigns.SendAsync(campaignResult.Id).Wait();

I got all ids from api and know they are correct.
What i would like to do is send emails to this list of users, and they should get email with this template. Am I missing something?

To be honest, I'm not sure if version 2.x of the API is even supported anymore.
Are you getting an error when you attempt to do this?

well i missed thing that one mail is one campaign so you could not send same campaign again
that would be great to be in documentation, like some tutorial how to send campaign

@mitotomi - you're welcome to add it 😄  I accept pull requests


Code Inspection: npm audit on atomist-update-latest-20190708194523

marked:>=0.3.14 <0.6.2

(warn) Regular Expression Denial of Service Upgrade to version 0.6.2 or later.

marked:0.4.0:

typedoc>marked

[atomist:code-inspection:atomist-update-latest-20190708194523=@atomist/atomist-sdm]

Issue closed because branch atomist-update-latest-20190708194523 was deleted.


e2e CSV metric is preserved failed intermittently

Bug Report
e2e CSV metric is preserved failed intermittently
https://github.com/operator-framework/operator-lifecycle-manager/runs/4548853424?check_suite_focus=true#step:4:11624
Metrics are generated for OLM managed resources Given an OperatorGroup that supports all namespaces when a CSV is created when the OLM pod restarts
  CSV metric is preserved
  /home/runner/work/operator-lifecycle-manager/operator-lifecycle-manager/test/e2e/metrics_e2e_test.go:151

[BeforeEach] Metrics are generated for OLM managed resources
  /home/runner/work/operator-lifecycle-manager/operator-lifecycle-manager/test/e2e/metrics_e2e_test.go:39
[BeforeEach] Given an OperatorGroup that supports all namespaces
  /home/runner/work/operator-lifecycle-manager/operator-lifecycle-manager/test/e2e/metrics_e2e_test.go:46
STEP: using the default OperatorGroup created in BeforeSuite
[BeforeEach] when a CSV is created
  /home/runner/work/operator-lifecycle-manager/operator-lifecycle-manager/test/e2e/metrics_e2e_test.go:126
 ():
Installing (InstallSucceeded): waiting for install components to report healthy
Succeeded (InstallSucceeded): install strategy completed with no errors
[BeforeEach] when the OLM pod restarts
  /home/runner/work/operator-lifecycle-manager/operator-lifecycle-manager/test/e2e/metrics_e2e_test.go:148
[It] CSV metric is preserved
  /home/runner/work/operator-lifecycle-manager/operator-lifecycle-manager/test/e2e/metrics_e2e_test.go:151
querying pod operator-lifecycle-manager/olm-operator-64cbf5d7c6-n5b6b
Retrieving metrics using scheme http
[AfterEach] when a CSV is created
  /home/runner/work/operator-lifecycle-manager/operator-lifecycle-manager/test/e2e/metrics_e2e_test.go:137

• Failure [4.200 seconds]
Metrics are generated for OLM managed resources
/home/runner/work/operator-lifecycle-manager/operator-lifecycle-manager/test/e2e/metrics_e2e_test.go:32
  Given an OperatorGroup that supports all namespaces
  /home/runner/work/operator-lifecycle-manager/operator-lifecycle-manager/test/e2e/metrics_e2e_test.go:45
    when a CSV is created
    /home/runner/work/operator-lifecycle-manager/operator-lifecycle-manager/test/e2e/metrics_e2e_test.go:121
      when the OLM pod restarts
      /home/runner/work/operator-lifecycle-manager/operator-lifecycle-manager/test/e2e/metrics_e2e_test.go:147
	CSV metric is preserved [It]
	/home/runner/work/operator-lifecycle-manager/operator-lifecycle-manager/test/e2e/metrics_e2e_test.go:151

	Expected
            <[]e2e.Metric | len:2, cap:2>: [
                {Family: "csv_count", Labels: nil, Value: 0},
                {
                    Family: "csv_upgrade_count",
                    Labels: nil,
                    Value: 0,
                },
            ]
        to contain element matching
            <*e2e.LikeMetricMatcher | 0xc001a752d8>: {
                Predicates: [
                    {
                        f: 0x2c17960,
                        name: "WithFamily(csv_succeeded)",
                    },
                    {
                        f: 0x2c179e0,
                        name: "WithLabel(name=csv-test-9lf92-stable)",
                    },
                    {f: 0x2c17c20, name: "WithValue(1)"},
                ],
            }

        /home/runner/work/operator-lifecycle-manager/operator-lifecycle-manager/test/e2e/metrics_e2e_test.go:152

        Full Stack Trace
        github.com/operator-framework/operator-lifecycle-manager/test/e2e.glob..func<IP_ADDRESS>.2()
                /home/runner/work/operator-lifecycle-manager/operator-lifecycle-manager/test/e2e/metrics_e2e_test.go:152 +0x311
        github.com/operator-framework/operator-lifecycle-manager/test/e2e.TestEndToEnd(0xc000653080)
                /home/runner/work/operator-lifecycle-manager/operator-lifecycle-manager/test/e2e/e2e_test.go:59 +0x2d6
        testing.tRunner(0xc000653080, 0x3470840)
                /opt/hostedtoolcache/go/1.16.10/x64/src/testing/testing.go:1193 +0xef
        created by testing.(*T).Run
                /opt/hostedtoolcache/go/1.16.10/x64/src/testing/testing.go:1238 +0x2b3

What did you do?
This error can be reproduced more often locally by adding a short delay in cmd/olm/main.go
diff --git a/cmd/olm/main.go b/cmd/olm/main.go
index efb1e00e0..08892a165 100644
--- a/cmd/olm/main.go
+++ b/cmd/olm/main.go
@@ -170,7 +170,7 @@ func main() {

        op.Run(ctx)
        <-op.Ready()
-
+time.Sleep(5*time.Second)
        // Emit CSV metric
        if err = op.EnsureCSVMetric(); err != nil {
		logger.WithError(err).Fatal("error emitting metrics for existing CSV")

What did you expect to see?
No error
What did you see instead? Under which circumstances?
Error above
Environment

operator-lifecycle-manager version: master branch

Kubernetes version information:

Kubernetes cluster kind:

Possible Solution

Additional context
Add any other context about the problem here.

Closing this as a dup of https://github.com/operator-framework/operator-lifecycle-manager/issues/2529 but I'll update your PR to update the issue that was linked. Thanks for opening this (and the corresponding PR) - it's super appreciated.


Prebuilt docker image error

I'm trying to use your prebuilt docker image, but whenever I run it, it just shows help then stops. I also noticed that the init says /bin/goaccess --help
Can you help?

Have you tried running it as indicated here?

I've used another image, and that one works, so I guess I can close this.

I have the same problem here.
I am using Caddy server.
The docker-compose runs but shows only the (commands) help.
docker-compose.yml in folder: goaccess :
version: "3.8"
services:
  goaccess:
    image: allinurl/goaccess
    container_name: goaccess
    restart: unless-stopped
    ports:
      - 7890:7890
    volumes:
      - ./data:/goaccess
      - ~/www/goaccess/index.html:/goaccess/index.html
      - ~/docker/caddy/log/access.log:/goaccess/access.log:ro

in data/goaccess.conf :
log-format CADDY
log-file /goaccess/access.log
output /goaccess/index.html
real-time-html true

create the file
sudo touch ~/www/goaccess/index.html
then start the container but only the help is shown.
If I run
cat~/docker/caddy/log/access.log | docker run --rm -i -e LANG=$LANG allinurl/goaccess -a -o html --log-format CADDY - > report.html
the report.html is successfully being created.
Is something wrong with the paths?
Also I think that you must edit the page https://github.com/allinurl/goaccess/blob/master/DOCKER.md because it mentions that the docker container doesn't use subfolders /srv/{data,html,logs} anymore. But some code examples there, already use /srv/{data,html,logs}
@landcraft what image did you use?

Get the other image I mentioned in my other comment

Get the other image I mentioned in my other comment

@landcraft  I am sorry but I can not find any mention of an image.

Get the other image I mentioned in my other comment

@landcraft  I am sorry but I can not find any mention of an image.

https://github.com/GregYankovoy/docker-goaccess

@landcraft Thank you but this is an old image. It still has version 1.4 of goaccess.
@allinurl Can you please take a look at my issue? Thank you.

You might consider opening another issue, as yours sounds quite different to mine...

@landcraft I have the same problem with you. When I run the docker image, it shows the help and exits.

@allinurl @landcraft @olonsoft I also see the same issue.  Seems the current container is not working.

@samcro1967 Have you tried running it as indicated here?

@allinurl  Apologies.  I should have been more clear, running as described in the readme works fine.  Running it with a goacces.conf instead is not working as I would expect.

@samcro1967 sorry about that. you will need use volumes to inject the files. e.g.,
$ echo 'log-format VCOMBINED' > /home/user/goaccess.conf
$ sudo mkdir /srv
$ sudo cat access.log | docker run -v /home/user/goaccess.conf:/srv/goaccess.conf --rm -i -e LANG=$LANG allinurl/goaccess -a -o html -p /srv/goaccess.conf - > report.html

That seems to work.  If I am understanding the intent of the container then, it is not to have is so that it can auto start, demonize, and continuously run.   Just use something like cron to automate when using the container?

I've seen/heard folks using it both ways, and actually I'd say most of the time it's been daemonized and run in real-time. Here you can find a bit more regarding the original intent.

I didn't have much luck trying to get it working daemonized in the container, but it works fine with cron.  Will circle back to this maybe this weekend.  Would ultimately like it working in the container just if nothing else for easier migration/recovery to another machine in the future.


[Bug] Random viewports show black screen

Describe the Bug
After the 1.43.0 update, specifically due to the vtk.js update to 29.3.0, bugs began to appear.
I have several viewports displayed and some of them have stopped displaying images. As I noticed, in those viewports that do not have an image, there is not a single actor, not even defaultActor. It's possible that this is the problem.
What could be causing this?
Steps to Reproduce

Create several StackViewports.
Add images to it.

The current behavior
Random StackViewports show black screen.
The expected behavior
All StackViewports show images.
OS
Windows 10
Node version
18.18.2
Browser
Chrome 120.0.6099.216

And in CPU rendering all viewports works fine.

How many viewports should I create to reproduce? can you create a minimal example?

I have 8. I will try to create an example.

@sedghi  It depends on the image. I can't upload my image, but this bug due to this commit

After image.getPixelData() some images have type Uint8ClampedArray and them always go to this throwing exception in commit above.

I don't quite understand how image.getPixelData() defines the type. Some images have Int16Array, some Uint8Array and some Float32Array.

Could you kindly provide the data if it has been anonymized and you can confirm that there is no patient health information present in any of the headers or embedded within the pixel data?

Sorry, I wasn't allowed to send image 😢

@Sergey1888888 What happened?

We found out that something was wrong with the processed images


New flat styling of ID cards

Task description
In Flow 7 in Figma a new flat styling for the identity cards can be seen. This is nice-to-have with low priority. Besides being flat, the ID cards now also have coloured edges matching their status a bit.
Important! Please coordinate between between iOS and Android development, so these nice-to-have changes are only done, if there is time to do them on both platforms.
The new styling can also be seen in the screenshots below:

Verified in Testnet MW 2.0.35.
iPhone SE.
iOS 14.8.


rust-lld not found for wasm target

So i installed the wasm toolchain in my devshell like this:
        devShells.default = pkgs.mkShell {
          nativeBuildInputs = with pkgs; [
            rustc
            cargo
            (rust-bin.stable.latest.default.override { targets = [ "wasm32-unknown-unknown" ]; })
          ];
          buildInputs = with pkgs; [ trunk ];
        };

but when compiling my code (wether it is with trunk or by running cargo build with the wasm build flag) i get this error
error: linker `rust-lld` not found
  |
  = note: No such file or directory (os error 2)

error: could not compile `neuland_rs` (bin "neuland_rs") due to 1 previous error

Cannot reproduce. It seems like a configuration issue.

          nativeBuildInputs = with pkgs; [
            rustc
            cargo
            (rust-bin.stable.latest.default.override { targets = [ "wasm32-unknown-unknown" ]; })
          ];

You install pkgs.rustc and pkgs.cargo from nixpkgs on top of rust-bin's rustc and cargo and overriding it. That would not work. Please do:

          nativeBuildInputs = with pkgs; [
            (rust-bin.stable.latest.default.override { targets = [ "wasm32-unknown-unknown" ]; })
          ];

Oh, those were leftovers from a previous version of the flake when I  didnt install the toolchain with the override. didnt realize it installed cargo and rustc for me


perf: Networkreader nonalloc

WORK IN PROGRESS
Benchmark:
using UnityEngine;
using Mirror;
using UnityEditor;

public class Test : MonoBehaviour
{
    // Start is called before the first frame update
    void Start()
    {
        // get some bytes from transport
        byte[] bytes = new byte[100 * 1024];

        // throw into some readers
        for (int i = 0; i < 1000; ++i)
        {
            NetworkReader reader = new NetworkReader(bytes);
        }
    }
}

before:

after:

TODO

fix failing tests because string binary compatibility changed
some optimizations / avoid BitConverter / etc.
what about ArraySegment constructor? can we assume that underlying array can be used over time?

We can definitely use the passed arraysegment  instead of copying it.
MemoryStream which we were using before did not copy the buffer,  we are already using NetworkReader in a safe way.  We do not modify the buffer content while we have a NetworkReader reading from it.

works in uMMORPG.
any objects @paulpach ?

I don't like this PR, we should have a fully custom NetworkWriter/Reader completly free of BinaryWriters/Readers.

renamed PR for semver

:tada: This PR is included in version 3.10.8 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


feat: add gas reporting ape-48

What I did

fixes: #13
related to #ape350
Adds a gas report object to help lift gas costs to a higher level structure for gas reporting.
GasReport = Dict[Address, Dict[Calldata, List[GasUsage]]]
How I did it
How to verify it
Checklist

[ ] Passes all linting checks (pre-commit and CI jobs)
[ ] New test cases have been added and are passing
[ ] Documentation has been updated
[ ] PR title follows Conventional Commit standard (will be automatically included in the changelog)

Thank you, this is a good start! We are rolling.
I would like to see some additions to the README about gas reports in this library.

Yes! I should have put this up as a draft. I wanted to get your input on it before building too much out in potentially in the wrong direction.


Add AsciiDots

This is all a massive AsciiDots comment. The actual code is the .-($_"a"_$)-. What this does:
. `` Create a dot
- `` Move it horizontally
( `` If hit from the right ( <--, then bounce other way ( -->
$_ `` Print with no newline
"a" `` Print a
_$ `` For other direction
) `` If hit from the left --> ), then bounce other way <--- )
- `` Required terminator if the loop dies for some reason

pls preserve my name kthx bye

Note that this does have a slight delay -- there is no sleeping in AsciiDots, there's only the delay between ticks.


Local battles

I don't know if it's a good idea, but how about local battles mode like in classic turn-based strategy games?
This game seems to fit well for such mode.
P.S. Merry Christmas!

What do you mean by this? I'm interested but I'm not exactly sure what you mean by local battle mode

In battle screen you can see both skills of the opponent and yours. When you skip your turn, you'd be able to use skills as your opponent with 2nd player chakra. Basically this allows to do local battles with friends from 1 tab, instead of having 2 tabs opened in 2 different browsers. Kind of private battle.


⚠ Bofrost.fr has degraded performance

In 5625a26, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 836 ms

Resolved: Bofrost.fr performance has improved in f62df96 after 6 minutes.


Maximum Shred

Provide a way to automatically ban / delete a new-ish account and remove all associated posts / topics based on keywords.  The simple fact is that "Maximum Shred" is only ever going to be posted by a spammer.

I think this has been addressed by the latest code update

Yes.  Thank you.


02-load-data-with-power-query-in-power-bi-desktop.md

English:
Unit Price
Current Translation:
單價
Suggested Translation:
Unit Price
Description:
The name of column should be English. Global check

Hello contributor,
Thank you for your contribution! We are processing your suggestions and we will update you shortly.
Kind regards,
Microsoft Worldwide Learning Team

Run bugfix tool and waiting for result.


Forbid users to change their display name

As username will contain sensitive information (about profession) we don't want users to be able to modify it.
Apparently, there's a similar feature implemented in Tchap.

Hey team! Please add your planning poker estimate with Zenhub @JDixmier @heroinedor

A simple Synapse config : https://element-hq.github.io/synapse/latest/usage/configuration/config_documentation.html#enable_set_displayname

Done : https://github.com/eimis-ans/eimis-synapse/pull/453


Add new feature: onbeforeprint and onafterprint

26th on the feature suggestion list.
Testcase: https://jsfiddle.net/obtx118a/6/
IE support: https://www.w3.org/wiki/List_of_events
Firefox support: https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onbeforeprint#Browser_compatibility
Chrome support: https://bugs.chromium.org/p/chromium/issues/detail?id=218205
Safari support: https://bugs.webkit.org/show_bug.cgi?id=19937
Opera 12/FF Android support: only tested manually

Nice work, thanks!


Dashboard ODH / RHODS Consolidation

The dashboard code in ODH is out of sync with the code in red-hat-data-services.  The code from red-hat-data-services should be backport to a new branch called main on opendatahub-io.  When doing this we should allow features to be enabled / disabled using a config map called odh-dashboard-config.
Tasks:

[x] #195
[x] #189
[x] #43
[ ] #190
[ ] #191
[x] #193
[x] #194
[ ] #191
[x] #35
[ ] All PRs signed off / approved and merged
[ ] Perform Regression testing on new main branch.

Pull Requests: #211 Covers 189, 43, 191, 193, 194, 191, & 35

@LaVLaS Is this something we can work to close off? Is RHODS aligned with the effort yet?

All of the tasks have been completed for this backport.


Import dashboard/assets with overwrite flag does not replace dashboards

When importing a dashboard via /api/v1/dashboard/import/ with the ovewrite flag set to true, the charts within the dashboard are merged with existing charts. I would expect if passing the overwrite flag that whatever you upload would replace the existing dashboard. This is useful for a version control where you want the .yml in the repository to exactly reflect what is in the superset database. This is also the same for the /api/v1/assets/import/ API although this doesn't take an overwrite parameter.
How to reproduce the bug

Export dashboard with chartA and chartB
Unzip exported file
Edit yml to remove /charts/chartB.yml and remove references to it in /dashboards/dashboard.yml
Zip up files and upload with overwrite flag
Dashboard is updated but still contains both charts

Expected results
Expect that dashboards should be replaced when imported and the overwrite flag is passed.
Actual results
Imported dashboards seem to be merged with what is already in the database.
Screenshots
N/A
Environment
(please complete the following information):

browser type and version: firefox 106.0.5 but this is also the behaviour in the api
superset version: 2.0.1rc2
python version: 3.9.7
node.js version: 16.14.2
any feature flags active:

Checklist
Make sure to follow these steps before submitting your issue - thank you!

[ ] I have checked the superset logs for python stacktraces and included it here as text if there are any.
[ ] I have reproduced the issue with at least the latest released version of superset.
[ ] I have checked the issue tracker for the same issue and I haven't found one similar.

Additional context
Slack discussion: https://apache-superset.slack.com/archives/C015WAZL0KH/p1667918679617939

I'm running into this as well (superset 2.0.0) by using the import / export feature from the UI.
The example given by @cleslie is about removing a chart, but the same things happens for updates :

Export Dashboard through the UI with chartA, datasetA
Modify dashboard, chartA, datasetA
Import back dashboard file obtained in step 1, OVERWRITE is specified in the UI
Dashboard configuration is rolled back, chartA and datasetA are left in their state after (2)

Manually extracting datasets / charts from the archive, and importing them through the dedicated dataset / chart import tools applies updates as expected
I would add it may be interesting to give the user a chance to select what actually gets updated. For my specific use case I would like charts / datasets to be updated as dependencies of the dashboard, but I need databases to remain untouched (dashboards are moved between staging / production environements which use different source databases)

any solution for this issue.

Still have this issue
Will the above PR be reviewed anytime soon?

https://github.com/apache/superset/pull/23489 aims to fix this, but needs a rebase, a PR description, and some reviews. If anyone wants to review that code, test the solution, or open a rebased PR based on it, please go for it! Thanks in advance :D
CC @betodealmeida for awareness of import/export issues, as usual :D

Anyone still facing this? Tempted to close it as stale, but it's probably still an issue. Anyone who wants to open a PR here (including @Naveench131) would be appreciated :)

Yeah this is still an issue. The workaround that we've been doing on our end is to export as dashboards, change the type in the metadata file from Dashboard to assets, and then just use the assets API to import, though that obviously isn't ideal. I had a PR over in https://github.com/apache/superset/pull/25102 but it's a year old and I'm not certain that fix still works. I'll see if I get some time this or next week to fix it up.


As a user I would like to query the Watcher API endpoint /status.get and get the minimum exit period

Closing this one. You can just query the contracts directly.


Revert change pull_request_target event to pull_request

All Submissions:

[x] Have you signed our CLA?
[ ] Put closes #XXXX in your comment to auto-close the issue that your PR fixes (if there is one).
[ ] Update docs/release-notes/release-notes.md if your changes should be included in the release notes for the next release.

Still need to merge this, reopening ...


Comments updated

Comment added about modifying the supervisord configuration. See https://github.com/tomav/docker-mailserver/issues/1608

weird quota test fails. Can you re-push to re-trigger the build?


Installation error in sampy.py through pip

I was trying to install Vaex through pip (9.0.1). After installing all the requirements an error occurred in sampy installation.
Although its not a Vaex issue i couldn't find the sampy package to try to fix or raise an issue, so i attended here.

Collecting sampy>=1.2 (from vaex)
Downloading sampy-1.2.1.tar.gz (63kB)
100% |████████████████████████████████| 71kB 176kB/s
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-build-LgDLkG/sampy/setup.py", line 3, in
import sampy
File "sampy.py", line 914, in
class HTTPSConnection(httplib.HTTPConnection):
File "sampy.py", line 921, in HTTPSConnection
ssl_version=ssl.PROTOCOL_SSLv3, strict=None):
AttributeError: 'module' object has no attribute 'PROTOCOL_SSLv3'

I updated urllib3 (1.22), requests (2.6.0), pip (9.0.1) etc packages as mentioned in other sources.

Hi,
I think it should work when you install the latest beta using the --pre flag:
$ pip install --pre vaex

sampy is now part of astropy.

That solved it,
Thank you :)

Great!

worked for me too! Thanks.

👍


Error occurred while installing GRPCIO from pip

What version of gRPC and what language are you using?
GRPC 1.46.5 Python 3.9.6
What operating system (Linux, Windows,...) and version?
macOS 13.2 (22D49) Darwin 22.3.0
What runtime / compiler are you using (e.g. python version or version of gcc)
pip install grpcio==1.46.5
What did you do?
I ran
export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1
export GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1
pip install grpcio==1.46.5

What did you expect to see?
A successful install of python GRPCIO.
What did you see instead?
An install failure.
197 warnings generated.
      Traceback (most recent call last):
        File "~/.pyenv/versions/3.9.6/lib/python3.9/distutils/unixccompiler.py", line 117, in _compile
          self.spawn(compiler_so + cc_args + [src, '-o', obj] +
        File "/private/var/folders/9v/9qt7skcj3mzfphb9kktj1qch0000gn/T/pip-install-3zcltr9t/grpcio_eed4b56f95c74658a42546a7ed720a1c/src/python/grpcio/_spawn_patch.py", line 54, in _commandfile_spawn
          _classic_spawn(self, command)
        File "~/.pyenv/versions/3.9.6/lib/python3.9/distutils/ccompiler.py", line 910, in spawn
          spawn(cmd, dry_run=self.dry_run)
        File "~/.pyenv/versions/3.9.6/lib/python3.9/distutils/spawn.py", line 91, in spawn
          raise DistutilsExecError(
      distutils.errors.DistutilsExecError: command '/usr/bin/clang' failed with exit code 1

      During handling of the above exception, another exception occurred:

      Traceback (most recent call last):
        File "/private/var/folders/9v/9qt7skcj3mzfphb9kktj1qch0000gn/T/pip-install-3zcltr9t/grpcio_eed4b56f95c74658a42546a7ed720a1c/src/python/grpcio/commands.py", line 280, in build_extensions
          build_ext.build_ext.build_extensions(self)
        File "~/.pyenv/versions/3.9.6/lib/python3.9/site-packages/Cython/Distutils/old_build_ext.py", line 195, in build_extensions
          _build_ext.build_ext.build_extensions(self)
        File "~/.pyenv/versions/3.9.6/lib/python3.9/distutils/command/build_ext.py", line 449, in build_extensions
          self._build_extensions_serial()
        File "~/.pyenv/versions/3.9.6/lib/python3.9/distutils/command/build_ext.py", line 474, in _build_extensions_serial
          self.build_extension(ext)
        File "~/.pyenv/versions/3.9.6/lib/python3.9/site-packages/setuptools/command/build_ext.py", line 196, in build_extension
          _build_ext.build_extension(self, ext)
        File "~/.pyenv/versions/3.9.6/lib/python3.9/distutils/command/build_ext.py", line 529, in build_extension
          objects = self.compiler.compile(sources,
        File "/private/var/folders/9v/9qt7skcj3mzfphb9kktj1qch0000gn/T/pip-install-3zcltr9t/grpcio_eed4b56f95c74658a42546a7ed720a1c/src/python/grpcio/_parallel_compile_patch.py", line 58, in _parallel_compile
          multiprocessing.pool.ThreadPool(BUILD_EXT_COMPILER_JOBS).map(
        File "~/.pyenv/versions/3.9.6/lib/python3.9/multiprocessing/pool.py", line 364, in map
          return self._map_async(func, iterable, mapstar, chunksize).get()
        File "~/.pyenv/versions/3.9.6/lib/python3.9/multiprocessing/pool.py", line 771, in get
          raise self._value
        File "~/.pyenv/versions/3.9.6/lib/python3.9/multiprocessing/pool.py", line 125, in worker
          result = (True, func(*args, **kwds))
        File "~/.pyenv/versions/3.9.6/lib/python3.9/multiprocessing/pool.py", line 48, in mapstar
          return list(map(*args))
        File "/private/var/folders/9v/9qt7skcj3mzfphb9kktj1qch0000gn/T/pip-install-3zcltr9t/grpcio_eed4b56f95c74658a42546a7ed720a1c/src/python/grpcio/_parallel_compile_patch.py", line 54, in _compile_single_file
          self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
        File "/private/var/folders/9v/9qt7skcj3mzfphb9kktj1qch0000gn/T/pip-install-3zcltr9t/grpcio_eed4b56f95c74658a42546a7ed720a1c/src/python/grpcio/commands.py", line 263, in new_compile
          return old_compile(obj, src, ext, cc_args, extra_postargs,
        File "~/.pyenv/versions/3.9.6/lib/python3.9/distutils/unixccompiler.py", line 120, in _compile
          raise CompileError(msg)
      distutils.errors.CompileError: command '/usr/bin/clang' failed with exit code 1

      During handling of the above exception, another exception occurred:

      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/private/var/folders/9v/9qt7skcj3mzfphb9kktj1qch0000gn/T/pip-install-3zcltr9t/grpcio_eed4b56f95c74658a42546a7ed720a1c/setup.py", line 527, in <module>
          setuptools.setup(
        File "~/.pyenv/versions/3.9.6/lib/python3.9/site-packages/setuptools/__init__.py", line 153, in setup
          return distutils.core.setup(**attrs)
        File "~/.pyenv/versions/3.9.6/lib/python3.9/distutils/core.py", line 148, in setup
          dist.run_commands()
        File "~/.pyenv/versions/3.9.6/lib/python3.9/distutils/dist.py", line 966, in run_commands
          self.run_command(cmd)
        File "~/.pyenv/versions/3.9.6/lib/python3.9/distutils/dist.py", line 985, in run_command
          cmd_obj.run()
        File "~/.pyenv/versions/3.9.6/lib/python3.9/site-packages/wheel/bdist_wheel.py", line 299, in run
          self.run_command('build')
        File "~/.pyenv/versions/3.9.6/lib/python3.9/distutils/cmd.py", line 313, in run_command
          self.distribution.run_command(command)
        File "~/.pyenv/versions/3.9.6/lib/python3.9/distutils/dist.py", line 985, in run_command
          cmd_obj.run()
        File "~/.pyenv/versions/3.9.6/lib/python3.9/distutils/command/build.py", line 135, in run
          self.run_command(cmd_name)
        File "~/.pyenv/versions/3.9.6/lib/python3.9/distutils/cmd.py", line 313, in run_command
          self.distribution.run_command(command)
        File "~/.pyenv/versions/3.9.6/lib/python3.9/distutils/dist.py", line 985, in run_command
          cmd_obj.run()
        File "~/.pyenv/versions/3.9.6/lib/python3.9/site-packages/setuptools/command/build_ext.py", line 79, in run
          _build_ext.run(self)
        File "~/.pyenv/versions/3.9.6/lib/python3.9/site-packages/Cython/Distutils/old_build_ext.py", line 186, in run
          _build_ext.build_ext.run(self)
        File "~/.pyenv/versions/3.9.6/lib/python3.9/distutils/command/build_ext.py", line 340, in run
          self.build_extensions()
        File "/private/var/folders/9v/9qt7skcj3mzfphb9kktj1qch0000gn/T/pip-install-3zcltr9t/grpcio_eed4b56f95c74658a42546a7ed720a1c/src/python/grpcio/commands.py", line 284, in build_extensions
          raise CommandError(
      commands.CommandError: Failed `build_ext` step:
      Traceback (most recent call last):
        File "~/.pyenv/versions/3.9.6/lib/python3.9/distutils/unixccompiler.py", line 117, in _compile
          self.spawn(compiler_so + cc_args + [src, '-o', obj] +
        File "/private/var/folders/9v/9qt7skcj3mzfphb9kktj1qch0000gn/T/pip-install-3zcltr9t/grpcio_eed4b56f95c74658a42546a7ed720a1c/src/python/grpcio/_spawn_patch.py", line 54, in _commandfile_spawn
          _classic_spawn(self, command)
        File "~/.pyenv/versions/3.9.6/lib/python3.9/distutils/ccompiler.py", line 910, in spawn
          spawn(cmd, dry_run=self.dry_run)
        File "~/.pyenv/versions/3.9.6/lib/python3.9/distutils/spawn.py", line 91, in spawn
          raise DistutilsExecError(
      distutils.errors.DistutilsExecError: command '/usr/bin/clang' failed with exit code 1

      During handling of the above exception, another exception occurred:

      Traceback (most recent call last):
        File "/private/var/folders/9v/9qt7skcj3mzfphb9kktj1qch0000gn/T/pip-install-3zcltr9t/grpcio_eed4b56f95c74658a42546a7ed720a1c/src/python/grpcio/commands.py", line 280, in build_extensions
          build_ext.build_ext.build_extensions(self)
        File "~/.pyenv/versions/3.9.6/lib/python3.9/site-packages/Cython/Distutils/old_build_ext.py", line 195, in build_extensions
          _build_ext.build_ext.build_extensions(self)
        File "~/.pyenv/versions/3.9.6/lib/python3.9/distutils/command/build_ext.py", line 449, in build_extensions
          self._build_extensions_serial()
        File "~/.pyenv/versions/3.9.6/lib/python3.9/distutils/command/build_ext.py", line 474, in _build_extensions_serial
          self.build_extension(ext)
        File "~/.pyenv/versions/3.9.6/lib/python3.9/site-packages/setuptools/command/build_ext.py", line 196, in build_extension
          _build_ext.build_extension(self, ext)
        File "~/.pyenv/versions/3.9.6/lib/python3.9/distutils/command/build_ext.py", line 529, in build_extension
          objects = self.compiler.compile(sources,
        File "/private/var/folders/9v/9qt7skcj3mzfphb9kktj1qch0000gn/T/pip-install-3zcltr9t/grpcio_eed4b56f95c74658a42546a7ed720a1c/src/python/grpcio/_parallel_compile_patch.py", line 58, in _parallel_compile
          multiprocessing.pool.ThreadPool(BUILD_EXT_COMPILER_JOBS).map(
        File "~/.pyenv/versions/3.9.6/lib/python3.9/multiprocessing/pool.py", line 364, in map
          return self._map_async(func, iterable, mapstar, chunksize).get()
        File "~/.pyenv/versions/3.9.6/lib/python3.9/multiprocessing/pool.py", line 771, in get
          raise self._value
        File "~/.pyenv/versions/3.9.6/lib/python3.9/multiprocessing/pool.py", line 125, in worker
          result = (True, func(*args, **kwds))
        File "~/.pyenv/versions/3.9.6/lib/python3.9/multiprocessing/pool.py", line 48, in mapstar
          return list(map(*args))
        File "/private/var/folders/9v/9qt7skcj3mzfphb9kktj1qch0000gn/T/pip-install-3zcltr9t/grpcio_eed4b56f95c74658a42546a7ed720a1c/src/python/grpcio/_parallel_compile_patch.py", line 54, in _compile_single_file
          self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
        File "/private/var/folders/9v/9qt7skcj3mzfphb9kktj1qch0000gn/T/pip-install-3zcltr9t/grpcio_eed4b56f95c74658a42546a7ed720a1c/src/python/grpcio/commands.py", line 263, in new_compile
          return old_compile(obj, src, ext, cc_args, extra_postargs,
        File "~/.pyenv/versions/3.9.6/lib/python3.9/distutils/unixccompiler.py", line 120, in _compile
          raise CompileError(msg)
      distutils.errors.CompileError: command '/usr/bin/clang' failed with exit code 1

      [end of output]

Make sure you include information that can help us debug (full error message, exception listing, stack trace, logs).
See TROUBLESHOOTING.md for how to diagnose problems better.
Anything else we should know about your project / environment?

Hi, because of our parallel build process, the actual error maybe not near the end of stack trace and it's not included in the logs you paste, can you help add the full log here so we can debug further?

Also created a issue which can help us get logs: https://github.com/grpc/grpc/issues/32409#event-8530696312

@XuanWang-Amos The log is literally 70000 lines, and 122 MB.

 Including just the lines that include the string "error:" and not the few lines following it strips some of the information. (If you're using grep, maybe consider adding -A 15?), but we can glean some things from these logs.
 /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:642:26: error: no template named 'numeric_limits'

It looks like even your standard library is causing compile errors. This seems like a pretty fundamental error.  Maybe try reinstalling XCode?

Thanks for the suggestion to cleanup my environment.
I resolved it by uninstalling then reinstalling python 3.9.6 using pyenv.


crash on selecting image taken by front camera

I got this error when i select image captured by front camera.
let myImage = Toucan.init(image: images[0]).image
This is the error message:
UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful.
Dec 27 22:56:42  mask It[469] <Error>: CGBitmapContextCreate: invalid data bytes/row: should be at least 1920 for 8 integer bits/component, 3 components, kCGImageAlphaNoneSkipFirst.
fatal error: unexpectedly found nil while unwrapping an Optional value

Closing this old issue (looks like a problem with the image retrieval before calling toucan). Let me know if it's still an issue.

Hi @gavinbunney, I just got the same error. Any help?


Process exit with orphan rings when spawning multiple processes

Hello!
I am using the QAT driver (qat1.7.l.4.2.0-00012), and I am using QAT_Engine through OpenSSL, ultimately called by Nginx.
I occurred the problem " Process exit with orphan rings when spawning multiple processes", the following messages was showed by dmesg.
Jul 13 18:12:58 UPYUN_SSD kernel: dh895xcc 0000:03:00.0: Process 26515 nginx exit with orphan rings
Jul 13 18:12:58 UPYUN_SSD kernel: dh895xcc 0000:03:00.0: Process 26517 nginx exit with orphan rings
Jul 13 18:12:59 UPYUN_SSD kernel: dh895xcc 0000:03:00.0: Process 26518 nginx exit with orphan rings
Jul 13 18:12:59 UPYUN_SSD kernel: dh895xcc 0000:03:00.0: Process 26521 nginx exit with orphan rings
Jul 13 18:12:59 UPYUN_SSD kernel: dh895xcc 0000:03:00.0: Process 26520 nginx exit with orphan rings
Jul 13 18:12:59 UPYUN_SSD kernel: dh895xcc 0000:03:00.0: Process 26516 nginx exit with orphan rings
Jul 13 18:12:59 UPYUN_SSD kernel: dh895xcc 0000:03:00.0: Process 26514 nginx exit with orphan rings
Jul 13 18:12:59 UPYUN_SSD kernel: dh895xcc 0000:03:00.0: Process 26519 nginx exit with orphan rings
Jul 13 18:13:18 UPYUN_SSD kernel: dh895xcc 0000:03:00.0: Process 26568 nginx exit with orphan rings

The Nginx is configured to 8 workers, there are also some messages in error.log:
[error] SalCtrl_GetEnabledServices() - : Failed to get enabled services from ADF
[error] SalCtrl_ServiceEventHandler() - : Failed to get enabled services

I found this issue was recorded in this document: https://01.org/sites/default/files/downloads/intelr-quickassist-technology/336211qatrelnotespublicrev001.pdf . The description is:
 If multiple processes start a user space service access layer (icp_sal_userStart) and they
all exit together, the syslog may show a message "Process <PID> <NAME> exit with
orphan rings"

In order to prevent all the workers exit together, I tried to postpone the each worker's exit() calling by making each worker sleeps for a random time, but it seems useless.
Since the document is released in July 2017, Is there any new scheme that we can fix this issue?

It seems that the issue is caused by the permission. After changing the nginx worker process user to root, this problem was disappear.


Lab-02L01, AADDS, settings for host pool deployment

Module: 2
Lab: 02L01, Create and configure host pools and session hosts (Azure AD DS)
Exercise: 1, Task: 2
Step: 3
Please add the following settings for VM:
Availability options: No infrastructure redundancy required
Virtual Machine Administrator account, username, password/confirm password

updated


Typings

Added typings.

@sirajalam049 sorry, I don't use TypeScript so I can't accept code that I can't support

@NewOldMax , these days many people using typescript, so they need the typings for the JS packages available. Now just like you, there are many people who don't write TS, but at least we can do is provide the typings for their packages, so that TS users can also use the JS written code in their project.

Some community maintains https://www.npmjs.com/package/@types/react-material-ui-form-validator
for my other package, so you can do it as well


OpenAI Security Check Required

Describe the bug
问题描述
A clear and concise description of what the bug is.
In safari, when using the web GPT mode it always show
OpenAI Security Check Required
Please open https://chat.openai.com/api/auth/session
And refresh this page or type you question again

Consider creating an api key at https://platform.openai.com/account/api-keys

To Reproduce
如何复现
Steps to reproduce the behavior:
using the ChatGPT(web)
Expected behavior
期望行为
A clear and concise description of what you expected to happen.
fix this bug? if this is a bug.
Screenshots
截图说明
If applicable, add screenshots to help explain your problem.

Please complete the following information):
请补全以下内容

OS: macOS 13.2.1
Browser: safari 16.3
Extension Version: v2.1.3

Additional context
其他
Add any other context about the problem here.

Yes, I enabled it and opened that website

very strange, parsing JSON successfully implies that it should be complete, and I cannot reproduce this issue on my Mac

Oh, your error is OpenAI Security Check Required, so the token has been used correctly, it just didn't pass the Cloudflare check.

Well, I didn't get your idea? Does this have any solution?

I think it may be necessary to provide the complete cookie. Some accounts can only be validated with complete cookie not just a token. I'll try to switch to using cookie validation in some future version

Well, it's ok. Thanks for your time.

I have an API key. How do I use that with this plugin?

I have an API key. How do I use that with this plugin?

Choose API mode as chatgpt 3.5 or 4. Then type your key in the right input box

try v2.2.1

I'm using v2.2.3, and I still have the same issue.
There is an open tab (https://chat.openai.com/chat) & pinned - still nothing.
Browser - Brave (Chromium) v1.50.114, most recent version

@DrorDvash Disable "Prevent sites from fingerprinting me based on my language preferences" in brave://settings/shields

@DrorDvash Disable "Prevent sites from fingerprinting me based on my language preferences" in brave://settings/shields

Unfortunately, it still doesn't work.

try this, it comes from https://github.com/transitive-bullshit/chatgpt-api#reverse-proxy

v2.3.0 should fix the problem
v2.3.0 应该已经完全解决此问题

v2.3.1 现在已经有前台模式(按照提示跳转官网会自动使用), 应该有比较顺畅的用户体验
v2.3.1 Users should now have a relatively smooth experience


issue #720 - 3.4.0 RC2 "Need an account" link error

Missing single quote closing data-link attribute
Had to change the template as well as ALL of the locales and xliff files.

This pull request is now managed with CodeReviewHub. Refresh.

Closes #720


SQ-48/Create bottom bar

This PR removes everything NavigationDrawer related and add a BottomNavigationView. The ScheduleActivity has been incorporated into the ScheduleView

Let me close and reopen, GH is missing that Travis completed the build


Remove underscores from event parameters.

Fixes #1175

x ] 📘 I've reviewed the OpenZeppelin Contributor Guidelines
[x] ✅ I've added tests where applicable to test my new functionality.
[x] 📖 I've made sure that my contracts are well-documented.
[x] 🎨 I've run the JS/Solidity linters and fixed any issues (npm run lint:all:fix).

I only now read the issue, my bad! If @frangio has no issue in removing those then I also don't. We may want to add a comment though in the code style document though, explaining what we're doing.

@nventuro there is a comment on CODE_STYLE.md about this. Do you mean something other than that?

I meant about the fact that we're renaming properties from standard specifications.

@nventuro I've added an extra comment on CODE_STYLE. How does it look?

Thanks!


Update bitcoin rpc auth

bitcoin: update rpc authentication
The rpcuser/rpcpassword method to authenticate RPC requests is
outdated. This commit explains how to switch to the rpcauth
method using a hashed password. Bitcoin Core will now also
create an authentication cookie, that can be used by other
serivces like ELectrs.
electrs: update authentication method
Together with the update of Bitcoin Core RPC authentication, this
commit removes the RPC user/password authentication and uses the
Bitcoin Core cookie authentication instead.

I also added<EMAIL_ADDRESS>to bitcoin.conf, otherwise Electrs runs into issues when syncing.


Suggestion: Add dynare keyword to repo tags

Hi,
I noticed a frustrating fact that this excellent toolkit is not found on the first page when googling "dynare Julia". Wondering if you consider adding a "dynare" tag to those on the repo front page, or some more dynare related descriptions?
Happy new year btw!

happy new year!
thank you for the feedback and I am glad to hear the package is useful to you.
I have to think about your suggestion.


Support for NTLM authentication

Needed to support numerous login providers:
https://www.electronjs.org/docs/api/session#sesallowntlmcredentialsfordomainsdomains
session.defaultSession.allowNTLMCredentialsForDomains('*')

thanks for the report and info. I've created a ticket


Support for sass

I'm using the rails bootstrap gem (https://github.com/twbs/bootstrap-rubygem), which requires scss for it's stylesheets. I'm having trouble importing rails_bootstrap_forms in my application.scss, I'm getting the error message "File to import not found or unreadable: rails_bootstrap_forms". Is scss supported with this gem, or are there plans to integrate that?

Yes, SCSS is absolutely supported. Are you sure you added the gem to your Gemfile and ran bundle install?
This works for me:
Gemfile
gem "bootstrap-sass", "~> 3.2"
gem "bootstrap_form", "~> 2.7"

app/stylesheets/application.scss
@import "bootstrap";
@import "rails_bootstrap_forms";

Unfortunately, I'm still getting that error message. My Gemfile has:
gem 'bootstrap', git: 'https://github.com/twbs/bootstrap-rubygem'
gem 'bootstrap-sass', '~> 3.2'
gem 'bootstrap_form', '~> 2.7'

And my application.scss has:
@import 'bootstrap';
@import 'rails_bootstrap_forms';

My form tag starts like this:
<%= bootstrap_form_for(@listing) do |f| %>

I'm using Rails 5.1.2, if that makes a difference

Thanks for the additional info. As an aside: Why do you have both bootstrap and bootstrap-sass gems? Doesn't that mean you are requiring two versions of Bootstrap (v3 and v4)? That's probably not related to the rails_bootstrap_forms issue, but it seems like it would cause problems.
Anyway, have you tried stopping Spring and then rebooting your Rails app?
$ bin/spring stop

I added the bootstrap-sass gem after your comment, that wasn't there before. With or without that gem, I got the same result. I will try stopping Spring and rebooting when I hop back on, thank you for the advice.

If you are aiming for Bootstrap v4, then you should use this branch:
gem "bootstrap_form ", github: "bootstrap-ruby/rails-bootstrap-forms" , branch: "bootstrap-v4"

That solved it, thank you.


drop_dimension takes a dimension parameter instead of name

The drop_dimension process has a parameter called name and not a dimension:
https://github.com/Open-EO/openeo-processes-dask/blob/b8c3c9f33d009ba3f4d5c3a8fbbd71bd00e79361/openeo_processes_dask/process_implementations/cubes/general.py#L10
https://processes.openeo.org/#drop_dimension
I am also not sure why drop_dimension takes the dimension name as the name parameter instead of dimension by the way.
@m-mohr what do you think about this? Do you remember why the parameter is not called in the same way as in reduce_dimension?

Whenever the main purpose of the process is to only work on the dimension itself without alterin the data (add, remove, rename, ...) it is name as "dimension" is already in the name of the process.
For all processes working on data values, the name would be a bit unclear and dimension is the parameter name (e.g. reduce_dimension, apply_dimension, ...)

@m-mohr this issue however is on the drop_dimension implementation in this repo openeo-processes-dask, so it should stay open until my PR will be merged.


chore(main): release 0.1.9

:robot: I have created a release beep boop
0.1.9 (2024-07-05)
Bug Fixes

fixed nil error for custom auth type with shopify connector (a8f4afd)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v0.1.9
:sunflower:


Error during docker build: file:///nerfstudio does not appear to be a Python project: neither 'setup.py' nor 'pyproject.toml' found

Thank you for your interesting work. Could anyone help me solve this issue? I tried two ways. Both raises the same error.
Method 1: From neurad_studio Dockerfile
# Copy nerfstudio folder.
ADD . /nerfstudio

# Install nerfstudio dependencies.
RUN cd /nerfstudio && python3.10 -m pip install --no-cache-dir -e . \
    && cd ..

Method 2: From nerfstudio dockerfile
# Install nerfstudio dependencies.
COPY --chown=${USER_ID} . /nerfstudio
RUN cd /nerfstudio && python3.10 -m pip install --no-cache-dir -e . \
    && cd ..

I also wanted to know where the git clone of nerfstudio is taking place for adding or copying the files from the repo? How is it possible to copy the folder without cloning the nerfstudio repo?
Furthermore, is it necessary to use ownership for copying? Also why are we using '-e' at this point for installing the package?
I am really stuck at this stage of the docker build and would really appreciate any guidance in this regard.

Hi, first it would be helpful to see your full command which causes the error to better understand the situation.
For method 1 please ask in the respective repository.
For method 2: the copy command copies the files from your local folder into the image. So, you need to clone the repo first and then issue the docker build command inside the nertudio folder to be able to build it.
If you don't have any specific reason to build the docker image on your own I suggest to use a pre-built image, e.g. from here: https://hub.docker.com/r/dromni/nerfstudio (docker pull dromni/nerfstudio:1.1.3)

Thank you so much. Your response to method 2 was the solution. (it was silly now when I think of it).
Also is there any reason to not remove the folder after cloning and installing 'pycolmap', 'Hierarchical-Localization', 'pyceres' and 'pixel-perfect-sfm'?

Not that I am aware of any reason. Feel free to try and issue a PR :)
As far as I understand this issue is solved? If so, please close it. Thanks

@Zunhammer

@Zunhammer I need to build the docker so that I can upload it to a cluster. So I do not know how to go further building the cluster if I pull the docker image using your suggestion (docker pull dromni/nerfstudio:1.1.3) - especially giving the build args like tcnn_cuda_architecture etc.
Furthermore, I used almost the exact Dockerfile ( I rechecked it too) but after the docker is built, the pytorch and cuda version gets upgraded to 2.4.0+cu121.  Any idea what could be causing the upgrade?
Dockerfile.txt