Could react-sketch work on mobile platform?

Hi. Thank you for you work
I dont't know how to using react-sketch on mobile platform, or it have support mobile ?

Hello Qquanwei and thank you for your comment,
This is a web application and will not work with a native mobile it requires canvas, I don't know if you wish to follow a route such as with cordova or a webview
Hope it helps

I'll using in webview,
in chrome device tools, i notice it won't be work

Hey @Qquanwei I faced the same issue. It looks like the underlying library Fabric.js is having issues with touch support at the moment - https://github.com/kangax/fabric.js/issues/3869

I have exposed a function enableTouchScroll in order to enable it on touch-based devices. simply do sketch.enableTouchScroll() to enable or sketch.disableTouchScroll() to disable
I have used sketchField at a react based application and cordova with success

I'm closing the issue at the moment since it is more like a question - answer rather than an issue


fix(makefile): ensure RUSTFLAGS is set before building c headers

Follow up on this PR: https://github.com/babycat-io/babycat/pull/92
I found that the modified RUSTFLAGS environmental variable doesn't get passed along to cargo in the default msys version of make.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thank you for this! Let me know if you have any issues when using Babycat.


Improve README files

Fixes #244.
Fixes #117.
I took example of what we had in gtk4-rs.

Let's go with this for the moment (I added the links to the "development docs"). Further improvements can be added later on. :)


convert 062_defer_state_tests

resolves #6613
resolves #6617
Backport to 1.4.latest after merging (see https://github.com/dbt-labs/dbt-core/issues/6617#issuecomment-1382732958)
Description

Converted to pytest framework
Replace direct file reads/writes with common test utilities (write_file, rm_file). I was a bit inconsistent in terms of what I defined in + imported from fixtures.py, and what I just kept as strings defined inline.
These are complex & intricate test sequences. I did some light refactoring in places where tests had been over-aggressively duplicated over time, but I kept most of them.
As part of that refactoring work, I found a bug in the implementation of --favor-state that's currently included in v1.4.0-rc1 (#5859). ~I'll open a separate issue + PR to include that commit.~ We should backport this PR to 1.4.latest, and include the fix for v1.4.0-rc2.
I do not believe this test needs to be run on any other adapters; it's completely core functionality. As such, I added it to tests/functional rather than tests/adapter, and I'll open follow-up PRs in adapter repos to remove this test entirely.

Adapter PRs

https://github.com/dbt-labs/dbt-redshift/pull/268
https://github.com/dbt-labs/dbt-snowflake/pull/397
https://github.com/dbt-labs/dbt-bigquery/pull/468

Checklist

[x] I have read the contributing guide and understand what's expected of me
[x] I have signed the CLA
[x] I have run this code in development and it appears to resolve the stated issue
[x] This PR includes tests, or tests are not required/relevant for this PR
[x] I have opened an issue to add/update docs, or docs changes are not required/relevant for this PR
~I have run changie new to create a changelog entry~

I forgot I included a commit (fa9d2a0) that reverted the fix (083d310), just to prove that the converted test really does catch the bug + prove the fix!
Reverting the revert now...


Fix dockerfile for druid image

Fixes docker image build issues with apache/druid.
Description
Currently, trying to build the docker image fails with the following error when trying to grab the static bash utils.
#16 0.263 wget: note: TLS certificate validation not implemented
#16 0.297 wget: TLS error from peer (alert code 80): 80
#16 0.297 wget: error getting response: Connection reset by peer

This seems to be caused by a SSL validation issue in busybox (it seems to happen for github.com but not google.com). I thought this might be fixed by moving to busybox 1.35.0, but I got the same error.
To get this working, I moved the wget commands to another setup layer and copied the file into the distroless build.
It seems like it would be better to switch to busybox 1.35.0 anyways (there is a critical CVE: https://nvd.nist.gov/vuln/detail/CVE-2022-48174), although we technically just use the image for the setup tools, not sure if the CVE actually affects us), but the issue with switching to busybox 1.35.0 is that we get the build errors that were described in this pr: https://github.com/apache/druid/pull/14518
This can be remediated by also upgrading the distroless image to debian12, but there is no java11-debian12 distroless image, only a java17-debian12 image.
As far as I know druid supports java17 as a target now so maybe this would be okay? I can make that change if people think it makes sense.
I tested the new image and it ran fine.
Release note
Fix druid docker image
Key changed/added classes in this PR

distribution/docker/Dockerfile

This PR has:

[X] been self-reviewed.

[ ] using the concurrency checklist (Remove this item if the PR doesn't have any relation to concurrency.)

[ ] added documentation for new or modified features or behaviors.
[ ] a release note entry in the PR description.
[ ] added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
[ ] added or updated version, license, or notice information in licenses.yaml
[ ] added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
[ ] added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.
[ ] added integration tests.
[X] been tested in a test Druid cluster.

@hardikbajaj - FYI

I am ok moving to Java 17 based image.

@LakshSingla - We may need this for 28 to build docker images.


IndexError: vector::_M_range_check: __n (which is 0) >= this->size() (which is 0)

Hey, I am new to SALAM. I followed the instructions given and tried to run stencil2d benchmark on ARM architecture. I got the following output:
em5 Simulator System.  http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.
gem5 compiled Dec 13 2020 18:02:09
gem5 started Dec 14 2020 13:24:07
gem5 executing on arcogtx980ti, pid 31865
command line: /scratch/ayush/test/gem5-SALAM/build/ARM/gem5.opt --debug-flags=HWACC --outdir=BM_ARM_OUT/sys_validation/stencil2d configs/SALAM/sys_validation.py --mem-size=4GB --mem-type=DDR4_2400_8x8 --kernel=/scratch/ayush/test/gem5-SALAM/benchmarks/sys_validation/stencil2d/sw/main.elf --disk-image=/scratch/ayush/test/gem5-SALAM/baremetal/common/fake.iso --machine-type=VExpress_GEM5_V1 --dtb-file=none --bare-metal --cpu-type=DerivO3CPU --accpath=/scratch/ayush/test/gem5-SALAM/benchmarks/sys_validation --accbench=stencil2d --caches --l2cache
Global frequency set at<PHONE_NUMBER>000 ticks per second
warn: DRAM device capacity (16384 Mbytes) does not match the address range assigned (4096 Mbytes)
info: kernel located at: /scratch/ayush/test/gem5-SALAM/benchmarks/sys_validation/stencil2d/sw/main.elf
Cycle Counts Loaded!
Cycle Counts Loaded!
system.vncserver: Listening for connections on port 5900
system.terminal: Listening for connections on port 3456
warn: CoherentXBar system.acctest.coherency_bus has no snooping ports attached!
0: system.remote_gdb: listening for remote gdb on port 7000
**** REAL SIMULATION ****
warn: Existing EnergyCtrl, but no enabled DVFSHandler found.
info: Entering event queue @ 0.  Starting simulation...
Current power model supports accelerators running at 1, 2, 3, 4, 5, 6, and 10 ns.
Cycle time: 48 is not supported yet. Use 6ns power model instead.
Current power model supports accelerators running at 1, 2, 3, 4, 5, 6, and 10 ns.
Cycle time: 48 is not supported yet. Use 6ns power model instead.
Current power model supports accelerators running at 1, 2, 3, 4, 5, 6, and 10 ns.
Cycle time: 48 is not supported yet. Use 6ns power model instead.
Current power model supports accelerators running at 1, 2, 3, 4, 5, 6, and 10 ns.
Cycle time: 48 is not supported yet. Use 6ns power model instead.
Current power model supports accelerators running at 1, 2, 3, 4, 5, 6, and 10 ns.
Cycle time: 48 is not supported yet. Use 6ns power model instead.
Current power model supports accelerators running at 1, 2, 3, 4, 5, 6, and 10 ns.
Cycle time: 48 is not supported yet. Use 6ns power model instead.
Current power model supports accelerators running at 1, 2, 3, 4, 5, 6, and 10 ns.
Cycle time: 48 is not supported yet. Use 6ns power model instead.
Current power model supports accelerators running at 1, 2, 3, 4, 5, 6, and 10 ns.
Cycle time: 48 is not supported yet. Use 6ns power model instead.
Current power model supports accelerators running at 1, 2, 3, 4, 5, 6, and 10 ns.
Cycle time: 48 is not supported yet. Use 6ns power model instead.
Traceback (most recent call last):
File "", line 1, in
File "build/ARM/python/m5/main.py", line 457, in main
exec(filecode, scope)
File "configs/SALAM/sys_validation.py", line 393, in
Simulation.run(options, root, test_sys, FutureClass)
File "/scratch/ayush/test/gem5-SALAM/configs/common/Simulation.py", line 726, in run
exit_event = benchCheckpoints(options, maxtick, cptdir)
File "/scratch/ayush/test/gem5-SALAM/configs/common/Simulation.py", line 269, in benchCheckpoints
exit_event = m5.simulate(maxtick - m5.curTick())
File "build/ARM/python/m5/simulate.py", line 180, in simulate
return _m5.event.simulate(*args, **kwargs)
IndexError: vector::_M_range_check: __n (which is 0) >= this->size() (which is 0)
I am not able to figure out how to handle this error, can you please suggest anything!
Regards
Ayush

Hello Ayush!
Thank you for trying out gem5-SALAM, I'll look into these errors and get
back to you with a solution as soon as I can.
On Mon, Dec 14, 2020, 9:15 AM Ayush K Varshney<EMAIL_ADDRESS>wrote:

Hey, I am new to SALAM. I followed the instructions given and tried to run
stencil2d benchmark on ARM architecture. I got the following output:
em5 Simulator System. http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.
gem5 compiled Dec 13 2020 18:02:09
gem5 started Dec 14 2020 13:24:07
gem5 executing on arcogtx980ti, pid 31865
command line: /scratch/ayush/test/gem5-SALAM/build/ARM/gem5.opt
--debug-flags=HWACC --outdir=BM_ARM_OUT/sys_validation/stencil2d
configs/SALAM/sys_validation.py --mem-size=4GB --mem-type=DDR4_2400_8x8
--kernel=/scratch/ayush/test/gem5-SALAM/benchmarks/sys_validation/stencil2d/sw/main.elf
--disk-image=/scratch/ayush/test/gem5-SALAM/baremetal/common/fake.iso
--machine-type=VExpress_GEM5_V1 --dtb-file=none --bare-metal
--cpu-type=DerivO3CPU
--accpath=/scratch/ayush/test/gem5-SALAM/benchmarks/sys_validation
--accbench=stencil2d --caches --l2cache
Global frequency set at<PHONE_NUMBER>000 ticks per second
warn: DRAM device capacity (16384 Mbytes) does not match the address range
assigned (4096 Mbytes)
info: kernel located at:
/scratch/ayush/test/gem5-SALAM/benchmarks/sys_validation/stencil2d/sw/main.elf
Cycle Counts Loaded!
Cycle Counts Loaded!
system.vncserver: Listening for connections on port 5900
system.terminal: Listening for connections on port 3456
warn: CoherentXBar system.acctest.coherency_bus has no snooping ports
attached!
0: system.remote_gdb: listening for remote gdb on port 7000
**** REAL SIMULATION ****
warn: Existing EnergyCtrl, but no enabled DVFSHandler found.
info: Entering event queue @ 0. Starting simulation...
Current power model supports accelerators running at 1, 2, 3, 4, 5, 6, and
10 ns.
Cycle time: 48 is not supported yet. Use 6ns power model instead.
Current power model supports accelerators running at 1, 2, 3, 4, 5, 6, and
10 ns.
Cycle time: 48 is not supported yet. Use 6ns power model instead.
Current power model supports accelerators running at 1, 2, 3, 4, 5, 6, and
10 ns.
Cycle time: 48 is not supported yet. Use 6ns power model instead.
Current power model supports accelerators running at 1, 2, 3, 4, 5, 6, and
10 ns.
Cycle time: 48 is not supported yet. Use 6ns power model instead.
Current power model supports accelerators running at 1, 2, 3, 4, 5, 6, and
10 ns.
Cycle time: 48 is not supported yet. Use 6ns power model instead.
Current power model supports accelerators running at 1, 2, 3, 4, 5, 6, and
10 ns.
Cycle time: 48 is not supported yet. Use 6ns power model instead.
Current power model supports accelerators running at 1, 2, 3, 4, 5, 6, and
10 ns.
Cycle time: 48 is not supported yet. Use 6ns power model instead.
Current power model supports accelerators running at 1, 2, 3, 4, 5, 6, and
10 ns.
Cycle time: 48 is not supported yet. Use 6ns power model instead.
Current power model supports accelerators running at 1, 2, 3, 4, 5, 6, and
10 ns.
Cycle time: 48 is not supported yet. Use 6ns power model instead.
Traceback (most recent call last):
File "", line 1, in
File "build/ARM/python/m5/main.py", line 457, in main
exec(filecode, scope)
File "configs/SALAM/sys_validation.py", line 393, in
Simulation.run(options, root, test_sys, FutureClass)
File "/scratch/ayush/test/gem5-SALAM/configs/common/Simulation.py", line
726, in run
exit_event = benchCheckpoints(options, maxtick, cptdir)
File "/scratch/ayush/test/gem5-SALAM/configs/common/Simulation.py", line
269, in benchCheckpoints
exit_event = m5.simulate(maxtick - m5.curTick())
File "build/ARM/python/m5/simulate.py", line 180, in simulate
return _m5.event.simulate(*args, **kwargs)
IndexError: vector::_M_range_check: __n (which is 0) >= this->size()
(which is 0)
I am not able to figure out how to handle this error, can you please
suggest anything!
Regards
Ayush
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/TeCSAR-UNCC/gem5-SALAM/issues/2, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJT7COW73TCSY7UODCITZ4DSUYMYNANCNFSM4U2ZZM5Q
.

Could you provide your version of g++ used to build SALAM with? Also which LLVM version are you using to compile the IR?

g++ --version
10.1.0
llvm-config --version
12.0.0git

LLVM 3.8 must be used for generation of the IR files. Later versions change the structure of the IR, which likely caused the parser to read incorrectly, resulting in a empty vector, which caused your error. We are currently improving the parser to include a wrapper that utilities the LLVM library for parsing, like when writing an optimization pass, but it is still under development.

Going to close this issue, if you have any questions, comments, or additional issues please let us know.


Update devices-Pc.md

Edited the Model name in the PCs list for Lenovo Models as requested by the Lenovo partner.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: Bhavani-Ganta sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Rails server logs?

How do I output the rails server logs without tailing the logs file?

You can't, you must tail the log/development.log file.


Can't login after password change: 'please enter a valid login & password'

I'm having the same issue as in #467, but no luck trying to fix it. I've deleted the old token from the GitHub Authorized Applications page, and then cleared the GitHub app's data on the phone, but I still can't log in. Is the token stored somewhere else on the phone? What am I missing?
This is on a Nexus 4, running 4.4.3, not rooted and fully up to date.

This should get resolved as a part of resolving #582

Indeed, hasn't been an issue for a while now. Should have closed this a while back, really...

Cool, glad it's all good now!


Ellipse shaped counter with 10+ notifications

I’m assuming that this should be a circle regardless of the number of notifications (but haven’t looked at Twitter for the longest time so perhaps this is intentional and sorry if this issue is a waste of time)

The number doesn't fit there with a circle. It's the same thing with Twitter and others, not circular:

Fair dos. It's more a pill than an ellipse when there's more than one character though.

From this post:

@mikey This has been answered earlier, can't remember where though so I'm answering here:
Not possible to do otherwise CSS-only. I'm sure you agree this doesn't look good either (pictured below).
The styles cannot be changed conditionally based on how much notifications there is. Twitter has it similarly in back-end so that the radius changes to not so round version when the notifications reach two or more numbers.
So it is what it is and I'll take it.

If the border-radius in px (or rem, or another fixed unit) rather than % I think the ellipse would become a pill

If the border-radius was set in px (or rem, or another fixed unit) rather than % I think the ellipse would become a pill

Good point, but it might not be able to get it fully round when the number has one digit. So it's either-or. Have to experiment on this later. Feel free to send a PR with examples.

Looking again, I think the fact there's more horizontal padding (6px) than vertical (1px) means that border-radius: 50% already equates to a slight capsule shape even for a single character. To my mind a slight pill would be preferable (but I realise this is hugely subjective).


[AIRFLOW-2215] Pass environment to subproces.Popen in base_task_runner

Make sure you have checked all steps below.
JIRA

[x] My PR addresses the following Airflow JIRA issues and references them in the PR title. For example, "[AIRFLOW-XXX] My Airflow PR"

https://issues.apache.org/jira/browse/AIRFLOW-2215

Description

[x] Here are some details about my PR, including screenshots of any UI changes:
Missed a Popen in previous PR, same Issue.  This bug causes airflow runs under celery worker to not work in venv and not have environ vars.

Tests

[x] My PR adds the following unit tests OR does not need testing for this extremely good reason:
Trivial 1-line bugfix.

Commits

[x] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

[x] Passes git diff upstream/master -u -- "*.py" | flake8 --diff

Codecov Report

Merging #3183 into master will increase coverage by 0.19%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #3183      +/-   ##
==========================================
+ Coverage   73.66%   73.85%   +0.19%
==========================================
  Files         191      191
  Lines       14348    14348
==========================================
+ Hits        10569    10597      +28
+ Misses       3779     3751      -28

Impacted Files
Coverage Δ

airflow/task/task_runner/base_task_runner.py
79.31% <ø> (ø)
:arrow_up:

airflow/models.py
87.23% <0%> (+0.08%)
:arrow_up:

airflow/jobs.py
80.08% <0%> (+0.88%)
:arrow_up:

airflow/utils/dag_processing.py
88.44% <0%> (+1.33%)
:arrow_up:

airflow/executors/__init__.py
61.9% <0%> (+4.76%)
:arrow_up:

airflow/executors/sequential_executor.py
100% <0%> (+50%)
: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 a6487d6...3a29c6e. Read the comment docs.


Value domain validation

VALUE DOMAIN VALIDATION
After exploring the metadata in 1.5 I discovered that all value domains follow this rule:
Value domains have EITHER these fields:

description
unitOfMeasure
Or:
codeList
missingValues

(These definitions are taken from the "Sikt-model", but affect our model just the same)
I added a rule to the schema that follows this rule from 1.5, and updated docs to reflect the change.
Bumped version to 0.4.0

The rule is that unitOfMeasure and codeList are mutually exclusive but description may exist independently of those fields.

@vaskalan reference to our talk:
As for right now this seems to be the way all data is currently represented in the datastore.
description
unitOfMeasure

OR
codeList
missingValues
I think we should be (maybe overly) strict here, and not "rock-the-boat" while we transition the ruleset to 2.0.

Valuedomains that exist in the current 1.5 datastore are either the fields:
description
measurementUnitDescription

OR the fields:
codeList
missingValues

What @vaskalan commented above is correct according to both documents, and the code that exists currently for 1.5.
The behaviour I find confusing is:
If only a measurementUnitDescription is supplied, and no description is supplied, it writes the measurementUnitDescription value to both "description" and "unitOfMeasure" fields.

In the current datastore, in the valuedomains that have a "description" and "unitOfMeasure" they always match. In other words, there is either some redundancy in the model, or we need to better define these fields so they are used properly by the data owners.
Suggestion:

Define the measurementUnitDescription properly and make it optional. To stay synched with the old datastore for now, if it is not supplied it will be overwritten with "N/A" (Already often done manually by s380)

These two fields exist explicitly in the "Sikt-model" we are transforming to, so even if we consider them redundant, they are necessary until we discuss the model with "team west".
@BjornRoarJoneid @vaskalan @pawbu
Thoughts?


feat: Implements PrimitiveType and PrimitiveVector for datatypes2

I hereby agree to the terms of the GreptimeDB CLA
What's changed and what's your intention?
This PR implements PrimitiveType and PrimitiveVector for datatypes2 crate.

Renames the Primitive to NativeType, and adds the ArrowNativeType trait bound to it.
Introduces WrapperType to represent wrappers like Date, Timestamp to allow the primitive vector returns a wrapper type.
Replaces PrimitiveElement with LogicalPrimitiveType.
Implements the PrimitiveVector, using the official arrow's PrimitiveArray.
Passes more tests.

LogicalPrimitiveType
Now we can use the LogicalPrimitiveType to associate the arrow's ArrowPrimitiveType with our NativeType and WrapperType.
pub trait LogicalPrimitiveType: 'static + Sized {
    /// Arrow primitive type of this logical type.
    type ArrowPrimitive: ArrowPrimitiveType<Native = Self::Native>;
    /// Native (physical) type of this logical type.
    type Native: NativeType;
    /// Wrapper type that the vector returns.
    type Wrapper: WrapperType<LogicalType = Self, Native = Self::Native>
        + for<'a> Scalar<VectorType = PrimitiveVector<Self>, RefType<'a> = Self::Wrapper>
        + for<'a> ScalarRef<'a, ScalarType = Self::Wrapper>;

    // ...
}

We also use the wrapper type, instead of the native type as our vector's scalar type, so we can define a DateVector as PrimitiveVector<DateType> in the future.
Thanks to the compiler, the following trait works!🎉🎉🎉
Thanks to the reviewer, it is really not easy to review such a tremendous amount of changes.🍺🍺🍺
Checklist

[x]  I have written the necessary rustdoc comments.
[x]  I have added the necessary unit tests and integration tests.

Refer to a related PR or issue link (optional)
#555

We now have NativeType / LogicalPrimitiveType / WrapperType / ConcreteDataType. I think we should add an explanation for other maintainers to understand the relations between these types.


chore(master): release filsnap 0.4.1

:robot: I have created a release beep boop
0.4.1 (2023-07-29)
Bug Fixes

improve docs and type descriptions (b6c95cc)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/filecoin-project/filsnap/releases/tag/filsnap-v0.4.1 :sunflower:


(GH-883) Remove example sensu_enterprise_dashboard_api_config resources by default

Pull Request Checklist
Description
Remove sensu_enterprise_dashboard_api_config resources for api1.example.com and api2.example.com by default.
Related Issue

Fixes #883
Motivation and Context

Better support resource purging for sensu_enterprise_dashboard_api_config
How Has This Been Tested?

Unit tested
General

[ ] Update README.md with any necessary configuration snippets

[ ] New parameters are documented

[ ] New parameters have tests

[ ] Tests pass - bundle exec rake validate lint spec

@ghoneycutt Worth adding the purge of sensu_enterprise_dashboard_api_config as optional boolean that is false by default?

Released in v2.50.1


Bump collector to 3.14.3

Description
Includes python CVE fixes in base image and the memory-leak fix backport.
Checklist

[ ] Investigated and inspected CI test results

/retest


session.remove called too early when there are stacked application contexts

Currently flask-sqlalchemy will call session.remove() when app.teardown_appcontext is called. Because application contexts can be stacked, it means that we will remove the session when the inner most application context is popped, while there still might be other active contexts.
Aren't sessions supposed to be scoped per application context?
Here's an example to show the issue:
from flask import Flask
from flask_sqlalchemy import SQLAlchemy

app = Flask(__name__)
app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite://'
db = SQLAlchemy()
db.init_app(app)

class User(db.Model):
    id = db.Column(db.Integer, primary_key=True)
    name = db.Column(db.String())

def test_session_remove_example():
    with app.app_context():
        db.create_all()

        user = User(name='a')
        db.session.add(user)
        assert user in db.session

        with app.app_context():
            assert user in db.session

        # This will fail, because the session was removed.
        assert user in db.session

out of curiosity, why do you have multiple instances of the same app's context on the stack?

Good question :) In my background jobs, before using Flask-SQLAlchemy, I didn't need application context for all tasks, so I was explicitly pushing it for a few of the tasks that did need it (to use Flask-Mail).
After switching to Flask-SQLAlchemy, I changed the background jobs base class to push application context before running the tasks as it was always required now. This resulted in the application context being pushed twice and exposing this issue.
I can't imagine a real world scenario when this might happen, but because it does expose some unexpected behavior, I thought it's worth reporting.

#1087 changes the session scope to use the current app context instead of the thread. If there are different contexts pushed, there is a different session for each context.


Quality compared to style-transfer

Hey!
I'm trying to achieve with fast style transfer roughly same results as with classical one and I can't. Best example, IMO, is style transfer from "Starry night": in Gatys approach (your implementation is fine example) you can see spirals on images styled with Van Gogh style.
With fast style transfer - there is no spirals, just some boring zigzags.
I upload trained model with default parameters here. Before that I worked with Logan Engstrom's variation of it and did experiments with different content weights and style weights, but cannot achieve spirals transfer as well. In your code there is possibility to play with layers as well, but it's time consuming to try all possible options. Can you suggest what should I try to achieve result closer to style transfer?
PS: It's not about only achieving spirals in "Stary night" - it's just a very good illustration of an issue.

Hi. I'm really sorry for late response.
I have been faced with the same problems that you mentioned.
Honestly speaking,  I could not achieved spirals in "Starry night" from the codes here.
I did not want to spend too much time on achieving "good" results as in other implementations.
So I left it as further work.
About layer-option, I gave some variations on layers just for checking that codes are working.
I'm sorry I can not help you.

Hi, with your pre-trained models: hier which values for parameters did you use to train?  Thank you.

Hi @nlminh  All pre-trained models are obtained from the same default parameters.

Hi, I'm having trouble recreating the same results using the default parameters, has anyone else experienced this? I'm wondering if having content loss = [1.0] is too much?

Hi @scharnk, Yes default params seem to be off for some reason. Have you been able to reproduce the pre-trained models?

@dakshvar22 @scharnk, what about reproduce models? Can you say - what i must to change?
@exsstas Agree with you. I'm interesting how to reproduse demo results from first version of @hwalsuklee on this repo.
Because resuls is really differ.


Show references in the inspector for a reference prefix tree

We need a view for the collection of references.


Better formating of higlights in search results

Use configured labels for all highlights in search results.

I had a few corrected, hope to have caught them all in 714bad751bc1d82941197a718600a2ed96a7f6aa

looks good :+1:

Some translations missing


Enrich analysis node titles come from the chosen measurements

Instead of showing "Enrich from Data Observatory" for each node, we know show the name of the measurement:

Closes #9577

CR: @xavijam

Hound seems to be stuck. Since the rest of the checks are green, I'll merge this.


fix(util): fix get_value_at_path for None values

Codecov Report

Merging #53 (e36904f) into main (cb9a0dc) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main       #53   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            8         8
  Lines          369       374    +5
=========================================
+ Hits           369       374    +5

Impacted Files
Coverage Δ

src/event_processor/exceptions.py
100.00% <100.00%> (ø)

src/event_processor/filters.py
100.00% <100.00%> (ø)

src/event_processor/util.py
100.00% <100.00%> (ø)

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 cb9a0dc...e36904f. Read the comment docs.


1701: add less obtrusive message for saving..., saved, and when there's an error setting a score value

Delivers #1701.  I've introduced a new less obtrusive message container for notifying users of "Saving...", "Saved" and "Errors were detected." messages. This is different to the standard session feedback component is tied to the grade editing only.  It looks like this:

Looks good. In conflict though :sob:

Thanks @steveswinsburg, conflict resolved 🍻


caddy: rebase

Description of changes
This commit depends on #316076, which will update caddy from version 2.7.6 -> 2.8.4. When the update is merged, I will update this PR with the 2.8.4 update's commit, after which you can use git fetch upstream and  git reset --hard *2.8.4commit* and then merge this rebase PR to your caddy-external-plugins branch. GitHub may automatically close #259275 if you use git push while your PR branch has no changes to merge (after using git reset --hard *2.8.4commit*), but you should be able to reopen it.
This rebase branch is currently based on commit 5f6ccfaad57dd58f34581441fdea481bc508265a.
UPDATE: The update of caddy from version 2.7.6 to 2.8.4 has been merged as commit dedd8ebbe9fd453389940042115e58733b8c210d! To rebase your caddy-external-plugins branch, you can now:

git checkout caddy-external-plugins
git fetch upstream
git reset --hard dedd8ebbe9fd453389940042115e58733b8c210d
git push -ff

After running those commands, this PR should then stop having trillions of commits, and you should be able to merge it. I added a few changes, including some suggestions from @h7x4. I split the PR into two commits: one that adds support for external plugins, and the other that adds documentation to rl-2411.

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

Hi! I fully rebased caddy and gave instructions on how to get this very conflicting PR merged (as an edit to this PR's description)! Let me know if you have any issues with the changes.

@Nanotwerp perhaps you should ping the maintainers of the Caddy package, so you can get this merged.


question: Can dledger-0.2.0  be imported  in rocketmq4.7.1?

We used dledger-0.2.0 in rocketmq v4.7.0, it worked well.

yes

store 4.7.1 and dledger-0.2.0  report some error when compiled

@maixiaohai @vongosling


Add a pmap cookbook

A notebook showing a rich and informative set of pmap examples would be an extremely valuable addition.

This is an excellent suggestion.
There are some meaty docstrings in Lax's parallelization primitives, spmd_mnist_classifier_fromscratch.py, etc., but it would be useful to have a cookbook and API docs.

I believe https://github.com/google/jax/blob/master/cloud_tpu_colabs/Pmap_Cookbook.ipynb solves this, what do you think @mattjj ?

It does indeed. I think the remaining action item is to link the pmap cookbook into the regular JAX documentation a bit better.
(For a long time we had the cookbook ready to go, but we didn't have a free Colab environment with multiple accelerators that we could run it on. We do now because cloud TPU colabs are available.)

It's already linked under pmap (using SPMD Cookbook name), but maybe adding the cloud_tpu_colabs to docs/notebooks would be better?

I think this is solved!


formatting does not work as intended

Describe the bug
When I use the clear formatting tool in the editor, then either it is not working as intended or not working at all.  In fact, I will describe 3 issues with formatting.
Issue 1: headings are not cleared
In all applications when you are clearing the formatting you are essentially removing all non-default style values. In BookStack, however, Headings are not cleared.
Issue 2: fails to format - case 1,
From the non-pro user perspective the text looks OK. In the source, however, we see some HTML tags. This text will not be cleared.
Issue 3: formats all text instead of 1 line
From the non-pro user perspective the text looks OK. In the source, however, we see that all text is written in line, wish some line breaks code tags.. Formatting will be applied to the whole text instead of 1 line.
Steps To Reproduce:
all issues are reproduced by creating a new page and then following the guide
Issue 1

Paste the text source:

i am writing some test stuff

this is my heading

this is a text in bold

some more text

Verify result:

Select all text in user-friendly mode and clean clean formatting button.

Expected behavior
all text is defaulted to paragraph, bolds cleared etc.
Actual behavior
Heading formatting is not cleared

Issue 2

Paste the text source:

Your product

Microsoft Office Pro Plus 2019

Your product key

xxxxxxxxxxxxx

Verify result:

Select all text in user-friendly mode and clean clean formatting button.

Expected behavior
all text is defaulted to paragraph. Each line is a separate paragraph.
Actual behavior
nothing changed. Check the source

select line 1 or line 2 and apply Paragraph/heading

Expected behavior
selected line changed to the target style
Actual behavior
nothing changed. Check the source.
You can not apply the Paragraph to any line that has html tags.
Nor you can apply the Heading.
Nor you can clear the formatting (default line to paragraph).

Issue 3

Paste the text source:

Your product
Microsoft Office Pro Plus 2019
Your product key
xxxxxxxxxxxxx

Verify result:

Select second line and apply heading.

Expected behavior
only second line has heading applied
Actual behavior
All lines have heading applied

OK. so try clearing formatting of all text.

Expected behavior
all text is defaulted to paragraph. Each line is a separate paragraph.
Actual behavior
same source. Nothing cleared. All lines are still 1 line in the source. Will be impossible to set per-line formatting.

Your Configuration (please complete the following information):

Exact BookStack Version (Found in settings): BookStack v0.29.3
PHP Version: PHP 7.3.14-1~deb10u1 (cli) (built: Feb 16 2020 15:07:23) ( NTS )
Hosting Method (Nginx/Apache/Docker): Apache

Additional context
So, after looking at some existing requests that exist from 2016 (spoiler tags) - I do not expect the bookstack formatting to be fixed anytime soon. That is why I will find some other option.
Nevertheless, I think that it is important that all bugs are reported.
I would like just to make 1 comment about how the BookStack should be looked at. When a regular non-tech user starts editing - he/she does not need to know what happens under the hood. Imagine the user being your grand-mom/nephew who has no idea about what the "source" button is.
The user goes and pastes some text from the internet. (then he ends-up in issue 2)
The user goes and pastes some text from Notepad++ (then he ends-up in issue 3)
When the user clicks on "clear formatting" button he expects all the non-default stuff to be cleared. In reality, however, I have proven that the clear formatting has very little effect on the source. In fact, I think that heading clearing is made that way, what you will call "per design". This wouldn't be an issue if the user could still select all text and apply paragraph style to it, but it was also proven that "per line formatting" does not work as intended either.
So, I hope you enjoyed reading my explanations and are viewing the issue the same way as I do.

Thanks for raising @pavlexander. I'm going to close this off though since multi-issue reports such as this are hard to keep track off, and since I think the points here are generally covered off by other issues or activities.
In relation to the 3 issues raised:

This has since been raised in #3015.
Yeah, We should ideally convert this on paste where possible. This is heavily editor dependant so the station will likely change as we move to a new editor as per work initiated in #2738.
I'd consider this expected behaviour. Formats are applied per-block, not per-line. A
 represents in in-block line break.


Expo + android: Items aren't dragging

Hello,
I have a managed expo project and am trying to use this package. I have followed the installation instructions as stated for expo here and here:
https://docs.expo.dev/versions/latest/sdk/reanimated/
https://docs.expo.dev/versions/latest/sdk/gesture-handler/
I'm not able to drag the items in my list. I added a ScaleDecorator wrapper to check that the drag gets triggered, and the item does rescale, but I'm unable to drag it.
const renderItem = ({ item, index, drag, }: any) => ( <ScaleDecorator> <TouchableOpacity onLongPress={drag} style={styles.draggable}> <Text>{item?.label}</Text> </TouchableOpacity> </ScaleDecorator> );
EDIT: sorry the code is not formatting properly for some reason, I don't know how to fix it
To Reproduce
Since I might have done something wrong, I even copied someone else's working code and replaced my App.tsx with it, but I still get the same problem when I use the example code: https://snack.expo.dev/@bonehead06/react-native-draggable-flatlist-functional-component
The list renders but I can't drag the items anywhere.
Platform & Dependencies
Please list any  applicable dependencies in addition to those below (react-navigation etc).

react-native-draggable-flatlist version: ^3.0.5
Platform: Developing in Windows / Android
Expo version: ~44.0.0
Reanimated version: ~2.3.1
React Native Gesture Handler version: ~2.1.0

I can confirm. I ran into the same issue, however it works fine if I run it in web browser, but now on a real device.

Running into this issue as well, on iOS.

can you try wrapping your root in a GestureHandlerRootView?
see https://github.com/software-mansion/react-native-gesture-handler/issues/1839

can you try wrapping your root in a GestureHandlerRootView? see software-mansion/react-native-gesture-handler#1839

This worked for me. Thank you.

Yes thank you, the fix for me was to wrap the app with <GestureHandlerRootView style={{ flex: 1 }}>.
I think this issue can be closed


Cannot pass action variables due to template issue

In the jail.local template, the fail2ban_action variable is wrapped with %( ... )s.  This should not be the case - it is inconsistent with the way fail2ban_banaction is handled, but more importantly it prevents action parameters from being passed.  Action parameters are added in square-brackets, and often contain individual python variables that are individually wrapped in %( ).  See http://serverfault.com/a/629568 for a description.
The problem with fixing this is that the change will be backwards-breaking.  Users should always have been including the %( ) in their fail2ban_action vars themselves, but will have had to strip them because the template includes them.
The fix is simple.  But it would need highlighting in the docs so that people will see it straight away if they update and wonder why fail2ban won't start any more :)

Feel free to make the fix. I don't really mind tagging a new major version. as long as it's not too often :-)


Avoid attempting email sends in unit tests

I made the edits that @msholtz suggested and the tests run fine now without any failures even with the email delivery settings on "System Emails Only".
Critical Changes
No critical changes.
Changes
No changes necessary.
Issues
Fixes #1486

I think only the line that actually attempt to send the email should be wrapped with the !Test.isRunningTest() clause. The condition could be added to https://github.com/SalesforceFoundation/Cumulus/blob/dev/src/classes/ERR_Notifier.cls#L127.
Also, it seems like a number of classes has been added to the package. I believe these are classes we had at some point, but were deleted from the package.

Yes, what @ceiroa suggested is what I was suggesting, not what I see in the commits above.  And FWIW, I'm still seeing these errs today in a client org, so looks like this hasn't made it into production yet?  Thanks!

@mscholtz ~ Nope, this pull request was not accepted. The original issue is still open.


Reduce typo count.

This renames 2 identifiers, one in benches, one in Rayon support. Neither are public.

@bors r+

:pushpin: Commit a00bb9f910cbc75269f061556005d902e406b8bb has been approved by cuviper
It is now in the queue for this repository.

:hourglass: Testing commit a00bb9f910cbc75269f061556005d902e406b8bb with merge 381dd5d8576a63a0ef452d9e7e092cb53acd149d...

:sunny: Test successful - checks-actions
Approved by: cuviper
Pushing 381dd5d8576a63a0ef452d9e7e092cb53acd149d to master...


Is it possible to override type definitions for browser?

Hi,
I am currently working on a project that exports two different packages depending on platform:
example package.json
{
  "name": "my-lib",
  "main": "lib/commonjs/my-lib.js",
  "browser": "lib/umd/my-lib.js"
  ...
}

My question is: is it possible to override the "types" field in the package.json to make the module resolve to the main types in node, and the browser types in a web browser?
Thanks

I haven't used browser field before, but It seems you have to add the umd declaration in your generated my-lib.d.ts file, for example:
(package.json)
{
  "name": "my-lib",
  "main": "lib/commonjs/my-lib.js",
  "browser": "lib/umd/my-lib.js",
  "types": "lib/my-lib.d.ts"
}

(lib/my-lib.d.ts)
export const example = 1;
export as namespace NS; // <--- mark this declaration file as umd compatible

(somewhere/you/want/to/use/umd.ts)
/// <reference types="my-lib" />
NS.example; //=> 1

(somewhere/you/want/to/use/commonjs.ts)
import * as MyLib from 'my-lib';
MyLib.example; //=> 1

No, it's not. See https://github.com/Microsoft/TypeScript/issues/7753.

Closing in favor of #7753


Python3 support

Does this module support python3 for compiling? I'm installing it on an armv7 and there are not prebuilt binaries for it. I've checked that im installing the latest 5.0.3 but am still getting an error that python cannot be found:
make: Entering directory '/var/chroot/www/home/app/node_modules/sqlite3/build'
  CC(target) Release/obj.target/nothing/node_modules/node-addon-api/nothing.o
  AR(target) Release/obj.target/node_modules/node-addon-api/nothing.a
  COPY Release/nothing.a
  ACTION deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep Release/obj/gen/sqlite-autoconf-3340000/sqlite3.c
/bin/sh: 1: python: not found
make: *** [deps/action_before_build.target.mk:13: Release/obj/gen/sqlite-autoconf-3340000/sqlite3.c] Error 127

Considering python 2's end of life was January 2020, I think python 3.5 and higher would make sense to support.
There was an issue a while back for python3 but the OP closed it and it didn't have any feedback.

This should be fixed in sqlite3 v5.0.3 - let me know if you still experience issues 🙂


Initial Implementation

Current coverage is 65.00% (diff: 65.00%)

No coverage report found for master at d0459bf.

Powered by Codecov. Last update d0459bf...6f20162


Hi, when i read others' code , i find somewhere confusing.

In general , in a component interface , we set @Component(dependencies = xxxComponent.class), it is about the  A component depends on B component
but if we set @Component(dependencies = xxxModule.class),  is it same to set @Component(modules = xxxModule.class) ?
if different ,  what the difference is between these two way?

The issues tab isn't really a place for these types of technical troubleshooting questions. You can post here if you'd like and if anyone wants to help then they can respond there. Otherwise, you would likely find more luck posting on stackoverflow.


docs(related-tags): added curation options

Pull request template

Explanation on how to create curated RTs using the Playboard is already released. We need to update X Components related info to talk about RT curation and config options supported by the related X Components.
Motivation and context

Now, RTs related functional doc includes info on the option of distinguish cirated RTs in the commerce store so that shoppers can identify whether a RT has been willfully created or just organically generated by other shoppers behavior.

[ ] Dependencies. If any, specify:
[ ] Open issue. If applicable, link:

Type of change

[ ] Bug fix (non-breaking change that fixes an issue)
[ ] New feature (non-breaking change that adds functionality)
[ ] Breaking change (fix or feature that causes existing functionality to not work as expected)
[X] Change requires a documentation update

What is the destination branch of this PR?

[X] Main
[ ] Other. Specify:

How has this been tested?

Doc has been tested locally to check all layout components work and display correctly and links to other services/sections in public doc work well.
Tests performed according to testing guidelines:
Checklist:

[ ] My code follows the style guidelines of this project.
[ ] I have performed a self-review on my own code.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[ ] My changes generate no new warnings.
[ ] I have added tests that prove my fix is effective or that my feature works.
[ ] New and existing unit tests pass locally with my changes.

This is a link to Empathy Platform Docs Portal preview in a development environment.
⚠ Only for Empathy members. We’re sorry for the inconvenience!
Check out EPDocs preview

This is a link to Empathy Platform Docs Portal preview in a development environment.
⚠ Only for Empathy members. We’re sorry for the inconvenience!
Check out EPDocs preview


arm-gnu-toolchain-11.3.rel1-x86_64-aarch64-none-linux-gnu  build failed

The issue was introduced from commit d08d67cf , which is gone after reverting this commit.
The issue was found with arm-gnu-toolchain-11.3.rel1-x86_64-aarch64-none-linux-gnu.
the same issue was found with my yocto-generated arm64 gcc version 11.4.
but there is no issue with arm-gnu-toolchain-12.3.rel1-x86_64-aarch64-none-linux-gnu
Here is the detail
cross file
[binaries]
c = 'aarch64-none-linux-gnu-gcc'
cpp = 'aarch64-none-linux-gnu-g++'
ar = 'aarch64-none-linux-gnu-ar'
strip = 'aarch64-none-linux-gnu-strip'
objcopy = 'aarch64-none-linux-gnu-objcopy'
ld = 'aarch64-none-linux-gnu-ld'

[properties]
c_args = ['-march=armv8-a+simd', '-Wextra', '-Werror']
cpp_args = ['-march=armv8-a+simd', '-Wextra', '-Werror']

[host_machine]
system = 'linux'
cpu_family = 'arm'
cpu = 'armv8-a'
endian = 'little'

logs
aarch64-none-linux-gnu-gcc -Itest/arm/neon/cadd_rot270-emul-c.p -Itest/arm/neon -I../test/arm/neon -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -g -march=armv8-a+simd -Wextra -Werror -fopenmp-simd -DSIMDE_CONSTRAINED_COMPILATION -DSIMDE_ENABLE_OPENMP -Wno-psabi -DSIMDE_TEST_BARE -DSIMDE_NO_NATIVE -MD -MQ test/arm/neon/cadd_rot270-emul-c.p/cadd_rot270.c.o -MF test/arm/neon/cadd_rot270-emul-c.p/cadd_rot270.c.o.d -o test/arm/neon/cadd_rot270-emul-c.p/cadd_rot270.c.o -c ../test/arm/neon/cadd_rot270.c
In file included from ../test/arm/neon/../../test.h:5,
                 from ../test/arm/neon/test-neon.h:4,
                 from ../test/arm/neon/cadd_rot270.c:3:
../test/arm/neon/../../../simde/arm/neon/cadd_rot270.h: In function ‘simde_vcadd_rot270_f16’:
../test/arm/neon/../../../simde/arm/neon/cadd_rot270.h:57:77: error: excess elements in vector initializer [-Werror]
   57 |       b_.values = SIMDE_SHUFFLE_VECTOR_(16, 4, -b_.values, b_.values, 5, 0, 7, 2);
      |                                                                             ^
../test/arm/neon/../../../simde/simde-common.h:306:71: note: in definition of macro ‘SIMDE_SHUFFLE_VECTOR_’
  306 |          int##elem_size##_t SIMDE_VECTOR(vec_size) simde_shuffle_ = { __VA_ARGS__ }; \
      |                                                                       ^~~~~~~~~~~
../test/arm/neon/../../../simde/arm/neon/cadd_rot270.h:57:77: note: (near initialization for ‘simde_shuffle_’)
   57 |       b_.values = SIMDE_SHUFFLE_VECTOR_(16, 4, -b_.values, b_.values, 5, 0, 7, 2);
      |                                                                             ^
../test/arm/neon/../../../simde/simde-common.h:306:71: note: in definition of macro ‘SIMDE_SHUFFLE_VECTOR_’
  306 |          int##elem_size##_t SIMDE_VECTOR(vec_size) simde_shuffle_ = { __VA_ARGS__ }; \
      |                                                                       ^~~~~~~~~~~
../test/arm/neon/../../../simde/arm/neon/cadd_rot270.h:57:80: error: excess elements in vector initializer [-Werror]
   57 |       b_.values = SIMDE_SHUFFLE_VECTOR_(16, 4, -b_.values, b_.values, 5, 0, 7, 2);
      |                                                                                ^
../test/arm/neon/../../../simde/simde-common.h:306:71: note: in definition of macro ‘SIMDE_SHUFFLE_VECTOR_’
  306 |          int##elem_size##_t SIMDE_VECTOR(vec_size) simde_shuffle_ = { __VA_ARGS__ }; \
      |                                                                       ^~~~~~~~~~~
../test/arm/neon/../../../simde/arm/neon/cadd_rot270.h:57:80: note: (near initialization for ‘simde_shuffle_’)
   57 |       b_.values = SIMDE_SHUFFLE_VECTOR_(16, 4, -b_.values, b_.values, 5, 0, 7, 2);
      |                                                                                ^
../test/arm/neon/../../../simde/simde-common.h:306:71: note: in definition of macro ‘SIMDE_SHUFFLE_VECTOR_’
  306 |          int##elem_size##_t SIMDE_VECTOR(vec_size) simde_shuffle_ = { __VA_ARGS__ }; \
      |                                                                       ^~~~~~~~~~~
../test/arm/neon/../../../simde/simde-common.h:307:12: error: ‘__builtin_shuffle’ number of elements of the argument vector(s) and the mask vector should be the same
  307 |            __builtin_shuffle(a, b, simde_shuffle_); \
      |            ^~~~~~~~~~~~~~~~~
../test/arm/neon/../../../simde/arm/neon/cadd_rot270.h:57:19: note: in expansion of macro ‘SIMDE_SHUFFLE_VECTOR_’
   57 |       b_.values = SIMDE_SHUFFLE_VECTOR_(16, 4, -b_.values, b_.values, 5, 0, 7, 2);
      |                   ^~~~~~~~~~~~~~~~~~~~~
../test/arm/neon/../../../simde/arm/neon/cadd_rot270.h: In function ‘simde_vcaddq_rot270_f16’:
../test/arm/neon/../../../simde/arm/neon/cadd_rot270.h:93:84: error: excess elements in vector initializer [-Werror]
   93 |       b_.values = SIMDE_SHUFFLE_VECTOR_(16, 8, -b_.values, b_.values, 9, 0, 11, 2, 13, 4, 15, 6);
      |                                                                                ^~
../test/arm/neon/../../../simde/simde-common.h:306:71: note: in definition of macro ‘SIMDE_SHUFFLE_VECTOR_’
  306 |          int##elem_size##_t SIMDE_VECTOR(vec_size) simde_shuffle_ = { __VA_ARGS__ }; \
      |                                                                       ^~~~~~~~~~~
../test/arm/neon/../../../simde/arm/neon/cadd_rot270.h:93:84: note: (near initialization for ‘simde_shuffle_’)
   93 |       b_.values = SIMDE_SHUFFLE_VECTOR_(16, 8, -b_.values, b_.values, 9, 0, 11, 2, 13, 4, 15, 6);
      |                                                                                ^~
../test/arm/neon/../../../simde/simde-common.h:306:71: note: in definition of macro ‘SIMDE_SHUFFLE_VECTOR_’
  306 |          int##elem_size##_t SIMDE_VECTOR(vec_size) simde_shuffle_ = { __VA_ARGS__ }; \
      |                                                                       ^~~~~~~~~~~
../test/arm/neon/../../../simde/arm/neon/cadd_rot270.h:93:88: error: excess elements in vector initializer [-Werror]
   93 |       b_.values = SIMDE_SHUFFLE_VECTOR_(16, 8, -b_.values, b_.values, 9, 0, 11, 2, 13, 4, 15, 6);
      |                                                                                ^
../test/arm/neon/../../../simde/simde-common.h:306:71: note: in definition of macro ‘SIMDE_SHUFFLE_VECTOR_’
  306 |          int##elem_size##_t SIMDE_VECTOR(vec_size) simde_shuffle_ = { __VA_ARGS__ }; \
      |                                                                       ^~~~~~~~~~~
../test/arm/neon/../../../simde/arm/neon/cadd_rot270.h:93:88: note: (near initialization for ‘simde_shuffle_’)
   93 |       b_.values = SIMDE_SHUFFLE_VECTOR_(16, 8, -b_.values, b_.values, 9, 0, 11, 2, 13, 4, 15, 6);
      |                                                                                ^
../test/arm/neon/../../../simde/simde-common.h:306:71: note: in definition of macro ‘SIMDE_SHUFFLE_VECTOR_’
  306 |          int##elem_size##_t SIMDE_VECTOR(vec_size) simde_shuffle_ = { __VA_ARGS__ }; \
      |                                                                       ^~~~~~~~~~~
../test/arm/neon/../../../simde/arm/neon/cadd_rot270.h:93:91: error: excess elements in vector initializer [-Werror]
   93 |       b_.values = SIMDE_SHUFFLE_VECTOR_(16, 8, -b_.values, b_.values, 9, 0, 11, 2, 13, 4, 15, 6);
      |                                                                                ^~
../test/arm/neon/../../../simde/simde-common.h:306:71: note: in definition of macro ‘SIMDE_SHUFFLE_VECTOR_’
  306 |          int##elem_size##_t SIMDE_VECTOR(vec_size) simde_shuffle_ = { __VA_ARGS__ }; \
      |                                                                       ^~~~~~~~~~~
../test/arm/neon/../../../simde/arm/neon/cadd_rot270.h:93:91: note: (near initialization for ‘simde_shuffle_’)
   93 |       b_.values = SIMDE_SHUFFLE_VECTOR_(16, 8, -b_.values, b_.values, 9, 0, 11, 2, 13, 4, 15, 6);
      |                                                                                ^~
../test/arm/neon/../../../simde/simde-common.h:306:71: note: in definition of macro ‘SIMDE_SHUFFLE_VECTOR_’
  306 |          int##elem_size##_t SIMDE_VECTOR(vec_size) simde_shuffle_ = { __VA_ARGS__ }; \
      |                                                                       ^~~~~~~~~~~
../test/arm/neon/../../../simde/arm/neon/cadd_rot270.h:93:95: error: excess elements in vector initializer [-Werror]
   93 |       b_.values = SIMDE_SHUFFLE_VECTOR_(16, 8, -b_.values, b_.values, 9, 0, 11, 2, 13, 4, 15, 6);
      |                                                                                ^
../test/arm/neon/../../../simde/simde-common.h:306:71: note: in definition of macro ‘SIMDE_SHUFFLE_VECTOR_’
  306 |          int##elem_size##_t SIMDE_VECTOR(vec_size) simde_shuffle_ = { __VA_ARGS__ }; \
      |                                                                       ^~~~~~~~~~~
../test/arm/neon/../../../simde/arm/neon/cadd_rot270.h:93:95: note: (near initialization for ‘simde_shuffle_’)
   93 |       b_.values = SIMDE_SHUFFLE_VECTOR_(16, 8, -b_.values, b_.values, 9, 0, 11, 2, 13, 4, 15, 6);
      |                                                                                ^
../test/arm/neon/../../../simde/simde-common.h:306:71: note: in definition of macro ‘SIMDE_SHUFFLE_VECTOR_’
  306 |          int##elem_size##_t SIMDE_VECTOR(vec_size) simde_shuffle_ = { __VA_ARGS__ }; \
      |                                                                       ^~~~~~~~~~~
../test/arm/neon/../../../simde/simde-common.h:307:12: error: ‘__builtin_shuffle’ number of elements of the argument vector(s) and the mask vector should be the same
  307 |            __builtin_shuffle(a, b, simde_shuffle_); \
      |            ^~~~~~~~~~~~~~~~~
../test/arm/neon/../../../simde/arm/neon/cadd_rot270.h:93:19: note: in expansion of macro ‘SIMDE_SHUFFLE_VECTOR_’
   93 |       b_.values = SIMDE_SHUFFLE_VECTOR_(16, 8, -b_.values, b_.values, 9, 0, 11, 2, 13, 4, 15, 6);
      |                   ^~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors

I can confirm this error happens with a fresh checkout in a aarch64 processor running Ubuntu 22.04 and gcc 11.4.0

I can confirm this error happens with a fresh checkout in a aarch64 processor running Ubuntu 22.04 and gcc 11.4.0.
I had to go all the way back to v0.7.6 for it to compile successfully.

Exactly, v0.7.6 is the last version that can be compiled with arm-gnu-toolchain-11.3.rel1-x86_64-aarch64-none-linux-gnu.

Fixed in https://github.com/simd-everywhere/simde/pull/1216


[Improvement] Provide an API to create 'readonly' type at runtime

Description:
As it is a possible future requirement, it is better to provide an API at TypeCreator to create types with readonly flag.
Steps to reproduce:
Affected Versions:
OS, DB, other environment details and versions:
Related Issues (optional):
#26114
Suggested Labels (optional):
Type/Improvement
Team/jBallerina
Suggested Assignees (optional):

I think there are two possible scenarios where a user would need to create a type with its readonly flag set.
Case I
When creating a new type, the user may need to pass the readonly-ness to the relevant method in TypeCreator.
I believe this is already present for most types.
e.g.,

io.ballerina.runtime.api.creators.TypeCreator#createArrayType(io.ballerina.runtime.api.types.Type, boolean)
io.ballerina.runtime.api.creators.TypeCreator#createMapType(io.ballerina.runtime.api.types.Type, boolean)

Maybe we should go through the current methods and for selectively immutable types allow passing a boolean to indicate readonly-ness, for methods that don't support it already. The constructors already support this, so it should be a matter of exposing it via the TypeCreator.
Case II
The user may need to get a copy of a type, with the readonly flag set.
There's a method in ReadOnlyUtils to do this - see https://github.com/ballerina-platform/ballerina-lang/blob/master/bvm/ballerina-runtime/src/main/java/io/ballerina/runtime/internal/values/ReadOnlyUtils.java#L73.
If a method is needed in TypeCreator, we should use the logic from ReadOnlyUtils.

Currently the support for creating readonly types is present in the TypeCreator apis, hence closing the issue

Currently the support for creating readonly types is present in the TypeCreator apis, hence closing the issue


[Sprint] Update TFLite device benchmark of transformer models on document

Description

ViT and MobileViT are not updated on TFLite benchmark page due to its long converting time.

Update their performance in this ticket

https://nota-netspresso.github.io/netspresso-trainer/benchmarks/device_compat_matrix/tflite/
Checklists

[ ] I would create a corresponding branch for this issue from the designated (mostly dev) branch.
[x] This issue only contains a preceding agreement between project owners.

Completed at #533


File upload

Is it possible to make file upload  with ariadne-graphql-modules? If yes what is the implementation? if no is it possible use approach from ariadne with scalar "upload"?
Thank you

Uploads only require that schema contains scalar Upload. There's no need for any custom logic on this scalar, so it should be possible to do:
class UploadScalar(ScalarType):
    __schema__ = "scalar Upload"

Thank you.


Elm components not being rendered during production build

First off, thanks for putting this plugin together. I was not expecting it to be so easy to get an Elm program integrated into a Gatsby application.
I have run into one snag, though. When I build my Gatsby application, the contents of my Elm application are missing.
Case in point:
// page.js
export default ({ data }) => {
  let scenes = [{some: 'thing'}];
  return (
    <>

hi

    <MyComponent scenes={scenes} />
    </>
  )
}

// index.html

hi

Is this behavior to be expected? I have a sinking feeling that this is a limitation of Elm and/or the underlying plugins.

How are you initializing the elm runtime into your React application?

I'm not entirely sure what you're asking, but here's a contrived example which demonstrates what I'm seeing. (FWIW, I took inspiration from this repository.)
Also, just to be clear, the Elm app is behaving as expected at runtime, it's just that its contents are missing in the pre-rendered, static HTML files.

Thanks for the links! So I haven't had a chance to double check, but I am pretty sure the reason you are running into issues is that you are using a function component in React. This means that your component is always going to re-render (controlled by React) every time the parent re-renders. This will then wipe all DOM that was generated when you initialized your Elm app. On top of that Elm will have no idea this happened and not know it needs to re-initialize.
To handle Elm within React since Elm is a separate Virtual DOM and therefore manages items own DOM updates you want to use a Class Component so that you can use the shouldComponentUpdate lifecycle method to make sure that the initialized Elm runtime never gets wiped.
I have a version of an ElmHandler component I use in the new elm-live Docs site you can use as reference. I am hoping to open source this ElmHandler as well and would love your feedback as well if you use it!
ElmHandler: https://github.com/wking-io/elm-live/blob/www/www/src/components/elm-handler.js
In Use: https://github.com/wking-io/elm-live/blob/4ae831d7bf9540e7682ce82e8bc13fbf31cbcaec/www/src/components/documentation.js#L165
Ports: https://github.com/wking-io/elm-live/blob/www/www/src/lib/ports.js
It's not documented very well since it is still WIP so let me know if you have any Qs!
Note: I am using a JS version of Either (Result in Elm) which makes for the syntax in the port function. You can also pass props of any type

I've reworked my example to use your ElmHandler (the only difference is that I removed the call to getOrElse) and extended React.Component when creating my page component, but I'm still seeing the same behavior. I also tried moving the parameterized (flag) values into the Elm application's model on the off chance that that was the hangup, but that didn't change anything.
Here are the relevant pieces of my revamped demo: https://gist.github.com/ethagnawl/a12ed9cd030b5f3045c56d20d4215097
I think I'm going to have to abandon this attempt at smuggling Elm into a Gatsby app, so please feel free to close this issue. If your demo is working, I think the likely cause is end-user error on my part -- I purposely put off learning React, in favor of Elm, and my lack of knowledge is likely the cause of this issue. Either way, your plugin seems to be working as it should.

I will confirm on my project that it works when running the production build and if so then I will close otherwise I may have missed something! 👍

Arg. Well, I guess that sort of confirms my suspicions about the problem being on my end. Were you building the elm-live repo in your tests? If so, I'll try to do that when I have a minute.

Are you using that to preview the production build?

I was running gatsby build and then using cat/grep to search for the expected values in public/index.html.

Oh, yeah you are probably not going to see it that way. Elm will still be loaded as a separate JS file I believe and will still need to be initialized. So I would recommend running gatsby build && gatsby serve then checkout the page. :)

Elm will still be loaded as a separate JS file I believe and will still need to be initialized.

Ah, yeah ... that's what I was afraid of. I just want to confirm, though: you're saying the contents of the Elm app won't ever be rendered server side during the Gatsby build process? I tried to emphasize this in my earlier comments, but I may not have been explicit enough.

Ahhhhhh....yeah it will not be Server Side rendered. Gatsby has no idea how to manage that with Elm and also Elm has no idea how to do that with elm lol. 🤣
I just built this because a part of my application didn't matter if it was SSR but had more complex logic than I wanted to do in React, but it also had a lot of content I wanted to be SEO optimized and SSR. So, best of both worlds so far. hah


create_profile not defined

when I run the server, I'm seeing
warning: function LiveShareCommunities.ProfileStore.create_profile/1 is undefined or private. Did you mean one of:

      * create_profile/3

  lib/communities/http.ex:202

it seems we have a different method signature for create_profile in the profile store. cc @legomushroom

PR: https://github.com/vsls-contrib/communities/pull/80


Add Installation Confirmation Section for Minikube

This pull request adds instructions for confirming minikube has been appropriately installed after downloading a hypervisor and minikube. It allows the user going through these docs a chance to confirm minikube is appropriately linked to the hypervisor.

See that this is documented under a section on Installing Kubernetes with Minikube.
Perhaps what would help these instructions is linking to that information and then also including and instruction in the documentation here to confirm minikube is installed by running minikube start with the appropriate --vm-driver.

@sftim Thanks for your review! I pushed up something that's a little bit different of an approach. It's basically a section on confirming the installation of minikube that references the --vm-driver documentation already available. Let me know your thoughts.

Emm ... a conflict bubbles up.

@tengqm Minor conflict from #17506 that's been resolved. Thanks for pointing it out.

Hi @danielhelfand could you please incorporate the suggestions that @sftim made so that we can proceed with the approval of this PR.

@Rajakavitha1 @sftim Just pushed up requested changes. Thanks!

Thanks @danielhelfand !!!
/lgtm
/approve


Elements set to visibility: 'hidden', opactiy: 0 and index is not being updated when dragged

When I drag a task within the same lane it will save it on the first drag but since the index didn't update, on the following dragging events it will move all of the tasks at once and there are empty spaces because it thinks its moving it as if it were still in its last position.
When moving to another lane it hides the sortable element with the same index and since the indexes are not updating the element with the same index stays hidden.
Below is my component ( I removed alot of code but this is the main sorting part of the code)
ListWrapper is the same as the ListWrapper component from your src/stories/index.js file.
import React, { Component } from 'react';
import ReactDOM from 'react-dom';
import Lane from '../Lane';
import { default as Task } from '../Task';
import { SortableContainer, SortableElement, DragLayer } from 'react-sortable-hoc';
import ListWrapper from './ListWrapper';

const SortableTaskCard = SortableElement(Task)
const SortableLaneContainer = SortableContainer(Lane, { withRef: true })

class Container extends Component {
    constructor(props) {
        this.createLanes = this.createLanes.bind(this)
        this.state = { lanes: [] }
    }

    createLanes() {
            const createTasks = (data) => {
                                let tasks = []
                                let i = 0
                                for(let prop in data) {
                                    tasks.push(
                                        <SortableTaskCard
                                            onClick={ () => this.props.onEditTask(prop) }
                                            key={ `task-${prop}-${data[prop].task_name}` }
                                            index={ i }
                                            pressDelay={ 100 }
                                            title={ data[prop].task_name }
                                            description={ data[prop].description } />
                                    )
                                    i++
                                }
                                return tasks
            }

            let lanes = [];
            const dragLayer = new DragLayer();

            for (let key in data) {
                lanes.push(<ListWrapper
                                component={SortableLaneContainer}
                                onNewTask={ this.props.onCreateNewTask }
                                key={ key }
                                pressDelay={ 100 }
                                title={ humanize(key) }
                                items={ createTasks(data[key].tasks) }
                                dragLayer={ dragLayer }
                                getContainer={ wrappedInstance => ReactDOM.findDOMNode(wrappedInstance).children[1] }
                            />
                            )
            }

            this.setState({ lanes: lanes })
    }

    componentWillMount() {
        this.createLanes()
    }

    render() {
            return (

{ this.props.name }

                       { this.state.lanes }

            )
        }
}

@TraceyK14 Have you come up with a resolution on this? If not, might be best to start with the working demo and move towards how you are trying to use it.

No I have not, I think I will try starting from scratch to see it working and then see why mine isn't working.

@jdbence So it looks like it doesn't like the fact that I am creating my List and Elements by looping through and putting them into an array and then displaying them. I got It to work by mapping through an array of objects and creating the components that way.  Not sure exactly why it only works that way, I'm assuming its something to do with state


BBT CSL JSON: Do not use ‘shortTitle’ and ‘journalAbbreviation’

BBT CSL JSON exports shortTitle and journalAbbreviation (just like Zotero CSL JSON does).
shortTitle and journalAbbreviation are not CSL variables. While citeproc-js understands them, pandoc does not.
shortTitle should be title-short; journalAbbreviation should be container-title-short.
See http://docs.citationstyles.org/en/stable/specification.html#appendix-iv-variables

(you knew it was coming) can I bother you for a testcase?

Sure :-) – 3FKQ56ND.


origin can be used to trigger a call from the client gateway to anywhere

Check if this is a security issue
In some cases this caused a blocking call (as we did not have a connection timeout) which at some point blocked the whole service.

Switch to non blocking version of reqwest

For non blocking reqwest migration, it could be worth checking out this: https://github.com/SergioBenitez/Rocket/issues/1065

We do not need to wait for this, as according to the rocket docs they already support async io (see https://rocket.rs/master/guide/overview/#futures-and-async). This still would be a major change that would affect the whole app.


Frequency sweep wraps around

Describe the bug
Frequency sweeps using the melody "^" modifier seem inconsistent
To Reproduce
Steps to reproduce the behavior:

Go to https://makecode.com/_5yoCee34WJUP (see source below)
In emulator, try sounds using joysticks and A/B buttons
Download onto hardware, try same sounds

Joystick right works as expected, with a dropping frequency sweep.
Joystick up adds a sustain to the note, causing the frequency to unexpectedly wrap around to high frequencies.
Joystick left is a sustain-only note, the frequency sweeps up only.
Joystick down is a combined note, it has a high-pitched squeal at the end.
Button A plays part of the "dragster" sound from https://arcade.makecode.com/07828-81177-56033-99121 . It works as expected in the emulator, but the sweep doesn't reach the target frequency on PyGamer hardware
Button B is a variant of the "dragster" sound with a shorter duration for the sweep, it does hit the target frequency.
Expected behavior
For the sweep+sustain combinations, I think the frequency sweeps should be clamped to stop at frequency zero and not wrap around to high pitches.
Alternatively, maybe the sweep should be stopped when reaching the note duration, so that the note keeps a steady frequency during the sustain phase?
For the "dragster" sound, the sweep should reach the target frequency independently of the duration. I'm guessing this might be accumulated error from using a rounded-down frequency increment?
Desktop (please complete the following information):

OS: Linux
Browser: Chrome
Version:80

Additional context
Add any other context about the problem here.
controller.left.onEvent(ControllerButtonEvent.Pressed, function () {
    new music.Melody("@1,1,255,1000 !400,1^1").play()
})
controller.up.onEvent(ControllerButtonEvent.Pressed, function () {
    new music.Melody("@1,1,255,1000 !400,1000^1").play()
})
controller.right.onEvent(ControllerButtonEvent.Pressed, function () {
    new music.Melody("@1,1,255,1 !400,1000^1").play()
})
controller.down.onEvent(ControllerButtonEvent.Pressed, function () {
    new music.Melody("@500,500,0,1 !400,500^1").play()
})
controller.A.onEvent(ControllerButtonEvent.Pressed, function () {
    new music.Melody("~16 @0,0,255,0 !80,6400^800 @0,0,255,500 !800,1000").play()
})
controller.B.onEvent(ControllerButtonEvent.Pressed, function () {
    new music.Melody("~16 @0,0,255,0 !80,1600^800 @0,0,255,500 !800,1000").play()
})
game.splash("Freq sweep bug", "Press joystick and A/B for sounds")

@mmoskal FYI since this seems to be your area of expertise.


option for auto enable SNI

would be great an option to enable SNI(server name indication) for Mail Service, when adding new certificate.
*Today I have to do it manually on WHM > Manage SSL Hosts , and enable each one.
Why enable SNI ?
Example:
my server domain => domain.com
whm services ssl (Calendar, cPanel, WebDisk, Webmail, and WHM Services, exim, dovecot, ftp) cert. generated and installed by letsencrypt-cpanel plugin  => server01.domain.com
another domain hosted in this server: domain2.com
when user try to use it on Outlook (smtp,imap,pop3) => mail.domain2.com
with SNI for domain2.com disabled, outlook will receive warning in trusting this cert. ( server01.domain.com ).
* If SNI enabled for domain2.com , outlook will accept the whm services certificate.

It looks like certs when they renew don't keep the SNI enabled setting either.


Doesn't open some tables anymore

Preflight Checklist

[X] I have installed the latest version of Storage Explorer.
[X] I have checked existing resources, including the troubleshooting guide and the release notes.
[X] I have searched for similar issues.

Storage Explorer Version
1.22.1
Regression From
Yes, don't know which version was previous
Architecture
x64
Storage Explorer Build Number
20220122.3
Platform
Windows
OS Version
Windows 10
Bug Description
I use Azure Tables.
One specific table is not opening (even letting Storage Explorer working for hours).
It just opens the table, with a loading spinning wheel.
From this storage account, only this table is not working (the other 2 are normal).
From another storage account, no problems whatsoever (even with larger tables).
Steps to Reproduce
Hard to reproduce, since it seems only one table is affected (I can share a read-only key, if it helps)
Actual Experience
Table never loads.
 Can you send it to sehelp @ microsoft .com ?
Also, what type of storage account is this table in? Classic, gpv2, etc.?
Thanks.

@JCKodel Looks like we have found the issue. The service doesn't always return the same number of entities, which threw off some of our paging logic. This would make Storage Explorer think it needed to keep retrieving more entities indefinitely, hence the table not appearing to load. We will make sure a fix is available for 1.23.0.

Shared internal build with @JCKodel, and they can confirm the fix resolves the bug.


Default Arguments jitclass in an njit method

Default arguments with a jitclass seem to work fine in normal python code, but not within a no-python jit function. As an example,

@jitclass([('x', int32), ('y', int32)])
class Test:
    def __init__(self, x, y=5):
        self.x = x
        self.y = y

@njit
def fails():
    l = Test(10)

If you call fails you'll get an error saying the constructor expected 3 arguments, but got 2. If you remove the njit line it works fine.

Thanks for the report. This is related to https://github.com/numba/numba/issues/4495 and is basically the same root cause.

Actually, on further inspection, seems to not be quite the same problem as #4495, just appears similar. Seems like there's a mismatch in the lowering and typing of the ctor, would guess it's something to do with the signature binding.


Draging Visual Code is not working

Versions

Visual Studio version: ... 1.30

What happened

Steps to Reproduce
Steps to reproduce the behavior:

Go to 'Visual code'
Click on 'Minimise the tab to make it dragable'
Scrolling from the box show in the image is not working

Screenshots

fixed in latest insiders


Integrate Bootstrap Multiselect

Problem
Default multiselect UX sucks

Solution
Integrate this library: http://davidstutz.de/bootstrap-multiselect

So on
form.html
add a
{% block scripts %}
<script>
</script>
{% endblock %}

with a script like:
$(document).ready(function() {
    $('#example-getting-started').multiselect();
});

which only applied to multiselect <select> elements

@Manoj-nathwani fixed by #221. Move to done if you're happy.

Problem

The dropdown jumps around as the options are odd sizes
See video: https://youtu.be/mBftmZvN1NA

Solution

Update config to numberDisplayed: 1
See docs: http://davidstutz.de/bootstrap-multiselect/#configuration-options-numberDisplayed

Done


PLNSRVCE-557 Allow build pipeline limits to be configured

This is one of the last things still open in HACBS-6


Update fork of controller-tools

It's falling behind and we should keep up with the latest tooling.
https://github.com/cilium/controller-tools

@christarazi why is https://github.com/cilium/controller-tools forked from your repo instead of directly from upstream?

@danehans Apologies for the late reply, see https://github.com/cilium/cilium/commit/ad007ee307a33bc6d45aafd383463c6dafd6e746 for more information as to why.

Anything I can do to help refresh controller-tools? XValidation would be valuable to add to Cilium CRDs

PR with controller-tools version bump which adds support for XValidation: https://github.com/cilium/cilium/pull/30362

FYI, updated to the latest of controller-tools finally (:tada:)


Search and add queries that use Lucene specific optimizations

added a query that benefits heavily from the two step queries.

@fulmicoton any deeper description about what is exactly going on here? (link to some lucene documentation is enough).

Right... So Lucene introduced two step queries a long time ago. The idea is that scorer can express that they have some notion of .advanceWithFalsePositives() that is cheap and a checkIfReallyInDocset() function that is expensive to compute.
This is typically the case for a phrase query. .advanceWithFalsePositives() is typically just an intersection of the terms. checkIfReallyInDocset()  requires to decode positionos and check if the terms align correctly somewhere in the document.
Now something interesting happens when running the query "a b" AND c.
The two step query system makes it possible to only decode positions for document that contain C.

Thanks, and is tantivy planning to add this?


Actions should be able to request additional data

Some existing and potential actions need more data than available in the graph to be executed safely or to be executed at all.
Actions should be able to check for missing data, issue the database requests, and reschedule themselves on the last callback.
Maybe, iD needs to leave mode select and enter a new wait mode.
Related issues: e.g. #2248, #4876

I think what we really want to do is just have the action.disabled() return true in the situations where it doesn't have enough data to be executed safely.
We can't schedule them asynchronously because the graph could change before they get a chance to run.

I think what we really want to do is just have the action.disabled() return truthy (I think it returns a string) in the situations where it doesn't have enough data to be executed safely.

In some cases this might be sufficient, but in general this seems to be quite unfriendly to the user.
I do also think about operations like a multipolygon split, which would likely be disabled in most cases due to missing data. The user needs to get rid of even very complex multipolygons (e.g. large forest MP) by splitting something off to reduce the complexity.

We can't schedule them asynchronously because the graph could change before they get a chance to run.
Sure, resolving the conflicts would at least be very hard.

My idea was to keep it still sychronized with the user interface. That means, in the hopefully rare cases requiring additional data, the UI would be temporarily not accepting any user input, which results in not changing the graph. ID needs to show an indicator of being busy like an hourglass. This is a little nasty, but not being able to use the intended operation is much worse.

Done in #6140
We display a message if the operation can not be executed safely because it needs data from another tile, and schedule download of the missing data.

If the user clicks again after the data is downloaded, they will see the operation as available.


update index.json with new botservice package(minor fixes)

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

If this PR is for a new extension or change to an existing extension, use the following to try out the changes in this PR:
docker run -it microsoft/azure-cli:latest
export EXT=<NAME>
pip install --upgrade --target ~/.azure/cliextensions/$EXT "git+https://github.com/swagatmishra2007/azure-cli-extensions.git@master#subdirectory=src/$EXT&egg=$EXT"


fix(@schematics/angular): fix typo in "expression" variable name inside "addSymbolToNgModuleMetadata" function

PR Checklist
Please check to confirm your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/angular/angular-cli/blob/main/CONTRIBUTING.md#-commit-message-guidelines
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[x] Other... Please describe: typo fix

What is the current behavior?
There is typo in expresssion variable name that is part of the addSymbolToNgModuleMetadata function from AST utils.
Issue Number: N/A
What is the new behavior?
Variable name has been changed to expression
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

Can you please change the commit type from fix to refactor?

Hey @alan-agius4. Thank you for your comment. The commit type has been updated 👍


kobuki_core: 0.7.5-0 in 'kinetic/distribution.yaml' [bloom]

Increasing version of package(s) in repository kobuki_core to 0.7.5-0:

upstream repository: https://github.com/yujinrobot/kobuki_core.git
release repository: https://github.com/yujinrobot-release/kobuki_core-release.git
distro file: kinetic/distribution.yaml
bloom version: 0.5.23
previous version for package: 0.7.4-0

kobuki_ftdi
* bugfixing the missing pkg-config dependency

Holding for sync...

This fixes one of the kinetic regressions. Merging

Thanks @stonier for the quick patch!


Unbreak tests

While working on

https://github.com/audreyr/cookiecutter/pull/1106
https://github.com/audreyr/cookiecutter/pull/1107

I noticed that the tests are failing on unrelated issues. Created the PR here with vanilla master first and verified that the tests fail already there.
Seems that click v7.0 introduces some new error reporting. So I think either we change the tests like this or figure out a nice way to freeze the click dependency at v6.

Codecov Report

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

@@          Coverage Diff           @@
##           master   #1111   +/-   ##
======================================
  Coverage     100%    100%
======================================
  Files          18      18
  Lines         783     783
======================================
  Hits          783     783

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 db14e06...44c5b76. Read the comment docs.

@hackebrot @pydanny Merge this please?

This is a duplicate of #1110

Thanks @HaraldNordgren, but @jairideout got there first...


AttributeError: 'CellVariables' object has no attribute 'getOld', fipy and Ipython

Hello all,
I am a python beginner, who is using window10.
I have been trying to practice some examples from the article, 'FiPy: Partial Differential Equation with Python'.
In an attempt to reproduce their simulations, I found that every time I try to get access an attribute by using the attribute reference syntax form, AttributeError: 'CellVariable' object has no attribute '___' error.
Below is my code, which I followed the exact same procedure with the code the article provided.
from fipy import * dx = dy = 0.025 nx = ny = 500 mesh = Grid2D(dx=dx, dy=dy, nx=nx, ny=ny) dt = 5e-4 phase = CellVariable(name=r’$\phi$’, mesh=mesh, hasOld=True) dT = CellVariable(name=r’$\Delta T$’,mesh=mesh, hasOld=True) DT = 2.25 heatEq = (TransientTerm() == DiffusionTerm(DT) + (phase - phase.getOld()) / dt)
And I am getting error such as:
`AttributeError                            Traceback (most recent call last)
 in
----> 1 heatEq = (TransientTerm() == DiffusionTerm(DT) + (phas - phas.getOld()) /dt)
AttributeError: 'CellVariable' object has no attribute 'getOld''
I thought the problem might come from the way anaconda installs things. For this reason, I uninstall and reinstalled the ipython and related files by using pip.
The problem still remains existent.
If anybody could help me with this issue, it would be very much appreciated.
Please let me know if I could provide more information regarding this.
Thanks in advance.

Hello all,
I am a python beginner, who is using window10.
I have been trying to practice some examples from the article, 'FiPy: Partial Differential Equation with Python'.
In an attempt to reproduce their simulations, I found that every time I try to get access an attribute by using the attribute reference syntax form, AttributeError: 'CellVariable' object has no attribute '___' error.
Below is my code, which I followed the exact same procedure with the code the article provided.
from fipy import * dx = dy = 0.025 nx = ny = 500 mesh = Grid2D(dx=dx, dy=dy, nx=nx, ny=ny) dt = 5e-4 phase = CellVariable(name=r’$\phi$’, mesh=mesh, hasOld=True) dT = CellVariable(name=r’$\Delta T$’,mesh=mesh, hasOld=True) DT = 2.25 heatEq = (TransientTerm() == DiffusionTerm(DT) + (phase - phase.getOld()) / dt)
And I am getting error such as:
`AttributeError Traceback (most recent call last)
in
----> 1 heatEq = (TransientTerm() == DiffusionTerm(DT) + (phas - phas.getOld()) /dt)
AttributeError: 'CellVariable' object has no attribute 'getOld''
I thought the problem might come from the way anaconda installs things. For this reason, I uninstall and reinstalled the ipython and related files by using pip.
The problem still remains existent.
If anybody could help me with this issue, it would be very much appreciated.
Please let me know if I could provide more information regarding this.
Thanks in advance.

How is this related to libgdx?

Unrelated to libGDX.
Request for closure.


Complex Addition of new tools including new section

Hello @mre,
Help me, please, with this situation.  I'm sending new PR, though, it includes the part of the previous PR I've sent to you already. Github says that there are no problems and I don't see any either. But I've added tools to different sections and added a new section for Dlang. What do you think about that?

Wow @rojaster! That was a lot of work. Thanks for that. 😃
Don't see any issues right now. I would merge your PR now, if that is okay with you?


Don't remove the test backup function in wallet settings when backup in tested

In version 0.1.3 the test backup function was removed from wallet settings when the test has been completed.
We can use the following design:

if backup is not tested, put "Not tested" label in list element in red (C50909)
if backup is tested, put "Tested" label in list element in green (12BD23)

Logic: a user may want to test the backup multiple times, not just one time.

Actually, the test backup feature is still available in the backup page.

Can be closed.


Fix typo on fetch page

"What happens with a request fails?" > "What happens when a request fails?"

Thank you!


JSON5 support

I'm interested in JSON5 support:
https://github.com/json5/json5
Particularly it should reduce storage of very large json files.

It is a different format, so I would prefer for this to live in a different library. This library is intended for the JSON format. Serde support for other formats like TOML and YAML and CBOR exist in other libraries.
If you are interested in helping implement JSON5 for Serde, this chapter of the documentation may be a good starting point.

A note for people stumbling upon this issue after searching "json5 serde". I've made a start on JSON5 support for serde here. Issues / PRs very welcome. :)


Change custom prioritization dictionary to bytes

Also fixes a couple of logs

What's the reason for changing to bytes?

A couple of things:

It's easier to put bytes into a sqlite db than a dictionary of arbitrary objects.
Reduces the chance the NSCoding fails because of the objects inside of them not implementing NSCoding


Support symbolic directory links

To use different charts together as subcharts, it would be good to "import" their folders via symbolic directory links. Currently Helm returns: Error: error reading charts/grafana read /Users/.../charts/grafana: is a directory

Thought about this as well. I think using symlinks would be super useful for developing complex charts with many subcharts that use requirements.txt. For development all subcharts could by temporary symlinked to a local checkout of the subchart (which may even be in the same repository, cough). When everything works the changes to required charts are already in the right place and just need to by commited.

What should happen if charts/ has symlinks and a user runs helm package?

Well packing the symlink itself not helpful so I would find it useful if package would follow symlinks and slurp everything like tar -L (unix) or tar --dereference (GNU).

I didn't thought about packaging, yet. In this case, symlinks would confuse the packaging idea. The subcharts are dependencies of the package, so they shouldn't be included in the package itself. My use case is in the developing stage, not meant for publishing. Packaging is about the latter, right?
So, to better handle both cases, I think a localPath field to the requirements.yaml file will fit better. The path should be relative with links to upwards directory, as well.
What do you think?

+1 to localPath option in requirements.yaml. That would solve an issue kolla-kubernetes is having. Would make the build system much cleaner.

Can someone mock up an example of usage here?

See github.com/openstack/kolla-kubernetes/helm
Packages under microservices depend on kolla-common.
Stuff in services dir will depend on microservices packages.
Being able to put a relative path dependency from microservice directly to the chart for the kolla-common would make for much easier builds. Helm dep up would just cp -a to the chart subdir.

@thomastaylor312 Can we close this since we have relative paths in requirements and #2010 was merged?

@jascott1 Yessir, that sounds like a plan. Thanks for bringing this back up

re-opening due to #2938. The PR that fixed this ticket introduced a library that uses a BSD+patents license which is in direct conflict with Apache v2's license.
A good writeup on the situation is here (on React, but the discussion is also relevant for Helm): http://writing.jan.io/2017/08/19/understanding-the-facebook-vs-asf-license-kerfuffle.html

Is there any chance to get symlink support back in 2.7.x ?

@Vrtak-CZ If someone is willing to write up some code to handle it, we would love to merge that in, but it will probably difficult for anyone from the core team to get to it

@Vrtak-CZ @thomastaylor312 PR waiting!

Thanks @balboah!


Assert against C-style string arguments being null

Description
These assertions protect against UB occurring when dereferencing a null pointer. Besides, it's a nonsense operation to pass a null pointer to these functions.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>2
Details

5 of 5 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.03%) to 56.652%

Totals

Change from base Build<PHONE_NUMBER>2:
0.03%

Covered Lines:
11897

Relevant Lines:
19918

💛  - Coveralls


Installation of private fonts (from private formulas?)

Sometimes we need to use privately licensed fonts, and Fontist would be a good place to help automate the installation of them.

Private fonts (download on demand)
Private formulas (to download private fonts from?)

In our case we need a private formula repository to serve private formulas, where the font locations are also private. Assume all of these are hosted on GitHub (font location: maybe as a release).


inc_dec.cpp

This is an recursive algorithm used to increment or decrement an integer by one print the integers from 1 to n and n to 1.

Sir Please Accept my pull request


Removed italic on Me things + tweaked chat message layout

@keybase/react-hackers

@songgao Can you take another look please?


Traceback messages are different in different Python version

Currently, the development of Friendly-traceback is done using Python 3.7.  However, error messages in older versions of Python are, in some instances, different. This needs to be taken into account, and a decision made as to how many different versions of Python we need to support.
For now, I plan to support 3.6 and 3.7 (and 3.8 when a stable version is released).  I'm leaving this issue open for discussion.
= = =
Edit: I've installed 3.8.0a and found one small change in a SyntaxError message.

With the addition of version specific cases in the documentation, there is no need to keep this issue open as a reminder.


Next stage

Implement more classical query strategies.
Add examples for using all query strategies.

active learning for regression


Update PickAxes.java

Check if event is cancelled onBlastBreak before doing things.

Thanks, i did add this to my v1.8 branch.


Adding Chaninverse os Package

What changed

How did you test the change?

hi @liminal-dog no actions required on your end. I added you just to let you know about this big progress integration. No worries 😉