add support for elixir 1.9 (this process just starting)

tentative PR to look for comments and interest.  Will finish with full parsing, tests, and documentation over the next month.
one note:

doesn't trap gen_statem deaths.  If someone could help me understand why, it would be greatly appreciated.

NB: in order to use, you must include in Elixir Logger Backends, (you can't use the system that is in the docs)

I'm not familiar with this library or what needs to get done to get it working in Elixir 1.9 but I'm currently working on an app using Elixir 1.9 and would like to Rollbax integrated into it. Any status on this front or things you may need to get that done?

I can confirm that my fork works and has been working well in production for several months now, but I don't know what the status of this library is.

@agundy I'm sorry but i just looked at my code and there's way too much private information in my logger gen_event module to copy/paste it publically here for you.  I am currently slammed at work (it appears demand for our service goes up with the stay at home situation) but can maybe get to doing a better writeup in 2-3 weeks time, if you ping me then.  I'm sorry I can't be more helpful, but I suggest reading these resources:
https://hexdocs.pm/logger/Logger.html#module-custom-backends
http://erlang.org/doc/man/gen_event.html
but basically it boils down to writing handle_events that look like this:
  def handle_event({:error, gl, {Logger, msg, _timestamp, metas}}, state)
      when node(gl) == node() do

# ...snip

    Rollbax.report_message(:error, msg, custom)
    {:ok, state}
  end
  def handle_event({:info, gl, {Logger, msg, _timestamp, metas}}, state)
      when node(gl) == node() do

# ...snip

    Rollbax.report_message(:info, msg, custom)

    {:ok, state}
  end
  def handle_event(_, state) do
    {:ok, state}
  end

@ityonemo thanks so much for the quick response! I'm still evaluating options and am checking out Sentry right now because it seems like they have first party support for Elixir. I might be back to check this out. And no worries on not being able to handle it right now! I know how you feel.

I'm no longer using rollbar in prod so this is left an an exercise for the next user.


Stream operators have low precision

Original report (archived issue) by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).

The stream operators in several classes currently have limited precision, presumably for decluttering console output. Several examples:

Vector3
Quaternion

This is a warning not to use them for lexical casting, as they will lose significant precision.

I think this has been fixed by https://github.com/gazebosim/gz-math/pull/376 where the precision can be set using std::setprecision.


[Misc] Are the old workspace templates in base-raas-cfn-templates/src/templates still required?

What's on your mind?
This repo contains duplicate workspaces templates under addons/addon-base-raas/packages/base-raas-cfn-templates/src/templates/ and addons/addon-base-raas/packages/base-raas-cfn-templates/src/templates/service-catalog/
addons/addon-base-raas/packages/base-raas-cfn-templates/src/templates/:

ec2-linux-instance.cfn.yml
ec2-windows-instance.cfn.yml
sagemaker-notebook-instance.cfn.yml

addons/addon-base-raas/packages/base-raas-cfn-templates/src/templates/service-catalog/:

ec2-linux-instance.cfn.yml
ec2-windows-instance.cfn.yml
sagemaker-notebook-instance.cfn.yml

Is there still a use for the non-service-catalog templates? If not could they be removed to avoid confusion?
Versions (please complete the following information):

develop branch 8fb2320a4b2d583586591351db757d0a080a5280

Hi @manics ,thank you for reaching out. The templates in addons/addon-base-raas/packages/base-raas-cfn-templates/src/templates/  are outdated and should not be used.
Your request has been added to our backlog for research computing solutions. Our team curates these requests for fit with our solutions vision on a regular basis. Please watch this space for new updates. If you require immediate assistance, please reach out to your AWS account team. Please note that security issues should be reported directly to AWS Security at<EMAIL_ADDRESS>

We are closing this issue due to no response!


[WebUI] Add Hotkey Support

Addresses: #921
Added Hotkey support for the WebUI.
Here are the initial set of hotkeys. Test them out and see how they feel. If they feel good, I'll finalize them and convert this PR to finished. Leaving it on draft at the moment.
Ctrl + Enter = Invoke
Shift + X = Cancel
S = Set Seed
A = Set Parameters
R = Restore Faces
U = Upscale Image
I = Show Metadata
Shift + I = Set Init Image
Del = Delete
Alt + A = Prompt Focus
There is a modal in the UI now that can help you with all the set hotkeys.

@lstein Please merge this before #947.

This is working great. I have found one oddity with a Mac keyboard: the "delete" function seems to be mapped to forward-space delete, requiring the use of fn+delete natively on Mac keyboards.

This is working great. I have found one oddity with a Mac keyboard: the "delete" function seems to be mapped to forward-space delete, requiring the use of fn+delete natively on Mac keyboards.

I'm unfamiliar with the workings of a Mac keyboard. Maybe @psychedelicious can suggest a fix for this.


Height in history pr

This is a draft PR as a starting point for discussion of the changes mentioned below.
There is no existing issue for this, just a small change I thought would be useful.
This builds on #56 (not yet merged) and adds a height field to data returned from get_history() rpc.  This field is then displayed in the dashboard history screen.   Example:

It can be argued that height is not necessary to the wallet end-user and thus need not be displayed in dashboard history, but I would counter that:

a CLI wallet like the dashboard will be used by devs and power users
the height is a useful display field for me and probably others.

The position of the height column could be changed if desired.   I'm open to suggestions.  Also it could be called "block", "block height", or "height".  I chose the latter for now.
Even if we decide not to display height in the dashboard history screen, I think it is still useful to return it from the get_history() rpc, for future callers.
The block hash/digest is also available (returned from get_balance_history() and perhaps should be returned from get_history() as well.  I think it might be useful for wallets, for example so they can create a URL to a block explorer for each block.
Even more useful would be a TX id/hash, which is typically displayed/used in history of  cryptocurrency wallets.  That is presently not returned from get_balance_history().  I'm not yet certain how to do that, as get_balance_history() iterates over monitored_utxos and I don't immediately see how to find the Transaction that a Utxo or MonitoredUtxo is part of.
So concretely then, before finalizing this PR, I would like to add fields for transaction_hash and block_hash to get_history() RPC.  These would not be displayed in the dashboard history.  I need some guidance how to get transaction_hash.

I like this change. Regarding the transaction hash, it might not really a useful value as each block only contains one transaction. So maybe transactions are better identified by block hash?

Ok, interesting point.  I've understood from the papers that all user initiated tx are merged into a single block TX, but maybe I haven't fully understood/internalized the ramifications yet.
I interpret your statement to mean there is no equivalent to bitcoin's "Transaction ID" available to wallets.   Well, clearly a wallet could generate a unique TX hash when sending a TX, but then poof that individual tx is gone after it gets confirmed in a block, so all the wallet can find out about later is confirmed/spent UTXO's.
Just to confirm.  If I initiated 5 separate spends, using say 12 utxo, and they all get confirmed in a single block -- is there any way for the wallet to know from the blockchain that it was 5 spends, or it will just appear as though the 12 utxo are part of a single tx?
I believe the answer is "single tx" and I can see how it is really good for privacy if a third party observer eg block explorer cannot identify individual TX.
In terms of my own wallet though, I'd like to be able to distinguish individual actions.   I suppose the wallet could keep this as local metadata when spending (at least) but that info would be lost when restoring wallet from seed.

Regarding the transaction hash, it might not really a useful value as each block only contains one transaction. So maybe transactions are better identified by block hash?

Ok, well if there truly is no spend-level TX identifier, then yeah it seems that TX-id is a bit redundant.  It is 1:1 with block hash anyway.    There might be good reasons to include it that will become apparent later, but I agree we could leave it out for now.
It's fun to think about things in new ways.

Looks like there are some conflicts with master here. Probably from the merge of #56. Can you fix, @dan-da? :)

yes, I will rebase later today or tmw.

rebased, ready to merge.

Happy to approve and merge. On the subject of tx history presentation: Would it make sense to only show seconds, and not also milliseconds as we're doing now?


MTL-2274

Summary and Scope
Update to use our fawkes-httpboot-grub rpm, vs. using the SLES tftpboot-installation-SLE-15-SP5 rpm's.
Relates to: https://jira-pro.it.hpe.com:8443/browse/MTL-2274
Issue Type

RFE Pull Request

Prerequisites

[x] I have included documentation in my PR (or it is not required)
[x] I have tested this by building an image using this branch HEAD, or this is does not pertain to the node-images pipeline.
[x] I tested this on internal system or this pertains to the node-images pipeline (if yes and not build related, please include results or a description of the test)

Risks and Mitigations
Few risks, but it does reduce the size on disk from 1GB to 30MB.

/backport lts/csm-1.5


Improve Sequential Scale Documentation

Removes the text "and output range " in the statement described in #194.

Sequential scales support an output range with two elements as of 3.2.

Aha! Thank you.


SVLEN missing for some SV types and callers

Hi,
Thanks for developing this library/command-line tool. I'm thinking of including it in the next release of the sv-callers workflow. I would appreciate your help with correcting the VCF/INFO output (i.e., processed by breakend2breakpoint() and to_vcf(...)):

Manta

DEL: SVLEN < 0
DUP & INV: SVLEN > 0
TRA: SVLEN=0 missing ❌

Delly ✔

DEL: SVLEN<0
DUP & INV: SVLEN>0
TRA: SVLEN=0

Lumpy

DEL: SVLEN<0
DUP: SVLEN>0
INV: SVLEN>0 missing ❌
TRA: SVLEN=0 missing ❌

GRIDSS ❌

SVLEN missing for all SVTYPEs

Thanks for your feedback. I'm now working on this problem. Please wait for some time.

Hi, could you share your approx. timeline? Thanks.

An update will be made during April. Thanks!

Hi,
We've now released a new version! Please check it out.

Excellent! Thanks.

I can find the new release in pypi but not in here. Could you please add? Thanks.

Sorry, I've just created it.

Hi,
Just to let you known that I incorporated your package in the latest release of the sv-callers workflow. Thanks again for your help.

Hi!
Thank you for integrating our software!
Please let us know if there are any more problems.


added toArrayOf and toArrayOfOn

What does this pull request do?
I've added two functions Data.Lens.Fold (toArrayOf, toArrayOfOn) since Array is a fairly common data structure compared to List, which is already supported
Where should the reviewer start?
The functions are in Fold.purs and then re-exported in Data.Lens
How should this be manually tested?
I added an example in test/Main.purs that combines a couple of Prisms with traversed

Thanks, @dwhitney!


Add new Rails/Pluck cop

pluck can be used instead of map to extract a single key from each element in an enumerable. When called on an Active Record relation, it results in a more efficient query that only selects the necessary key.
The pluck method was available in Active Record before Rails 5.0, but it wasn't implemented on Enumerable until that version, which is what allows this cop to auto-correct safely.
I've opened a pull request to add entries about pluck and pick to the style guide: https://github.com/rubocop-hq/rails-style-guide/pull/263.

Before submitting the PR make sure the following are checked:

[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Added an entry to the Changelog if the new code introduces user-observable changes. See changelog entry format.
[x] If this is a new cop, consider making a corresponding update to the Rails Style Guide.
[x] The PR relates to only one subject with a clear title
and description in grammatically correct, complete sentences.
[x] Run bundle exec rake default. It executes all tests and RuboCop for itself, and generates the documentation.

This looks useful 👍


[WIP] wireguard: init at 20160708

Motivation for this change
Wireguard sounds like a promising alternative to openvpn.
The packaging seems fine but I cannot get the example to work, probably because the kernel module is not loaded.
I got the following error when testing
$ ip link add dev wg0 type wireguard                                                                       ~
RTNETLINK answers: Operation not supported

I don't really know how to go from there, so any help or feedback is welcomed.
Things done

[ ] Tested using sandboxing
(nix.useChroot on NixOS,
or option build-use-chroot in nix.conf
on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] OS X
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Fits CONTRIBUTING.md.

https://github.com/wkennington/nixos/blob/master/common/sub/base-wireguard.nix
I've enabled it in my NixOS config so at least ip and wg work.
On Mon, Jul 11, 2016, 1:07 AM Eric Sagnes<EMAIL_ADDRESS>wrote:

Motivation for this change
Wireguard sounds like a promising alternative https://www.wireguard.io/
to openvpn.
The packaging seems fine but I cannot get the example to work, probably
because the kernel module is not loaded.
I got the following error when testing
$ ip link add dev wg0 type wireguard                                                                       ~
RTNETLINK answers: Operation not supported
I don't really know how to go from there, so any help or feedback is
welcomed.
Things done

Tested using sandboxing (nix.useChroot
http://nixos.org/nixos/manual/options.html#opt-nix.useChroot on
NixOS, or option build-use-chroot in nix.conf
http://nixos.org/nix/manual/#sec-conf-file on non-NixOS)
Built on platform(s)

NixOS
OS X
Linux

Tested compilation of all pkgs that depend on this change using nix-shell
-p nox --run "nox-review wip"
Tested execution of all binary files (usually in ./result/bin/)
Fits CONTRIBUTING.md
https://github.com/NixOS/nixpkgs/blob/master/.github/CONTRIBUTING.md.

You can view, comment on, or merge this pull request online at:
https://github.com/NixOS/nixpkgs/pull/16856
Commit Summary

wireguard: init at 20160708

File Changes

A pkgs/os-specific/linux/wireguard/default.nix
https://github.com/NixOS/nixpkgs/pull/16856/files#diff-0 (34)
M pkgs/top-level/all-packages.nix
https://github.com/NixOS/nixpkgs/pull/16856/files#diff-1 (2)

Patch Links:

https://github.com/NixOS/nixpkgs/pull/16856.patch
https://github.com/NixOS/nixpkgs/pull/16856.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/NixOS/nixpkgs/pull/16856, or mute the thread
https://github.com/notifications/unsubscribe/ABsO_aszpqDjFe8AxBkCO6rac7qYNKHnks5qUc-cgaJpZM4JJCOf
.

Thanks! I was missing the boot.extraModulePackages part.
So I guess this should be ready to merge.

I think splitting the kernel module and the command line tool into different store paths would make sense. That's also how @wkennington packaged it (https://github.com/triton/triton/blob/master/pkgs/all-pkgs/wireguard/default.nix & https://github.com/triton/triton/blob/master/pkgs/top-level/all-packages.nix#L2258-L2260) and how he's using it in hin config.


Support for Nakadi SQL service

Nakadi SQL API (not opensources yet) https://github.bus.zalan.do/aruha/nakadi-sql-api/blob/master/docs/_data/nakadi-sql-api-definition.yaml
Introduction
Nakadi SQL has a REST API where users can create and read SQL queries
The query is identified by the output event type name.
SQL query cannot be changed (for now).
SQL query has a state (active/inactive etc) that we can show.
We have parameterized monitoring ZMON dashboard per query.
Requirements
Create new SQL Query using the SQL editor, set name  +required event type fields(name, audience, authorization ..etc)
The user should see the details of the query on the details page of the output event type.
Implementation
We will extend Nakadi UI to support new API(new config options/models/etc)
As Nakadi SQL is not open sources yet. New SQL related functionality should be hidden using feature flag in Nakadi UI config.
Add “SQL Query” to “Create” drop-down
Add new form for creating SQL query. The form contains Name input, SQL editor (preferably with the syntax highlight ), audience select, access control(READ/ADMIN only).
After the query is created, the user will be redirected to the output event type details page
Add a new tab to the Event Type details page “SQL”.  it will be shown only if the current ET name exists in SQL API.
This tab will contain SQL view, status, and the link to the monitoring dashboard.
Questions
how to edit access control later?
Can we implement DRY RUN to validate SQL before sending it? (in the middle of sql edit process)

Done


Attribution report for OSS 3.28.1

Product Version(s):
Calico 3.28.1
Issue:
Attribution report
Link to docs preview:
SME review:

[ ] An SME has approved this change.

DOCS review:

[ ] A member of the docs team has approved this change.

Additional information:

Merge checklist:

[ ] Deploy preview inspected wherever changes were made
[ ] Build completed successfully
[ ] Test have passed

cc: @lwr20

LGTM


Preserve folder structure after compiling with commandline

How to complie a folder structure of pug files into the same one into html ?!
a/b1/b11.pug
a/b1/b12.pug
a/d2/d22.pug
into
a/b1/b11.html
a/b1/b12.html
a/d2/d22.html
I am trying to use npm scripts as a task runner instead of gulp or grunt.
I think a --hierarchy flag was on jade-cli which did not work correctly.

Steps:

Update to Pug and use pug-cli package.
pug a
$

yooooooooo hoooooooooooo...
It worked !!!
Great job.


Dev docs

fixes https://github.com/nix-gui/nix-gui/issues/188
Important for review: Architecture documented

rendered at https://github.com/nix-gui/nix-gui/blob/dev-docs/docs/development/architecture.org

Minor changes:

development.org reorganized into multiple files,
FieldsGroupBox refactored out of nav_interface.py

This documentation describes the state of Nix-Gui after the following issues are tackled:

https://github.com/nix-gui/nix-gui/issues/173
https://github.com/nix-gui/nix-gui/issues/216
https://github.com/nix-gui/nix-gui/issues/218

@milahu @boredom101
Could you please review? If anything doesn't make sense, worded weirdly, incoherent, etc please request a change.

@milahu hows this?

For =types.attrsOf= options, users can specify their attributes.

how is this useful? → give names to things: file names, user names, service names (myHttpServer1)

This any better?

better, thanks. the wording could be shorter, but meh, people will understand

Sure thing, we will continue to update architecture.org as we move forward. Thanks for reviewing.


How to override default materialize rule with my own css rules?? tried it by using tag.selector, !important .

I want to use my own rules with css just want to use some of the properties of the framework. please guide me how to do so. i want to customize my fonts buttons etc..

declare your custom css to below the materialize css. it will work


Loading time for brush labels is too high

Describe the bug
I have dataset of images on which I perform semantic segmentation. These annotations of brush labels take too long to open and then it is stuck at the loading screen.
Expected behavior
Images load quickly
Screenshots
https://github.com/heartexlabs/label-studio/assets/42906426/51c2c410-355a-48e9-93fa-9ddd30c5eee1
Environment (please complete the following information):

OS: Windows 11
Label Studio Version: 1.7.1

Additional context
Add any other context about the problem here.

@MitanshuShaBa can you update to Label Studio 1.8? Also, can you paste the resources available on your machine, and possibly your labeling configuration? Depending on the labeling configuration, number of images, location, and host resources, there are a number of different things that could be happening. Thanks!

Yes, updating to 1.8 fixed the issue


Improve Backpressure Management

Description
Please see the project issue for further details: https://github.com/getsentry/team-sdks/issues/10

The path for PHP will be using a local Relay https://docs.sentry.io/platforms/php/performance/#improve-response-time, hence closing this one.


2.4.1: test_rotation fails on ppc64le

I'm not familiar with ppc64le that much, but apparently something is broken here:
=================================== FAILURES ===================================
_____________________________ test_rotation[False] _____________________________
    def test_rotation():
        # Create 6 faces of a cube
        data = numpy.zeros(6, dtype=Mesh.dtype)

        # Top of the cube
        data['vectors'][0] = numpy.array([[0, 1, 1],
                                          [1, 0, 1],
                                          [0, 0, 1]])
        data['vectors'][1] = numpy.array([[1, 0, 1],
                                          [0, 1, 1],
                                          [1, 1, 1]])
        # Right face
        data['vectors'][2] = numpy.array([[1, 0, 0],
                                          [1, 0, 1],
                                          [1, 1, 0]])
        data['vectors'][3] = numpy.array([[1, 1, 1],
                                          [1, 0, 1],
                                          [1, 1, 0]])
        # Left face
        data['vectors'][4] = numpy.array([[0, 0, 0],
                                          [1, 0, 0],
                                          [1, 0, 1]])
        data['vectors'][5] = numpy.array([[0, 0, 0],
                                          [0, 0, 1],
                                          [1, 0, 1]])

        mesh = Mesh(data, remove_empty_areas=False)

        # Since the cube faces are from 0 to 1 we can move it to the middle by
        # substracting .5
        data['vectors'] -= .5

        # Rotate 90 degrees over the X axis followed by the Y axis followed by the
        # X axis
        mesh.rotate([0.5, 0.0, 0.0], math.radians(90))
        mesh.rotate([0.0, 0.5, 0.0], math.radians(90))
        mesh.rotate([0.5, 0.0, 0.0], math.radians(90))

        # Since the cube faces are from 0 to 1 we can move it to the middle by
        # substracting .5
        data['vectors'] += .5

>       assert (mesh.vectors == numpy.array([
            [[1, 0, 0], [0, 1, 0], [0, 0, 0]],
            [[0, 1, 0], [1, 0, 0], [1, 1, 0]],
            [[0, 1, 1], [0, 1, 0], [1, 1, 1]],
            [[1, 1, 0], [0, 1, 0], [1, 1, 1]],
            [[0, 0, 1], [0, 1, 1], [0, 1, 0]],
            [[0, 0, 1], [0, 0, 0], [0, 1, 0]],
        ])).all()
E       AssertionError: assert False
E        +  where False = <built-in method all of numpy.ndarray object at 0x7fff889a3710>()
E        +    where <built-in method all of numpy.ndarray object at 0x7fff889a3710> = array([[[9.99...dtype=float32) == array([[[1, 0,...  [0, 1, 0]]])
E             Full diff:
E             - array([[[9.9999994e-01, 2.9802322e-08, 0.0000000e+00],
E             -         [2.9802322e-08, 1.0000000e+00, 5.9604645e-08],
E             -         [0.0000000e+00, 5.9604645e-08, 2.9802322e-08]],
E             + array([[[1, 0, 0],
E             +         [0, 1, 0],
E             +         [0, 0, 0]],...
E
E             ...Full output truncated (36 lines hidden), use '-vv' to show.all
tests/test_rotate.py:52: AssertionError
_____________________________ test_rotation[True] ______________________________
    def test_rotation():
        # Create 6 faces of a cube
        data = numpy.zeros(6, dtype=Mesh.dtype)

        # Top of the cube
        data['vectors'][0] = numpy.array([[0, 1, 1],
                                          [1, 0, 1],
                                          [0, 0, 1]])
        data['vectors'][1] = numpy.array([[1, 0, 1],
                                          [0, 1, 1],
                                          [1, 1, 1]])
        # Right face
        data['vectors'][2] = numpy.array([[1, 0, 0],
                                          [1, 0, 1],
                                          [1, 1, 0]])
        data['vectors'][3] = numpy.array([[1, 1, 1],
                                          [1, 0, 1],
                                          [1, 1, 0]])
        # Left face
        data['vectors'][4] = numpy.array([[0, 0, 0],
                                          [1, 0, 0],
                                          [1, 0, 1]])
        data['vectors'][5] = numpy.array([[0, 0, 0],
                                          [0, 0, 1],
                                          [1, 0, 1]])

        mesh = Mesh(data, remove_empty_areas=False)

        # Since the cube faces are from 0 to 1 we can move it to the middle by
        # substracting .5
        data['vectors'] -= .5

        # Rotate 90 degrees over the X axis followed by the Y axis followed by the
        # X axis
        mesh.rotate([0.5, 0.0, 0.0], math.radians(90))
        mesh.rotate([0.0, 0.5, 0.0], math.radians(90))
        mesh.rotate([0.5, 0.0, 0.0], math.radians(90))

        # Since the cube faces are from 0 to 1 we can move it to the middle by
        # substracting .5
        data['vectors'] += .5

>       assert (mesh.vectors == numpy.array([
            [[1, 0, 0], [0, 1, 0], [0, 0, 0]],
            [[0, 1, 0], [1, 0, 0], [1, 1, 0]],
            [[0, 1, 1], [0, 1, 0], [1, 1, 1]],
            [[1, 1, 0], [0, 1, 0], [1, 1, 1]],
            [[0, 0, 1], [0, 1, 1], [0, 1, 0]],
            [[0, 0, 1], [0, 0, 0], [0, 1, 0]],
        ])).all()
E       AssertionError: assert False
E        +  where False = <built-in method all of numpy.ndarray object at 0x7fff88945350>()
E        +    where <built-in method all of numpy.ndarray object at 0x7fff88945350> = array([[[9.99...dtype=float32) == array([[[1, 0,...  [0, 1, 0]]])
E             Full diff:
E             - array([[[9.9999994e-01, 2.9802322e-08, 0.0000000e+00],
E             -         [2.9802322e-08, 1.0000000e+00, 5.9604645e-08],
E             -         [0.0000000e+00, 5.9604645e-08, 2.9802322e-08]],
E             + array([[[1, 0, 0],
E             +         [0, 1, 0],
E             +         [0, 0, 0]],...
E
E             ...Full output truncated (36 lines hidden), use '-vv' to show.all
tests/test_rotate.py:52: AssertionError
================ 2 failed, 66 passed, 2 skipped in 1.18 seconds ================

I'll try to see at what point the result is wrong.

Well... I wouldn't really call it broken, this is simply the result of floating point inaccuracy. The test is just a bit too strict and doesn't account for floating point inaccuracies.
Apparently the ppc64le platform uses a slightly different floating point implementation within numpy. It might be related to this: https://github.com/numpy/numpy/issues/10281
Since I don't have access to a ppc64le machine I can't easily fix this (or at least, not test it) but something like this might do the trick:
assert (mesh.vectors - numpy.array([
    [[1, 0, 0], [0, 1, 0], [0, 0, 0]],
    [[0, 1, 0], [1, 0, 0], [1, 1, 0]],
    [[0, 1, 1], [0, 1, 0], [1, 1, 1]],
    [[1, 1, 0], [0, 1, 0], [1, 1, 1]],
    [[0, 0, 1], [0, 1, 1], [0, 1, 0]],
    [[0, 0, 1], [0, 0, 0], [0, 1, 0]],
])).sum() < 0.0001

I'm playing with numpy.isclose to check if teh result is close :)

Didn't know of the existence of numpy.isclose but that would be a great solution for all tests I think :)

numpy.allclose is another option

numpy.allclose(a, b, atol=1e-07) seems to do the job, will prep a PR

https://github.com/WoLpH/numpy-stl/pull/79

@WoLpH, @Uvar: Thank you both!


[DOC-2772] Get consistent about Encryption At Rest / In Flight terminology

[DOC-2772]

This change is


Forcing a checkout of c0c0a4 on cl-webkit?

I use Arch Linux and they don't provide a 3.0 or below version of libwebkit2gtk.  The commit c0c0a4 on cl-webkit only supports up to 3.0.so.x, while the latest version of cl-webkit supports up to 4.0.
Is there a reason why this detached head state has to be checked out instead of left in Master branch? (it happens on line 45 of Makefile).

Hi,
Travis is based on ubuntu. On ubuntu, it needs the alpha version (vivid, or 15.04) to download libwebkit2gtk-4.0. It worked fine for a time, then it ended up crashing (because, well, alpha), so we reverted to 3.0. But cl-webkit starts supporting 4.0 after some commit... somewhere after the 2.0 tag. So we could've used it.... but this tag doesn't include some bindings, namely related to webkitinspector. So a specific commit is needed: after this binding, but before the switch to 4.0.
I guess since arch uses libwebkit2gtk-4.0, the PKGBUILD needs some sed -i 's/git checkout c0c0a4// Makefile`.
@AeroNotix you're on arch... mind doing it? I couldn't test it.

@ahungry @Ralt  done! Thanks for the help!


Fixes to the demo scripts to reflect underlying changes in evm-lite-lib.

As discussed, fixes to the demo scripts.

Good spot. Thank you. I will revert the default to master.


Trigger = DefeatCustomMonster during Horror Phase

Description of Problem or Question
There is a strange error when defeating a custom monster (with custom horror/activation events) that has an event that triggers when it is defeated.
I've created a test scenario.
Run the event (place tile, spawn monster). Then end the turn, process the monsters custom activation then select a monster to do the "horror check".

In the custom Horror event - damage the monster until it is defeated:

When you click defeat the dialogue disappears, but the event does not run:

When you click "end phase" the event (and the monsters box) pops up.

If I set up the scenario with a standard monster it works as I would expect (event pops up during the Horror Phase and I can continue with horror events).
I assume its to do with the custom horror event.
Valkyrie Version
2.2.004
Attach Save, Quest or Scenario
DefeatMonsterBug.zip

Thanks for the test scenario.
I think I have a fix for this.
I've tested with one monster and multiple monster, and it works in both cases.


Generate a config yaml schema to better support config building/editing

Did you search for existing issues already?
Yup!
Is your feature request related to a problem? Please describe.
Nope
Describe the solution you'd like
Currently, when building or editing a slumber yaml configuration, there's no schema available - this isn't a huge deal, but leaves the user to their own devices as far as building a valid config file.
With a generated schema, the user's IDE can help guide them through building a valid config, and call out potential issues before they go to run the app.
Describe alternatives you've considered
None
Additional context
I looked a bit in to schemars to generate the schema from the Collection struct, but there was enough sprawl there that it made more sense to bring it up and talk about this potential feature more generally.

Sure! So my thought is it'd be nice to not have to copy-paste. The IDE can be powerful if it knows what the schema is, it's mostly useless without it.
Today, unless you copy-paste and don't make any mistakes when modifying that pasted bit of config, you'd never know that you may have an invalid config file until you startup the app when it parses. This feels slightly wasteful since the IDE could've told the user that well before running the app.
Additionally, these configs make use of custom yaml tags, which the generic YAML validator knows nothing about (and thus complains) -

Ultimately this is a minor inconvenience and FAR from a boundary to successfully writing a valid config.

@LucasPickering yup, yaml schema is just JSON schema and that's what schemars would generate.
There's a few ways the JSON schema can be associated to the yaml file to enable validation/hinting/docs/etc... (checkout this article), but likely the easiest way is to host the schema, and document that schema validation can be enabled by setting:
# yaml-language-server: $schema=https://my.url.to/the/schema

at the top of the config file.

Yeah I like this idea! I just opened a related feature #376 to add a subcommand slumber new, which would generate a new collection file. This file would include that comment at the top so users don't have to write it manually. And we could host the YAML file on the website, since that is already a process that generates static files in CI and hosts them.

awesome! That makes a lot of sense. I'm definitely interested in helping out with this, likely after I get some solid movement on the collection ref stuff.


GPU acceleration for Caffe2 on Android

When will ARM Compute Library’s GPU acceleration for Android devices be available in Caffe2?

Hello @nevenpiculjan,
We have no news at the moment on this topic. Will get back to you once we know more.
Thanks for you question.


Bug after reconnect

Hi, thanks for the project.
I found a serious error in your code.
This line stores self.token (https://github.com/Visecy/Karuha/blob/master/karuha/bot.py#L210), which is then used to create a new session (suppose we lost the connection and want to restore it).
type of ctrl.params[‘token’] is raw bytes. But params[‘token’] after pydantic is str with base64 (lol).
And now let's look at this line https://github.com/Visecy/Karuha/blob/master/karuha/bot.py#L176 which is used when reconnecting.
In the current code we get bytes (but it's ascii base64). Although tinode server expects raw bytes from us, which it passed from the beginning.
As a result, we have a reconnect error (401).
What do you think? I fixed it via b64decode(self.token). Perhaps it is more correct to store ctrl.params[‘token’] instead of params[‘token’] in self.token.
Anyway, this is a very strange behaviour. Either I didn't follow the tinode code changes.

Hello, thank you for your issue.
This is indeed a very serious problem and it is reproducible. I will fix this problem in the next version.

Perhaps it is more correct to store ctrl.params[‘token’] instead of params[‘token’] in self.token.

As for ctrl.params['token'], it cannot be used directly as a token because it is a JSON bytes. Pydantic only does the work of decoding JSON here.

You can now test whether the code in the dev branch works properly in your environment. If everything works well, I will release a new version.


Update density foundation

Closes #1827

This PR has been open without any updates, can it be closed?

Can we leave this, its so I can update the Density page without the need for dev involvement. Darrin has provided some additional content, I just haven't had a chance to review it yet.

Closing this PR as spacing foundation needs to be completed first (and spacing-related changes to density will be done as part of that)


Layout props page has incorrect links

The table of contents links (alignContent, alignItems, etc) all link to ...docs/0.56/layout-props#anchor rather than ...docs/layout-props#anchor like they should.
Just thought I'd bring awareness to that little glitch.

Just realized this is the exact same as issue 505. Sorry.


make html failed

just did
sudo apt-get install python3-sphinx
git clone https://github.com/ros2/ros2_documentation.git
cd ros2_documentation/
make html
on a ubuntu 18.04 failed as still python3 is not the default. May you please change the documention to
sudo apt-get install python-sphinx
or even suggest somewhere to set python3 as default in the documentation ?

Thanks for filing a report. I'll take a look and get back to you.

Alright @vkuehn, we're effectively migrating to python3 considering that python2.7 EOL is around the corner. See https://github.com/ros2/ros2_documentation/pull/136 for further reference.


Use asdf as the recommended installer?

I've recently started to use asdf and I think it's a very interesting way to install packages:

not restricted to JS ecosystem, contrary to Node.js NVM and Volta, Python pyvenv and so on
same commands on all systems
can handle versioning per project elegantly, with tracking for the whole team

The Deno plugin lives there: https://github.com/asdf-community/asdf-deno
Install looks like this:
asdf plugin-add deno https://github.com/asdf-community/asdf-deno.git
asdf install deno latest
asdf global deno latest
# asdf local deno latest # if you want to specify a specific version per project

Btw, the "edit" button on in the manual web page lead to a branch specific version on GitHub that is not really editable (https://github.com/denoland/manual/blob/v1.25.0/getting_started/installation.md, edit button says "you must be on a branch to edit"), which prevented me from opening a PR directly, I don't know if this process could be improved?

@eric-burel I thought I remembered it being listed in the installation section of the homepage (but maybe I'm misremembering that). It's still in the readme for the deno_install repo, which is linked from that section in the home page. Is that what you meant?

You seem to have 3 pages that are not completely consistent:

<EMAIL_ADDRESS>from the getting started page, lists the "scripts" approaches + OS specific approaches but not asdf.
https://deno.land/#installation: the website page, lists the "scripts" approaches
https://github.com/denoland/deno_install/tree/281488a512315e31b57984d41b67decb11864816#install-and-manage-multiple-versions: the deno_install Readme, lists all

I propose to always have:

the asdf approach as the recommended cross-platform multi-versions approach, especially if user intend to have multiple deno projects + may also want to adopt asdf for their node projects
the script approaches that are turnkey
a list of other various package managers that can install Deno

the asdf approach as the recommended cross-platform multi-versions approach

@eric-burel I love using asdf, but it's not cross-platform. It only supports unix-like operating systems, and native usage on Windows is definitely a large target for Deno.

Ah didn't know that limitation indeed. So at least it would be worth making the documentation consistent, and perhaps recommend Asdf only for unix systems + Windows for WSL for users that intend to manage multiple versions of Deno (agency, freelancers etc.). It's still a relatively good solution if it supports most system apart native Windows, for which you have other solutions.


Verification for proofs

To verify that LLM generated proofs are correct or not, before converting them using Lean and checking, a manual verification should be done. This is a list of proofs verified. If any issues are found, please raise a PR and fix any changes if absolutely necessary.
Reason why I am not directly converting to Lean and checking for correctness is that I have no guarantee the model will not change the proof slightly.

[ ] Linear Algebra
[ ] Algebra
[x] Geometry
[ ] Calculus
[ ] Number Theory
[ ] Statistics
[ ] Trigonometry
[ ] Probability
[ ] Combinatorics
[x] Logic
[x] Set Theory
[ ] Graph Theory
[ ] Topology
[ ] Real Analysis
[ ] Differential Equations
[ ] Abstract Algebra
[ ] Group Theory
[ ] Number Theory
[ ] Complex Analysis
[ ] Vector Calculus

i'll take statistics and probability


Https

@scotty0 use secure floodlight tags
do not merge yet: pending some confirmation from scotty

Codecov Report

Merging #5 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master     #5   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           1      1
  Lines          29     29
=====================================
  Hits           29     29

Impacted Files
Coverage Δ

lib/index.js
100% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


"iconUrl" property not found in "activity.from" when receiving a message from bot

I'm using DirectLine channel to test my bot. I followed example "Easy: In your non-React website, run WebChat inline"
When the bot send a message there is no property "iconUrl" in activity.from property. However, if the user sends a message, the property is present and has the value set during App initialization. My code:

BotChat.App({
directLine: {
token: '_XXXXX',
webSocket: false
},
user: {
id: 'User',
name: 'user name',
iconUrl: '[url to my image]'
},
bot: {
id: 'myBotId',
name: 'myBotName',
iconUrl: '[url to my image]'
},
resize: 'detect'
}, document.getElementById("bot"));

This is correct behavior. Only the id and name are sent to the bot.
The icon URL's are currently ignored and may go away entirely.

Uummm not sure about this...i'm talking about the bot response. How can i show the bot icon in the webchat?

This feature is not yet implemented. Feel free to contribute to the discussion about how it should be implemented in https://github.com/Microsoft/BotFramework-WebChat/issues/43

Also, just for future reference, please be clearer in your issue report. It sounds like your issue was that your wanted to show the bot icon, but that information is nowhere to be found in the title or body of your report.


JVector recall regression vs HNSW

HNSW (concurrent5 branch + hnswrecall)
hdf5/nytimes-256-angular.hdf5: 289761 base and 9991 query vectors loaded, dimensions 256
HNSW   M=16 ef=100: top 100/1 recall 0.7170, build 37.37s, query 11.68s. 209069030 nodes visited

hdf5/glove-100-angular.hdf5: 1183514 base and 10000 query vectors loaded, dimensions 100
HNSW   M=16 ef=100: top 100/1 recall 0.6954, build 81.76s, query 8.32s. 241306820 nodes visited

hdf5/glove-200-angular.hdf5: 1183514 base and 10000 query vectors loaded, dimensions 200
HNSW   M=16 ef=100: top 100/1 recall 0.6329, build 142.23s, query 12.33s. 251840840 nodes visited

JVector
hdf5/nytimes-256-angular.hdf5: 289761 base and 9991 query vectors loaded, dimensions 256
Index   M=16 ef=100: top 100/1 recall 0.6393, build 45.96s, query 10.84s. 165252200 nodes visited

hdf5/glove-100-angular.hdf5: 1183514 base and 10000 query vectors loaded, dimensions 100
Index   M=16 ef=100: top 100/1 recall 0.5328, build 133.32s, query 9.93s. 229974700 nodes visited

hdf5/glove-200-angular.hdf5: 1183514 base and 10000 query vectors loaded, dimensions 200
Index   M=16 ef=100: top 100/1 recall 0.3820, build 210.34s, query 11.57s. 183856980 nodes visited

At least as far back as 0401011b when we first merged Bench into JVector

It looks like the problem is with enforceMaxConnLimit.  I took a shortcut and just applied the max-alpha diversity check, which means that often all the edges in the list are fine and we just end up removing the farthest-away edge.
If instead we apply increase the diversity incrementally, like we do in insertDiverse, then we do a better job of prioritizing removal of nodes that are okay wrt max-alpha, but not with alpha=1.0.
hdf5/nytimes-256-angular.hdf5: 289761 base and 9991 query vectors loaded, dimensions 256
Average degree is 31.9973529909132
Index   M=16 ef=100: top 100/1 recall 0.7327, build 38.62s, query 11.71s. 219005090 nodes visited

hdf5/glove-100-angular.hdf5: 1183514 base and 10000 query vectors loaded, dimensions 100
Average degree is 31.99960879212244
Index   M=16 ef=100: top 100/1 recall 0.7116, build 128.20s, query 8.44s. 262719410 nodes visited

hdf5/glove-200-angular.hdf5: 1183514 base and 10000 query vectors loaded, dimensions 200
Average degree is 31.989657072075193
Index   M=16 ef=100: top 100/1 recall 0.6451, build 208.60s, query 13.42s. 281149900 nodes visited

Also tested neighborOverflow.  1.2 is the sweet spot for speed.  Recall keeps creeping up past that though.  Could be interesting to allow significantly larger M overall during construction (and then trim it back when complete), not just a small amount of overflow.  Here's the raw data:
hdf5/nytimes-256-angular.hdf5: 289761 base and 9991 query vectors loaded, dimensions 256
Index   M=16 ef=100 ov=1.0: top 100/1 recall 0.7248, build 41.33s, query 10.30s. 216100630 nodes visited
Index   M=16 ef=100 ov=1.1: top 100/1 recall 0.7253, build 34.46s, query 10.22s. 216682080 nodes visited
Index   M=16 ef=100 ov=1.2: top 100/1 recall 0.7273, build 34.09s, query 10.19s. 217711860 nodes visited
Index   M=16 ef=100 ov=1.3: top 100/1 recall 0.7282, build 34.87s, query 10.00s. 217189300 nodes visited
Index   M=16 ef=100 ov=1.4: top 100/1 recall 0.7300, build 34.40s, query 10.06s. 217574420 nodes visited
Index   M=16 ef=100 ov=1.5: top 100/1 recall 0.7310, build 35.67s, query 9.92s. 216313450 nodes visited
Index   M=16 ef=100 ov=1.6: top 100/1 recall 0.7318, build 36.42s, query 9.95s. 217324750 nodes visited
Index   M=16 ef=100 ov=1.7: top 100/1 recall 0.7324, build 37.23s, query 10.00s. 216880550 nodes visited
Index   M=16 ef=100 ov=1.8: top 100/1 recall 0.7331, build 38.25s, query 10.10s. 218359990 nodes visited
Index   M=16 ef=100 ov=1.9: top 100/1 recall 0.7349, build 39.12s, query 9.98s. 217950400 nodes visited
Index   M=16 ef=100 ov=2.0: top 100/1 recall 0.7361, build 39.77s, query 10.15s. 219628900 nodes visited

hdf5/glove-100-angular.hdf5: 1183514 base and 10000 query vectors loaded, dimensions 100
Index   M=16 ef=100 ov=1.0: top 100/1 recall 0.7083, build 129.28s, query 7.96s. 262328150 nodes visited
Index   M=16 ef=100 ov=1.1: top 100/1 recall 0.7099, build 112.93s, query 7.89s. 259868660 nodes visited
Index   M=16 ef=100 ov=1.2: top 100/1 recall 0.7107, build 111.35s, query 7.95s. 262270020 nodes visited
Index   M=16 ef=100 ov=1.3: top 100/1 recall 0.7115, build 114.18s, query 7.86s. 262288160 nodes visited
Index   M=16 ef=100 ov=1.4: top 100/1 recall 0.7115, build 120.58s, query 8.23s. 262504090 nodes visited
Index   M=16 ef=100 ov=1.5: top 100/1 recall 0.7112, build 121.68s, query 8.32s. 264554650 nodes visited
Index   M=16 ef=100 ov=1.6: top 100/1 recall 0.7124, build 125.39s, query 7.89s. 261228060 nodes visited
Index   M=16 ef=100 ov=1.7: top 100/1 recall 0.7130, build 120.96s, query 7.87s. 263518890 nodes visited
Index   M=16 ef=100 ov=1.8: top 100/1 recall 0.7112, build 123.28s, query 7.92s. 266836720 nodes visited
Index   M=16 ef=100 ov=1.9: top 100/1 recall 0.7137, build 128.29s, query 7.86s. 263501200 nodes visited
Index   M=16 ef=100 ov=2.0: top 100/1 recall 0.7148, build 127.33s, query 7.93s. 263909890 nodes visited

hdf5/glove-200-angular.hdf5: 1183514 base and 10000 query vectors loaded, dimensions 200
Index   M=16 ef=100 ov=1.0: top 100/1 recall 0.6385, build 214.84s, query 12.92s. 273614200 nodes visited
Index   M=16 ef=100 ov=1.1: top 100/1 recall 0.6390, build 191.94s, query 12.99s. 276782920 nodes visited
Index   M=16 ef=100 ov=1.2: top 100/1 recall 0.6376, build 192.05s, query 13.21s. 278794360 nodes visited
Index   M=16 ef=100 ov=1.3: top 100/1 recall 0.6392, build 194.30s, query 13.36s. 283579970 nodes visited
Index   M=16 ef=100 ov=1.4: top 100/1 recall 0.6422, build 199.53s, query 13.16s. 278914420 nodes visited
Index   M=16 ef=100 ov=1.5: top 100/1 recall 0.6445, build 204.94s, query 13.13s. 278050930 nodes visited
Index   M=16 ef=100 ov=1.6: top 100/1 recall 0.6445, build 207.79s, query 13.21s. 277796700 nodes visited
Index   M=16 ef=100 ov=1.7: top 100/1 recall 0.6422, build 209.80s, query 13.06s. 277976660 nodes visited
Index   M=16 ef=100 ov=1.8: top 100/1 recall 0.6435, build 216.14s, query 13.20s. 280327590 nodes visited
Index   M=16 ef=100 ov=1.9: top 100/1 recall 0.6435, build 219.54s, query 13.03s. 277604230 nodes visited
Index   M=16 ef=100 ov=2.0: top 100/1 recall 0.6458, build 225.36s, query 13.19s. 279667700 nodes visited


Apply xcdat for mean climate

As xcdat development is moving forward, the first candidate to implement xcdat to PMP can be mean climate metrics.

NOTE:

Test for precip benchmarking by @msahn: https://github.com/xCDAT/xcdat/discussions/296#discussioncomment-3427470

In progress for mean climate by @gleckler1 (and @lee1043 to assist): https://github.com/PCMDI/pcmdi_metrics/issues/859


Distributed tensorflow does not allocate well 'worker' to GPUs

Environment info
Operating System: Ubuntu 14.04 desktop
Installed version of CUDA and cuDNN: 7.5,  5.0.5
tensorflow 0.9.0.rc0 is installed from source.
(please attach the output of ls -l /path/to/cuda/lib/libcud*):
$ ls -l /usr/local/cuda/lib64/libcud*
-rw-r--r-- 1 root root   322936  8 16  2015 /usr/local/cuda/lib64/libcudadevrt.a
lrwxrwxrwx 1 root root       16  8 16  2015 /usr/local/cuda/lib64/libcudart.so -> libcudart.so.7.5
lrwxrwxrwx 1 root root       19  8 16  2015 /usr/local/cuda/lib64/libcudart.so.7.5 -> libcudart.so.7.5.18
-rwxr-xr-x 1 root root   383336  8 16  2015 /usr/local/cuda/lib64/libcudart.so.7.5.18
-rw-r--r-- 1 root root   720192  8 16  2015 /usr/local/cuda/lib64/libcudart_static.a
-rwxr--r-- 1 root root 59909104  6 21 15:39 /usr/local/cuda/lib64/libcudnn.so
-rwxr--r-- 1 root root 59909104  6 21 15:39 /usr/local/cuda/lib64/libcudnn.so.5
-rwxr--r-- 1 root root 59909104  6 21 15:39 /usr/local/cuda/lib64/libcudnn.so.5.0.5
-rwxr--r-- 1 root root 58775484  6 21 15:39 /usr/local/cuda/lib64/libcudnn_static.a
I'm trying to use distributed tensorflow with 8 Titan-x GPUs in two servers.
4 GPUs are in one server.
I separate workers to each GPUs as follows.
with tf.device(tf.train.replica_device_setter(
worker_device="/gpu:%d" % (FLAGS.task_id%4), cluster=cluster_spec)):
When I execute two 'ps' and eight 'worker', nvidia-smi shows next.
((server1)) workers are allocated on GPU 0,1,2,3

((server2)) workers are allocated on GPU 0

Why the workers are not allocated to GPU 1,2,3 in server1 ?
please help me.

https://github.com/tensorflow/tensorflow/issues/3234


chore(DTFS2-4533): remove moment from gef-ui, tfm-api test

Introduction :pencil2:
Moment js is deprecated, it should be replaced. The functional code is changed in #2758 .
Resolution :heavy_check_mark:

Replace moment() with vanilla Dates where possible and date-fns where necessary in

gef-ui
trade-finance-manager-api

Codecov Report
Attention: 320 lines in your changes are missing coverage. Please review.

Comparison is base (fbe7ec4) 22.57% compared to head (5591825) 27.49%.
Report is 21 commits behind head on main.

Files
Patch %
Lines

...ervice/put-utilisation-report-status.controller.ts
0.00%
38 Missing and 3 partials :warning:

...rt-service/upload-utilisation-report.controller.js
0.00%
30 Missing and 5 partials :warning:

dtfs-central-api/src/drivers/db-client.ts
37.50%
11 Missing and 4 partials :warning:

...al-api/src/v1/routes/utilisation-reports-routes.js
0.00%
14 Missing :warning:

...port-service/get-utilisation-reports.controller.ts
0.00%
13 Missing :warning:

...eport-service/get-utilisation-report.controller.js
0.00%
11 Missing and 1 partial :warning:

...rs/tfm/amendments/tfm-get-amendments.controller.js
0.00%
10 Missing :warning:

...pi/src/v1/controllers/bank/get-banks.controller.js
0.00%
8 Missing :warning:

dtfs-central-api/src/v1/routes/bank-routes.js
0.00%
8 Missing :warning:

...c/v1/controllers/tfm/users/tfm-users.controller.js
0.00%
7 Missing :warning:

... and 76 more

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2761      +/-   ##
==========================================
+ Coverage   22.57%   27.49%   +4.91%
==========================================
  Files        1136     1296     +160
  Lines       27255    29946    +2691
  Branches     4486     4884     +398
==========================================
+ Hits         6153     8233    +2080
- Misses      18388    18892     +504
- Partials     2714     2821     +107

Flag
Coverage Δ

api-test
0.48% <0.00%> (ø)

ui-test
65.20% <ø> (-0.47%)
:arrow_down:

unit-test
10.35% <52.41%> (+5.71%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Create Title with menu sandwich button above map div

Once this is accomplished, the Menu can render closed, which should solve Issue #10


Fix nth 0.1.0 to be usable

I am submitting

[ ] a new package
[x] an update for a package

Fixed the if statement.
cc @extua

Permission from the owner @extua is required for merging.

I'll close this and let @extua decide then.

Thanks for the fix @jeffa5,
I've now rewritten it and bumped up the version number in #163.


Add NIMSP Entity IDs

Issue #372
Someone at votesmart published a CSV with FollowTheMoney (NIMSP) Entity IDs for many legislators, that also has their votesmart IDs. Since congress-legislators has votesmart IDs, I wrote a script to cross-reference and add them.
Note that this isn't my data, but I spot checked a number of them and they look good.

Looks like this failed the test -- I can fix but just before I do:

Is this still a desired feature?
for the name, 'nimsp' or 'followthemoney' ? There's an old nimsp id too, so nimsp_entity might make sense too
Do I just add it to validate.py with type int, or is there another model/definition file somewhere that needs to be edited?

Is this still a desired feature?

I don't know if anyone is actively looking to use this, but we might as well add it.

for the name, 'nimsp' or 'followthemoney' ?

followthemoney would be more consistent with our opensecrets id (i.e. we don't call it the crp ID).

Do I just add it to validate.py with type int, or is there another model/definition file somewhere that needs to be edited?

Right, just add it to validate.py. The values should be ints (unquoted) - they're currently strings.
You should also add it to the README. And since it looks like we don't have IDs for everyone, you should explain why in the README.

Add to validate////××! M


Finalize minimum code Acceptance Criteria for all Micro-Acquisitions

[ ] Complete research into best practices ....Is there generic criteria that can be used for all code that is delivered?  Automated tests?  Security?
[ ] Work with Solutions Architecture to see what of their work we can link to
[ ] Meet with IT Security

Research gathered here: https://014gc.sharepoint.com/:w:/s/GCDevEx/EfmEEwRP1_dKuoHZ5eH4QuIB4IgMVlJ1cnWBMgIGvqAWIA?e=Oy2v25

Research gathered here: https://014gc.sharepoint.com/:w:/s/GCDevEx/EfmEEwRP1_dKuoHZ5eH4QuIB4IgMVlJ1cnWBMgIGvqAWIA?e=Oy2v25

Evaluate GitHub's Code Scanning feature as part of the QA process to find any vulnerabilities. From the folks at CDS: "we had Semmle's previous offering LGTM as a requirement for all CDS OS projects, and so will transition it all over to this (code scanning). It really helps with catching errors."
https://github.blog/2020-09-30-code-scanning-is-now-available/

Email sent to security requesting a meeting


Fix: staking empty error

Task linked: CU-86932rmf9 Multishard account. Problem with start staking for few shards.


Splat Viewer

你好，我看到了你在Splat Viewer做的一些改进基于antimatter15/splat，不知道你是否取得了一些令人惊叹的进展，由于你的那个项目没有issue，所以我在这里提问，如果给你带来困扰，抱歉，如果你有一些进展，期待你的分享
Hello, I have seen some improvements you have made in Splat Viewer based on antimatter15/splat. I am not sure if you have made any amazing progress. As your project has not been issued, I am here to ask a question. If this has caused you any inconvenience, I apologize. If you have any progress, I look forward to your sharing

Hello! Yes, I have made some progress as I have translated the code from javascript to C++ to make it work in a standalone app. I'll then use C++23 features to prepare a talk based on it at the CppNorth 2024 in Toronto. For the moment, the issues I have are glitches with intel integrated graphics card, maybe there are too much data! hehe!

I'm closing this issue and move it to the real code repo


Initialize frontend page

Clerk Account anlegen
Next.js Website initialisieren
Clerk vorraussetzungen verstehen
Clerk signin implementieren
Use this repo https://github.com/SE-TINF22B6/PlapyWebsite

https://nextjs.org/docs/pages/api-reference/create-next-app

import { DrizzleAdapter } from "@auth/drizzle-adapter";
import {
getServerSession,
type DefaultSession,
type NextAuthOptions,
} from "next-auth";
import { type Adapter } from "next-auth/adapters";
import DiscordProvider from "next-auth/providers/discord";
import { env } from "~/env";
import { db } from "~/server/db";
import { createTable } from "~/server/db/schema";
/**

Module augmentation for next-auth types. Allows us to add custom properties to the session
object and keep type safety.

@see https://next-auth.js.org/getting-started/typescript#module-augmentation
*/
declare module "next-auth" {
interface Session extends DefaultSession {
user: {
id: string;
// ...other properties
// role: UserRole;
} & DefaultSession["user"];
}

// interface User {
//   // ...other properties
//   // role: UserRole;
// }
}
/**

Options for NextAuth.js used to configure adapters, providers, callbacks, etc.

@see https://next-auth.js.org/configuration/options
/
export const authOptions: NextAuthOptions = {
callbacks: {
session: ({ session, user }) => ({
...session,
user: {
...session.user,
id: user.id,
},
}),
},
adapter: DrizzleAdapter(db, createTable) as Adapter,
providers: [
DiscordProvider({
clientId: env.DISCORD_CLIENT_ID,
clientSecret: env.DISCORD_CLIENT_SECRET,
}),
/*

...add more providers here.

Most other providers require a bit more work than the Discord provider. For example, the
GitHub provider requires you to add the refresh_token_expires_in field to the Account
model. Refer to the NextAuth.js docs for the provider you want to use. Example:

@see https://next-auth.js.org/providers/github
*/
],
};

/**

Wrapper for getServerSession so that you don't need to import the authOptions in every file.

@see https://next-auth.js.org/configuration/nextjs
*/
export const getServerAuthSession = () => getServerSession(authOptions);

https://clerk.com/


Fix caching example by using .clone() method

The .json() cannot be resolved more than once for the same request

Types of changes

[ ] Chore (a non-breaking change which is related to package maintenance)
[x] Bug fix (a non-breaking change which fixes an issue)
[ ] New feature (a non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Description
Fix caching example mentioned https://github.com/prismicio/prismic-client/issues/217
Checklist:

[x] My change requires an update to the official documentation.
[x] All TSDoc comments are up-to-date and new ones have been added where necessary.
[x] All new and existing tests are passing.

Codecov Report

Merging #218 (15ea6f6) into master (b141ba7) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master      #218   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           19        19
  Lines          316       316
  Branches        60        60
=========================================
  Hits           316       316

Continue to review full report at Codecov.

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


ESP32-C6 as Open Thread Border Router (CON-899)

Considering ESP32-C6 has both Wi-Fi and Thread radio in a single chip. Can we use it as a Thread border router? If yes, there is any guide to setup ESP32-C6 as a border router?

For a border router you need to add ESP32-H type chip.
https://docs.espressif.com/projects/esp-thread-br/en/latest/
https://docs.espressif.com/projects/esp-thread-br/en/latest/hardware_platforms.html
This has to do with the C6 802.11 radio being shared and to be a border router you have to listen 100% of the time.  So adding the H2 allows you to listen 100% of the time.
There is really not much need to make a border router. All of the Google, Apple, Amazon Home devices function as a border router.

@jonsmirl what's the point of having both Wi-Fi and Thread radio in single SoC then?

You can make an end device with the C6 that can pick wifi or thread networking.

You can also make a controller with it:
https://github.com/espressif/esp-matter/tree/main/examples/controller

So ESP32-C6 can act both as a matter controller and Matter over Thread device at a time?

I don't know about at the same time, have to ask the Espressif people.

Closing as the question is answered


Fix super property transform in async arrow in method

Previously we were only checking if super.x (or super[x]) was referenced in an async method, but were not properly transforming non-async methods that contain async arrow functions that contain super.x.
Fixes #46828

@typescript-bot perf test this


fix: patch vanilla-extract vite plugin

I've patched the package with pnpm patch. Doing a pnpm install will patch the vanilla extract plugin I hope.
EDIT: I don't know if pnpm install resolve the git patches automatically

Hi, thanks but looks like it's not needed with the latest version of solid and solid-start


NON function

On start-up of Windows, refuses to start-up with Windows.

Can you give me some more info about your setup.
Seems no one else has this issue.


Non-cryptographic checksum collisions could lead to corruption

ReDB assumes that a partial write will cause checksum verification to fail.  However, the checksum is not a collision-resistant hash, so this is not a valid assumption at least in theory.

That's true in theory, and certainly there could be malicious attacks that cause a collision. However, the hash used is XXH3 in 128bit mode, and from what I understand of XXH3 it is well tested and provides statistically uniform hashes, so in practice I do not expect this to be a problem. Do you know of any cases where this would fail in practice, for non malicious workloads?

The problem is that workloads might be able to be made malicious.  Consider a program that exposes ReDB’s key-value API over a network, analogous to memcached or Redis.  This would then be an exploitable vulnerability.
If a cryptographic hash such as Blake3 is too slow, another option would be to use Poly1305, which is a fast cryptographic one-time-MAC.  Provided that the data to be written to disk is known with certainty before the key is written to disk, even an attacker with read-only access to the database file would not be able to cause a falsely-correct checksum.  Doing so would require changing the data to be written after the key is known.  This does not provide any authentication of the on-disk data, but it does guarantee integrity against accidental corruption.

I see, ya good point. It seems difficult to craft that exploit, since the attacker would also need fine grained control over the order in which the page cache is flushed. I admit this is more practical than I had thought though. I'll think about it some more.
Blake3 would definitely hurt performance. I tried it when I was prototyping this feature. Poly1305 sounds interesting, but the benchmarks I've found look like it would be slow: https://kerkour.com/rust-symmetric-encryption-aead-benchmark & https://www.bearssl.org/speed.html both suggest it's on the order of 1-2GB/s. Does that sound right to you?

An optimized assembler implementation can be less than 0.5 cycles per byte, so at least 4GB/s.  Are you referring to just Poly1305, or to ChaCha20-Poly1305?  You do not need the latter unless you want to support encryption at rest (itself useful).

From a performance perspective, I think there is much more that can be done.  For instance, a thread-per-core design (using Glommio or similar) combined with direct I/O, batching of transactions (to amortize the cost of fsync()), and a userspace buffer pool can be far faster than anything based on mmap().

Just Poly1305. Ya, unfortunately 4GB/s is likely too slow. XXH3's throughput is ~50GB/s on my computer, and even at that rate there's a ~25% slow down in raw throughput for the single phase commit with checksum approach

I thought through the malicious message workload you brought up, and it's definitely possible in theory.
The scenario would be something like:
table.insert(malicious_key, malicious_value);
table.insert(good_key, good_value);
txn.commit();

and the attacker wants the transaction to appear as:
table.insert(malicious_key, malicious_value);
txn.commit();

To do this they need to:

control the order in which pages are flushed to disk, so that the ones related to good_key are never written
introduce a crash during, or immediately before, the fsync() operation
ensure that the checksums for the partially written data are valid

With complete control over the workload, or read access to the database file (3) is possible, since XXH3 is not collision resistant. However, it requires the attacker to have knowledge of the database contents, because the input to the checksum includes many other values (all the other keys in the b-tree root, along with their child node numbers)
The docs already note that a non-cryptographic checksum is used, but I'll make them a bit more clear on this point.
Since this requires the attacker to combine multiple other exploits to execute this attack, I still think this is largely theoretical and that the performance hit from using a collision resistant checksum is not worthwhile.
Happy to reconsider though, if there's a practical scenario where this could be exploited, that I've missed

Just Poly1305. Ya, unfortunately 4GB/s is likely too slow. XXH3's throughput is ~50GB/s on my computer, and even at that rate there's a ~25% slow down in raw throughput for the single phase commit with checksum approach

That is definitely annoying!  I wonder if part of that is because of memory bandwidth limitations or increased cache misses.

Happy to reconsider though, if there's a practical scenario where this could be exploited, that I've missed

This seems hard to exploit, but one possible scenario to think about is if redb is used on a physical device that must remain secure, if if an attacker has some level of physical access. For example inside a secure enclave, or a tamper-resistant embedded device.
In this scenario an attacker might be able to precisely control the order of operations performed by redb and be able to make the device crash. Additionally, if the precise hardware is known to the attacker, then the attacker may be able to know the order that pages will be flushed.

Ah yes, that does seem plausible. I'll add a note recommending that anyone worried about malicious input use the 2PC commit option

That looks great!
This makes me wonder, are any of the common cryptographic hardware extensions fast enough to be useful? Either cryptographic hash functions, like SHA-2, or ciphers, like AES. I think in you can use ciphers to construct hash functions and MACs.

From what I know of AES-NI, it's only like a 2x speedup or so. The BLAKE3 benchmarks show it against SHA-256 and SHA-256 is way slower. It says it was run on a Cascade Lake server, so that should definitely have the AES extension

Ahh, bummer.


[React][Select] defaultValue and value should be string

Description
Hi there!
When using the Select component, the current API for defining the default selected value is:

defaultValue => uncontrolled select
selectedOption => controlled select

Both props have the same type Option which is an object taking a label and a value.
It does not make sense, as a consumer of the component, to re-specify the label of the selected value, IMHO.
Proposed Solution or API
I think it would be better if we can have the same API of a native React select:

defaultValue => uncontrolled select
value => controlled select

With both these props accepting a string only corresponding to the current selected value. An example:
<Select defaultValue="react">
  {({ selectedOption }) => (
    <>
      <SelectLabel>Framework</SelectLabel>
      <SelectTrigger>{selectedOption?.label ?? 'Select option'}</SelectTrigger>
      <Portal>
        <SelectPositioner>
          <SelectContent>
            <SelectOption value="react" label="React" /> // This option will be default selected
            <SelectOption value="solid" label="Solid" />
            <SelectOption value="vue" label="Vue" />
          </SelectContent>
        </SelectPositioner>
      </Portal>
    </>
  )}
</Select>

What do you think ?
Additional Information
No response

Agree.

Thanks for taking your time to report this issue.
We've refined the API a bit to make it even more flexible.
type SelectProps<T> = {
    items: T extends Iterable
    onChange: (item: T) => void
}

type SelectItemProps<T> = {
    key: keyof T | string
}

so you can just pass a string as you had in mind but also any other entity that make sense for you

I think we have the same problematic on the Combobox component.

I also had a rough time using a validation schema for a Select component because the selectedOption on thus the value from onChange would always be a type Option instead of string.

This will be adressed in https://github.com/chakra-ui/zag/pull/826

This is now completed and a new version of Ark will be rolled out pretty soon


fix: handle test suite failures with passing results

Test suites can be marked as failures even if tests pass. The main example I see of this is an
assertion in an afterEach or afterAll hook. This change allows the synthetic failure to be added
alongside passing tests

Moved from #446 to fix commitizen commit message

Thank you for the changes @jp7837 they will be released shortly :)


Identifying WSO2 Specific Code

Description:
Currently, we are using basic static analysis tools such as Checkstyle to analyze and identify bugs in our codebase. However, these tools do not cover our company's specific coding and security best practices. After conducting thorough research, we determined that a custom Sonar plugin is the most suitable static analysis tool to meet our needs and cover our custom use cases.
Describe the solution you would prefer:
With a custom sonar plugin, we will be able to write custom rules that can be used to detect common WSO2 specific violations and security guidelines. Developers can easily integrate Sonar into their workflow and ensure that their code adheres to WSO2’s coding standards before a code review session.

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Create bejamas.io

Hey, we recently joined the Eleventy Open Collective Supporters Club and would love to be listed on Super Professional Business Network!

Thanks @thomkrupa!

This is great! I think we may want to add excludedFromLeaderboards here, because I think bejamas.io is still a Gatsby site, right?

@zachleat Right! Currently, we use Gatsby so we should be excluded from the Eleventy leaderboard

Done in #1245.

Thanks @pdehaan !


raidboss: Fix Trigger Syntax Issues

General fix for various syntax issues within Raidboss triggers.

Oof. Thanks for finding those. I'll be more careful about that pattern going forward.


hyper link not working.

Its works fine and convert html to pdf perfectly but Im unable to click the link
I tried button which also not working the conversion of the pdf.
Any solution?
const options = {
        html: `<a href="https://anylink.com" >Click me</a>`,
        fileName: "filename"
      };

      let file = await RNHTMLtoPDF.convert(options)

Same here.

I am having the same issue, but only when generating from an iOS device. The contents of the a tag are properly formatted as a hyperlink, but nothing happens when clicking on it

@mihaitreispe
I had a same problem and I tried two.
1. How to write anchor tags
It seems to be checking the href of the anchor tag and the URL of the child text.

https://example.com
https://example.com

https://example.com
LINK

https://example.com

2. WebFont
In some cases, characters are garbled when Web Font is used.
My solution
Please adjust the size, etc.

  https://example.com
  LINK

I hope this helps you.

Awesome @yutasuzuki . It worked


Generate documentation from Swagger 2.0 spec file

user story
As API admin I would like to provide API swagger 2.0 spec file (either upload or point file URL) and let service generate documentation in API -management.
tools available
https://github.com/swagger-api/swagger-codegen/blob/master/bin/html-petstore.sh

Add the link to Swagger spec in API metadata.

Closing as duplicate. Covered partially in Documentation tab rewrite. Codegen also considered in research task #950.


Run notebooks from GitHub and other git repos

As demonstrated by mybinder and described here
http://ivory.idyll.org/blog//2016-mybinder.html
it seems this would be a nice addition to the docker version of beaker.
Perhaps a good intern project

our plan is to build this functionality into Beaker Lab: https://Lab.BeakerNotebook.com


[REEF-360]: Fix violations / reconfigure checkstyle checks in "Blocks" category

This addressed the issue by

fixing LeftCurly and NeedBraces violations
fixing most AvoidNestedBlocks and EmptyBlock violations
configuring AvoidNestedBlocks to allow nested blocks in switch case
configuring EmptyBlock to allow blocks with comments only
allowing to configure per-case warning suppressions and suppressing AvoidNestedBlocks in org/apache/reef/util/MemoryUtils.java

JIRA: REEF-360

@tcNickolas I made a pass and commented on a couple parts. +1 once these are looked at.

I also did a pass.

Thanks @markusweimer for the second pass. I'll test and merge.


Implement parity-based post-processing of measurements

QHack 2023 Hackathon
This issue is related to one of our contributions to the QHack 2023 Hackathon.
QHack is a series of events on quantum computing organized by Xanadu. Events range from scientific talks, code challenges, and an open hackathon. The hackathon runs from February 22nd to February 28th and is open-ended. Example topics:

Implement an idea from the quantum literature with code. For example, the feature request described in this issue.
Create a self-contained tutorial or demonstration of an idea from quantum computing. For example, create an interactive Jupyter notebook where you apply the Variational Quantum Classifier.
Submit a Pull Request to an open-source library with a new feature.

For further information on how you can participate in the QHack Open Hackathon, see this repository.
Everyone is encouraged to contribute to this issue or alternatively open a separate one.
Description of feature request
At the moment, we post-process the measurements of a variational circuit in order to facilitate subsequent one-hot encoding representations. This is done in the QModels.
This paper (by Nico Meyer et al.) presents a way to optimize this post-processing step and also sheds light into our current models. The authors propose a post-processing function $f(\cdot)$ that assigns an integer (corresponding to a class) to a $n$-bit string $b$ as follows:
\begin{align*}
f(b) = \left[b_0 ... b_{m-2}\left(\bigoplus_{i=m-1}^{n-1} b_i\right) \right]_{10}
\end{align*}

where $M=2^m$ is the number of classes, $n$ is the number of qubits, and $\left[ \cdot \right]_{10}$ is the decimal representation the argument. For example, if $m=5$ and $n=8$, then
\begin{align*}
f(b_7 b_6 b_5 b_4 b_3 b_2 b_1 b_0) = \left[b_0 b_1 b_2 b_3 \left(b_4 \oplus b_5 \oplus b_6 \oplus b_7 \right) \right]_{10}
\end{align*}

and for $b=10110100$ we have
\begin{align*}
f(1 0 1 1 0 1 0 0) = \left[0 0 1 0 \left(1 \oplus 1 \oplus 0 \oplus 1 \right) \right]_{10}
= \left[0 0 1 0 1 \right]_{10} = 5
\end{align*}

As usual, the resulting one-hot encoding would be a vector of $M=32$ elements with the 4th element (the index is zero-based!) set to $1$ and all other elements set to zero.
Remaining question: what should we do when $M$ is not a power of $2$?

First version of the ParityModel has been implemented.
The following graph compares the accuracy score for different post-processing strategies for eight features of the Wine dataset. The code to reproduce these results can be found in this notebook

Still open tasks:

What should we do when $M$ is not a power of $2$? Currently we simply ignore those class outcomes. These cases needs additional tests.


feat(outline): Make outline a separate prop

The outline for buttons and cards is now it's own props separate from the color value.
Based on https://github.com/reactstrap/reactstrap/issues/33#issuecomment-214025488
This also adds additional tests around this new props.
Also:
Cards, unlike buttons, do not have a default color. Thus adding outline prop to a card without a color will do nothing.
Is this acceptable? Should it produce a warning/error? Should it default to 'card-outline-secondary' when outline is provided but no color is provided?

Coverage remained the same at 100.0% when pulling ee5fa1ede63dbe4a1f52d59cd0fc87e2da9e4c97 on TheSharpieOne:feature/outline-prop into f617dc52a0b80d97bf5cce2c4c0d22197169e0e0 on reactstrap:master.

Coverage remained the same at 100.0% when pulling 7496c91dd00fa5b9800994bb9275084954645ef1 on TheSharpieOne:feature/outline-prop into b62ee014dbd90bd2af14b05f674c0e41fce6645f on reactstrap:master.

@TheSharpieOne thanks a ton for the prs!
I think this is acceptable behavior. I think card already has a solid style without background variants applied where as the default .btn kind of looks weird and isn't really shown in the docs.
re: warnings/errors. I'd love to throw warnings in dev mode that catch issues like this and not include those warnings in production builds.


Vite support?

As vuejs 3 uses vite as default bundler, is there any way to use this package with it?

it doesn't matter which bundler you use
because this plugin is built on top of tailwind so you just need to configure your tailwind with Vite : link here
then install the plugin as a dev dependency and call it inside the tailwind.config.js in the plugins section

@lord007tn To reproduce the problem, i've just started a new project using vuejs 3 and added tailwindcss.
Everything works correctly and tailwind classes take effect.
Then i've installed tailwindcss-rtl using npm install tailwindcss-rtl --save-dev and there is my tailwind.config.js:
module.exports = {   content: ["./index.html", "./src/**/*.{vue,js,ts,jsx,tsx}"],   theme: {     extend: {},   },   plugins: [import("tailwindcss-rtl")], };
App.vue:
`

        Lorem ipsum dolor sit amet consectetur adipisicing elit. Dolorem, vero.
        Voluptatum, non minus! Ea ullam accusamus nobis iste eos, voluptates
        fugiat soluta architecto. Deleniti unde, maiores vel possimus quos et.

`
But as you can see in the image below, none of tailwindcss-rtl classes (e.g. ps-10, ms-10) are not taking effect.
tailwindcss-rtl-vite.png
Also in devtools these classes are not shown:
devtools.png

@lord007tn Same issue as you describe in my project, any update ? found any solution ?

@crswll Thanks for your reply, already try it but Vite not support require thats why we try using import but tailwindcss.config.js not support Import.

I just set up a fresh project with it and it's working.

@crswll And dir="rtl" attribute added to body ?
all other rtl attribute added to html ?

The plugin wouldn't do that. You'd need to do that yourself.

Oh, ok I will try it and let you update.

Ok, my LTR/RTL variable did not update correctly, thanks for this tip :)


Missing "transitionToExternal" hook in Route override

There should be a transitionToExternal function in -private/route-ext.js, something like this
transitionToExternal() {
  let router = this.router;
  return router.transitionToExternal(...arguments);
}

I imagine this will also need to happen with Route#replaceWith. Will update in a bit.

This should be fixed now. Trying pulling the links branch again.


Removing no longer relevant GatewayCore detail

'SendTelemetry' no longer a property

@shcummin : Thanks for your contribution! The author, @ecfan, has been notified to review your proposed change.

#sign-off


Using Proxy

As you know these bot programs are executed on server in most cases, and due to filtering telegram in some countries the program won't work,
Is there a solution to use proxies for bot ?

@dukesaeed Please follow issue templates and we do not provide support via GitHub issues.
However, there are solutions for using proxy. Please ask that in our support chat:
https://t.me/joinchat/B35YY0QbLfd034CFnvCtCA or tgbots_dotnet


Inscription IDs are Potentially Unstable

The changes in 7e6eb73b5212f3b6647785cba7bc001b4ed7c604 (PR #2145) create the potential for instability of inscription Ids.
Specifically, prior to this commit all values were i0 due to it being 'txid.into()' (where the conversion populated a 0 automatically if not provided). The change makes it the index within the parsed envelopes. This would be fine, except that it relies on the envelopes that are parsed being stable between versions (and more importantly between services). While this is the ideal, it recreates the instability that led to the confusion about inscription numbers.
We can keep this id for backwards compatibility (as it is reliable if we assume that all envelopes are parsed equally by two parties and no one has triggered any of the very specific edgecases), but we should further define an id that uses only on-chain data that doesn't require indexing anything other than the specific envelope that an id references.
While we should explore other options, my kneejerk reaction would be defining identifiers such that they point to the transaction (using txid like we already do) and then further define the location of the envelope within the transaction. This could be done using (vIn, offsetWithinTapscript) or offsetWithinRawTransaction.
The gut reaction of most developers will be to assume this doesn't matter as the ids are stable for any given version, but the purpose of a stable identifier goes beyond individual versions and MUST be stable between versions to be useful (or when we share and use them we would also need to include which version they correspond with).

I think the ship has kind of sailed on this one. There is definitely the potential for instability, but it only exists within a single transaction, i.e., you would have to create a transaction which hit an edge case for one inscription, but not the others, and only inscription IDs within that one transaction would change. We could introduce a new inscription ID, and I actually thought about using the offset of the envelope within the tapscript, however having a second type of inscription ID would be very confusing, and getting people to migrate would be hard.

there are a lot of sat serial number IDs floating around unused in TXs. maybe use them? not onchain but def stable.


Remove Riesz map in the preconditioner by using firedrake.Cofunction

~Waiting on upstream PRs: fenics ufl#243 and either firedrake#3235 or firedrake#3241~
This PR changes the pc to use a Cofunction rhs to the block solvers. This means we can copy the diagonalised residual straight into the Cofunction instead of having to do a Riesz map solve into a Function to use as the rhs.

the pedant may complain that self.xfi and self.xfr should be Cofunctions as well.

I would have but cpx.{set,get}_{real,imag} doesn't work between Cofunctions with the complex_proxy.vector implementation (the default). I'll open an issue to fix it.


proof that exports are broken

Proof that the current default export is broken and only works when consumed from within TypeScript, but not vanilla Node.js
See https://github.com/Codex-/cosmiconfig-typescript-loader/pull/37 for a breaking change "solution" by switching to named exports.

Closing as resolved with #37


Allow programs to be installed in different locations

I've no clue what I had in mind when I raised this issue. Closing as invalid.


Image Classification

I have added the file

@varsha6319 Please add MLproject to your pull request.

@varsha6319 Thanks for making revisions to your model. Here is my feedback:

Rename your Readme to README.md

Update your train_dataset link to point to the correct training dataset. I downloaded the training dataset from Fashion MNIST Dataset on Kaggle.

When running $ python ImagePredictor.py, I see the following error:

Traceback (most recent call last):
  File "ImagePredictor.py", line 48, in <module>
    test_features = conv_base.predict(np.array(test_X), batch_size=Batch_Size, verbose=1)
NameError: name 'Batch_Size' is not defined

When running $ mlflow run ., I see the following error:

Traceback (most recent call last):
  File "/Users/skurilyak/.pyenv/versions/3.7.2/bin/mlflow", line 10, in <module>
    sys.exit(cli())
  File "/Users/skurilyak/.pyenv/versions/3.7.2/lib/python3.7/site-packages/click/core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "/Users/skurilyak/.pyenv/versions/3.7.2/lib/python3.7/site-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
  File "/Users/skurilyak/.pyenv/versions/3.7.2/lib/python3.7/site-packages/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/Users/skurilyak/.pyenv/versions/3.7.2/lib/python3.7/site-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Users/skurilyak/.pyenv/versions/3.7.2/lib/python3.7/site-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "/Users/skurilyak/.pyenv/versions/3.7.2/lib/python3.7/site-packages/mlflow/cli.py", line 137, in run
    run_id=run_id
  File "/Users/skurilyak/.pyenv/versions/3.7.2/lib/python3.7/site-packages/mlflow/projects/__init__.py", line 265, in run
    use_conda=use_conda, storage_dir=storage_dir, synchronous=synchronous, run_id=run_id)
  File "/Users/skurilyak/.pyenv/versions/3.7.2/lib/python3.7/site-packages/mlflow/projects/__init__.py", line 87, in _run
    project = _project_spec.load_project(work_dir)
  File "/Users/skurilyak/.pyenv/versions/3.7.2/lib/python3.7/site-packages/mlflow/projects/_project_spec.py", line 40, in load_project
    entry_points[name] = EntryPoint(name, parameters, command)
  File "/Users/skurilyak/.pyenv/versions/3.7.2/lib/python3.7/site-packages/mlflow/projects/_project_spec.py", line 87, in __init__
    self.parameters = {k: Parameter(k, v) for (k, v) in parameters.items()}
AttributeError: 'NoneType' object has no attribute 'items'

Closing due to new pull request: #142


Test reorganization

This moves our unit tests into subdirectories closer to the objects they are testing.

Codecov Report

Merging #515 (b6dbb9b) into develop (8e1cb46) will increase coverage by 0.64%.
The diff coverage is n/a.

:exclamation: Current head b6dbb9b differs from pull request most recent head e78d682. Consider uploading reports for the commit e78d682 to get more accurate results

@@             Coverage Diff             @@
##           develop     #515      +/-   ##
===========================================
+ Coverage    95.24%   95.89%   +0.64%
===========================================
  Files           81       94      +13
  Lines         4356     5191     +835
===========================================
+ Hits          4149     4978     +829
- Misses         207      213       +6

Impacted Files
Coverage Δ

src/serac/numerics/tests/serac_mesh.cpp
100.00% <ø> (ø)

src/serac/physics/tests/serac_boundary_cond.cpp
100.00% <ø> (ø)

src/serac/physics/tests/serac_dtor.cpp
100.00% <ø> (ø)

src/serac/physics/tests/serac_newmark_test.cpp
96.74% <ø> (ø)

src/serac/physics/tests/serac_solid.cpp
100.00% <ø> (ø)

src/serac/physics/tests/serac_solid_reuse_mesh.cpp
100.00% <ø> (ø)

src/serac/physics/tests/serac_thermal_solver.cpp
100.00% <ø> (ø)

.../physics/tests/serac_thermal_structural_solver.cpp
98.70% <ø> (ø)

src/serac/physics/tests/test_utilities.cpp
98.73% <ø> (ø)

src/serac/physics/tests/test_utilities.hpp
100.00% <ø> (ø)

... and 16 more

Continue to review full report at Codecov.

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

I'm investigating why the lassen builds are failing. It's giving me a weird casting error.

Any issues @samuelpmishLLNL @joshessman-llnl ?

I think this is an improvement, but it's making me realize how much boilerplate we have in all of our CMakeLists.txt. For example, this snippet is used everywhere, verbatim:
foreach(filename ${whatever_tests})
     get_filename_component(test_name ${filename} NAME_WE)

     blt_add_executable(NAME        ${test_name}
                        SOURCES     ${filename}
                        OUTPUT_DIR  ${TEST_OUTPUT_DIRECTORY}
                        DEPENDS_ON  ${test_dependencies}
                        FOLDER      serac/tests )
     blt_add_test(NAME          ${test_name}
                  COMMAND       ${test_name}
                  NUM_MPI_TASKS 1 )
 endforeach()

it might be worth making a function to avoid copy-and-pasting that same body in every single file, e.g.
foreach(filename ${whatever_tests})
  add_serial_test(filename FOLDER serac/tests)
endforeach()

Additionally, it seems like there's another pattern where some_directory/CMakeLists.txt has
...
if (enable_testing)
  add_subdirectory(tests)
endif()
...

and then some_directory/tests/CMakeLists.txt has another conditional guard
if (ENABLE_GTEST)
...
# entire contents of file
...
endif()

Is there a case where we ever enable testing, but don't have gtest?

I think these quality of life improvements make a lot of sense. I'll ask @white238 to make sure there isn't a good reason to not do this.

As for the guarding against ENABLE_GTEST, I think its safe to assume that if our project has ENABLE_TESTING as on we can assume gtest is enabled.

Lets do the testing macro in a followup PR.  We can probably just have one macro something like:
serac_add_test(SOURCE file
                         DEPENDS_ON list
                         COMMAND_ARGS -something-here
                         NUM_MPI_TASKS 4)

where NUM_MPI_TASKS is optional and triggers the serial/parallel


rm catkin_LIBRARIES in CMakeLists.txt ?

Addressed in #137

Thanks a lot @ZacharyTaylor for fixing this!


Is there a way to avoid redundant cast with DictionaryType

Is there a way to do
if isinstance(array, pa.DictionaryType) and array.type.value_type:

Right now it's got to be
if isinstance(array.type, pa.DictionaryType)
        and cast(pa.DictionaryType, array.type).value_type

You can use TypeGuard


For security reasons, WebView is not allowed in privileged processes

Does this component work with system apps ? If you use the native WebView on a system app, you'll get the exception "For security reasons, WebView is not allowed in privileged processes" along with "Error inflating class WebView"; this exception starts in WebViewFactory class.

Thanks for your question!
Any new insights that you may be able to share?
In general, there is probably not much difference between this library and the basic WebView when it comes to fundamental security restrictions in the operating system. This is because this library just builds on top of the basic view.

My mistake, I'm using a system app and got a "For security reasons, WebView is not allowed in privileged processes" with your component, and then I realized that your component inherits from WebView. Thanks.


Export fs-bq-schema-views does not work with Firecloud Map

[READ] Step 1: Are you in the right place?
Yes
Issues filed here should be about bugs for a specific extension in this repository.
If you have a general question, need help debugging, or fall into some
other category use one of these other channels:

For general technical questions, post a question on StackOverflow
with the firebase tag.
For general Firebase discussion, use the firebase-talk
google group.
To file a bug against the Firebase Extensions platform, or for an issue affecting multiple extensions, please reach out to
Firebase support directly.

[REQUIRED] Step 2: Describe your configuration

Extension name: _ (storage-resize-images, firestore-send-email, etc)
fs-bq-schema-views
Extension version: .01.12
Configuration values (redact info where appropriate):

_\
Function Location: us-east4
Big Query Dataset Location: us
Collection Path: participant-response
Dataset Id: shape_dev
Table Id: participant_response
Schema:

{
"fields": [
{
"name": "participantId",
"type": "string"
},
{
"name": "surveyId",
"type": "string"
},
{
"name": "profile",
"type": "string"
},
{
"name": "org",
"type": "string"
},
{
"name": "profileDOB",
"type": "string"
},
{
"name": "dateWritten",
"type": "timestamp"
},
{
"name": "responses",
"type": "map",
"fields": [
{
"name": "question",
"type": "string"
},
{
"name": "response",
"type": "string"
}]
}
]
}

_

[REQUIRED] Step 3: Describe the problem
Steps to reproduce:
Installed extension into my Firebase project and configured the extension, I then ran the script to create the schema and fs-bq-import-collection to import my firebase collection.  All of the fields configured in the schema were created in the big query view with the exception of the map of questions and responses from Firecloud.
What happened? How can we make the problem occur?
This could be a description, log/console output, etc.
Scripts ran as expected but produced a null field for the map
Expected result
Fields from Firecloud map to be included in the BigQuery view
Actual result
Fields in the big query view were present for the map but null.   These fields are not null in the Firecloud collection.

The fields that represent the map in Firecloud collection appear as null
aways.   So in this case I have two fields in each row of the view called
question and response which are always null.
...
{
"name": "responses",
"type": "map",
"fields": [
{
"name": "question",
"type": "string"
},
{
"name": "response",
"type": "string"
}]
}
The actual collection is a JSON object array defined as map in the
Firecloud collection and looks like:
{
"complete": true,
"dateWritten": {
"value": {
"_seconds":<PHONE_NUMBER>,
"_nanoseconds": 976000000
}
},
"profileDOB": "11/03/2017",
"responses": [
{
"question": "d635f126-e754-3f5b-2cff-f713a3b2e42d",
"response": "This is for Jason"
},
{
"question": "1a0ae85b-610e-b782-60de-c6e6b8e5590d",
"response": "2"
},
{
"question": "a03a6a2c-9218-f00d-91c9-dd03ced47622",
"response": "2020-11-3"
},
{
"question": "9249609e-910b-bd25-e041-7ba0514e8cd5",
"response": [
"1"
]
},
{
"question": "f096ad61-7e1a-3494-6660-2292c268bea5",
"response": "2"
},
{
"question": "338de24c-a7f7-dc10-a314-04e67d4ee839",
"response": 26
},
{
"response": "This is a large text area",
"question": "3d51b7d8-0fb2-4ab5-6bd1-bdd9842e0f21"
},
{
"response": "4",
"question": "f7c38dfb-74ce-0cdd-9964-afb91f0893be"
}
],
"questionnaireId": "eeHjsy5knYHv4306tp5o",
"org": "TEST",
"participantId": "101",
"profile": "Jason",
"surveyId": "N5j9Q997ySvKTNvwjbuh",
}
...
On Wed, Feb 3, 2021 at 5:05 AM Russell Wheatley<EMAIL_ADDRESS>wrote:

Hey @michaelgriffithus https://github.com/michaelgriffithus, which
specific field in your schema has a value of null? Is the value for the
field sometimes null or always null?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/firebase/extensions/issues/583#issuecomment-772388941,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AC4ICUWZOWTEYLSKCNZBS43S5ENWPANCNFSM4W7MV2JA
.

That won't work because the schema you have defined is looking for responses with an object type, in your collection, it is an array of nested objects type. In the gen-schema-view scripts current implementation, you cannot define a nested array schema type I'm afraid. Here is the gen-schema-view guide which might be helpful.

Going to close this as resolved for now. We have the feature request https://github.com/firebase/extensions/issues/1051 (requested several times).


How to implement it?

I'm really sorry for the stupid question, but i'm new to HA and HACS
I'm trying to integrate my Benq projector to my HA, and found this component, but i'm struggling to find out how to make it work.
I tried to insert the url as custom repository, but didn't work, then I tried to put the files inside the custom_component folder, but no success.
What is the procedures to implement it on my HA instance.
Thank you

Hi
Indeed the files go into custom_component, but I believe the manifest might be considered out of date by newer Home Assistant install, I do not use the projector anymore so I cannot really update the code, but it should be a relatively simple thing to fix - Install it and open Home Assistant log to see what it's complaining about.
then you'll need to add a switch in your HA config file
switch:
  - platform: benq_projector
    filename: /dev/ttyUSB0
    baudrate: 115200

replacing /dev/ttyUSB0 by your USB to Serial device (Might be the same one)

@lucasmkrolow I'm not sure if you're still looking for a solution on how to integrate your BenQ projector with Home Assistant, but this new integration by me might be of interest to you:
https://github.com/rrooggiieerr/homeassistant-benqprojector

@lucasmkrolow I'm not sure if you're still looking for a solution on how to integrate your BenQ projector with Home Assistant, but this new integration by me might be of interest to you:
https://github.com/rrooggiieerr/homeassistant-benqprojector

Unfortunately not anymore, I gave up on Home assistant (because I was having trouble to access it remotely because of Internet Provider limitations) and also my BenQ projector was stolen 😭
But thanks for the answer


Grid layout is broken on native iphone email client.

Grid layout is BROKEN on iphone devices with native email client.
Reproduction
generate new project with foundation-cli (npm package), where npm module foundation-emails is of version 2.0.1 (githead 3c1658219aea5933bb3dff8b4cc91c5c67b67f7c).
and use iphone 6/6s email clients.
see html source
note that two rows were added (each with a button)
see iphone 6s plus screenshot

Can you help narrow down what element is causing the grid width issue you are seeing?

Not seeing this happen in litmus though the bulletproof button does not need a table. Just to be sure, tested your email on an iPhone 6 and 5 and looks good. We'll close this here - please open a new issue if you are still seeing an issue with this. Thanks!