Finding a version that satisfies requirements.txt

When I try
pip install requirements.txt
I get:
"Could not find a version that satisfies the requirement requirements.txt. No matching distribution found for requirements.txt."
What is your suggestion?
Using Python 2.7.xx. I installed and activated virtualenv.

Adding -r before the file name solved that issue :
pip install -r requirements.txt


Modify additional view navbar to access view directly by name

As a user with access to a table with multiple custom views, I want to be able to show the views by name in the view navbar.

MoSCoW
Risk
Story Points

Must
low
3

Acceptance Criteria
Need to be able to view the different additional views in the view bar by name if multiple views are available
Risks
Risk: Unauthorized access to custom views.
Mitigation: Apply proper authorization mechanisms to ensure that only authorized users can access and modify custom views.
Pre-requisites

[x] Meet with the stakeholder to clarify the requirements

Tasks

[x] Make the additional views always visible if additional views are available
[x] Change view type in the navigation to the view name
[x] Link directly to the view without having to navigate to the table
[x] Make the view take the whole view space and hide the table tab navigation when in the additional view


1.0.0 - TODO

[ ] Add the possibility to customize the shape options
[ ] Add the possibility to customize the map options
[ ] Add ability to customize center coordinates
[ ] Add ability to enable draggable shape
[x] Polygon class
[x] Point class
[x] Custom cast
[ ] Documentation
[ ] Mysql Polygon Compat

hi,
any update for Mysql Polygon Compat.
Thank you.

Hi @aljabr,
Not yet, but you can open a PR if you want :)


[Demopage] Page will not load properly in Microsoft Edge

Issue type
I'm submitting a ...  (check one with "x")

[X] bug report
[ ] feature request
[ ] question about the decisions made in the repository

Issue description
Current behavior:
Use Microsoft Edge Browser an load the Demo Page, result is an Error to Laod the Page: '
There was a problem loading this page.'
Expected behavior:

Normal demopage is loaded
Other information:
Windows 10
Microsoft Edge 38.14393.1066.0
Microsoft EdgeHTML 14.14393

@Newan hello. Please note that you are using a version of the browser which is not supported by Angular: https://angular.io/guide/browser-support. In supported versions everything works well.

yes but the ngx-echart was broken. I updated it to the last version it works also in Edge

fixed in https://github.com/akveo/ngx-admin/pull/1534

wrong issue, reopening


Script is detecting only alpha versions

It seems the script is no longer generating main and beta versions

It seems the script is no longer generating main and beta versions

Yes, because there are no longer any 'main' versions, only completely beta versions. The new versioning format for WhatsApp is as it is now. Soon, we will change the alpha to main; it was just a nomenclature we used. I am waiting for a change in the WhatsApp core to be sure of this, but so far, that change hasn't been made.
Regarding the previous beta versions, there are no longer any completely beta versions; there are only beta features. In other words, it is the same version, but you either opt into the beta or not. If you opt in, the beta features are enabled; if you don't, they are not.


Proposing of new relations/classes/disamb does not work - probably not saved in KB?

Run book-v1.csv
Propose new relation e.g. as below:

In UI everything seems OK

Try to search for that in the KBs - it does not show anything, so probably not correctly saved in the KB??

The same issue for proposing classes/disambiguations probably!!

Relations are not saved to the KB. Only the proposed predicates and their attributes.
Ex:
select ?property ?value {<http://odalic.eu/schema/ed299429-c502-4126-9a63-8501f59a27f6> ?property ?value}

Ok, yes, that is right, testing again:
Steps:

Run books-v1.csv, propose new relations between series and book (e.g.). Name it "hasSeriesXX"
When looking into the repository, I can see:

So the type is not correct, it should be object or datatype property.

I think that you might have old/broken configuration of the main KB. Predicates for datatype and object properties seems to be set to null.
Proposing works fine on my end. Ex:
select ?property ?value {http://odalic.eu/schema/07010368-fbbc-400b-85ca-0813e6252e42 ?property ?value}


Document the --sigs actonc option

I think it fits in well with the manual type hints example.

I was about to merge this when I realized it sort of breaks the format I've tried to keep for AbE thus far. The idea is to have one example per page that explains as few concepts as possible. There is a run-example.py script that can actually run the examples. It relies on simple regex hacks to replace the output. It won't work if there are multiple examples in the same page but I think it's also good that each page is really short. Explain one thing!
Thus, while I think the content is good (after the fixes I merged, heh), I believe it needs to move to its own page. Maybe show types using --sigs is a better example to use first and it is the type hints parts that should be moved to a separate page. Feel free to rearrange to your liking (well, as long as abiding by the one-example-per-page rule)! :)

I've opened #1405 with the changes I described above. Closing this.


Remove NetBSD support?

Is NetBSD support still required, and is anybody testing this? If not it should be removed. This would most likely also remote the need for linking with zlib, because only the ctapdriver uses it for the crc32 checksum, and Linux has its own implementation for calculating the crc32 checksum.

@akuker As usual, when I propose to remove something, I would like to get your feedback ;-).

The NetBSD support was added for building on MacOS. I added this when I was developing a feature a long time back. I don't think its necessary. Feel free to remove it if you want.

FWIW, I was speaking to someone the other day who said they were working on making the RaSCSI run properly on NetBSD.

@rdmark If they do this I am quite sure that would have to start from scratch. It's very unlikely that the current fragments of NetBSD support are still useful or even working after the huge changes since last summer, and the fragments might even be MacOS-specific. Somebody who would want to support NetBSD would have to verify any changes, by the way, because she/he cannot expect that we test every change on NetBSD.
@akuker I am going to remove the existing #ifdefs and the related code. It's not that much as far as I can tell.


98

Describe the bug

Expected behaviour

Related discussion

Additional notes

Yes, 98 is 2 less than 100. And as terrible as that is, it's beyond our power to fix.
On the bright side, though, at least it isn't 97.


Clarify language regarding environment variable order

This MR clarifies language regarding the ordering of environment variables set on a pod, specifically that variables defined in the same context must occur in the proper order to be interpolated.

CLA should pass on next test.

Thanks
/lgtm

Thanks @bradjones1 !
Page preview:
https://deploy-preview-26296--kubernetes-io-master-staging.netlify.app/docs/tasks/inject-data-application/define-environment-variable-container/#define-an-environment-variable-for-a-container
/approve


#1561-Turn on cached channel pooling by default

Cached channel pooling by default set to 'True'.

I signed it!
On Sat, Mar 17, 2018 at 2:20 PM, googlebot<EMAIL_ADDRESS>wrote:

Thanks for your pull request. It looks like this may be your first
contribution to a Google open source project (if not, look below for help).
Before we can look at your pull request, you'll need to sign a Contributor
License Agreement (CLA).
📝 Please visit https://cla.developers.google.com/
https://cla.developers.google.com/ to sign.
Once you've signed (or fixed any issues), please reply here (e.g. I
signed it!) and we'll verify it.
What to do if you already signed the CLA Individual signers

It's possible we don't have your GitHub username or you're using a
different email address on your commit. Check your existing CLA data
https://cla.developers.google.com/clas and verify that your email is
set on your git commits
https://help.github.com/articles/setting-your-email-in-git/.

Corporate signers

Your company has a Point of Contact who decides which employees are
authorized to participate. Ask your POC to be added to the group of
authorized contributors. If you don't know who your Point of Contact is,
direct the project maintainer to go/cla#troubleshoot.
The email used to register you as an authorized contributor must be
the email used for the Git commit. Check your existing CLA data
https://cla.developers.google.com/clas and verify that your email is
set on your git commits
https://help.github.com/articles/setting-your-email-in-git/.
The email used to register you as an authorized contributor must
also be attached to your GitHub account
https://github.com/settings/emails.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/cloud-bigtable-client/pull/1736#issuecomment-373904786,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AjN4ss5Km4t_PL6aAHkPv5h-aaLTBgy1ks5tfM5cgaJpZM4SuuYI
.

I signed it!

Can you please rebase this branch?

I signed it!

I signed it!


ViewController & Slider move up when statusbar show

ViewController & Slider move up when Slider open in statusbar showing.
Sample code have same bug when statusbar show.

why is your statusbar line double?

hot spotpoint

this page will be help you
https://developer.apple.com/library/ios/qa/qa1797/_index.html

I don't get it...

(void)moveHorizontallyToLocation:(CGFloat)location
{
CGRect rect = self.view.frame;
UIInterfaceOrientation orientation = [UIApplication sharedApplication].statusBarOrientation;
Menu menu = (self.horizontalLocation >= 0 && location >= 0) ? MenuLeft : MenuRight;
if ((location > 0 && self.horizontalLocation <= 0) || (location < 0 && self.horizontalLocation >= 0)) {
[self postNotificationWithName:SlideNavigationControllerDidReveal forMenu:(location > 0) ? MenuLeft : MenuRight];
}
if (SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(@"8.0"))
{
rect.origin.x = location;
//        rect.origin.y = 0;
}
else
{
if (UIInterfaceOrientationIsLandscape(orientation))
{
rect.origin.x = 0;
rect.origin.y = (orientation == UIInterfaceOrientationLandscapeRight) ? location : location*-1;
}
else
{
rect.origin.x = (orientation == UIInterfaceOrientationPortrait) ? location : location*-1;
//            rect.origin.y = 0;
}
}
self.view.frame = rect;
[self updateMenuAnimation:menu];
}

comment rect.origin.y = 0
It's OK

I think what @Kernelzero is saying is that you need to make sure that your code is not being covered by the status bar, and has nicely provided the link to how to fix it. I (and judging by how many times I've seen this, even in apple's own apps) generally have a lot of issues with the status bar expanding (for when in call, recording audio, and hotspot). Does your issue with this library occur when you're not hotspotting?

ps: apple's developer site does not open without safari browser.

@Junyi1227 great! thank you.


Bug when using Airflow 2.9.1 and trying to emit Datasets

Context
This bug happens in Airflow 2.9.0 - 2.9.1 with Cosmos 1.1.0 - 1.4.0a4.
Airflow 2.9.0 introduced (Airflow) Dataset URI validation:
https://github.com/apache/airflow/blob/2d53c1089f78d8d1416f51af60e1e0354781c661/airflow/datasets/__init__.py#L45-L82
It is erroring when Cosmos tries to create Airflow Dataset URIs using the OpenLineage naming convention:
https://github.com/OpenLineage/OpenLineage/blob/main/spec/Naming.md
When running simple_dag from cosmos-demo using the Dockerfile:
FROM quay.io/astronomer/astro-runtime:11.3.0

USER root

# install dbt into a virtual environment
RUN python -m venv dbt_venv && source dbt_venv/bin/activate && \
    pip install --no-cache-dir dbt-postgres==1.7 dbt-bigquery==1.7 && deactivate

USER astro

We're getting the error:
[2024-05-07, 14:20:09 UTC] {local.py:409} DEBUG - URIs to be converted to Dataset: []
[2024-05-07, 14:20:09 UTC] {local.py:409} DEBUG - URIs to be converted to Dataset: ['***://***:5432/***.dbt.stg_customers']
[2024-05-07, 14:20:09 UTC] {providers_manager.py:376} DEBUG - Initializing Providers Manager[dataset_uris]
[2024-05-07, 14:20:09 UTC] {providers_manager.py:379} DEBUG - Initialization of Providers Manager[dataset_uris] took 0.00 seconds
[2024-05-07, 14:20:09 UTC] {taskinstance.py:441} ▼ Post task execution logs
[2024-05-07, 14:20:09 UTC] {taskinstance.py:2905} ERROR - Task failed with exception
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/airflow/models/taskinstance.py", line 465, in _execute_task
    result = _execute_callable(context=context, **execute_callable_kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/airflow/models/taskinstance.py", line 432, in _execute_callable
    return execute_callable(context=context, **execute_callable_kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/airflow/models/baseoperator.py", line 400, in wrapper
    return func(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/cosmos/operators/base.py", line 266, in execute
    self.build_and_run_cmd(context=context, cmd_flags=self.add_cmd_flags())
  File "/usr/local/lib/python3.11/site-packages/cosmos/operators/local.py", line 470, in build_and_run_cmd
    result = self.run_command(cmd=dbt_cmd, env=env, context=context)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/cosmos/operators/local.py", line 343, in run_command
    outlets = self.get_datasets("outputs")
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/cosmos/operators/local.py", line 410, in get_datasets
    return [Dataset(uri) for uri in uris]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/cosmos/operators/local.py", line 410, in <listcomp>
    return [Dataset(uri) for uri in uris]
            ^^^^^^^^^^^^
  File "<attrs generated init airflow.datasets.Dataset>", line 3, in __init__
    _setattr('uri', __attr_converter_uri(uri))
                    ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/airflow/datasets/__init__.py", line 81, in _sanitize_uri
    parsed = normalizer(parsed)
             ^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/airflow/providers/postgres/datasets/postgres.py", line 34, in sanitize_uri
    raise ValueError("URI format postgres:// must contain database, schema, and table names")
ValueError: URI format ***:// must contain database, schema, and table names

We cannot change how Cosmos generates outlet Dataset URIs in a minor release - since this could silently break dataset-scheduled DAGs.
Solution

[ ] Make Cosmos incompatible with Airflow 2.9.0 - 2.9.1
[ ] Capture this exception and give a user-friendly message in Cosmos explaining why Cosmos is not compatible with these versions of Airflow
[ ] Make the change in Airflow: https://github.com/apache/airflow/issues/39486

I just upgraded to airflow 2.9.1 and can confirm I am hitting this bug! Thanks for opening the ticket!

Thanks for the feedback, @flinz, that's a great workaround when not using Data-aware scheduling!
I'll try to work on the fix in Airflow, so from Airflow 2.9.3, users won't face this issue anymore.


Verify legacy API compatibility

Currently we provide the legacy API but there are only limited checks done to verify that this API is actually compatible with the one from the legacy app

As part of #173, a default watermark is being returned even when there's no watermark written in the first place.
Unable to test and verify with the legacy baking app, a value of "0" was chosen as default.
It would be ideal if we can check with the legacy app what value is returned, or consider concerns with this default value compared to others like u32::MAX

Changed default HWM to u32::MAX
See 61b0da8e9f5d0a7c8e5df7e87672b53d5c2af68c @ rust/app/src/handlers/hwm.rs

I am not sure the exact purpose of this issue.
At the moment, we have relatively a good amount of tests that use both apps.
We can use this issue to track the task of adding a few more tests for feature A, B, C.. otherwise, I would close it and add new issues as we recognize them.


Complete the sender field of deadletters object.

hi bro. i'm thinking about using gam in my project. and i need the sender field of deadletters object.
do you have and plan to add this field? or i can make a pull request myself if you are busy.

This should absolutely be added,
If you want, a PR would be welcome
Thanks

Merged


BUG: minimize(method="newton-cg") crashes with UnboundLocalError if xtol=0

Describe your issue.
I was trying to debug an issue where I was unable to find the minimum of a function with Newton-CG. As one of my debugging steps, I tried setting the solver option xtol to zero. I expected this to disable termination due to x convergence, but what actually happens is that it crashes.
Reproducing Code Example
import math
import scipy.optimize

def cosine(x):
    f = math.cos(x[0])
    print(f"f({x[0]}) = {f}")
    return f

def jac(x):
    ret = -math.sin(x)
    return ret

x0 = [0.1]
xtol = 0  # crashes with UnboundLocalError
# xtol = 1e-10  # works
result = scipy.optimize.minimize(cosine, x0=x0, jac=jac, method="newton-cg", options=dict(xtol=xtol))

print(result)

Error message
---------------------------------------------------------------------------
UnboundLocalError                         Traceback (most recent call last)
Input In [41], in <cell line: 19>()
     17 xtol = 0  # crashes with UnboundLocalError
     18 # xtol = 1e-10  # works
---> 19 result = scipy.optimize.minimize(cosine, x0=x0, jac=jac, method="newton-cg", options=dict(xtol=xtol))
     21 print(result)

File ~/.local/lib/python3.10/site-packages/scipy/optimize/_minimize.py:710, in minimize(fun, x0, args, method, jac, hess, hessp, bounds, constraints, tol, callback, options)
    708     res = _minimize_bfgs(fun, x0, args, jac, callback, **options)
    709 elif meth == 'newton-cg':
--> 710     res = _minimize_newtoncg(fun, x0, args, jac, hess, hessp, callback,
    711                              **options)
    712 elif meth == 'l-bfgs-b':
    713     res = _minimize_lbfgsb(fun, x0, args, jac, bounds,
    714                            callback=callback, **options)

File ~/.local/lib/python3.10/site-packages/scipy/optimize/_optimize.py:2233, in _minimize_newtoncg(fun, x0, args, jac, hess, hessp, callback, xtol, eps, maxiter, disp, return_all, c1, c2, **unknown_options)
   2230     update_l1norm = np.linalg.norm(update, ord=1)
   2232 else:
-> 2233     if np.isnan(old_fval) or np.isnan(update).any():
   2234         return terminate(3, _status_message['nan'])
   2236     msg = _status_message['success']

UnboundLocalError: local variable 'update' referenced before assignment

SciPy/NumPy/Python version and system information
1.12.0 1.23.5 sys.version_info(major=3, minor=10, micro=12, releaselevel='final', serial=0)
Build Dependencies:
  blas:
    detection method: pkgconfig
    found: true
    include directory: /usr/local/include
    lib directory: /usr/local/lib
    name: openblas
    openblas configuration: USE_64BITINT= DYNAMIC_ARCH=1 DYNAMIC_OLDER= NO_CBLAS=
      NO_LAPACK= NO_LAPACKE= NO_AFFINITY=1 USE_OPENMP= HASWELL MAX_THREADS=2
    pc file directory: /usr/local/lib/pkgconfig
    version: 0.3.21.dev
  lapack:
    detection method: pkgconfig
    found: true
    include directory: /usr/local/include
    lib directory: /usr/local/lib
    name: openblas
    openblas configuration: USE_64BITINT= DYNAMIC_ARCH=1 DYNAMIC_OLDER= NO_CBLAS=
      NO_LAPACK= NO_LAPACKE= NO_AFFINITY=1 USE_OPENMP= HASWELL MAX_THREADS=2
    pc file directory: /usr/local/lib/pkgconfig
    version: 0.3.21.dev
  pybind11:
    detection method: config-tool
    include directory: unknown
    name: pybind11
    version: 2.11.1
Compilers:
  c:
    commands: cc
    linker: ld.bfd
    name: gcc
    version: 10.2.1
  c++:
    commands: c++
    linker: ld.bfd
    name: gcc
    version: 10.2.1
  cython:
    commands: cython
    linker: cython
    name: cython
    version: 3.0.8
  fortran:
    commands: gfortran
    linker: ld.bfd
    name: gcc
    version: 10.2.1
  pythran:
    include directory: ../../tmp/pip-build-env-oj5r1eje/overlay/lib/python3.10/site-packages/pythran
    version: 0.15.0
Machine Information:
  build:
    cpu: x86_64
    endian: little
    family: x86_64
    system: linux
  cross-compiled: false
  host:
    cpu: x86_64
    endian: little
    family: x86_64
    system: linux
Python Information:
  path: /opt/python/cp310-cp310/bin/python
  version: '3.10'

I've raised a PR to close this issue: https://github.com/scipy/scipy/pull/20299
I agree that the initial value of update_l1norm was chosen to ensure the loop runs at least once, but this fails for xtol = 0, so a simple fix.

UnboundLocalError: local variable 'update' referenced before assignment is a trivial Python programming error, and should be fixed ASAP, especially if the fix is small. I'm milestoning this for 1.13, though it's of course not a release blocker.

@TimButters Apologies for my slow feedback here - I've had some trouble setting up a SciPy environment that can build from source. I've re-tested my code on your PR, and it has the expected behavior now. 🥳
I really appreciate you lending your expertise to fix this. Thank you for taking the time to get the change approved. I think the new behavior is much easier to understand, and should hopefully prevent some future user from shooting themselves in the foot. : )

thanks for taking the time to check @nickodell !


Open the bounds on optparse-applicative

As discussed IRL - should we open the bounds so we can transition this upstream
https://github.com/ambiata/x/blob/master/x-optparse/x-optparse.cabal#L18

I don't think we have any other option. I ran into this issue hard as well - https://github.com/ambiata/x/pull/53.


Version docker images

Hi! Thanks so much for creating this image, I was all set to create my own from the upstream project before I found this.
I am curious if you plan to support version tags on the docker images? This would be great incase we need to rollback to a previous version.
For example:
current version would be the same image with different tags:
raetha/wyzesense2mqtt:v1.1.0
raetha/wyzesense2mqtt:latest

previous versions:
raetha/wyzesense2mqtt:v1.0.9
raetha/wyzesense2mqtt:v1.0.8
...

Hi Devin (@onedr0p), I'd actually originally set things up with releases when I was first figuring out Docker Hub, but removed it for some reason. I honestly can't remember my logic, and yours makes a ton of sense, so I'll get them back in place. I'll update here once that is complete.

Ok, I believe I've added the required configuration in Docker, unfortunately it looks like it may not start generating them until the next release, so hopefully I'll know as soon as I can polish 1.1 and get that pushed. I'm hoping by this weekend. I'll leave this open until I confirm that they are generating going forward.

Thanks @raetha !


Fix environment name bug and add tweet download timeframe

This pull request fixes a bug introduced with pull request #13, which would crash the script due to an error with the environment_name variable.
This request also adds a way to specify what date to start gathering tweets from, rather than using the hard-coded value of March 22nd, 2006.

Thank you @emunand for putting time into this pull request.  I appreciate you fixing the bug with the 'environment_name' variable, and adding the feature to specify the start date for gathering tweets.
Can you please the 'timeframe' parameter the last parameter in all the functions?  That way, the user can rely on the default behavior if they don't want to specify it in the command line?  With this change, I'm happy to merge the PR.  Thanks.

No problem! Just moved the timeframe parameter to be the last in the list, and also added some usage info into the README.

Thanks @emunand for your help!  This PR looks good.  Merging into the main branch.  Let me know if you find any other issues or would like to see any additional functionality.


Allow translating documents

This is a possibly big feature with little relevance for most people. However DeepL supports this, so it could be included relatively easy

Yes indeed


Update for HaveIBeenPwned.com API v3

Actual check for HiBP don't work (API v1 is no more usable). Update with API v3.

Approving without testing. I, personally, does not use or maintain the passwordmeter anymore.


[Backport] Use ubuntu image with pre-installed java 8 for IT docker

Backport of #4970 to 0.11.0.

So we can get CI working for the other backports.


Auto-jump to top of results when search pattern changes

Category

[ ] fzf binary
[ ] fzf-tmux script
[x] Key bindings
[ ] Completion
[ ] Vim
[ ] Neovim
[ ] Etc.

OS

[x] Linux
[x] Mac OS X
[ ] Windows
[ ] Windows Subsystem for Linux
[ ] Etc.

Shell

[x] bash
[ ] zsh
[ ] fish

Once I've started scrolling through a list of results and realized I need to refine my search, I need to scroll back to the top of the list after refining because now the best results are going to be at the top but my current position is further down. My current position is also not meaningful given that the search results have changed. I think it would be helpful to auto-jump the cursor to the first result when the search pattern changes, or at least provide this as an optional setting. A key binding to jump to the top of the results would also be helpful.

It looks like this has been asked and answered. https://github.com/junegunn/fzf/issues/1570


Not possible to connect wires to subflow specific nodes on Android Chrome

What are the steps to reproduce?

Create a subflow
Disconnect any wire going to subflow output
Open the subflow for editing on an Android device
Try to connect a wire from subflow input or from any "normal" node to subflow output (or subflow status)

What happens?
Wire drawing begins but the end does not attach on the subflow special nodes. Same happens if attempting to wire in reverse starting from the output node.
What do you expect to happen?
Connecting wires works as between regular nodes.
Please tell us about your environment:

[x] Node-RED version: 1.1.0
[x] Node.js version: 14.3.0
[x] npm version: 6.14.5
[x] Platform/OS: Samsung Galaxy Tab S2 (Android 5.0)
[x] Browser: Latest Chrome

Fixed in 1.1.1


[aop] Evaluating the strategy with a context

@Flip annotation has a new argument to specify if the strategy evaluation needs a context, the values are:

NONE: the strategy does not need context
FF4J: the strategy will use a context stored in a ThreadLocal
PARAMETER: the context is retrieved from the argument method, so the developer is free/responsible to pass the correct context (usefull to be thead-independant), or can reuse it to call a nested 'check'

Thank you for the evolution


crash at same door as last seed

Version
3.1.8 (c535761)
Seed
R720-PKME-XNHH4077Z9YM003XHMW949K8E9NCNVWNYCVBPFZZZZ7H8KTZZ
Scenario
RE 2 (Leon A)
Player Character
OG RE2 Kendo
What happened?
had same crash as last time, after the cutscene where leon drops ada, tried to go thru the door and the game crashed. attaching a save file at the crash door.
also had an issue where on the way back from the part where you would normally play as ada, the character endlessly walked into the wall and the scene didnt end.
Leon A_10_2023-12-21 02^33.41.zip

the shutter marvin kept walking into endlessly


make it possible to retrieve non-QUIC packets from the Transport

Fixes #3929.
Tests still missing.
Resolution to https://mailarchive.ietf.org/arch/msg/quic/oR4kxGKY6mjtPC1CZegY1ED4beg/ still missing.

@bt90 I see you're blocked on this PR in syncthing. Have you tried out this branch yet? Does it work for your use case and allow you to retire the filter implementation?

@AudriusButkevicius

I don't think we are blocked. We just can't pick up the latest optimizations as we rely on this type of functionality which we are currently implementing with a separate package.

Maybe not blocked-blocked, but given that migrating to the new transport stuff is a refactor that doesn't fit cleanly into our existing way of doing it (since we can't write to the socket directly, nor read from the new transport), this would be welcome so that we don't need to rearchitect twice for the same change.


[FEAT] could you add a dark mode?

the current light mode looks very uncomfortable at night, thx~

Duplicate of #51 #90


Dynamic Footstep System

Here is my Dynamic Footstep System. It works well in my tests. There is a demo scene included. All of the resources, assets, and scripts are contained in the DynamicFootstepSystem folder.
I did make a small change to the player script to support the system, but the system is optional and if it is not specified the player script will work normally and play generic footstep sounds.

This works great, that's exactly what I imagined.
Only a small note, then I think we can merge this into main:

The added player.tscn is confusing. As your system already has a fallback sound, I see no reason keeping the old one around. Would you mind applying the new FootstepPlayer and it's script to the main player.tscn ? Feel free to include the needed changes from the player.gd script, I took a look and they seem very minor.

In your test scene the StaminaComponent or at least the StaminaHUD doesn't seem to work? It still works in the COGITO_01_Demo.tscn so maybe some hookup got disconnected somehow.

Yes, I can get rid of the added player scene and modify the main player scene. I didn't want to change your base player without express approval.
I'm not sure why the stamina component isn't working, I'll try to figure that out. I did the basic structure of including the player, player_HUD, and pause menu and linking them together.... I'll post once I've got some more commits for this.

Def don't merge this yet, bringing these changes into the demo scene there is a bug I'll need to fix quickly

I didn't properly support static meshes and rigidbodies. Also didn't support all of the CSG shapes. I'm working on these now.

Okay I'm looking at adding support for the box in the demo right now, with the wood sounds. It looks like the box materials are inside of the box scene. I'll need to save the materials outside of the box in order to set the footstep effects. Is that alright?


Add nixpkgs pin, bump haskell.nix

Hydra is unhappy, but I built this locally and it's got most of the way, so I'm pretty confident.

And it builds.

@nc6 would you mind approving?

Oh dear, Haskell CI has been failing this way on master already...


New: allow using forks of prettier

This makes it possible for projects to specify the name of a prettier
fork to be used instead of the original prettier. The fork name is
passed as an additional option after the prettier configuration. For
example:
{
    "rules": {
        "prettier/prettier": ["error", {"trailingComma": "es5", "singleQuote": true}, "prettier-with-tabs"]
    }
}

Thanks for the pull request!
Hmm, I'm not sure about this, for a few reasons:

My first impression is that this functionality is out-of-scope for this project. This is intended to be a plugin for prettier, not arbitrary libraries that expose a similar API. I'm not sure there is enough demand for this to be worthwhile.
Implementation-wise, passing the name of a module in the config seems like a leaky abstraction because require() will be called from eslint-plugin-prettier, not the module that created the config. This would result in unexpected changes in behavior if a module with the same name is added to eslint-plugin-prettier's dependency tree.

Thanks for the feedback!

My first impression is that this functionality is out-of-scope for this project. This is intended to be a plugin for prettier, not arbitrary libraries that expose a similar API. I'm not sure there is enough demand for this to be worthwhile.

That's fair. I didn't intend this to be used for "arbitrary libraries" with the same API, but it could of course be used in that way. I'd like to note that there is at least one fork, prettier-miscellaneous, that is mentioned in the official documentation under Related Projects (it's the one I'd like to try using with eslint via this plugin). I also updated the docs in this PR to reflect the new name of that project, rather than prettier-with-tabs.

Implementation-wise, passing the name of a module in the config seems like a leaky abstraction because require() will be called from eslint-plugin-prettier, not the module that created the config. This would result in unexpected changes in behavior if a module with the same name is added to eslint-plugin-prettier's dependency tree.

Oh, good catch. I've updated the PR to resolve the module relative to the current working directory, rather than the eslint-plugin-prettier directory.

I hope you'll still consider this. Let me know what you think!

Unfortunately, I'm going to close this -- this plugin is only designed to work with prettier, and I think passing a module name as a string could lead to confusing behavior for users. For example, resolving the fork module from the cwd solves the issue described in https://github.com/not-an-aardvark/eslint-plugin-prettier/pull/15#issuecomment-298499719, but then the plugin would sometimes not work if it was run with a CWD outside the project, or if a config file was in a different directory than the file being linted.
Thanks again for being willing to contribute! Feel free to fork this module if you want something that works with prettier-with-tabs.

That makes sense. Thanks for the consideration!


Bump framework

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/5531399313
Status: failure

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/5531399313

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/5531399313
Status: success


Wrong iFrame preview URL when viewing Latest version of a draft of a translation

Description
In a multi-language setup with workflow enabled and draft status, the iFrame preview URL is correctly calculated for all links in "Revisions" tab, which follow the URL structure: /[langcode]/node/[nid]/revisions/[vid]/view.
But the iFrame URL is wrong for drafts not in the node original language when visiting the "Latest revision" tab. URL in this case has the structure: /[langcode]/node/[nid]/latest.
In this case, the latest revision of the entity in its original language is displayed.
The following screenshot demonstrates the URL language in the browser is "de-ch" but the URL in the iFrame is "de":

In my screenshot in the preview frame an error appears, but that might be related to my setup. The important part is wrong langcode in the URL.
Steps to reproduce
In a basic Next.js 1.6.3 setup on Drupal 10

Enable language and workflow. Set multiple languages with URL detection method and workflow with Draft and Published statuses, and transitions between both of them.
Create a node in "Language 1".
Translate to "Language 2" and publish.
Edit again in "Language 2" and save as draft.
Click "Revisions" on translation and preview the first in the list -> Correct content will appear.
Click "Latest revision" -> The content in "Language 1" will appear.
Inspect frame URL -> The slug URL parameter contains language 1 langcode, not language 2.

This line is currently returning the node in the default language: https://github.com/chapter-three/next-drupal/blob/main/modules/next/src/NextEntityTypeManager.php#L80
It appears that commenting that out and just returning $parameter in line 85 loads the revision for the translated language correctly. I don't know if this is always the case or based on my current language detection settings. I can provide a patch for this if this is the right course of action... just not 100% sure.


Feature/date range without long press

This resolves issue #53 .
SublimeOptions have been modified to change behaviour between existing long press for date range selection and 2 taps for range selection.
Use the option SublimeOptions.setToggleRangeWithoutLongPress(true) when initializing SublimePicker.

@vikramkakkar Hi Vikram, can I get some help on an issue. I'm trying to implement the following behavior but having trouble.
Click on a day to select it, long click on the second date to select the range between the two dates.
Can you do it or show me show me in the right direction.

@vikramkakkar Could you check this PR

@vikramkakkar @vikram-kakkar No updates for this PR?


import { Map } from 'leaflet'; becomes  import { Map } from 'leaflet/index'; which is wrong

Other imports work just fine, but when the the lib is built, the import calls from the source code undergoes the change in the title. This then results in an error when using the library, because it can't resolve how to import from 'leaflet/index' (since it doesn't exist). Any way to fix this for now?

@chriszrc can you take a look on this?
https://github.com/angular/angular/issues/16084
maybe its angular compiler cli issue.

Ah, that does look like the same problem. I'll follow up there, thanks!


Fix mov_j timeout because of the flange orientation

This pull request fixes two points

compare tf2::getYaw(pose.orientation) and tf2::getYaw(goal.orientation) to evaluate how much the current flange orientation is distant from the goal.
fix orientation value of the current flange

As I wrote on the code, RealtimeFeedbackTcpInterface::getCurrentEndPose returns the position of mg400_origin_link but its orientation is actually based on mg400_end_effector_flange. Hence I've converted the value from that of mg400_end_effector_flange to mg400_origin_link.

@ynyBonfennil Thank you so much for the change.
End I think it is actually the bug of getEndPose method.
Could you try this PR instead?
https://github.com/HarvestX/MG400_ROS2/pull/148

I'm not sure if #148 have some effect on other MG400_ROS2 features, but it solved the problem. I've removed the code of converting the value of orientation.

I'm not sure if #148 have some effect on other MG400_ROS2 features, but it solved the problem. I've removed the code of converting the value of orientation.

I think the method linked below was givening you a wrong EndPoint position (wichi is not considered about the flange angle.) before you merge #148
https://github.com/HarvestX/MG400_ROS2/blob/f365461ee58334f029fad080f07f908b0868db37/mg400_plugin/src/motion_api/mov_j.cpp#L117

But anyway, cosistent frame id in a single message is more of the ROS2 style, so the new implementation would be suitable for MG400_ROS2.

Yes.. I want to follow the ROS2-style.
Thank you so much for the consideraion.


Change link in repository description

The current description for this repository says: "NLTK Source http://nltk.github.com/". However, that link provides a 301, and redirects to http://www.nltk.org/. The link should be changed to http://www.nltk.org/.

Fixed, thanks @RichardLitt

No problem. Thanks.


Add support for Python 3.13

I like that all we needed was adding the version and the tests are all nice and green. One thing missing is the trove classifier near https://github.com/wagtail/wagtail/blob/main/setup.py#L113 ;)

@zerolab Good catch! Was hoping I could just copy everything from #10991 and be good to go, but there's always one more thing... :-)
Updated in e44bfd16c28d01674afba4722768e139482a229a now.

Just added release notes, will merge shortly.
Thanks @gasman


0.9.10: Add ElectrumClient

 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.

Wait, you want me to sign your CLA for something I opened up two years ago and never heard back on?

 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.


New version: ReorProject.Reor version 0.2.30

Created by 🥟 Dumplings in workflow run #9529.

Log
Updated: 0.2.29 → 0.2.30
No ReleaseNotes (en-US) for version 0.2.30
Submitting WinGet manifests
Creating manifests
Uploading manifests and making commits
Creating a pull request

Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

Installation failed with exit code -1978334972
2024-11-13 15:24:35.190 [CLI ] No suitable installer found for manifest Microsoft.VCRedist.2015+.x64 with version 14.42.34433.0

Automated error analysis suggests -1978334972 may mean This package has a dependency missing from your system.
(Automated response - build 897.)


Add jvm flags parsing

Add jvm flags parsing to use in gProfiler agent

@YoniKF @uriariel good to merge once my comments are resolved


[PUBDEV-5555] Fix incorrect clipping of tooltip.

For example in case of column summary -> Summary.
Before:

After:

@lo5 can you please take a look as well?

@michal-raska @michalkurka LGTM. Thanks for the fix!


New GUI not functioning properly

Hello! I came across your app and wanted to use it. I downloaded the most recent version with the new GUI but unfortunately it didn't work. It's giving me this error:

I tried rolling back to the previous release and it worked fine:

And It showed up on my Discord's rich presence:

I'm not sure what went wrong but I thought I would let you know about this because from the screenshots in the readme, the new GUI's rich presence looks much nicer and I would like to use it. Thank you so much!

same issue here...


Pretty Printing CRDs when kubectl get resource

[ Clusters ]
[ ClusterResources ]
[ KafkaManagement ]

There is no way to print nodesNumber and nodeSize because this fields belong to DataCentre object, and some of cluster resources could have more than one datacentre.


Guard:Nanoc fails to start with nanoc 4.11.1

Steps to reproduce

Any nanoc repo with a guard file and guard-nanoc gem, with nanoc 4.11.1
start Guard: bundle exec guard

Actual behavior
Guard::Nanoc crashes. Downgrading nanoc to 4.11.0 it works fine again.
Crash log
11:30:40 - ERROR - Guard::Nanoc failed to achieve its <start>, exception was:
> [#b39debf6872d] NoMethodError: undefined method `<<' for nil:NilClass
> [#b39debf6872d] /Users/jmfaber/.rvm/gems/ruby-2.5.3/gems/nanoc-4.11.1/lib/nanoc/cli/commands/compile_listeners/abstract.rb:54:in `on'

full trace here: https://gist.github.com/Fjan/6642e259d5bc9e4afcb5b32eff4716cc
I tried to do a quick comparison between 4.11.0 and 4.11.1 but the changes were quite extensive so I wasn't able to pin down the commit that broke it.
Is the guard-nanoc using some undocumented end point and should the issue be filed there instead?

Hey, this is an incompatibility introduced in Nanoc 4.11.1 for which I have a Guard::Nanoc release prepared, but forgot about. My bad! An updated Guard::Nanoc release is coming up.

@Fjan This is fixed in the just-released guard-nanoc 2.1.5. Can you confirm?

Hi @ddfreyne
Guard now starts up but as soon as anything changes and it tries to compile anything it produces an error with a long stack trace: https://gist.github.com/Fjan/6cbbff28125adff6694f2df1484b776a
I tried this on two different nanoc projects.

Yikes, I think I screwed up something a bit larger than I expected. Will investigate.

I’ve done some more digging and this seems to be caused by the new implementation of NotificationCenter, which is now threaded. Guard::Nanoc forks, and forking likely messes up the threads enough for the notification center to stop working. Nasty…

I have a fix in #1410. I have no idea how to test this in an automatic way; I’ve verified that it works with my own sites for now…

Thnx for your quick attention to this! (Out of town this week but will test when I get back)


Duplicated snackbars desktop mode DNS rewrites

By the way, this bug is not only in this section, it is the same in other sections

It should be fixed on the latest version (v2.15.0)

It should be fixed on the latest version (v2.15.0)

Okay, I'll try again and report back


Fix no-tls1_2

It seems that the ssl test 20-cert-select.conf dislikes the lack of TLSv1.2

Checklist

[x] tests are added or updated
[x] CLA is signed

Description of change

Merged.
master: ea24bb0ac5afee1cb7807752a674cb8a858545db
1.1.0: not needed, as those tests don't exist there


Add usage() and fix some typos

Combine all my witterings now that tests are running

Thanks for your contribution!


File upload streaming is broken since graphql-yoga 3.5.1

Describe the bug
As described here: https://github.com/dotansimha/graphql-yoga/issues/2606
When using the file.stream() method to be able to stream a file, there is two issues:

The data is corrupted. The size appears to be good, but the data is different and the file cannot be read.
The whole buffer is already preloaded and the mutation methods starts only after the whole file has been uploaded, even for huge files that would benefit (no, need) streaming

Interestingly, the problem also appears after specifying a fetchAPI function in this old version (when it was still working, in 2.5.1), with the implementation from @whatwg-node/fetch. Probably a change of the streaming implementation there that broke everything (and apparently doesn't properly stream anymore).
Your Example Website or App
https://codesandbox.io/p/sandbox/stream-file-upload-repro-nq6q23
Steps to Reproduce the Bug or Issue

Download the image.png from the repro. This is for the tool to compare the sizes and content, but this is not strictly needed
Use a compatible tool (in the reproduction I swapped to Apollo Sandbox, because it supports file uploads natively)
Add a file, with the specified key file (or rename the variable, it doesn't matter)
Check the console and the various checks I made

Expected behavior

The stream should have the same data as the file and the buffer, but does not
The file should not start being buffered BEFORE any call is made to file.stream() or await file.arrayBuffer()

Screenshots or Videos
No response
Platform

OS: Any
NodeJS: [16.17.0, 20.5.1]
@graphql-yoga/* version(s): >= 2.6.0

Additional context
No response

I'll take a look at the corrupted data but preloading is not a bug, it was the same in v2. We never claimed anywhere that the file will be bufferred before file.stream() or file.whatever. So it is not a bug.

Fixed in @whatwg-node/node-fetch;
https://github.com/dotansimha/graphql-yoga/pull/2988
Could you update your lock file and try again?
Thanks!

Thank you, works perfectly!
For the streaming issue, this is interesting, because when downgrading it was indeed processing streams immediately instead of buffering... But that could definitely be related to the fact I use Fastify (I guess?) mangling with that older version of node-fetch


Bug in highlightText

Into Utils.java highlight find index of "constraint" into a lowercase string but if the contraint is uppercase it doesn't work!
int i = originalText.toLowerCase(Locale.getDefault()).indexOf(constraint);
must become
int i = originalText.toLowerCase(Locale.getDefault()).indexOf(constraint.toLowerCase(Locale.getDefault()));
regards.

Thanks @carmas123, yes it's doesn't work if NOT used in combination with this Adapter.
If you use getSearchText() from this Adapter, the searchText is already lowered by setSearchText(). That's why it works.
But yes, I will fix it.

I've found another bug into highlightText
Please add a check if originalText is null before create a Spannable otherwise I got an exception or add @NotNull annotation to originalText parameter.


[BUG] Cannot read property 'get' of undefined

When I tried to load csv file from my vault, an error comes into screen

Thanks for the report; looking into it.

I'm also having this issue. I placed the CSV file under the Obsidian folder but cannot view it, if that makes a difference.

Fixed for 0.4.3.


mac_app_store_installer: handle Monterey.

mas is not yet functional on Monterey. To track progress or to contribute to fixing this issue, please see: https://github.com/mas-cli/mas/issues/417

@MikeMcQuaid, we've resolved the issue. As of mas 1.8.5, mas install, mas lucky, and mas upgrade now function as they did on Big Sur.

#1021


How to create an undirected edge and how to avoid creating a duplicate directed edges?

OrientDB Version, operating system, or hardware.

v2.2.12 SNAPSHOT

Operating System

[*] Linux---CentOS 7

Expected behavior and actual behavior

Much discussion about the problems of undirected edges, but cannot find any effective example, anyone can provide one example?
2.how to avoid creating a duplicate directed edges with the same edge property?

Hi @youzp
The Property Graph db model does not provide undirected edges support. Even TinkerPop standard requires edges to have a direction.
Anyway, it's not a big problem in general, as you can traverse edges in both directions and just ignore the edge direction, using the both() operator
Thanks
Luigi


In a freshly generated application there is no rspec

rails g controller Home
W, [2022-06-19T06:31:29.100005 #26381]  WARN -- Skylight: [SKYLIGHT] [5.3.2] Running Skylight in development mode. No data will be reported until you deploy your app.
(To disable this message for all local apps, run skylight disable_dev_warning.)
create  app/controllers/home_controller.rb
invoke  erb
create    app/views/home
error  rspec [not found]
invoke  assets
invoke    scss
Grep against Gemfile:
❯ cat Gemfile | grep rails
gem "autoprefixer-rails"
gem "rails", "~> 6.0.0"
gem "sassc-rails"
gem "pry-rails"
❯ cat Gemfile | grep rspec
(nothing was found)

@fuzzygroup Thank you for reporting this issue! It has been fixed with the latest release:
https://github.com/thoughtbot/suspenders/releases/tag/v1.56.0
It happened because when something failed along the way Suspenders wouldn't abort and would keep running, giving the illusion that the app was generated without problems. Please try out v1.56.0 and feel free to reopen this issue if you find any problems.


Update path to signalr.js

The sample code for the ASP.NET Core SignalR does not work due to a path issue.
It appears that it should refer to signalr.js, but this file has moved a few times in the past so I'm not sure if you want to fix this at the reference or the source.
Thanks!

@scottaddie, thanks for looking at this for me!
While I was trying to follow the steps you laid out, it brought up a few style questions, so I'll just let you make the changes.
(I listed my questions below just in case they need to go in a style check somewhere for the future):

Which libraries should be pulled via libman vs npm cli vs checked into git (currently there are a handful of dependencies for this example)?
Should the lib folder be ignored in git?
Should the libman restore command be documented in a README.md for quickstart?
Should the tutorial documentation "Tip" be updated to reflect the new path?

@dmorrison42 Great questions. See my answers below.

Which libraries should be pulled via libman vs npm cli vs checked into git (currently there are a handful of dependencies for this example)?

Don't use npm at all. The wwwroot/lib/signalr folder should be deleted. Create a libman.json file in the project root containing the following:
{
  "version": "1.0",
  "defaultProvider": "unpkg",
  "libraries": [
    {
      "library": "<EMAIL_ADDRESS>      "destination": "wwwroot/lib/signalr",
      "files": [
        "dist/browser/signalr.js",
        "dist/browser/signalr.min.js"
      ]
    }
  ]
}

Should the lib folder be ignored in git?

No. The other 4 folders (bootstrap, jquery, jquery-validation, and jquery-validation-unobtrusive) should remain checked in.

Should the libman restore command be documented in a README.md for quickstart?

No. Let's have the SignalR client package restore on build. To do that, add the Microsoft.Web.LibraryManager.Build package to the *.csproj file:
<Project Sdk="Microsoft.NET.Sdk.Web">

  <PropertyGroup>
    <TargetFramework>netcoreapp2.1</TargetFramework>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Microsoft.AspNetCore.App" />
    <PackageReference Include="Microsoft.Web.LibraryManager.Build" Version="1.0.163" />
  </ItemGroup>

</Project>

Should the tutorial documentation "Tip" be updated to reflect the new path?

That entire tip can be deleted. The reader won't encounter this if each step is followed.

 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: dmorrison42 sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Return a federation member for the genesis block

Already done in another PR.

Already done in another PR.


Links to all pages created(#411)

Pull Request Template

Please provide all of the details below. Pull requests missing any of the information below will be closed!
Providing the issue number/url helps us identify the problem being solved and keep the issues tab clean and tidy

What issue does this fix?
Summarize what this PR fixes:- Created links for the pages in navbar menu
What issue is it attached to?
Fixes #411
Checklist
(Add an x between the brackets to check the items)

[x] I have summarize what this PR fixes above
[x] I have provided the issue ID/URL above
[x] I have not added Bootstrap or jQuery and used correct styling guide.
[x] This PR fixes only the issue mentioned above (create separate PRs for separate issues)
[] I was the first one to claim the issue or I created the issue

@BhupaliRane this task was assigned to nemo before you. I am going to leave this open and give them the time to complete it first. Please, only take issues that have been assigned to you.

Too many conflicts have happened since this pr was submitted. Someone is working on a fix.


Added a global flag to disable accessibility feature of larger text

PR Type
Added a global flag  `FeatureConfiguration.Font.IgnoreTextScaleFactor'. Setting this true to false would ignore text scaling based on the accessibility function of devices.
Fixed spacing in UIFontHelper and FontHelper
What is the current behavior?
Currently there is no way of ignoring accessibility feature of larger text. This change introduces a way of managing this function.
What is the new behavior?
etting this true to false would ignore text scaling based on the accessibility function of devices.
PR Checklist
Please check if your PR fulfills the following requirements:

[x] Tested code with current supported SDKs
[x] Docs have been added/updated which fit documentation template. (for bug fixes / features)
[ ] Tests for the changes have been added (for bug fixes / features) (if applicable)
[x] Contains NO breaking changes
[x] Updated the Release Notes
[x] Associated with an issue (GitHub or internal)

Internal Issue (If applicable):
https://nventive.visualstudio.com/Umbrella/_workitems/edit/35673->

Did you check for this: https://docs.microsoft.com/en-us/uwp/api/windows.ui.xaml.controls.control.istextscalefactorenabled ?


[Feature]: option to run metadata files through YAML pretty-printer before use

Is your feature request related to a problem? Please elaborate.
It seems that there are regular problems with YAML formatting issues that don't have to do with PMM; things like using tabs and spaces to indent and so on.
It might be useful to provide a facility to run metadata YAML files through a linter to clear some of these things up [or make them more obvious in later inspection] prior to trying to process the file.
Describe the solution you'd like
I'm imagining a global setting like preflight_yaml_files=True or the like that would lint the user's metadata files, saving a "Whatever.yml.original` if possible, and throwing an error if:

file can't be written
file fails linting

And a warning if:

backup can't be written

Additional Information
No response

problem with this is most of the YAML errors we get are happening on the load of the file so we couldnt really prettify it when we cant load it. it would have to be something separate like http://www.yamllint.com/


Jekyll build takes minutes to complete

For some reason, after migrating to Jekyll 3.0 (and Jekyll Assets 2), site build takes way longer than it was before the migration (from ~10 seconds to ~300 seconds).
I've already opened Jekyll Core's issue #4297, and seems like it's a Jekyll Assets issue.
Any help would be highly appreciated.
Thanks!

Please provide a list of your gems.

  Your problem is probably bootstrap-sass.  This is a known issue I haven't decided if I want to fix or not (I probably will end up fixing it.) I've known about for a while, and something I had assumed that Sprockets 3 would handle, but actually, Sprockets doesn't cache that resource because it's imported by SASS.  I know Rails works around it in their Sprockets by adding their own importer, something I will end up having to do but I just haven't had time to add it.
It's not because your cache is being deleted (and if it were that would be a Sprockets bug... we ignore .asset-cache on your behalf along with other folders we use and deem need to be ignored so you can remove that from your exclude list entirely.

@envygeeks - Thanks for the clarification.
I will try to see how it works without bootstrap-sass.
And I will be happy to test it when a fix is applied.

I need to consider looking into and adding proof tests to ensure that is not the case, and that bootstrap is the problem.  If you feel these are not the issue you will need to provide more diagnostic relevance since my deductions are based on the short-falls I know in both systems and they line up perfectly and since you cannot provide source and won't take the time to provide replication I'm immediately siding with Occam and going with what I know are known problems.
Without something to replicate this problem with that can demonstrate it, I cannot step into a context in both Jekyll and Jekyll Assets and see where the problem is.  I'll be chasing the golden goose so unless you can help me replicate it with source or example source that doesn't use your source I'll resolve the problems I know can cause this problem like Occam suggested.
Sorry.

I can confirm this. Switching from 1.x to 2.x (and no other changes at all) almost doubled our build time (from ~30s to ~60s). Will try to debug this and hopefully find a fix.

Ok I think we know what the problem is.. will submit a PR within the next week or two.

hey @fw42 wondering if you had any news or if you could point me in the right direction on this? We are about to let loose 2.2 in the next few days so it would be nice to get this fix in there!

@envygeeks, sorry, we got distracted, I have a working fix, just need to polish it up. Will try to get something PRed within the next week. Can you wait that long with the release?

@fw42 I can, I'll just cut a beta release for people who use RubyGems and had open tickets and your fix can go into the final release.

So excited for this. 👍


be more explicit that jobs always run asynchronously

Previously @mattto stated that Chrome always run jobs asynchronously.  The spec is a bit fuzzy on this saying things like:

If job’s job type is register, invoke Register with job and continue running these steps in parallel.

This suggests that perhaps Register gets to keep running sync and then the current steps are completed potentially in parallel.
I think it would be better for Run Job to explicitly queue a task to invoke the algorithm for the job.
This matters for things like:
registration.unregister().then(function() {
  var p =navigator.serviceWorker.register(urlThat404s, scope: registration.scope)

  // Removing last controlled client would allow registration with uninstalling flag to
  // be purged.
  controlledFrame.remove();

  return p;
}).then(function() {
  // if register can run its initial steps sync, then it can clear the uninstalling
  // flag before the controlled client is removed.  This results in the original
  //  service worker script remaining active.

  // If register always runs async, then the controlled client is always removed
  // before the uninstalling flag could be cleared.  This results in no registration
  // being present since the new script 404s.
});

Also, I am currently switching gecko to always run jobs async since it provides more consistent behavior.

F2F: Make sure all jobs are scheduled async

No gecko bug as we have already implemented this.

I'm sorry, but I'm not sure I agree with the change in spec language.  I think scheduling the job should be immediate, but actually executing the job should be asynchronous.  I think the "queue a task" language belongs in the "Run Job" algorithm.
This also ensures an async step between consecutive jobs in the queue which is important for flushing event runnables and whatnot.

I think scheduling the job should be immediate, but actually executing the job should be asynchronous.

Yes, that makes sense. Please see if e68be6e94c6aea9a3ebf2b4df44df70a0bafc45d satisfies your expectation.
Also, I think this note should still be there, right?

For a register job and an update job, the user agent delays queuing a task for running the job until after the document initiated the job has been dispatched DOMContentLoaded event.

Or is it guaranteed the task queued in Run Job is always queued after the task for dispatching the DOMContentLoaded event?


fixed mismatch between oauth flow names and sequences

It appears that sequence diagram had mismatch between oauth flow names and sequences. I only corrected them in diagram's source and before merging you may want to add commit to this PR with updated png rendering.

@tplooker - can you please confirm this change?  I don't know enough :-).  I'm happy to generate the image and replace it in the text.
@elf-pavlik - thanks for the update.

@swcurran @elf-pavlik, yes this is correct thanks for the change!


Extra padding for pages with short hero section

Bug/issue #, if applicable: 90792025
Summary
In order to optimize how icons look in the hero section, we want to add extra padding for short hero sections.
Note: anything that has less than 3 items, should be considered a short hero.
Checklist
Make sure you check off the following items. If they cannot be completed, provide a reason.

[ ] Added tests - NA
[x] Ran npm test, and it succeeded
[ ] Updated documentation if necessary - NA

@biamx3 Could you please review this? Thanks!

@swift-ci test

Looks good to me.

@swift-ci test

@swift-ci test

@swift-ci test

@swift-ci test


Sidebar: v-2 copy version

By creating this pull request you agree to the terms in CONTRIBUTING.md.
https://github.com/Infineon/.github/blob/master/CONTRIBUTING.md
--- DO NOT DELETE ANYTHING ABOVE THIS LINE ---
A copy version of 502-sidebar-v-2 branch

added 3 layers of menu-item nesting
added border-indicator
added the number indicator and arrow
Updated storybook to showcase the new changes

📦 Published PR as canary version: 20.37.0--canary.791.aac4d9acd6979a54a6526d86b465bec23e566647.0

:sparkles: Test out this PR locally via:
npm install<EMAIL_ADDRESS># or
yarn add<EMAIL_ADDRESS>

we definitely need to add documentation (probably needs to be the custom .mdx story, informing the user how to configure the sidebar items (listing the props of each sidebar-item with a description) besides that it looks great!

I agree, an additional explanation on how the active sidebar-items work along with the number-indicator would be a good idea.

also, can you please add e2e tests?

There is a e2e test.

okay i will check it out then, didnt see it in the changed files, but I guess it was already there then! My bad!


Comparing with Matplotlib's triangulation

Hi! Thanks for the great package!
As a user, I want to report a performance comparison I found against Matplotlib:
using NaturalNeighbours
using StableRNGs
using PyPlot

function meshgrid(x, y)
   X = [x for _ in y, x in x]
   Y = [y for y in y, _ in x]

   X, Y
end

## The data
rng = StableRNG(123)
f = (x, y) -> sin(x * y) - cos(x - y) * exp(-(x - y)^2)
x = vec([(i - 1) / 9 for i in (1, 3, 4, 5, 8, 9, 10), j in (1, 2, 3, 5, 6, 7, 9, 10)])
y = vec([(j - 1) / 9 for i in (1, 3, 4, 5, 8, 9, 10), j in (1, 2, 3, 5, 6, 7, 9, 10)])
z = f.(x, y)

## The interpolant and grid
xg = LinRange(0, 1, 100)
yg = LinRange(0, 1, 100)
_x = vec([x for x in xg, _ in yg])
_y = vec([y for _ in xg, y in yg])

## Evaluate some interpolants
println("NaturalNeighbours.jl:")
@time begin
   itp = interpolate(x, y, z; derivatives=true)
   triangle_vals = itp(_x, _y; method=Triangle())
   _x = vec([x for x in xg, _ in yg])
   _y = vec([y for _ in xg, y in yg])
   Wi1 = itp(_x, _y; method=Triangle());
end
@time begin
   itp = interpolate(x, y, z; derivatives=true)
   triangle_vals = itp(_x, _y; method=Triangle())
   _x = vec([x for x in xg, _ in yg])
   _y = vec([y for _ in xg, y in yg])
   Wi1 = itp(_x, _y; method=Triangle());
end

println("Matplotlib:")
@time begin
   triang = matplotlib.tri.Triangulation(x, y)
   # Perform linear interpolation on the triangle mesh
   interpolator = matplotlib.tri.LinearTriInterpolator(triang, z)
   Xi, Yi = meshgrid(xg, yg)
   Wi = interpolator(Xi, Yi)
end
@time begin
   triang = matplotlib.tri.Triangulation(x, y)
   # Perform linear interpolation on the triangle mesh
   interpolator = matplotlib.tri.LinearTriInterpolator(triang, z)
   Xi, Yi = meshgrid(xg, yg)
   Wi = interpolator(Xi, Yi)
end

println("")

NaturalNeighbours.jl:
  5.368652 seconds (8.50 M allocations: 560.056 MiB, 5.17% gc time, 99.57% compilation time)
  0.089407 seconds (150.61 k allocations: 7.037 MiB, 24.26% gc time, 74.26% compilation time)
Matplotlib:
  0.207081 seconds (288.81 k allocations: 19.936 MiB, 97.51% compilation time: 6% of which was recompilation)
  0.001353 seconds (80 allocations: 239.234 KiB)

This is running with 1 thread, but NaturalNeighbours.jl is ~ 16 times slower. I don't know if Matplotlib automatically uses multithreading, but this performance difference is noticeable. I don't trust the allocation statistics reported above for Matplotlib, but the measured time should be ok.

Thanks for the report @henry2004y. I'll have a bit more to say about this but is the line triangle_vals = itp(_x, _y; method=Triangle()) intentional in your timings? You seem to be doing itp(...) twice

Some thoughts

You aren't exactly comparing the same things here. With derivatives=true you are also timing derivative generation which Matplotlib wouldn't be doing (I've never used Matplotlib, so correct me if I'm wrong).
For benchmarking, you should put things into functions and then use BenchmarkTools.jl. Otherwise you're including too much compilation and access of global variables in the timings (you can see this with the huge percentage of compilation time reported from your @time outputs.

With this in mind, here's a script showing what I've looked into for this and how I've rewritten your benchmarks.
using NaturalNeighbours
using PyPlot
using BenchmarkTools

function meshgrid(x, y)
    X = [x for _ in y, x in x]
    Y = [y for y in y, _ in x]
    X, Y
end

f = (x, y) -> sin(x * y) - cos(x - y) * exp(-(x - y)^2)
const x = vec([(i - 1) / 9 for i in (1, 3, 4, 5, 8, 9, 10), j in (1, 2, 3, 5, 6, 7, 9, 10)])
const y = vec([(j - 1) / 9 for i in (1, 3, 4, 5, 8, 9, 10), j in (1, 2, 3, 5, 6, 7, 9, 10)])
const z = f.(x, y)

const xg = LinRange(0, 1, 100)
const yg = LinRange(0, 1, 100)

function nn_benchmark()
    itp = interpolate(x, y, z; derivatives=false)
    X, Y = meshgrid(xg, yg)
    _x, _y = vec(X), vec(Y)
    return itp(_x, _y; method=Triangle(), parallel=false)
end
function mpl_benchmark()
    triang = matplotlib.tri.Triangulation(x, y)
    interpolator = matplotlib.tri.LinearTriInterpolator(triang, z)
    X, Y = meshgrid(xg, yg)
    return interpolator(X, Y)
end

@benchmark nn_benchmark()
#=
julia> @benchmark nn_benchmark()
BenchmarkTools.Trial: 297 samples with 1 evaluation.
 Range (min … max):  15.082 ms … 95.031 ms  ┊ GC (min … max): 0.00% … 46.52%
 Time  (median):     15.459 ms              ┊ GC (median):    0.00%
 Time  (mean ± σ):   16.848 ms ±  7.385 ms  ┊ GC (mean ± σ):  4.69% ±  7.69%

  █▄
  ██▆▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▄▅▄▄▄▅ ▅
  15.1 ms      Histogram: log(frequency) by time      48.8 ms <

 Memory estimate: 1.85 MiB, allocs estimate: 48720.
=#
@benchmark mpl_benchmark()
#=
julia> @benchmark mpl_benchmark()
BenchmarkTools.Trial: 2832 samples with 1 evaluation.
 Range (min … max):  1.030 ms …  14.261 ms  ┊ GC (min … max): 0.00% … 0.00%
 Time  (median):     1.822 ms               ┊ GC (median):    0.00%
 Time  (mean ± σ):   1.759 ms ± 417.625 μs  ┊ GC (mean ± σ):  0.00% ± 0.00%

       ▄                       ▄▅▆█▆▅▇▄▅▄▂▁▂▁▁▁
  ▂▄▅▆███▇▅▆▄▃▃▃▄▃▂▄▃▄▅▅▄▅▄▅▆▆█████████████████▆▆▅▅▄▄▃▃▂▂▂▂▂▂ ▄
  1.03 ms         Histogram: frequency by time        2.46 ms <

 Memory estimate: 237.89 KiB, allocs estimate: 74.
=#

# Your observed 16x difference is real. What if we use threads?

function nn_benchmark_threads() # I'm using 10 threads
    itp = interpolate(x, y, z; derivatives=false)
    X, Y = meshgrid(xg, yg)
    _x, _y = vec(X), vec(Y)
    return itp(_x, _y; method=Triangle(), parallel=true)
end

@benchmark nn_benchmark_threads()

#=
julia> @benchmark nn_benchmark_threads()
BenchmarkTools.Trial: 1322 samples with 1 evaluation.
 Range (min … max):  2.352 ms … 94.722 ms  ┊ GC (min … max):  0.00% … 80.89%
 Time  (median):     2.645 ms              ┊ GC (median):     0.00%
 Time  (mean ± σ):   3.770 ms ±  7.382 ms  ┊ GC (mean ± σ):  19.06% ±  9.26%

  █▁
  ██▅▁▄▁▁▃▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▅▆▇ ▇
  2.35 ms      Histogram: log(frequency) by time     43.7 ms <

 Memory estimate: 1.84 MiB, allocs estimate: 47709.
=#

So, without multithreading your observed differences in timings are real. With threading, the results are a bit closer but still not what I'd like. I am quite impressed with how matplotlib must be doing this to get this so fast. The number of allocations with NaturalNeighbours.jl I'm getting seems to suggest there is a type instability somewhere in the code. I'll do some digging.

I did find one issue #35, and another that can't be fixed without a new major release, but they don't make much difference. I'm honestly not sure what the main difference is coming from and I can't tell exactly what Matplotlib is doing.

I know little about how Matplotlib achieves this. This is probably the interface of the method: https://github.com/matplotlib/matplotlib/blob/be56634d682bed257cb941369d8d3600635ddadf/lib/matplotlib/tri/_triinterpolate.py#L232

I probably can't look at that for thinking of changes depending on Matplotlib's license, I'd have to double check that. I was thinking though: I've had to do something similar previously in FiniteVolumeMethod.jl which essentially uses this interpolation, and there was a bit of a difference between (1) storing the barycentric coordinates (these are the coordinates (a, b, c) defining the interpolant fT(x, y) = a x + b y + c in a triangle T) for each triangle to re-use or (2) computing the barycentric coordinates each time on demand. I ended up deciding to store them (https://github.com/SciML/FiniteVolumeMethod.jl/blob/9dc2612219b95eb49b4a81d8cace441f10b6ded4/src/geometry.jl#L21).
Maybe matplotlib stores it as well? I wonder if I should add some sort of cache into NaturalNeighboursInterpolant for storing results relating to a certain interpolant, e.g. something like
struct InterpolantCache{T1<:TriangleCache,T2 <:SibsonCache}
triangle::T1
sibson::T2 # not sure if sibson needs a cache actually
... other methods ...
end
struct TriangleCache{T<:Triangulation}
tri::Triangulation
coefficients::Dict{NTuple{3,Int},NTuple{3,Float64}}
end
...

that the interpolant could then leverage if the user asks to store this (since they might not always want to for larger problems where the data would be a bit much). The caches would be empty until a user calls itp with the specific method.

Well, I got around to looking at caching - see https://github.com/DanielVandH/NaturalNeighbours.jl/tree/triangle. It doesn't really make things much better unfortunately.
julia> @benchmark nn_benchmark()
BenchmarkTools.Trial: 443 samples with 1 evaluation.
 Range (min … max):   9.076 ms … 426.486 ms  ┊ GC (min … max): 0.00% … 59.54%
 Time  (median):      9.986 ms               ┊ GC (median):    0.00%
 Time  (mean ± σ):   11.203 ms ±  20.125 ms  ┊ GC (mean ± σ):  6.15% ±  4.00%

       ▃▇▅▂▃▄█▂
  ▃▃▃▃▇████████▇█▅▃▃▂▃▁▃▂▁▃▁▁▁▁▁▁▃▂▂▃▁▁▁▂▁▂▂▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▂ ▃
  9.08 ms         Histogram: frequency by time         14.8 ms <

 Memory estimate: 1.84 MiB, allocs estimate: 47159.

julia> @benchmark mpl_benchmark()
BenchmarkTools.Trial: 2906 samples with 1 evaluation.
 Range (min … max):  1.079 ms … 263.383 ms  ┊ GC (min … max): 0.00% … 0.00%
 Time  (median):     1.594 ms               ┊ GC (median):    0.00%
 Time  (mean ± σ):   1.714 ms ±   4.880 ms  ┊ GC (mean ± σ):  0.00% ± 0.00%

       ▄▄██▇█▆▅▃▃▆▂▅▄▄▃▅▅▆▆█▄▅▅▄▂▁
  ▁▁▂███████████████████████████████▆▆▄▅▃▄▄▃▃▂▂▂▂▂▂▂▂▂▂▂▁▁▁▁▁ ▅
  1.08 ms         Histogram: frequency by time         2.6 ms <

 Memory estimate: 237.89 KiB, allocs estimate: 74.

julia> function nn_benchmark_threads() # I'm using 10 threads
           itp = interpolate(x, y, z; derivatives=false)
           X, Y = meshgrid(xg, yg)
           _x, _y = vec(X), vec(Y)
           return itp(_x, _y; method=Triangle(; allow_cache = true), parallel=true)
       end
nn_benchmark_threads (generic function with 1 method)

julia> @benchmark nn_benchmark_threads()
BenchmarkTools.Trial: 1296 samples with 1 evaluation.
 Range (min … max):  2.343 ms … 186.348 ms  ┊ GC (min … max):  0.00% … 59.95%
 Time  (median):     2.646 ms               ┊ GC (median):     0.00%
 Time  (mean ± σ):   3.845 ms ±  11.402 ms  ┊ GC (mean ± σ):  18.90% ±  6.32%

   ▁█▇▂
  ▃████▆▄▄▃▃▃▃▂▂▂▂▂▂▂▂▂▂▁▁▁▁▁▁▂▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▂▁▁▁▁▂ ▃
  2.34 ms         Histogram: frequency by time        7.45 ms <

 Memory estimate: 1.87 MiB, allocs estimate: 47579.

I'm not going to commit the cached Triangle work in the linked branch since the difference isn't too significant and it's a bit clunky.
The only other difference could come from DelaunayTriangulation.jl's jump_and_march (i.e. how point location is done to find the triangle containing the query point). Unfortunately jump_and_march is a bit of a headache to work with so not sure what more to do there, as the function is extremely complicated and the reasons for its speed would be either

Because of a bad implementation (possible, only one person has ever really looked at it in detail [me]),
Because of ExactPredicates.jl, which is unfortunately needed and the slowdown is just how it is. I don't know if Matplotlib uses exact predicates anywhere.

All that said, if you are happy with the comparison between the performance with parallel=true compared to Matplotlib as I've demonstrated above, feel free to close this. Otherwise we can leave this open incase someday improvements can be made. I suspect it's an issue of DelaunayTriangulation.jl using exact predicates while Matplotlib probably doesn't.
For evaluating at many points, NaturalNeighbours.jl does seem to win with multithreading at least. You can run the above tests with
const xg = LinRange(0, 1, 250)
const yg = LinRange(0, 1, 250)

and the multithreading benchmark is 2x faster than Matplotlib, although 10x worse without.

Thanks for your effort! I would suggest leave this open as a reminder if someone intends to refactor the code and speed it up~

The caching work should be registered soon (~15 minutes) as v1.3.4. By default, it will now cache the necessary coordinates for Triangle() and hopefully give you some better performance! Thanks for the report @henry2004y.

@henry2004y With DelaunayTriangulation 1.1.0 you can more easily change how predicates are computed by using the predicates keyword, which might also help your performance. e.g.
julia> function nn_benchmark(kernel)
           itp = interpolate(x, y, z; derivatives=false)
           X, Y = meshgrid(xg, yg)
           _x, _y = vec(X), vec(Y)
           return itp(_x, _y; method=Triangle(), parallel=true, predicates = kernel)
       end
nn_benchmark (generic function with 2 methods)

julia> @benchmark nn_benchmark($FastKernel())
BenchmarkTools.Trial: 270 samples with 1 evaluation.
 Range (min … max):  12.527 ms … 27.177 ms  ┊ GC (min … max): 0.00% … 0.00%
 Time  (median):     18.385 ms              ┊ GC (median):    0.00%
 Time  (mean ± σ):   18.495 ms ±  1.480 ms  ┊ GC (mean ± σ):  0.00% ± 0.00%

                             ▃▄▂▆▇█▄▇▂
  ▃▁▁▁▃▁▁▁▁▁▁▃▃▁▁▃▃▁▁▃▁▃▁▄▆▆▇██████████▇▇▅▆▄▄▅▃▃▄▁▃▃▁▃▁▃▁▁▁▃▃ ▃
  12.5 ms         Histogram: frequency by time        23.2 ms <

 Memory estimate: 485.34 KiB, allocs estimate: 889.

julia> @benchmark nn_benchmark($AdaptiveKernel()) # the new default
BenchmarkTools.Trial: 170 samples with 1 evaluation.
 Range (min … max):  24.946 ms … 40.503 ms  ┊ GC (min … max): 0.00% … 0.00%
 Time  (median):     29.362 ms              ┊ GC (median):    0.00%
 Time  (mean ± σ):   29.488 ms ±  2.992 ms  ┊ GC (mean ± σ):  0.00% ± 0.00%

  ▂ ▂ ▃▅█  ▃▂▃▅  ▂  ▅ ▆█▅▅▃▂    ▃
  █▄█████▁▄███████▇▄████████▅▄▅▄█▅▄▅▅▇▅▅▄▄▁▄▇▁▁▄▁▄▁▄▁▁▁▁▁▁▁▁▄ ▄
  24.9 ms         Histogram: frequency by time        38.9 ms <

 Memory estimate: 484.62 KiB, allocs estimate: 889.

julia> @benchmark nn_benchmark($ExactKernel()) # the old default
BenchmarkTools.Trial: 163 samples with 1 evaluation.
 Range (min … max):  24.614 ms … 300.534 ms  ┊ GC (min … max): 0.00% … 47.87%
 Time  (median):     28.723 ms               ┊ GC (median):    0.00%
 Time  (mean ± σ):   31.088 ms ±  21.944 ms  ┊ GC (mean ± σ):  3.57% ±  4.94%

    ▃ ▇▁█▇▃▃▃▇▇▆▁ ▁▂
  ▃▃████████████████▇▄▄▃▇▆▃▆▃▄▁▁▁▁▃▁▁▁▁▁▁▁▁▁▁▃▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▃ ▃
  24.6 ms         Histogram: frequency by time         46.6 ms <

 Memory estimate: 1.38 MiB, allocs estimate: 35231.

Thank you! I'll give it a try~


Speakerline is completely open to edit

I'm a big believer in not solving problems before I have a pain point, but I cannot help but feel anxious about how open the Speakerline site is.
As of now, somebody could go onto the website and edit proposals, even subtly, and I wouldn't know. At the moment, traffic is low. However, the site has huge potential but I'm anxious to push it as I'm wary losing integrity of the data on there.
As of now, there are some options:

Leave the site as it is

Maybe it will be fine, but I won't be able to track the integrity of the data...this seems problematic given the aim of the website

Add login accounts

One of the main positive bits of feedback I get is: wow, that was so quick and easy and I love that I didn't have to create an account
Also, then the question: who can edit what? At the moment, anybody can add or edit a proposal for anybody. So far, people have only submitted their own proposals though. With login accounts, do we make that restriction?

Add a Wikipedia style review process

Anybody can suggest changes and they are sent to admins to approve or reject the changes or ask questions.
I'm guessing the person would then need to add an email address or something to the suggested change?
Does this become potentially problematic for little changes?

Right now, I run a 24 hour backup on the DB and the regularly of that will increase as the database and traffic grow, but for now, what do you think I should do?
@andrew — any thoughts?

@andrew The passwordless idea looks interesting. I'll have a think and look into it. Thanks!

Hey @nodunayo, have you had any more thought on this?

Hey @lolaodelola! Yes, I've thought about it a lot, but have still not implemented anything yet.
I was looking into making a way that admins could review and approve any requests for updates that come in before they are propagated to the site.
I considered Andrew's suggestions too, both of which I could see working. Not sure which is best right now and haven't had the time to sit down and focus on it.
Why? Do you have any ideas? 😁

@nodunayo who do you foresee being an admin? Would it be a select group of people like yourself who have an overarching view of the site or would a speaker be an admin of their own content & thus anyone who makes a change to content "owned" by someone else would then (dis)approve content?
My thinking is that realistically the only people likely to make changes about content are those that owns it, which is different to wikipedia in that nobody "owns" any content and therefore anyone can make changes to it. With that in mind, I think @andrew's suggestion is perfect, it keeps things protected without speakers having to keep track of yet another password.

@lolaodelola You're right, in that even though I like that anyone could add info for a speaker, ultimately, the information is likely to originate only from the speakers. Having some form of login prevents automated bots (which the RECAPTCHA kinda does now, really), but also limits the damage of any bad actors — they can only add proposals for themselves!
Well, let me know if you'd like to give it a go or not, otherwise, this will be likely something I work on next.
Thanks for discussing it with me. 😊

@nodunayo I've been happy to! Do you have a timeline of when you'd want this done by? I'd like to give it a go but have a few things on my plate at the moment.

@lolaodelola There's no rush — if done within the next couple of months, that would be great. I'd like to do it this year! I'm also here to help, answer any questions, do the one-off pairing session, etc. Just let me know. I'll assign it to you for now and check in by end of October if I've not heard anything.
Sound good?

@lolaodelola Do you think you will still be able to have a look at this at some piont? I'm not finding that much time for Speakerline right now so am going to tweet out for help soon. Want to know if I should keep you assigned on this one!
Let me know. 😊

@tomstuart — this is the issue that I am most concerned about closing right now. It's what's preventing me from pushing Speakerline more.
Is this something you'd be interested in taking a look at?

@CrowdHailer is working on a new paswordless product: did.app. We'll be meeting next week to pair and see if we can solve this issue!

@nodunayo Hello! Looks like I was too slow on this one. It sounds like it’s all under control now but I’ll keep an eye on the issue in case you still need help with it in future. 😄

Can we specify on this issue in a bit more detail what routes want protecting.
I assume something like having proposals have user_ids and then having that user_id in the session is the way forward. I also am unsure how to assign the existing proposals to a user id

@CrowdHailer Right, yes — when the issue was created I didn't have an idea of how it should be implemented.
I think something like the following makes sense:

All proposals are attached to a user
If you are the user of a given proposal, you have the ability to edit it
Any proposal you create is owned by you
All proposals in the database can be assigned to<EMAIL_ADDRESS>
I can then reach out to people I know to ask them if I can transfer ownership to their email address
A notice can be added that says: "want to make changes to this proposal, email us" — or something like that....

Does that make sense?

I have a PR over here. https://github.com/CrowdHailer/speakerline/pull/1/files
I've pointed it to my own docker branch so you can see only the relevant differences.
There are several comments that I could do with help on, more just around how rails works and where it wants it's initialization

Having thought some more about this I actually think using the full gem is over kill, We require such a small amount of the full OAuth spec to do what is needed here. I wrote a general purpose minimal guide for server integrations via OpenID Connect to DID.app here https://did.app/docs/step-by-step-integration/
I think just making the calls with an HTTP client library might be the easiest thing to do.

Thanks for looking into this some more.
Is this something you'd want to pair on or something you're happy to take a look at?

Pairing would be helpful, if there is a time that works? I got rather lost in some bits of rails

We had to revert the changes done to close out this issue since the DID.app service shut down.


Incorporate rorid for institution

We have our RORID (https://ror.org/04szwah67)
There is also one for AIBS. Can we start having these added to data description files when data is uploaded?
AIND: 04szwah67
AIBS: 00dcv1019

ah, I thought we already had added the field without having the values figured out! Fixing that now.


Update ujson to 1.5.0

Updates com.lihaoyi:ujson from 1.4.4 to 1.5.0.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.lihaoyi", artifactId = "ujson" } ]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Codecov Report

Merging #1516 (8e0dde5) into unstable (e08b7ce) will decrease coverage by 0.06%.
The diff coverage is n/a.

:exclamation: Current head 8e0dde5 differs from pull request most recent head 5f0552e. Consider uploading reports for the commit 5f0552e to get more accurate results

@@             Coverage Diff              @@
##           unstable    #1516      +/-   ##
============================================
- Coverage     74.95%   74.88%   -0.07%
============================================
  Files           359      358       -1
  Lines         11510    11471      -39
  Branches        533      545      +12
============================================
- Hits           8627     8590      -37
+ Misses         2883     2881       -2

Impacted Files
Coverage Δ

...syte/apalache/tla/bmcmt/caches/AbstractCache.scala
88.23% <0.00%> (-8.91%)
:arrow_down:

...he/io/annotations/parser/CommentPreprocessor.scala
94.50% <0.00%> (-1.10%)
:arrow_down:

.../forsyte/apalache/tla/bmcmt/rules/FunAppRule.scala
85.71% <0.00%> (-0.96%)
:arrow_down:

...ala/at/forsyte/apalache/tla/pp/ExprOptimizer.scala
88.52% <0.00%> (-0.71%)
:arrow_down:

.../forsyte/apalache/tla/bmcmt/rules/SeqOpsRule.scala
96.32% <0.00%> (-0.14%)
:arrow_down:

...ir/transformations/standard/KeraLanguagePred.scala
94.38% <0.00%> (-0.13%)
:arrow_down:

...forsyte/apalache/tla/typecheck/etc/ToEtcExpr.scala
94.33% <0.00%> (-0.10%)
:arrow_down:

.../at/forsyte/apalache/tla/imp/StandardLibrary.scala
100.00% <0.00%> (ø)

...orsyte/apalache/tla/bmcmt/rules/UserOperRule.scala
63.63% <0.00%> (ø)

...rsyte/apalache/tla/bmcmt/rules/FunExceptRule.scala
93.33% <0.00%> (ø)

... and 13 more

Continue to review full report at Codecov.

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


dotnet: The term 'dotnet' is not recognized as the name of a cmdlet, Visual Studio Code

dotnet: The term 'dotnet' is not recognized as the name of a cmdlet,
function, script file, or executable program. Check if you wrote
the name correctly or, if you included a path, verify that
that path is correct and please try again.
Online: 1 Character: 1

dotnet

   + CategoryInfo: ObjectNotFound: (dotnet: String) [], CommandNo
  tFoundException
   + FullyQualifiedErrorId: CommandNotFoundException

Problem encountered on https://dotnet.microsoft.com/learn/dotnet/hello-world-tutorial/install
Operating System: windows
Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

Did you install the SDK? And if so, did you open a new command prompt or PowerShell window after the installation?


make: Missing File system_message_handler.h

I've been trying to build ngx_pagespeed but have run into some problems during the final make.
Setup

Ubuntu 14.04.1 LTS (GNU/Linux 3.16.7-x86_64-linode49 x86_64)
gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2

The process outlined here fails with a bunch of is incompatible with i386 output in the autoconf.err so I decided to build PSOL from source using the instructions outlined here. PSOL seems to build fine, however when I go to build Nginx (1.6.2)  I get the following missing file error (the same error occurs building Nginx 1.6.1):
		-o objs/addon/src/log_message_handler.o \
		/home/moloch/ngx_pagespeed/src/log_message_handler.cc
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g   -Wno-unused-local-typedefs -Wno-error  -I src/core -I src/event -I src/event/modules -I src/os/unix -I /home/moloch/mod_pagespeed/src -I /home/moloch/mod_pagespeed/src/third_party/chromium/src -I /home/moloch/mod_pagespeed/src/third_party/google-sparsehash/src -I /home/moloch/mod_pagespeed/src/third_party/google-sparsehash/gen/arch/linux/x64/include -I /home/moloch/mod_pagespeed/src/third_party/protobuf/src -I /home/moloch/mod_pagespeed/src/third_party/re2/src -I /home/moloch/mod_pagespeed/src/out/Release/obj/gen -I /home/moloch/mod_pagespeed/src/out/Release/obj/gen/protoc_out/instaweb -I /home/moloch/mod_pagespeed/src/third_party/apr/src/include -I /home/moloch/mod_pagespeed/src/third_party/aprutil/src/include -I /home/moloch/mod_pagespeed/src/third_party/apr/gen/arch/linux/x64/include -I /home/moloch/mod_pagespeed/src/third_party/aprutil/gen/arch/linux/x64/include -I objs -I src/http -I src/http/modules -I src/mail \
		-o objs/addon/src/ngx_base_fetch.o \
		/home/moloch/ngx_pagespeed/src/ngx_base_fetch.cc
In file included from /home/moloch/ngx_pagespeed/src/ngx_server_context.h:24:0,
                 from /home/moloch/ngx_pagespeed/src/ngx_base_fetch.h:48,
                 from /home/moloch/ngx_pagespeed/src/ngx_base_fetch.cc:19:
/home/moloch/ngx_pagespeed/src/ngx_message_handler.h:27:63: fatal error: net/instaweb/system/public/system_message_handler.h: No such file or directory
 #include "net/instaweb/system/public/system_message_handler.h"
                                                               ^
compilation terminated.
make[1]: *** [objs/addon/src/ngx_base_fetch.o] Error 1
make[1]: Leaving directory `/home/moloch/nginx-1.6.2'
make: *** [build] Error 2

What am I missing here? Do I need a different branch of some repo, or is $PATH messed up? I'm building everything from $HOME.

me too , what can i do ?

@LockGit Could you paste the error message you're getting?

@jeffkaufman Thanks , I install nginx in Vmvare ubuntu14.04 system , The error message same as landlord , I not found a good method solve it .May be the nginx package breakdown ....

@LockGit Could you paste the error message?  I'm not able to find the earlier message posted by landlord.

@jeffkaufman Thanks a lot , But I already remove the Ubuntu system in Vmvare  , I know only a little English. Thanks a lot , friend , where are you from ? America ? Write Python program ?

@LockGit If you want us to help you look at this you need to have the Ubuntu system set up in VMware so you can try things.


Categories page not rendered if no categories used in posts

When no categories are being used in any post, the /categories page will not be rendered.

That's intended, taxonomies pages in gutenberg are only rendered if there is at least one item

It is a gutenberg issue but it is the intented behaviour so it is unlikely to be changed.

I would expect all taxonomies I configure in config.toml to also be generated during build, independently of it being in active use -- "I said I want this taxonomy, so give it to me". I'm generally in favour of more predictable behaviour.

That's a fair point, we can discuss it in the Gutenberg repo


Build Failed on RN 0.56

Hello, I am writing this due to a error that keeps coming up.
"no suitable constructor found for Event(int) constructor Event.Event() is not applicable (actual and formal argument lists differ in length) constructor Event.Event(int,long) is not applicable (actual and formal argument lists differ in length)"
I don't know how this is being produced and I am wondering who else is having this problem?

Soon we'll publish our upgrade from RN54 to RN 57.
In the meantime, I am closing the issue as a part of an effort to clean up and revive the project. If this issue persists after v1.0.0, you are more than welcome to reintroduce the issue.
Thanks for your contribution.

I'm still facing this issue, how i can fix this?


DBZ-7237 Align LOB behavior in snapshot and streaming

https://issues.redhat.com/browse/DBZ-7237

@Naros I really wonder if we should drop unavailable value placeholder. IMHO it is valid content in this context, WDYT?

I believe the idea @jpechane was to basically remove any value related to these columns entirely when lob.enabled was not set in the configuration; however, I can see the point of maintaining that value as a clear indicator of that being the setting in the connector configs.
I'd then say we need to tackle this in the reverse and when lob.enabled is set to false during the snapshot, we should explicitly include the unavailable value placeholder during snapshot to match the behavior of streaming.
@sherpa003 you okay with this, as long as the outcome from streaming/snapshot are aligned?

I believe the idea @jpechane was to basically remove any value related to these columns entirely when lob.enabled was not set in the configuration; however, I can see the point of maintaining that value as a clear indicator of that being the setting in the connector configs.
I'd then say we need to tackle this in the reverse and when lob.enabled is set to false during the snapshot, we should explicitly include the unavailable value placeholder during snapshot to match the behavior of streaming.
@sherpa003 you okay with this, as long as the outcome from streaming/snapshot are aligned?

Yes, the main goal is to have consistent behavior. So if lob.enabled=false, the placeholder value should be there also for short CLOB (treated as VARCHAR) values and for snapshot values.  Then it should be fine. Thank you

Superseded by #5092.


Change message type identifier from a string to an enum.

Map lookups should be faster than string comparisons, so this will likely improve performance.
This will change the API (again) but it will also make it safer, since the compiler will notify you if you mistype the identifier as an enum.
I also did some slight reformatting elsewhere in the file.

@FrobtheBuilder @rostopira @Codeusa
I am wondering if we can remove the enumeration type from the interface because the RTCDataChannelMessage class has internally defined the type to binary or text.
Then the send method only uses the unique parameter message, and the native sdk provides only text and binary types, so I only need to determine the type when constructing the DataBuffer.
Future<void> send(RTCDataChannelMessage message) async {
    ...
}

For these we can refer to WebRTC native:
https://chromium.googlesource.com/external/webrtc/+/branch-heads/m74/sdk/objc/api/peerconnection/RTCDataChannel.h#126
https://chromium.googlesource.com/external/webrtc/+/branch-heads/m74/sdk/android/api/org/webrtc/DataChannel.java#160
Another change is that the base64 type I think can be removed, because base64 is essentially a string, just encode before the transfer, decode it after receiving it, now we have the binary type, base64 is unnecessary.

It does seem redundant to put the message type on the interface itself. So long as the type is set via a map internally on the DataBuffer/RTCDataChannelMessage it should be efficient. String comparisons are indeed slow though so the idea of this change is good.
The usefulness of the base64 type IMO is that data channels do support arbitrary strings, and base64 is a work around for the binary data on Android for now. So there needs to be a way to tell the two apart until the Android side is brought to spec and either has just binary data or a string.

@Codeusa and @cloudwebrtc, I normalized the API between Android and iOS to encode and decode transparently already. That was in the last PR. But yes, it would be possible to just determine which type of message is being sent from the message itself. Would you rather I reconfigure it to do it that way instead?

So, would you prefer if I did that? It would be easy.

Also, the reason I have those base64 constructors and properties on RTCDataChannelMessage is to assist migration from the old api, which required base64 encoding and decoding on the client side, as well as to make the logic cleaner for doing that transparent encoding and decoding in the first place. I would prefer to keep those in place for the time being.

I just went ahead and made the change. MessageType is still exposed because the RTCDataChannel's type property returns it. I think that's reasonable.


Document existing kops dns-controller annotations

Kops includes a dns-controller, and this document describes the existing
annotations and their behaviour.  This document is intended to allow us
to see the use-cases identified by kops dns-controller, to ensure the
same annotations can be recognized (perhaps with a --compatibilty
flag), and to ensure that we have comparable functionality.

Thanks @justinsb for the detailed overview. I think most of the use cases are valid and should also be supported by external-dns in the future.

👍


"Solution required" text translated to spanish

Translated Solution Required to Solución requerida

[X] I have read freeCodeCamp's contribution guidelines.
[X] My pull request has a descriptive title (not a vague title like Update index.md)
[X] My pull request targets the master branch of freeCodeCamp.
[X] None of my changes are plagiarized from another source without proper attribution.
[X] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #d296eca

Sorry, but this is a pretty pointless change. The main problem is that the solution is missing, not that the placeholder text is not translated. Please close this and instead submit a change that just uses the English solution:
https://github.com/freeCodeCamp/freeCodeCamp/blob/master/curriculum/challenges/english/01-responsive-web-design/basic-css/add-a-negative-margin-to-an-element.english.md#solution

Hi,
Thanks for this pull request (PR).
Unfortunately, we are closing this PR, because we do not believe it adds a significant improvement.
Feel free to submit another PR though.
Thank you