Improve resizable panel responsiveness

Description
Tries a new, simpler heuristic for the resizable panel responsiveness to touch gestures.
Previously, we defined 3 pixel values, corresponding to the 3 size states of the panel ('default', 'minimized' and 'maximized'). The new size set after dragging and releasing the handle was determined by where the user released this handle, the closest pixel value giving the new size.
It had two related UX problems:

it required big gestures to cross the height thresholds. For example when going from default to maximized, the user had to drag the panel a long way, which was worse for big screens.
it wasn't responsive to quick swipe movements, which are common across many apps, appearing broken.

This PR proposes to fix that by using only the direction of the movement and a small threshold to trigger it.
It also tries to improve code clarity with more explicit naming and simpler flow.
Why
With the current implementation, the panel requires a lot of finger movement to be maximized, and sometimes doesn't appear to respond logically.
Screenshots
Hard to showcase as gif, you'll have to test by yourself on a real phone :)

@amatissart I've made min-to-max and max-to-min resizing possible, introducing special cases in the resize function when the user releases the gesture in the bottom or top.


Fix MemPostings.Add and MemPostings.Get data race

Cherry-pick https://github.com/prometheus/prometheus/pull/15141.
When references are not added in order, we are sorting in place the tail of the postings list held by MemPostings, however the array backing that slice might already being used by some readers.

LGTM, however I think that we should just bring the entire latest main.

I'll make a dedicated PR for that. I just want to get the race condition fixes in first :)


[Docs] Meshery UI Contributor Guide

Current State:
Meshery UI has a number of aspects to it like use of rest, graphql, nextjs, react, billboardjs and so on.
New and existing contributors to Meshery's web user interface will benefit from a contributor guide.
Desired State:

Create a README.md in the /ui folder that serves as a contributor guide to this component.
Add link to this README in the main Meshery CONTRIBUTING.md.
Include description of things like:

Meshery UI doing server-side rendering of NextJS/React components.
Meshery UI uses billboard.js as the charting library.

Contributor Resources

Meshery documentation site
Meshery documentation source
Instructions for contributing to documentation

I'll like to take this task

Sounds real good, @jomefavourite

@Nikhil-Ladha what else can we add to this doc? There are certain conventions and tools that we should probably highlight in the doc. Methods for identifying when to build a component vs. not. and so on...

Yes, there can ve different types of issues, and they have different level of complexity. I will try and open a PR, to include those updates.


Interpolation Sort in Java

Description
Here I want to make documentation on interpolation sort. I will discuss its logic, time and space complexity, and implementation.
Domain
Competitive Programming
Type of Contribution
Documentation
Code of Conduct

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

Please assign it to me.

/assign documentation


Helm chart for managing runners (but controller)

Extracted from https://github.com/actions-runner-controller/actions-runner-controller/issues/368#issuecomment-966707909 via @AndrewFarley
Is anyone interested in contributing this, if we got to think this is in the scope of this project?

@mumoshu  Created a PR for this one.


Sharing navigation button

The same navigation button can be selected when navigating to more than one page, based on attached to the page attribute.
Resolves #395

I like this solution, but feel it is overly complex for developers to implement. We need to brainstorm if we can get IsChecked to work. I know there's a way, and if it requires us to change the pipeline so that HighlightCorrectButton gets called in a different order, that would be worth it.

If we want to select a button in code without navigating to the page related to that button we can:

set IsChecked or Selected in Page.OnNavigatedTo (relaying on that that the new navigation will not happen if the current is not finished yet).
set IsChecked or Selected from anywhere, but it will require small changes in HamburgerMenu to conditionally skip navigation in HamburgerMenu.SetSelected. In this case, I think that using HamburgerMenu will require less changes than using HamburgerButtonInfo because it doesn't have reference to HamburgerMenu where the navigation happens.

Just remove PageType from the Button.

@mitkodi, do you have an example as to how to achieve the below

set IsChecked or Selected in Page.OnNavigatedTo (relaying on that that the new navigation will not happen if the current is not finished yet).

I can't use Selected any more as it's been made an internal property.
What I need is to navigate to a new page (that doesn't have its own button), but manually highlight an existing button.

@mitkodi, yes, the idea of having a Select method sounds good, if you don't mind sharing what code you have so far.

I'll made a PR (maybe), but it could be rejected so at the moment I think it's better to relay on what we already have:

Create a method in your Shell class for selecting the button you want to select in code. In it just set Selected of your HamburgerMenu to the desired HamburgerButtonInfo instance.
In OnNavigatedTo of your page call that method via Shell.Instance.

@mitkodi, thanks. I've got this to work using the method you suggested and by removing PageType from the buttons.

Maybe something was changed that requires to remove PageType from the button. I think it's a restriction that should be overcome, so I'm thinking to look for solution...


Collada import : geometry null

Hi,
First, thank you for this lib, it works great.
I have some problems during Collada models import.
I thought it was my models so i tried with the model shown in Three demo : http://threejs.org/examples/#webgl_loader_collada
The model is loaded, but in the onModelLoaded() function, the geometry is null so i cant create a Mesh.
(i had other errors with files exported from SketchUp like wrong cast from boolean to int).
Regards,
Simon

The parse function don't create any geometry and return null in ColladaLoader file.


Retrieving instance and/or state of target

A frequent use-case I'm experiencing is the need to access the instance of the target being right-clicked. It appears react-contextmenu is so laser focused on proving data, it doesn't have a method to provide the instance of the react component being right-clicked. This is especially relevant when I would like to modify the state of the target.
Is there a plan to add this feature or have I missed something?

Can you explain me your use case??

Absolutely. For example, I have an item in a list which, when double clicked, should enter a state to allow for editing the name of that item. Basically I swap out a span with an input for inline editing. The component's render method observes this.state.editing, and if set to true, renders the input.
When the item is double clicked, onDoubleClick calls a method (startEditing) on that component which updates the state to set editing to true. I would also like the user to have the option of right clicking the item and selecting "Rename" (there are other context menu items as well, but this serves as a good example). This is where the problem comes in.
ContextMenuLayer's configure method only exposes the props of the component. I cannot access methods from the instance of that object. I also cannot pass startEditing to the component from a parent component, as ContextMenuLayer does not expose the context of the instance of the component to bind startEditing to so it can successfully access this.state on the relevant component.
Any help is appreciated.

+1

Please checkout the changes in master branch and see simple menu example.
If it satisfies your needs, let me know.

@jameslai , did you manage to solve this? can you please provide an example?

I have not be able to solve this. Any help would be appreciated.

Hmm, I have the same problem, I'm about to add something to my redux store that says which item I'm renaming.  Don't really want to do this... :/

I've released v2.0.0-alpha.1 with this feature. Do check it out. Any feedback is welcome 😃

@vkbansal: as it is not explained in the readme: could you please explain how it is possible to access the element that was right clicked?

@vkbansal sorry - I did not read the readme well enough - it IS explained


Future created with Future.delayed() sometimes fails to execute in a timely fashion

In the analysis server, we sometimes schedule our analysis tasks using an ordinary future:
new Future(performOperation);
and we sometimes schedule them using a very short delay:
new Future.delayed(new Duration(milliseconds: 1), performOperation)
(The short delay prevents these tasks from taking precedence over other events in the event loop which we want to be handled in a timely fashion, such as requests from the client).
We have recently observed that sometimes when an event is scheduled using Future.delayed(), it fails to execute and the process goes idle.  It is as though the event loop goes into a "stuck" state where it has forgotten that an event was scheduled.  This causes the appearance to the user that analysis is taking forever to complete, when in fact no analysis is being performed.  Further requests from the analysis server's client (which arrive via stdin) do not "un-stick" the event, however modifying files in the filesystem (which are being watched using the "watcher" package) seems to cause enough of a kick to get the future to fire.
Anecdotally, it appears that this may be triggered by the following sequence of events: 1. task is scheduled using Future.delayed(), 2. task takes a long time to execute (~800ms), 3. task schedules itself to run again using Future.delayed()--this second future doesn't fire.  However, there must be some other factors at play (microtasks or other pending events, perhaps?), because we've been unable to find a short program that reproduces the bug.

The test case added looks flaky by design as noted by @whesse. Filed issue #28254 to track this.


Upgrade Ruby to 2.3.0

Ruby 2.3 is mapped to bundler 1.11.2, it may be worth bundling and checking in the lock file with the BUNDLED_WITH stanza.

@benlovell Just running bundle won't add BUNDLED_WITH. I don't want to bundle update everything, that's out of scope for these PRs. Okay with that?

@tijmenb TIL: you're right, that surprised me. :see_no_evil:


Can't connect to btcd backend server

Background
I have been trying to connect to my btcd backend on an external server but when I run lnd --bitcoin.active --bitcoin.mainnet --debuglevel=debug --btcd.rpcuser=myuser --btcd.rpcpass=mypass --externalip=X.X.X.X:xxxx --btcd.rpccert=rpc.cert
I have also tried including   --btcd.rpchost=X.X.X.X:xxxx in the command above
I am faced with this output:
2018-07-30 18:04:13.863 [INF] LTND: Version 0.4.2-beta commit=
2018-07-30 18:04:13.863 [INF] LTND: Active chain: Bitcoin (network=mainnet)

Sometimes I would get more output and would be prompted to input the password for my wallet yeilding me an input that looks like this:
2018-07-30 18:31:52.781 [INF] LTND: Version 0.4.2-beta commit=
2018-07-30 18:31:52.781 [INF] LTND: Active chain: Bitcoin (network=mainnet)
2018-07-30 18:31:52.781 [INF] CHDB: Checking for schema update: latest_version=3, db_version=3
2018-07-30 18:31:52.796 [INF] RPCS: password RPC server listening on <IP_ADDRESS>:10009
2018-07-30 18:31:52.796 [INF] RPCS: password gRPC proxy started at <IP_ADDRESS>:8080
2018-07-30 18:31:52.796 [INF] LTND: Waiting for wallet encryption password. Use `lncli create` to create a wallet, `lncli unlock` to unlock an existing wallet, or `lncli changepassword` to change the password of an existing wallet and unlock it.
2018-07-30 18:31:58.391 [INF] LNWL: Opened wallet
2018-07-30 18:31:58.450 [INF] LTND: Primary chain is set to: bitcoin
2018-07-30 18:31:58.453 [INF] LTND: Initializing btcd backed fee estimator

I don't know why it is looking at <IP_ADDRESS>:10009 and <IP_ADDRESS>:8080 when I have provided the ip in my command.
I have also set the ip in my lnd.conf to be the ip of my server just to be safe.
I have verified that the credentials in btcd.conf and btcctl.conf are the same
My server is definitely running and I can call the btcd server with this command:
btcctl -u myuser -P mypass -s X.X.X.X:xxxx getpeerinfo --rpccert=rpc.cert
Does anyone know why I can't connect to my server?
Your environment

version of lnd: v0.4.2-beta
which operating system (uname -a on *Nix): macOS High Sierra Version 10.13.6
version of btcd: v0.12.0-beta

Looks like you need to check your authentication params for lnd to btcd. On btcd, you're likely seeing a series of authentication failures.

so I added --rpclisten=X.X.X.X:xxxx --listen=X.X.X.X:xxxx and I would get an output like this:
2018-07-31 11:24:04.688 [INF] LTND: Version 0.4.2-beta commit=
2018-07-31 11:24:04.688 [INF] LTND: Active chain: Bitcoin (network=mainnet)
2018-07-31 11:24:04.688 [INF] CHDB: Checking for schema update: latest_version=3, db_version=3
2018-07-31 11:24:04.703 [ERR] LTND: password RPC server unable to listen on X.X.X.X:xxxx
2018-07-31 11:24:04.703 [INF] LTND: Shutdown complete
listen tcp X.X.X.X:xxxx: bind: can't assign requested address

The listening address isn't the issue (for lnd). Your lnd node can't connect to the btcd node. In this case, you should double check that you have the correct parameters for rpc authentication to the btcd backend.

My authentication parameters are correct and I know that rpc works because of my btcctl command.  It might be my tls certificate but I don't have much experience with those and I don't know what to do. I have tried creating my own TLS certificate but that didn't really work out. Is the tls certificate in the Lnd directory used to connect to your wallet in localhost? or to the backend? are there two tls certificates that I need?

lnd makes its own TLS cert. It expects the btcd cert to be in the default location, if it isn't there, then you need to specify it manually.

I have verified that the credentials in btcd.conf and btcctl.conf are the same
You need to check lnd.conf.


Do not send Sub0 NFT

Describe the bug
Do not send Sub0 NFT

Check with address 5DcW42REUeTLySnuhG3ob8H6SPoVYMk73uZ1unKfRTg8hJdB
Version test: v1.1.3 (226)

Version test: https://file.cdmteck.com/s/DB9JLAnjJczopcC/download?path=%2F&files=SubWalletMobile-build-227-1099-merge-2023-10-24T02-28-51.apk
Device test: Samsung S20 FE 5G
Validation passed.


crash after stop stress immediately

Hi, thanks very much for your code.
i have a question, i setup my t480s, use ~ -90mv undervoltage, and ~92oC temp wall.
it can run stress(in s-tui) very long time, but crash after stress stop immediately, i can watch CPU freq down from 3.xG to 800Mhz in seconds, then system crash..
some suggestion?

Yep, that's quite normal. The crash on transition from high freq + full load to low freq is a symptom that the undervolt is too high (i.e. too low voltage). Try go with -70/-80 mV. Also which voltage plane are you talking of?

[UNDERVOLT]
CPU core voltage offset (mV)
CORE: -105
Integrated GPU voltage offset (mV)
GPU: -100
CPU cache voltage offset (mV)
CACHE: -90
System Agent voltage offset (mV)
UNCORE: -100
Analog I/O voltage offset (mV)
ANALOGIO: 0
now, i use those config, that's fine.  Thank you!


Drafts but slightly better!

Describe the Feature
Similar to the drafts feature in Twitter, this would prompt users to save original content(OC) for later posting rather than deleting it.
However I think it can be improved upon by giving users the option to sort OC into groups. This would give creators an advantage in content export and allow casual users a nice way to organize their thoughts.
I understand the team is very busy working on bugs and that this isn’t urgent but I thank you for your consideration.
Attachments
No response
Describe Alternatives
No response
Additional Context
No response

#6055


Upgrade from http to https or verse etcd will fail to form a cluster since they still got the old pearliest from data store

Bug reporting
Always reproducible.  release-2.1

Here is a doc talking about how to do the exact thing you want: https://coreos.com/etcd/docs/latest/etcd-live-http-to-https-migration.html


[BUG] middleware http request method dropped

Describe the bug
When making a POST request with middleware (in this case I'm using @clerk/nextjs) the request method is not copied into the NextRequest which defaults the method to GET. This raises some sort of spec error:
[wrangler:err] TypeError: Request with a GET or HEAD method cannot have a body.
    at new CustomRequest (file:///home/mattboardman/goto/.open-next/server-functions/default/handler.mjs:28:9)
    at new nt (file:///home/mattboardman/goto/.next/server/src/webpack:/_N_E/node_modules/@clerk/backend/dist/chunk-PLL3MNZH.mjs:1865:1)
    at createClerkRequest (file:///home/mattboardman/goto/.next/server/src/webpack:/_N_E/node_modules/@clerk/backend/dist/chunk-PLL3MNZH.mjs:1908:1)
    at null.<anonymous> (file:///home/mattboardman/goto/.next/server/src/webpack:/_N_E/node_modules/@clerk/nextjs/dist/esm/server/clerkMiddleware.js:69:28)
    at async eY (file:///home/mattboardman/goto/.next/server/src/webpack:/_N_E/node_modules/next/dist/esm/server/web/adapter.js:160:1)
    at async Object.edgeFunctionHandler (file:///home/mattboardman/goto/node_modules/@opennextjs/aws/dist/core/edgeFunctionHandler.js:19:20)
    at async handleMiddleware (file:///home/mattboardman/goto/node_modules/@opennextjs/aws/dist/core/routing/middleware.js:45:20)
    at async routingHandler (file:///home/mattboardman/goto/node_modules/@opennextjs/aws/dist/core/routingHandler.js:63:27)
    at null.<anonymous> (async file:///home/mattboardman/goto/.wrangler/tmp/dev-7D2hCz/worker.js:164903:20)
    at null.<anonymous> (async file:///home/mattboardman/goto/.wrangler/tmp/dev-7D2hCz/worker.js:163561:20)

The bug can be corrected by explicitly adding the method field here:
https://github.com/opennextjs/opennextjs-cloudflare/blob/efae3ab97e7daf12fc634d45b63c27e6045af234/packages/cloudflare/src/cli/build/bundle-server.ts#L99
    if (init) {
      init = {
        ...init,
        cache: undefined,
        // FIX
        method: init.method,
        // https://github.com/cloudflare/workerd/issues/2746
        // https://github.com/cloudflare/workerd/issues/3245
        body: init.body instanceof __cf_stream.Readable ? ReadableStream.from(init.body) : init.body,
      };

I don't understand why the method field isn't being copied over since the spread operator should do that already, but I debugged it manually and confirmed the method is undefined after this bit of code.
Steps to reproduce

Using some middleware that intercepts requests (e.g. "@clerk/nextjs": "6.9.6")

// src/middleware.ts
import { clerkMiddleware } from '@clerk/nextjs/server'

export default clerkMiddleware(async (auth, request, event) => {}, {
    debug: true,
    publishableKey: process.env.NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY,
    secretKey: process.env.CLERK_SECRET_KEY,
});

export const config = {
  matcher: [
    // Skip Next.js internals and all static files, unless found in search params
    '/((?!_next|[^?]*\\.(?:html?|css|js(?!on)|jpe?g|webp|png|gif|svg|ttf|woff2?|ico|csv|docx?|xlsx?|zip|webmanifest)).*)',
    // Always run for API routes
    '/(api|trpc)(.*)',
    '/api/webhooks(.*)',
  ],
}

Make a post request to any of the api routes.

curl -X POST -H "Content-Type: application/json" -d '{}' localhost:3000/api/ui/search

POST request fails with the error above.

Expected behavior
The http method should be defined and not default to GET.
@opennextjs/cloudflare version
0.3.0
Wrangler version
3.99.0
next info output
Operating System:
  Platform: linux
  Arch: x64
  Version: #1 SMP PREEMPT_DYNAMIC Thu Dec 21 04:01:45 UTC 2023
  Available memory (MB): 64215
  Available CPU cores: 16
Binaries:
  Node: 18.19.0
  npm: 10.2.3
  Yarn: N/A
  pnpm: 9.15.0
Relevant Packages:
  next: 14.2.21 // An outdated version detected (latest is 15.1.2), upgrade is highly recommended!
  eslint-config-next: 14.2.5
  react: 18.3.1
  react-dom: 18.3.1
  typescript: 5.7.2
Next.js Config:
  output: N/A

Additional context
No response

Thanks for the report!
It would help resolve the issue quicker if you can link a GH repo setup to reproduce the issue. Looks like you identified the root cause but we need to come with a robust test.
Thanks

Thanks for the report! It would help resolve the issue quicker if you can link a GH repo setup to reproduce the issue. Looks like you identified the root cause but we need to come with a robust test. Thanks

Sure. Here you go:
https://github.com/mattboardman/opennextjs-cloudflare-issue-201

Thanks a lot @mattboardman 🙏
There is a fix pending in #202.


write unix /var/run/docker.sock->@: write: broken pipe

Output of docker version:
lient:
 Version:         1.13.1
 API version:     1.26
 Package version: docker-1.13.1-63.mt20190220.gitd365784.el7.centos.x86_64
 Go version:      go1.7.5
 Git commit:      d365784/1.13.1
 Built:           Wed Feb 20 03:10:55 2019
 OS/Arch:         linux/amd64

Server:
 Version:         1.13.1
 API version:     1.26 (minimum version 1.12)
 Package version: docker-1.13.1-63.mt20190220.gitd365784.el7.centos.x86_64
 Go version:      go1.7.5
 Git commit:      d365784/1.13.1
 Built:           Wed Feb 20 03:10:55 2019
 OS/Arch:         linux/amd64
 Experimental:    false

Output of docker info:
Containers: 44
 Running: 44
 Paused: 0
 Stopped: 0
Images: 35
Server Version: 1.13.1
Storage Driver: devicemapper
 Pool Name: dockervg-thinpool
 Pool Blocksize: 524.3 kB
 Base Device Size: 10.74 GB
 Backing Filesystem: ext4
 Data file:
 Metadata file:
 Data Space Used: 55.22 GB
 Data Space Total: 973.7 GB
 Data Space Available: 918.5 GB
 Metadata Space Used: 19.8 MB
 Metadata Space Total: 10.25 GB
 Metadata Space Available: 10.23 GB
 Thin Pool Minimum Free Space: 97.37 GB
 Udev Sync Supported: true
 Deferred Removal Enabled: true
 Deferred Deletion Enabled: true
 Deferred Deleted Device Count: 0
 Library Version: 1.02.140-RHEL7 (2017-05-03)
Logging Driver: json-file
Cgroup Driver: systemd
Plugins:
 Volume: local
 Network: bridge host macvlan null overlay
Swarm: inactive
Runtimes: runc docker-runc
Default Runtime: docker-runc
Init Binary: /usr/libexec/docker/docker-init-current
containerd version: d365784586ef8dfc171f524aa329e928dc355c76 (expected: aa8187dbd3b7ad67d8e5e3a15115d3eef43a7ed1)
runc version: e9ab997cfc4151ebcca8e54cf047311121fd4849 (expected: 9df8b306d01f59d3a8029be411de015b7304dd8f)
init version: 5b117de7f824f3d3825737cf09581645abbe35d4 (expected: 949e6facb77383876aeff8a6944dde66b3089574)
Security Options:
 seccomp
  WARNING: You're not using the default seccomp profile
  Profile: /etc/docker/seccomp.json
Kernel Version: 3.10.0-862.mt20190308.130.el7.x86_64
Operating System: CentOS Linux 7 (Core)
OSType: linux
Architecture: x86_64
Number of Docker Hooks: 3
CPUs: 64
Total Memory: 251.7 GiB
Name: tx-cloudinf-node-tencentbj19.mt
ID: XUTN:4ZK5:RGPJ:O3F2:BEVF:SJXT:YYUQ:BEES:YEWS:42QF:TA52:A5CK
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Experimental: false
Insecure Registries:
 <IP_ADDRESS>/8
Registry Mirrors:
 http://<IP_ADDRESS>:65001
 registryonline-hulk.sankuai.com
Live Restore Enabled: true
Registries: docker.io (secure)

Additional environment details (AWS, VirtualBox, physical, etc.):
Steps to reproduce the issue:
1.Unclear what caused the operation, suddenly there will be "error: write unix /var/run/docker.sock->@: write: broken pipe"
Describe the results you received:
Failed to start container
Describe the results you expected:
Start the container successfully
Additional information you deem important (e.g. issue happens only occasionally):
docker.log

Have you played with podman?  The team supporting containers in RHEL is moving away from Docker to other container tools.  Podman, Buildah for RHEL7 container workload, and CRI-O for Kubernetes/OpenShift

Have you played with podman? The team supporting containers in RHEL is moving away from Docker to other container tools. Podman, Buildah for RHEL7 container workload, and CRI-O for Kubernetes/OpenShift

Did docker not update the code after that?

We are locked into an older version of Docker for kubernetes/openshift support.

@rhatdan We found that many bugs fixed on moby were not fixed on projectatomic / docker. Are you planning to no longer maintain and update the docker-1.13.1-rhel branch?

@rhatdan If we replace docker with podman, does Kubernetes need to change?

Yes we have moved on from Docker to Podman in Fedora as well as RHEL/Centos.
Kubernetes should be using CRI-O instead of Docker.  Podman is a command line tool, not a CRI for use with the kublet.


Feature request: Copying existing logging config without touching logging levels

Expected Behaviour
I often use a logging config for fine grained control over the logging level of third party dependencies in a lambda application.  I often need to set the overall level of an application to DEBUG or INFO but there are some very chatty libraries that obscure useful information so I set them to WARNING or ERROR.  I would expect these levels to be preserved when copying them over to the powertools logger.
Current Behaviour
Current behavior is to set all existing loggers to the level of the powertools logger.  It's unclear why this is necessary, as levels below the powertools logger won't get displayed anyway (e.g. DEBUG on a library when the powertools logger is INFO) and overriding higher levels to lower levels causes undesired messages to be displayed (e.g. overriding WARNING and setting it to INFO).  At the very least this should be configurable.  It also has odd behavior because if the logging configuration has a level set one level down, e.g. chatty_library.submodule that does not get overridden, so if it's higher than chatty_library it will get blocked.
Code snippet
from aws_lambda_powertools import Logger
from aws_lambda_powertools.logging import utils as logging_utils

logging_config = {'version': 1, 'disable_existing_loggers': False, 'root': {'level': 'DEBUG', 'propogate': True}, 'loggers': {
    'botocore': {'level': 'INFO'}, 'chatty_library': {'level': 'ERROR'}, 'chatty_library_2.submodule': {'level': 'ERROR'}}}

logger = Logger(level='DEBUG')

logging.config.dictConfig(logging_config)

logging_utils.copy_config_to_registered_loggers(source_logger=logger)

logging.getLogger('chatty_library').info('foo') # Shows up in logs
logging.getLogger('chatty_library_2.submodule').info('foo') # Missing from logs, as expected

Possible Solution
Don't override log level in existing loggers, or make it configurable as an option to pass to copy_config_to_registered_loggers.
It does seem that setting the logging config AFTER copying the loggers may set the values to the desired state but not sure if there are any side effects from doing it in this order.
Steps to Reproduce
See code sample.
Powertools for AWS Lambda (Python) version
latest
AWS Lambda function runtime
3.11
Packaging format used
PyPi
Debugging logs
No response

Reading... at a glance we have the level parameter so you can use a different logging level. The original ask from customers was to copy Powertools formatting and log level to 3P logging.
Lemme read fully and get back to you today.
PS: It's uncommon for us to take this long to reply a "bug" issue, please accept our apologies as our on-call shift had an unexpected change.

Appreciate the patience. I agree with the pain - what would be a good experience to you with an additional parameter to skip touching log level?

Now, please allow me to add some context for anyone reading in the future (maintainers included).

I would expect these levels to be preserved when copying them over to the powertools logger.
overriding higher levels to lower levels causes undesired messages to be displayed

That's expected and came from an original pain from a diverse set of customers unaware of logging in Python. To summarize our previous Slack, now Discord discussions, and that issue, it boiled down to:

"As a customer, I want boto3 et al to have the same JSON structure as Powertools when they log, and control the logging level from Powertools."
"As a customer, I want optionally choose which third-party loggers to change or to exclude when copying from my Logger"
"As a customer, I want to copy my Logger JSON structure and logging level to all possible loggers in my app"

With those in mind, by default it'll include all loggers. You can use include for an explicit logger to modify, or an exclude for an exception basis (what not to touch).
As a side effect from this ask, it can get noisy so customers adjust as they see fit.
That said, we could surely add a new parameter to skip touching log levels, update docs, and explain why that's desired in the grand scheme of things (e.g., logging hierarchy is a common source of doubt for devs and non-devs).
Does that sum it up?
This is the block of code we'd be improving once we hear from you: https://github.com/aws-powertools/powertools-lambda-python/blob/583bacc33e0d15137360105c024e71c577d032e3/aws_lambda_powertools/logging/utils.py#L9
Look forward to hearing from you :)

Thank you for the thorough response and the history.  An option to preserve the existing levels works for me, even if it's not the default.
The one thing that still seems potentially counter-intuitive is that if there are nested loggers, they aren't touched by the existing code. E.g. if boto3 is set to CRITICAL and the powertools logger is set to INFO, it will be reconfigured and you will see INFO messages, but if boto3.resources is set to CRITICAL, it will be skipped because the logic does not recurse and INFO messages will not be displayed.  I personally would prefer to set my own levels at whatever granularity I intend, but it may be counter-intuitive to users who rely on this behavior to make all messages visible at the level they set in the powertools logger.

thank you so much again @CausticYarn for your great thoughts - I'll be tackling this today and ping for a review if you don't mind

PR is up: #4299
I wanted to brush up the docs a bit more but it got late here, so i added the bare minimum for now. Part of me is tempted to make this the default behaviour in v3, the other part knows a great chunk of customers use this feature in combination with log sampling, in which the debug log level will be set for a % of cold starts for all loggers.
One of the reasons we reverted propagate=True was that Lambda environment touches the root logger (:/).


Stable/1.8.x, fixes #26605

This patch is also applicable to the stable/1.9.x branch

Please submit your PR against the master branch. Commits will be backported if necessary based on the backward compatibility policy.

@charettes but what if the code I am trying to fix only exists in the stable/1.8.x and stable/1.9.x branches,  ? The issue does not exist on master anymore (big refactor of django/db/migrations/state.py)


Wordpress Menu Toggle

So, I'm building a WordPress site on the Roots Sage platform.
I have a standard hamburger menu, that I'm toggling for a overlay with the navigation.
I searched for this same problem, but none of the solutions solved mine.
When I toggle the menu, past first page, the toggle function does not get run.
base.php: https://gist.github.com/tiansial/a8fa11dd5f8d3e834c3b5c84f0626b62
header.php: https://gist.github.com/tiansial/167fb9d8064b579b81c46b560caecdac
main.js: https://gist.github.com/tiansial/167fb9d8064b579b81c46b560caecdac
Menu behaviour: https://gist.github.com/tiansial/167fb9d8064b579b81c46b560caecdac

Hey those last 3 links are all the same. Could you update them please?

@tiansial hello, I ran into a problem, but I still use https://github.com/mango/slideout, I decided to solve only the toggle button outside the container.

      @include('layouts.wrap-aside')

      <button id="navbarToggler" class="navbar-toggler" type="button" aria-label="Toggle navigation"></button>

        @php(do_action('get_header'))
        @include('partials.header')

        @include('layouts.wrap-main')

        @php(do_action('get_footer'))
        @include('partials.footer')

    @include('partials.modal')
    @php(wp_footer())
    @include('partials.counters')

@obelmont updated

I seems that .mobile-menu element lives within the .barba-container
https://gist.github.com/tiansial/a8fa11dd5f8d3e834c3b5c84f0626b62#file-base-php-L38
And var myMenu is referencing .mobile-menu
https://gist.github.com/tiansial/ca746d7fe1efdd70e2bf965dedbdeb71#file-main-js-L22
The reference to .mobile-menu is lost when the container is being replaced.
Hence js myMenu  is not referring to the new .mobile-menu.
What you can do is to move the .mobile-menu element out from the .barba-container. Then, I think you will need to handle the .active state on your links.
Or you can make new reference of .mobile-menu on the newPageReady event.
 var myMenu = document.querySelector(".mobile-menu"),
 ...
 Barba.Dispatcher.on('newPageReady', function(newStatus, oldStatus, container) {
  myMenu = document.querySelector(".mobile-menu")

  // or use the container from the args. (which is your new "page")
  myMenu = container.querySelector(".mobile-menu")
});

Hope that helps. Cheers.


Update Loodse company logo

Thanks @xrstf . Are you affiliated in some way with Loodse? It would be good to get some kind of approval from a Loodse representative that this is indeed their new logo and they are fine with our usage here.

I am indeed employed at Loodse and just offered to create the PR. Just made my membership in our Github org public: https://github.com/xrstf


feat: supported Amazon Titan Text Embeddings V2

Resolves https://github.com/epam/ai-dial-adapter-bedrock/issues/111

/deploy-review

/deploy-review


add tense transform

This transformation converts sentences from one tense to the other, example: simple present to simple past.

This looks fine overall. Please address the comments! Thank you very much for your efforts!

This looks fine overall. Please address the comments! Thank you very much for your efforts!

Thanks for your review @kaustubhdhole
We have addressed the concerns hope its fine now !

Hi @tanay2001, thanks for addressing the concerns. I think this is good to go. Just one minor thing - please reach out to the authors of the repo once to invite them :) Thanks again for your changes!


API.logger is confusing statement

It is confusing because it may look like API means Grape::API

We mostly use TwitterAPI in the documentation, maybe we want to standardize on that everywhere? Care to review the rest of the readme? No need to edit CHANGELOG for this one if you don't feel like it, danger is being annoying :)


When panalizing or duplicating the POS file does not generate POS X,Y for all components

KiCAD version
6.0.2
Operating system
Windows 10
Description
When exporting the JLCPCB files, the POS file does not generate POS X,Y for all components on the screen/project (e.g.) when the board is copied/duplicated
Steps to Reproduce
CTRL+C the board
CTRL+V paste the board
remove edge cuts on the 2 boards
draw new edge cuts around the new boards
export with JLCPCB
POS file only has XY for components of 1 board (instead of two)

The problem here is most likely that you duplicate the parts so they have the same Reference.
If there is just a single Resistor on the board, lets call it R1 you end up with two R1 after duplicating the board.
My BOM / POS generation script was not written with that in mind.
I'll see if its easily possible to achive that!

@DomoticX could you test my PR and check if it fixes your problem?

@DomoticX could you test my PR and check if it fixes your problem?

Thank you for your support, i will check it out!

The problem here is most likely that you duplicate the parts so they have the same Reference. If there is just a single Resistor on the board, lets call it R1 you end up with two R1 after duplicating the board. My BOM / POS generation script was not written with that in mind. I'll see if its easily possible to achive that!

I know ;-). In Kicad 5...when exporting POS fabrication output, all components on the screen/board where outputted to the POS file correctly even if de REF of the components is the same...., the thing we need this feature is like when we panelize PCB's it needs to output all components.

YES YES YES !!, thank you very much!, it is working perfectly now!, also CONFIRMED and tested @ JLCPCB, superb!

I just bought you a nice coffee @ ko-fi.com ENJOY!

Thanks for your support, highly appreciate it!


Exception thrown when having 0 or 1 data point in <Area> and <Line>

I am getting an exception thrown when having 0 or 1 data point in <Area> and <Line>. It works when the data set is >= 2.
Here is the exception:

Error: Exception in HostFunction: Malformed calls from JS: field sizes are different.
[[129,129,129,119],[5,5,5,1],[[4235,"RNSVGPath",71,{"d":"M NaN 59 L NaN 118 L NaN 118","propList":["fill","strokeWidth"],"strokeWidth":"0","fill":[1,"grad0.9984082999"]}],[4237,"RNSVGPath",71,{"d":"M NaN 59","mask":"Mask","propList":["fill","stroke","strokeWidth","strokeOpacity","strokeLinecap"],"strokeLinecap":1,"strokeOpacity":1,"stroke":4290763774,"strokeWidth":3,"fill":null}],[1]],7269]

Field sizes are different.
Make sure your data is with same length.


For #241: Added test to expose problem with volume listing

For #241: Added test to expose problem with volume listing

Pull Request Test Coverage Report for Build 438

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 85.97%

Totals

Change from base Build 431:
0.0%

Covered Lines:
576

Relevant Lines:
670

💛  - Coveralls

@rultor merge it.

@rultor merge it.

@bkuzmic Thanks for your request. @amihaiemil Please confirm this.

This pull request #248 is assigned to @bkuzmic/z, here is why; the budget is 15 minutes, see §4; please, read §27 and when you decide to accept the changes, inform @amihaiemil/z (the architect) right in this ticket; if you decide that this PR should not be accepted ever, also inform the architect; this blog post will help you understand what is expected from a code reviewer; there will be no monetary reward for this job

@rultor merge it

@rultor merge it

@amihaiemil OK, I'll try to merge now. You can check the progress of the merge here

Job was finished in 2 hours, bonus for fast delivery is possible (see §36)

The job #248 is now out of scope

Order was finished: +20 point(s) just awarded to @bkuzmic/z

Payment to ARC for a closed pull request, as in §28: +10 point(s) just awarded to @amihaiemil/z


Reproduce the reported performance

Hello!
Thank you for making your code public.
I hope to reproduce performance in the paper, but
I failed to reproduce it several times (especially, librispeech).

Is hyperparameters used in the paper same with the conf file you upload?

Could you let me know important hyperparameter to reproduce performance?

The possible reason could be language model I trained. Would you give me pretrained language model file?

Which paper do you mention?


Probably an incorrect test case testAuthorityIsPrefixedByDoubleSlashIfPresent in UriTest.php

Two tests are looking identical despite description. Probably withHost in second case should be replaced by something else.
    public function testUriDoesNotAppendColonToHostIfPortIsEmpty()
    {
        $uri = (new Uri())->withHost('google.com');
        $this->assertSame('//google.com', (string) $uri);
    }
    public function testAuthorityIsPrefixedByDoubleSlashIfPresent()
    {
        $uri = (new Uri())->withHost('example.com');
        $this->assertSame('//example.com', (string) $uri);
    }

Originally posted by @Keksov at https://github.com/zendframework/zend-diactoros/issues/381

Tests body looks similar but they are not the same.
If either of expectations breaks both tests will fail but test names describe the expectation which in turn allows to properly interpret failure and to refactor test with same expectation but different code if needed.


[misc] Remove the duplicate TCs from sampleapp

The test suite can run normally

Impacted TCs num(approved): New 0, Update 0, Delete 6

@wanghongjuan  No reason to remove Gallery sample app here, if the Gallery was re-packed by app tool, just update the case in sampleapp-android-tests

@Honry will update the test cases, so close it.


[startup] CYOW, Ottawa Macdonald-Cartier International Airport

Ottawa International Airport is an airport (of course) that serves Ottawa, which is located close to the Canadian - US border.
Requested in #688!

Relocated to openscope/openscope#102, closing!


[FR] Adding a test result manually should allow date and time to be chosen from a picker menu

Please verify that this feature request has NOT been suggested before.

[X] I checked and didn't find a similar feature request

Problem statement
When I want to add a new test for a build, I have to enter start and finish times by entering ISO datetime format YYYY-MM-DDTHH:mm manually

Suggested solution
Inventree uses date pickers elsewhere, e.g. in the admin panel; can we add a date and time picker for these form items?
Describe alternatives you've considered
Alternatively we can continue entering timestamps manually which is error-prone
Examples of other systems
No response
Do you want to develop this?

[ ] I want to develop this.

@calumblair this is implented in the new user interface, which uses a much more modern UI framework. Back porting this to the old UI will be difficult and probably not supported.


NIFI-10859 Update metrics-jvm to 4.2.13

Summary
NIFI-10859
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking

[X] Apache NiFi Jira issue created

Pull Request Tracking

[X] Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
[X] Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000

Pull Request Formatting

[X] Pull Request based on current revision of the main branch
[X] Pull Request refers to a feature branch with one commit containing changes

Verification
Please indicate the verification steps performed prior to pull request creation.
Build

[ ] Build completed using mvn clean install -P contrib-check

[X] JDK 8
[X] JDK 11
[X] JDK 17

Licensing

[ ] New dependencies are compatible with the Apache License 2.0 according to the License Policy
[ ] New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

[ ] Documentation formatting appears as expected in rendered files

@exceptionfactory change has been made. Please review and act accordingly


Upgrade elliptic to 6.5.4 due to CVE-2020-28498

Upgrade elliptic to 6.5.4 due to CVE-2020-28498.
Closes issue #67 and PR #65 (which is missing package-lock.json)

I am using browserify-sign .
Hope it can be merged as soon as possible, if there are no other problems.


added my name to the list

Here's my little contribution.

Please I am sorry for all the trouble we have caused you but count it all joy. Your PR is about to be merged and you will be able to see your name on this url.
To enable me to do this, READ the README again carefully, update your code with the latest and push the update. I am here for you for the next 6 hours before I close the PR so you can initiate a fresh PR which will be easier to merge.

Hello Farouq!
Please open a new PR! Remember to make a branch as you work on your changes!
We look forward to merging your next PR! :partying_face:


Regula.FaceSDK.init() failed

when i call the Regula.FaceSDK.init() function, I get the output below on iPhone 14 device.
2023-03-12 13:48:06.459611+0300 Runner[3089:1243552] flutter: Init failed:
2023-03-12 13:48:06.459659+0300 Runner[3089:1243552] flutter: {
"success" : false,
"error" : {
"message" : "Core framework missed, check bundle contains binary.",
"errorCode" : "1"
}
}
What should I do ?

update. gradle-7.5-all.zip and flutter_face_core

Hello, please check our example, starting from version 5.1 you should add Core package to your final project:
https://github.com/regulaforensics/flutter_face_api/blob/master/example/pubspec.yaml#L16


Phaser CE Version 2.8.7

Please publish to npm @photonstorm

I think it didn't get tagged.

It's tagged fine on npm, but isn't tagged here until I do the release.

Ah, thanks.


Fix two servlet bugs in LOCAL tests

Auth was only flowing for named resources, corrected so a user with proper cluster access also has access to unnamed resources or non-resources via call_module_method
Renaming resources in obj_store wasn't actually changing the internal resource.name or rns_address, which was causing auth to use the old rns_address for authentication.
The call endpoint did not support visibility, now it does

Current dependencies on/for this PR:

main

PR #281   👈

This stack of pull requests is managed by Graphite.


Less backend calls

@BlaineAtAffirm for merging.

lgtm.

Should we write a more generic function for throttling?

I don't think it'll be worth it since the code is contained to this page and the call is specific to the one module that updates the event graph.
I don't mind writing a generic method, but I don't know if it'll be used on other pages. Note how the functionality is embedded into the page's script tag. I rather not make this a refactor task since all I was hoping to accomplish is get rid of the redundant backend calls we're currently making.

bump for @BlaineAtAffirm . We can close this if we think we won't be using it. I think this was already merged in the main cabot repo a while back

@elainearbaugh for review + merge

lgtm

trigger build


Add base models, advanced tests, and final query-able table

I can rewrite the remaining achievements to use the new base models, or we can just do that later?

Note that it will be necessary to run dbt deps after merging this.


Fix/provide model binding compatibility

Follow up: #2032 .
Added model-binding compatibility for the show + edit methods aswell.

Good catch


Release: firestore-bigquery-export 0.1.46

I'd say let's not include the multi-db selection until v2 triggers become available

Closing, we will revert the changes in the extension as the v2 trigger isn't supported yet.

CLA is failing for some reason, let's open a fresh PR.


Denote pseudo time for Euler-Gravity

I changed t to tau to resemble the pseudo-time variable $\tau$ used in the paper for the gravity solver.
Additionally, couple references/comments to the paper are added.

@sloede can you take a quick look?


Editors doesn't display & characters

In my version of tellurium 1.3.2, if I type the & character in a string or out side a string in the editor the & is invisible. I tried other characters and they seem ok except ` and ~, they are also invisible.
Looks like its a font problem. I picked another font and the character is visible.

Can you tell me which type of font is problematic? The default font set for Tellurium works fine.

Most work ok, I've switched anyway to another one. This is  spyder issue so
I don't think we should worry about it at this stage.
Herbert
On Sun, Apr 24, 2016 at 5:48 PM, Kiri Choi<EMAIL_ADDRESS>wrote:

Can you tell me which type of font is problematic? The default font set
for Tellurium works fine.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/sys-bio/tellurium/issues/122#issuecomment-214076910


JSON.parse: unexpected character at line 1 column 1

Version
v4.0.0-rc.19
Reproduction link
https://github.com/pachiraDIG/hub
Steps to reproduce
Repo
After several hours, I can't seem to pinpoint the cause of this error when running a query.
Config for @nuxt/apollo module:
apollo: {
    includeNodeModules: true,
    clientConfigs: {
      default: {
        httpEndpoint: '~/.netlify/functions/fauna-graphql'
      }
    }
  }

The error is coming through the apollo module:
 var vueApolloOptions = Object.assign(providerOptions, {
    errorHandler: function errorHandler(error) {
      console.log('%cError', 'background: red; color: white; padding: 2px 4px; border-radius: 3px; font-weight: bold;', error.message);
    }
  });

The Netlify Function, taken directly from a Netlify team member's example repo:
const { ApolloServer } = require('apollo-server-lambda')
const { createHttpLink } = require('apollo-link-http')
const fetch = require('node-fetch')
const { introspectSchema, makeRemoteExecutableSchema } = require('graphql-tools')

exports.handler = async function(event, context) {
  /** required for Fauna GraphQL auth */
  if (!process.env.FAUNADB_SERVER_SECRET) {
    const msg = `
    FAUNADB_SERVER_SECRET missing.
    Did you forget to install the fauna addon or forgot to run inside Netlify Dev?
    `
    console.error(msg)
    return {
      statusCode: 500,
      body: JSON.stringify({ msg })
    }
  }

  const b64encodedSecret = Buffer.from(
    process.env.FAUNADB_SERVER_SECRET + ':' // weird but they
  ).toString('base64')

  const headers = { Authorization: `Basic ${b64encodedSecret}` }

  /** standard creation of apollo-server executable schema */
  const link = createHttpLink({
    uri: 'https://graphql.fauna.com/graphql', // modify as you see fit
    fetch,
    headers
  })

  const schema = await introspectSchema(link);

  const executableSchema = makeRemoteExecutableSchema({
    schema,
    link
  })

  const server = new ApolloServer({
    schema: executableSchema
  })

  return new Promise((yay, nay) => {
    const cb = (err, args) => (err ? nay(err) : yay(args))
    server.createHandler()(event, context, cb)
  })
}

Inside the component: (The faunadb schema is set up exactly from their example tutorial)
export default {
  data() {
    return {
      test: {},
    }
  },
  apollo: {
    test: gql`
      query {
        allWarehouses {
          data {
            _id
            name
            address {
              street
              city
              state
              zipCode
            }
          }
        }
      }
    `
  }
}

From reading similar questions regarding the same error (but not the same stack), it could be related to something trying parse HTML as JSON. I've also seen that it could be solved with JSON.stringify, but I don't know where the hayhay I should apply it.
Any suggestions?
What is expected ?
A clean return
What is actually happening?
Browser console: Error Network error: JSON.parse: unexpected character at line 1 column 1 of the JSON data

This bug report is available on Nuxt community (#c273)

I had the same issue using the compression module on my server.
I'm not sure about how fauna handles that on their end but you could potentially attach x-no-compression to your request header to make it work


FT-143 # Retrieve templates by form name

#31 should be reviewed first and rebased out of this PR

LGTM 👍


Logstash seems to be losing its index privileges from time to time

Problem description
My local Elk stack setup is having problems with Logstash. From time to time, when sending data to it,  I get this INFO message in the Logstash Container logs :
[2023-02-15T14:08:33,157][INFO ][logstash.outputs.elasticsearch][main][973a77c40339dfae45043b1cff3735148253b34b6651a92923befd86ef0cd2b0] Retrying failed action {:status=>403, :action=>["index", {:_id=>nil, :_index=>"%{[@metadata][target_index]}", :routing=>nil}, {"@timestamp"=>2023-02-13T07:36:57.546383870Z, "message"=>"\\xC0\\u0014\\u00009\\u00008\\u0000\\x88\\u0000\\x87\\xC0\\u0019\\u0000:\\u0000\\x89\\xC0\\t\\xC0\\u0013\\u00003\\u00002\\u0000\\x9A\\u0000\\x99\\u0000E\\u0000D\\xC0\\u0018\\u00004\\u0000\\x9B\\u0000F\\xC0\\a\\xC0\\u0011\\xC0\\u0016\\u0000\\u0018\\xC0\\b\\xC0\\u0012\\u0000\\u0016\\u0000\\u0013\\xC0\\u0017\\u0000\\e\\u00005\\u0000\\x84\\u0000/\\u0000\\x96\\u0000A\\u0000\\a\\u0000\\u0005\\u0000\\u0004\\u0000", "tags"=>["_jsonparsefailure"], "@version"=>"1"}], :error=>{"type"=>"security_exception", "reason"=>"action [indices:admin/auto_create] is unauthorized for user [logstash_internal] with roles [logstash_writer] on indices [%{[@metadata][target_index]}], this action is granted by the index privileges [auto_configure,create_index,manage,all]"}}

For the [%{[@metadata][target_index]}], logstash_writer has all index privileges to all of the indices created in the filter section. So I should be able to always send my logs.
To take care of it, I have to manually stop and then restart my Logstash container every time it happens.

Extra information
Stack configuration

The only modification I did was to add a filter and the input type to Logstash.conf. If the received data doesn't have the proper fields mentioned here, they are ignored.
input {
	http {
		port => 5044
		codec => json
	}

	tcp {
		port => 50000
		codec => json
	}
}

filter {
	if [commandName] == "Report" {
		mutate { add_field => { "[@metadata][target_index]" => "software-report-%{+YYYY.MM.dd}" } }
	}
	else if [applicationName] {
		mutate { add_field => { "[@metadata][target_index]" => "telemetry-%{+YYYY.MM}" } }
	}
}

output {
	elasticsearch {
		hosts => "elasticsearch:9200"
		user => "logstash_internal"
		password => "${LOGSTASH_INTERNAL_PASSWORD}"
		index => "%{[@metadata][target_index]}"
	}
}

Docker setup

$ docker version

Client: Docker Engine - Community
 Version:           20.10.18
 API version:       1.41
 Go version:        go1.18.6
 Git commit:        b40c2f6
 Built:             Thu Sep  8 23:11:34 2022
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          20.10.18
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.18.6
  Git commit:       e42327a
  Built:            Thu Sep  8 23:09:28 2022
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.6.8
  GitCommit:        9cd3357b7fd7218e4aec3eae239db1f68a5a6ec6
 runc:
  Version:          1.1.4
  GitCommit:        v1.1.4-0-g5fd4c4d
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

$ docker-compose version

Docker Compose version v2.10.2

Container logs

In the Logstash container logs. Everywhere else still has all the accesses they should have.
$ docker-compose logs

[2023-02-15T14:08:33,157][INFO ][logstash.outputs.elasticsearch][main][973a77c40339dfae45043b1cff3735148253b34b6651a92923befd86ef0cd2b0] Retrying failed action {:status=>403, :action=>["index", {:_id=>nil, :_index=>"%{[@metadata][target_index]}", :routing=>nil}, {"@timestamp"=>2023-02-13T07:36:57.546383870Z, "message"=>"\\xC0\\u0014\\u00009\\u00008\\u0000\\x88\\u0000\\x87\\xC0\\u0019\\u0000:\\u0000\\x89\\xC0\\t\\xC0\\u0013\\u00003\\u00002\\u0000\\x9A\\u0000\\x99\\u0000E\\u0000D\\xC0\\u0018\\u00004\\u0000\\x9B\\u0000F\\xC0\\a\\xC0\\u0011\\xC0\\u0016\\u0000\\u0018\\xC0\\b\\xC0\\u0012\\u0000\\u0016\\u0000\\u0013\\xC0\\u0017\\u0000\\e\\u00005\\u0000\\x84\\u0000/\\u0000\\x96\\u0000A\\u0000\\a\\u0000\\u0005\\u0000\\u0004\\u0000", "tags"=>["_jsonparsefailure"], "@version"=>"1"}], :error=>{"type"=>"security_exception", "reason"=>"action [indices:admin/auto_create] is unauthorized for user [logstash_internal] with roles [logstash_writer] on indices [%{[@metadata][target_index]}], this action is granted by the index privileges [auto_configure,create_index,manage,all]"}}

Just to be sure, the logstash_writer role has the admin/auto_create permission — mentioned in the log message — and it still fails?

action [indices:admin/auto_create] is unauthorized

For those indices, the role has 'write', 'create', 'create_index', 'manage', and 'manage_ilm' index privileges.

I see the tag _jsonparsefailure and the message is indeed very cryptic, it looks like binary data.
When Logstash sees such data:

your message isn't enriched with the target_index metadata field
the index name substitution cannot be done in index => "%{[@metadata][target_index]}"
Logstash tries to create the index %{[@metadata][target_index]} literally

It's a pipeline issue, not a docker-elk issue.

One solution could be to guard the output with a check, which will effectively drop all messages which were not annotated correctly in the filter (or which do not have this field set, more generally speaking):
if [@metadata][target_index] {
	output {
		elasticsearch {
			hosts => "elasticsearch:9200"
			user => "logstash_internal"
			password => "${LOGSTASH_INTERNAL_PASSWORD}"
			index => "%{[@metadata][target_index]}"
		}
	}
}

Maybe double check the syntax, I'm not fluent in Logstash config :)

Thank you very much for the help. I'll try out your possible solution. Thank you again for taking the time.


use auth_login and auth_logout view from latest django

A small fix to work with django >= 2.1

Sorry, too early to submit PR yet.


Password-generator project added

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes:  #613

Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist:

[x] I have made this from my own
[ ] I have taken help from some online resourses
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings

ATTACH SCREEN-SHOTS / DEPLOYMENT LINK
https://user-images.githubusercontent.com/92387745/167299847-cd4088a5-baa9-4eca-9383-53211d9f7b6e.mp4

@Aayush987 make it responsive for small screens

Can i submit it tomorrow? Actually i am out of town right now.

yeah sure

@Aayush987 make it responsive for small screens

@arpit456jain Actually, I am not quite getting how to make it responsive for small screens because I am still learning web dev, but I think it is looking quite good on mobile screens right now,  But if you could help me with it, it will be really helpful for me.Otherwise, I think it is looking good on small screens.

Write media queries
https://www.w3schools.com/css/css3_mediaqueries.asp
u can write different css for small screens

@Aayush987 make it responsive for small screens

@arpit456jain Actually, I am not quite getting how to make it responsive for small screens because I am still learning web dev, but I think it is looking quite good on mobile screens right now,  But if you could help me with it, it will be really helpful for me.Otherwise, I think it is looking good on small screens.

Write media queries
https://www.w3schools.com/css/css3_mediaqueries.asp
u can write different css for small screens

Oh, ok thank you so much . I will improvise it.

Still the fonts in the green boxes are not visible in mobile view, just increase the font size

Ok .I will do it by evening.

Still the fonts in the green boxes are not visible in mobile view, just increase the font size

DONE.


Update expressroute-howto-coexist-resource-manager.md

Codelines were duplicate

@MaxMelcher : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Validated the update.
@MaxMelcher Thanks for submitting this fix.


MLT-584

https://zimmermanzimmerman.atlassian.net/browse/MLT-584

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


Fix up 'working with labeled data'

https://tutorial.xarray.dev/fundamentals/02.1_working_with_labeled_data.html

[ ] learning goals no longer deals w/ interpolation (split into another notebook)
[ ] fix different selection techniques to actually get the same value!
[ ] improve exercise formatting
[ ] describe basic plotting

@dcherian looking at this notebook and others, I'm tempted to change the example data values a bit to not use np.random.randn(3, 4) and instead use something that is easier to visualize both difference in values and dimensions, so for example np.arange(10).reshape(2,5). thoughts?

The later material in "computation" makes heavy use of plotting to illustrate output. I think we should have a super basic plotting intro in this section. (I've added it to the checklist but please remove if you disagree)

The later material in "computation" makes heavy use of plotting to illustrate output. I think we should have a super basic plotting intro in this section. (I've added it to the checklist but please remove if you disagree)

Sounds good! tackling this now.


Some cleanup in auth-logic wrappers

Uses verify in the ProvenanceBuildWrapper (the name should change to ProvenanceVerifierWrapper)
Some cleanup in the BUILD (merges various test targets into one)

See also #64. When we have more types of provenance verifiers then we can use another, possibly light weight verifier in the wrapper.

Thanks for the review. I don't remember having suggested this particular implementation before :)


Download links in italian language for windows standalone installers are wrong

Page URL: https://www.qgis.org/it/site/forusers/download.html
Windows standalone installers point to

https://qgis.org/downloads/QGIS-OSGeo4W-3.12.3-2-Setup-x86_64.exe
https://qgis.org/downloads/QGIS-OSGeo4W-3.12.3-2-Setup-x86.exe

which are wrong, they should be, as in english version

https://qgis.org/downloads/QGIS-OSGeo4W-3.12.2-2-Setup-x86_64.exe
https://qgis.org/downloads/QGIS-OSGeo4W-3.12.2-2-Setup-x86.exe

The same is true for 3.10 version.
Italian, wrong links:

https://qgis.org/downloads/QGIS-OSGeo4W-3.10.6-1-Setup-x86_64.exe
https://qgis.org/downloads/QGIS-OSGeo4W-3.10.6-1-Setup-x86.exe

English, correct links:

https://qgis.org/downloads/QGIS-OSGeo4W-3.10.5-1-Setup-x86_64.exe
https://qgis.org/downloads/QGIS-OSGeo4W-3.10.5-1-Setup-x86.exe

Fixed, thank you all


Usage doc of kube-arbitrator

This doc shows how to use kube-arbitrator now.

/cc @foxish @erikerlandson for the doc review.

btw, I'd like to name this doc as "tutorial.md" :).


fix: properly disconnect rpc client to be able to reconnect

✅ Closes: #438

:tada: This PR is included in version 5.0.0-beta.3 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 5.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Problem with Interior and Exterior Fog

I'm unsure what has caused this type of fog to become this strange color, but I'm hoping you might know what enb setting I would need to change to have a more natural fog color. I played around in the enb a  while ago to tweak the settings for my monitor I just don't know what I could have done to change the fog color like this accidentally. I don't have a picture of this on the exterior but trust me it is the same thing mostly around bodies of water. I'm not even really sure this is enb related but it's what I suspect.
Just in case this is not enb related, Is there a way you know of I could disable this fog? The consol command SetFog 0,0 doesn't work so I'm out of ideas.

which version of the modlist is this?

beta 0.8

this should be fixed in the latest release


GridView layout sample: Added AutomationProperties.Name to textboxes

Description
Fixed this bug: https://microsoft.visualstudio.com/OS/_workitems/edit/24094717?src=WorkItemMention&src-action=artifact_link
How Has This Been Tested?

Tested screenreader with AccessibilityInsights
Screenshots (if appropriate):
Types of changes

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

I'm concerned about the duplicated strings - can/should these automation properties be either LabeledBy or {x:Bind} to the text of the TextBlock?

@stmoy @YuliKl, just pushed a change that uses LabeledBy instead. Thanks!


[CARBONDATA-1585][Streaming] Describe formatted command should show stream property

Describe formatted command should show stream property

[x] Any interfaces changed?
no

[x] Any backward compatibility impacted?
no

[x] Document update required?
no

[x] Testing done
Please provide details on
- Whether new unit test cases have been added or why no new tests are required?
added new test case
- How it is tested? Please attach test report.
- Is it a performance related change? Please attach the performance test report.
- Any additional information to help reviewers in testing this change.

[x] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/1845/

Build Failed with Spark 2.2.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/617/

Build Success with Spark 2.2.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/622/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/1850/

retest this please

Build Success with Spark 2.2.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/648/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/1878/


Bug: Typedoc comments with text wrapped in "<" and ">" breaks Docusaurus Markdown parser

hello,
i'm using docusaurus-plugin-typedoc. it works perfectly with the exception of having trouble parsing the the characters < and > when they are wrapping a single word in a Typedoc comment. in this case, the Docusaurus interpreter reads it as a JSX element, and the compilation process crashes.
this issue occurred when parsing https://github.com/Chevrotain/chevrotain/blob/master/packages/types/api.d.ts#L160
the word <tokType> causes the problem. the error output is:
SyntaxError: /Users/ben.p/projects/Bluehawk/docs/docs/api/classes/RootParser.md: Expected corresponding JSX closing tag for <tokType>. (298:74)
  296 | In EBNF terms this is equivalent to a Terminal.`}

  297 |
{`A Token will be consumed, IFF the next token in the token vector matches `}<tokType>{`.
> 298 | otherwise the parser may attempt to perform error recovery (if enabled).`}

      |                                                                           ^
  299 |
{`The index in the method name indicates the unique occurrence of a terminal consumption
  300 | inside a the top level rule. What this means is that if a terminal appears
  301 | more than once in a single rule, each appearance must have a `}<strong parentName="p">{`different`}</strong>{` index.`}

client (webpack 5.64.4) compiled with 1 error

i was able to fix this error by replacing <tokType> (anything without the angle brackets would work) with "tokType" in the file and rerunning yarn start.
would be great if the parser could take this scenario into account and sanitize the text, perhaps by replacing the angle brackets with their HTML escape characters > and < .

hi @mongodben .. Docusaurus is trying to parse as MDX. I would suggest the solution here is to simply wrap in a backtick which will render as an inline code snippet.
* A Token will be consumed, IFF the next token in the token vector matches `<tokType>`.

thanks tom. unfortunately, the source code comes from an external library, so i don't have direct control over the typedoc comment which is breaking the MDX. i put in a PR with them with a change similar to what you propose here.

ok thanks for letting me know @mongodben .. i will re-open this and have a think if this is a use-case that should be fixed at plugin level.

I think the simple solution is to scape the HTML (<>) to (<>), but it is necessary to ignore contents inside of ` and ```
A smart solution is use a package to sanitize the output like xss

xss makes sense to me for covering this case and anything else that could
happen w unexpected processing of markup (in addition to XSS attacks via
the docs, i guess). hopefully there wouldn't be a large implication on
build time to run all text through the xss processor.
happy to implement the feature if pointed in the right direction where to
implement w/in this project.
On Tue, Mar 8, 2022 at 7:04 AM Edgard Lorraine Messias <
@.***> wrote:

I think the simple solution is to scape the HTML (<>) to (<>), but it is
necessary to ignore contents inside of ` and ```
A smart solution is use a package to sanitize the output like xss
—
Reply to this email directly, view it on GitHub
https://github.com/tgreyuk/typedoc-plugin-markdown/issues/276#issuecomment-1061706647,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVTSWU4PWYTFJZMWMXKBXGTU6465BANCNFSM5KJVWBJA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

I just created a TypeDoc plugin that sanitizes using DOMPurify:
https://github.com/fsmaia/typedoc-plugin-dompurify
However, it is sanitizing/removing content inside codeblocks.
Look at the following example:
/**
 * A custom component.
 *
 * @example
 * ```tsx
 * <CustomComponent><h1>Custom</h1></CustomComponent>
 * ```
 */
const CustomComponent: React.FC = ({ children }) => <>{children}</>

The resulting markdown is:
## Description

A custom component.

## Example

```tsx
<h1>Custom</h1>

At this point, how could I use the TypeDoc plugin syntax/tools to avoid sanitizing an excerpt inside a code block (```)?
I'm thinking about running the marked parser just to know which excerpts are code blocks, so I can skip them.

@fsmaia Are there instructions for how a docusaurus side could use that?

I'm also getting hit by this:

Error with LitElement
SyntaxError: site/docs/api/classes/OEmbedElement.md: Expected corresponding JSX closing tag for <base64-value>. (2022:8)
  2020 | CSP directive, the style-src value must either include 'unsafe-inline' or
  2021 | 'nonce-`}<base64-value>{`' with `}<base64-value>{` replaced be a server-generated
> 2022 | nonce.`}

       |         ^
  2023 |
{`To provide a nonce to use on generated `}


Unread group chats are appearing in the LHN

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: n/a
Reproducible in staging?: needs reproduction
Reproducible in production?: needs reproduction
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @quinthar
Slack conversation: https://expensify.slack.com/archives/C05LX9D6E07/p1725479205439829
Action Performed:

Open the app

Expected Result:
Only messages which are unread messages should appear
Actual Result:
Bunch of messages appear in the LHN as unread
Workaround:
unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos

With Tim Szot:
    "reportID": "64709836",
    "reportName": "Chat Report",
    "type": "chat",
    "chatType": "",
    "ownerAccountID": 0,
    "managerID": 0,
    "policyID": "_FAKE_",
    "participants": {
        "1": {
            "hidden": false,
            "notificationPreference": "always"
        },
        "1330212": {
            "hidden": false,
            "notificationPreference": "always"
        }
    },
    "participantAccountIDs": [],
    "visibleChatMemberAccountIDs": [],
    "isPinned": false,
    "lastReadSequenceNumber": 4,
    "lastVisibleActionCreated": "2021-08-18 22:22:30",
    "lastVisibleActionLastModified": "2021-08-18 22:22:30",
    "lastMessageText": "No worries, I'm doing the same. We'll catch up eventually",
    "lastActionType": "ADDCOMMENT",
    "lastActorAccountID": "1330212",
    "notificationPreference": "always",
    "stateNum": 0,
    "statusNum": 0,
    "oldPolicyName": "",
    "private_isArchived": "",
    "isOwnPolicyExpenseChat": false,
    "lastMessageHtml": "No worries, I'm doing the same. We'll catch up eventually",
    "hasOutstandingChildRequest": false,
    "hasOutstandingChildTask": false,
    "writeCapability": "all",
    "description": "",
    "total": 0,
    "unheldTotal": 0,
    "currency": "USD",
    "isWaitingOnBankAccount": false,
    "nonReimbursableTotal": 0,
    "isCancelledIOU": false,
    "errorFields": {},
    "permissions": [
        "read",
        "write"
    ],
    "welcomeMessage": ""
}

With David/Jason/Tim:

{
    "chatType": "",
    "currency": "USD",
    "description": "",
    "errorFields": {},
    "hasOutstandingChildRequest": false,
    "hasOutstandingChildTask": false,
    "isCancelledIOU": false,
    "isOwnPolicyExpenseChat": false,
    "isPinned": false,
    "isWaitingOnBankAccount": false,
    "lastActionType": "ADDCOMMENT",
    "lastActorAccountID": "2697693",
    "lastMessageHtml": "It'll be cool to see what we can come up with",
    "lastMessageText": "It'll be cool to see what we can come up with",
    "lastReadSequenceNumber": 12,
    "lastVisibleActionCreated": "2021-11-12 19:30:34",
    "lastVisibleActionLastModified": "2021-11-12 19:30:34",
    "managerID": 0,
    "nonReimbursableTotal": 0,
    "notificationPreference": "always",
    "oldPolicyName": "",
    "ownerAccountID": 0,
    "participants": {
        "1": {
            "hidden": false,
            "notificationPreference": "always"
        },
        "2074551": {
            "hidden": false,
            "notificationPreference": "always"
        },
        "2697693": {
            "hidden": false,
            "notificationPreference": "always"
        }
    },
    "permissions": [
        "read",
        "write"
    ],
    "policyID": "_FAKE_",
    "private_isArchived": "",
    "reportID": "83614116",
    "reportName": "Chat Report",
    "stateNum": 0,
    "statusNum": 0,
    "total": 0,
    "type": "chat",
    "unheldTotal": 0,
    "welcomeMessage": "",
    "writeCapability": "all"
}

</details>

[View all open jobs on GitHub](https://github.com/Expensify/App/issues?q=is%3Aopen+is%3Aissue+label%3A%22Help+Wanted%22)

This has been labelled "Needs Reproduction". Follow the steps here: https://stackoverflowteams.com/c/expensify/questions/16989

I'm going to take this. I think we can fix it with a bulkCQ

Going to handle here actually: https://github.com/Expensify/Expensify/issues/426222


Updated hold method param operation_callback_uri to operation_callback_url

Description
Updated hold method param operation_callback_uri to operation_callback_url.
User Story 3667730: [Alpha3][Python][SDK] Update the SDK according to Azure Board's comments.
All SDK Contribution checklist:

[ ] The pull request does not introduce [breaking changes]
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[ ] I have read the contribution guidelines.

General Guidelines and Best Practices

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-communication-callautomation


feat: add coingecko pro support

Description

adds support for coingecko pro api key and endpoint
Notice

[x] Have you followed the guidelines in our Contributing guide?
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Pull Request Type

[x] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[x] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[ ] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)

n/a - we've been rate limited by coingecko free plan for some time since their production outage a
week or two back
Risk

market data doesn't load
Testing

click around the charts - they should load fast
Screenshots (if applicable)
no user facing changes

merging as tested confirmed working, previously approved by @cjthompson and verified with @gomesalexandre and @theoboldfrazier


Pick-list for field food_packaging in the Excel template is displaying the wrong values.

In the Excel template, the pick-list for the column food_packaging is displaying the wrong values, instead showing items from collection_method.

Thanks for highlighting this! Will resolve that ASAP

To update - this will be in the next release which will be available from next week

Hi @ejurga - apologies for the delay on this, we were looking to add some additional information in this new release so I was hoping to do this all in one go. As it seems this may take a little longer I'll work on getting this change out to you as soon as possible. Thanks for your patience!

This has been fixed in the newest release - thanks for picking up.


Add NAN code support to Quidel

Description
Work as part #838.
Changelog

Add three missingness columns
Add insuficcient data checks and codes

To Do

Still needs unknown data codes for when data is missing but not due to insufficient samples sensoring

Fixes

Partially addresses #838

Indicator doesn't exist anymore.


better timestamp handling + FPS picker in rtmp server settings

Modeled after FFmpeg and GStreamer, the dynamic timeBase is used to calculate Presentation Time Stamps (PTS) based on frames per second (fps)
FPS picker in rtmp server settings

I create a new PR tomorrow


After typing a character in a text field, I can't insert a space.

After entering a character in a TextField with multiple lines, I cannot enter a space next to the character if the next line has a character.
Apparently, there is an invisible space inserted.
This is inferred from the fact that if you enter a character after entering multiple space keys (no spaces are shown in the TextField), the character will be entered after the space.

Also, if I try to type Japanese with an invisible space after a character, the application itself may crash.
This is especially noticeable when trying to use the keyboard voice input on iOS.
Below is my doctor.
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.12.13+hotfix.9, on Mac OS X 10.15.3 19D76,
    locale ja-JP)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 11.4)
[✓] Android Studio (version 3.5)
[✓] IntelliJ IDEA Community Edition (version 2018.1.5)
[✓] VS Code (version 1.43.2)
[✓] Connected device (1 available)

• No issues found!

Thank you.

Only if there is a carriage return, then you can't enter a space. I also have this problem

Duplicate of #30975 #40095

This bug was fixed with v1.12.13+hotfix.5. But the bug started again with v1.12.13+hotfix.7.

I don't know if this is of additional help, but the crashes that occur when typing Japanese and using voice input are displayed in Xcode.

The following are the errors that appear in the console.
2020-04-07 16:24:05.744848+0900 Runner[14329:7094726] *** -[__NSCFString substringWithRange:]: Range {16,<PHONE_NUMBER>3709551615} out of bounds; string length 20. This will become an exception for apps linked after 10.10 and iOS 8. Warning shown once per app execution.

Thank you.

Hi @sakyoyuto
Closing as duplicate of #30975 #40095
Please create separate issue for this crashes that occur when typing Japanese and using voice input are displayed in Xcode.
Thank you


Don't assert and fail when there is no satisfiable solution

First of all, thanks for writing those bindings!
I wanted to use them to solve some feasibility problems from Torch (checking whether some convex domains defined by a set of linear inequalities were empty or not).
Observed:
If I give an infeasible problem, i receive the following error:
luajit: /home/rudy/workspace/temp/gurobi.torch/init.c:103: GT_solve: Assertion `!error' failed.
Aborted (core dumped)

The error comes from here. I'm not too familiar with Gurobi (first time using it ) but my assumption would be that because the problem was proven to be infeasible, there is no X attribute to get, hence the error.
I have a workaround for it on my branch here which seems to do the trick, at least for my use case and was wondering if this should be brought in.
My (almost) minimial working example:
local gurobi = require 'gurobi'
local torch = require 'torch'

local is_feasible = function(ineq_set)
  local num_var = ineq_set:size(2) - 1

  -- We only care about the feasibility
  local null_cost = torch.zeros(num_var)

  local env = gurobi.loadenv("")
  local model = gurobi.newmodel(env, "", null_cost)
  gurobi.addconstrs(model, ineq_set:narrow(2,1,num_var), 'GE', -ineq_set:select(2,num_var+1))

  local status, x = gurobi.solve(model)

  -- Gurobi returns:
  --    2 if a solution was found / optimisation was successful.
  --    3 if no solution was found.
  return (status == 2)
end

local test_lp_solver = function()

  local feasible = torch.Tensor({ -- x<=0, y<=0, x<=-5
      {-1,0,0},
      {0,-1,0},
      {-1,0,-5}
  })

  local infeasible = torch.Tensor({ -- x>=y, x>=0, x<=-2
      {1,-1,0},
      {1,0,0},
      {-1,0,-2}
  })

  is_feasible(feasible)
  assert(is_feasible(feasible),
         "This set of inequality should be feasible but it is not reported so.")
  assert(not is_feasible(infeasible),
         "This set of inequality should be infeasible but it is not reported so.")
end

test_lp_solver()

Explanation for the status code was found from Gurobi's optimization status page
Tangential note, something might be causing the issue:
The version of Gurobi that I am using is 7.0 while these bindings seem to assume 6.5. (had to change a line here to get it to point at the proper lib but otherwise everything seemed to work out of the box with the different version.)
Cheers,

Hi @bunelr - your code fixing this looks good, can you send in a PR?
-Brandon.

Resolved by #6


fix typos and broken links in the documents

Add a link to docs/general/device-pixel-ratio.md in docs/SUMMARY.md, since users could not reach the document on device-pixel-ratio.
fix small typos and unresolved anchors.

I renamed the "Ratio" section to "Pixel Ratio". Thank you for the quick reviews. 😄

Thanks @beiz23


@Authorized() flexibility

Hi all! I was thinking that the authorization mecanism has a lack of flexibility, since it only allows a role-based authorization. It would be nice to allow things like user-based authorization (like in ASP.Net MVC) and even user "level" authorization. Something like this:
@Authorized( { users: ["Jhon", "Joe" ] } )

or
@Authorized( { userLevel: 3 } )

Perhaps we could raname the "roles" parameter of @Authorized to "authorizationData" as object

I think we can do that. Will be released in 0.7.0-alpha.15


Auto shut-down of idle notebooks

Is there a way to shut down running notebooks after a certain time? In our team, people often forget to shut down their notebooks and thus unnecessarily consuming resources...

yes, just use this: ./bin/spark-notebook "-Dmanager.kernel.killTimeout=180 minutes"
see #526
we also use dynamic allocation:
-Dmanager.notebooks.override.sparkConf.spark.dynamicAllocation.initialExecutors=1 \
 -Dmanager.notebooks.override.sparkConf.spark.dynamicAllocation.minExecutors=0  \
 -Dmanager.notebooks.override.sparkConf.spark.dynamicAllocation.cachedExecutorIdleTimeout=10min \


Mono repo (lerna) MiddlewareError: Type generator exists in middleware but is missing in Schema.

I am working with a mono repo using "lerna". I ended up creating my shield rules for two endpoints in one module and import this module as dependency in the endpoint projects. When I imported the the rules initialized with shield from a dependency, I would get this error: MiddlewareError: Type generator exists in middleware but is missing in Schema..
To solve this problem I ended up doing this:

export const permissions = (passedShield: typeof shield) =>
  passedShield({
    ...
  });

@Bram-Zijp this often occurs due to version mismatch with graphql-middleware. I hope you've solved your problem 🙂


Remove SyncStream

To make a stream Send, we have a wrapper class which implements Stream.
struct SyncStream<S> {
    st: sync_wrapper::SyncWrapper<S>,
}

I've given back this implementation to the upstream in the following commit
https://github.com/Actyx/sync_wrapper/commit/778cffe43eff21bed80193e122178daed90e7ad0
When the new crate is out, let's use it.

It compiles okay
https://github.com/akiradeveloper/lol/tree/180-use-crate-sync-stream

I guess Tonic 0.6 removed Sync constraint on Stream  https://github.com/hyperium/tonic/pull/804

done.


Support for inclusion via .agignore

I have vim/neobundles in my .gitignore file, but do not want to exclude it with ag.
Therefore I would like to add +vim/neobundles to .agignore to include it for The Silver Searcher.
My current use case is ag -g . to get the list of files for ctags.
I can use --skip-vcs-ignores here, but then I also have to use --skip-vcs-ignores for normal ag searches anyway (via an alias).

I have a need for negation in .agignore as well.
My code is in Mercurial repo, so I use .hgignore file. But on build step it also gets added to Heroku git remote, so I have .gitignore too for this project, which includes some stuff I don't want deploted but I would like ag to search for while developing the code.
And easiest would be if I could do a negation in .agignore with something like !some_source_dir/.

I would also use this. My use case is a project with lib dependencies that I wrote which are in .gitignore and included with a dependency manager.
I'd like to selectively include my libraries in my searches

I'd also use this feature! It would help me out greatly.

I think this is important because the documentation states that the .agignore uses the same syntax as .gitignore, yet it doesn't support the negation syntax from .gitignore.


Feature request for a "greedy" container label

As user of Docker Swarm/UCP, I would like to be able to add a special “greedy" container label that impacts scheduling in the following ways:

The scheduler will only consider nodes to be eligible to run containers that have this greedy container label if there are no other containers currently running on them (other than the swarm management containers).

The scheduler will not allow any other containers to run on a node that has an active container running on it with the greedy container label

For example, let us define the named used for the greedy container label to be “com.docker.swarm.greedy”. When I run the following command, it will trigger this special scheduling behavior:
docker run --rm --name greedy1 --label com.docker.swarm.greedy=true some-image
If have 3 nodes:

Node a: has 2 containers running
Node b: has 0 containers running (excluding swarm management)
Node c: has 1 container running

The scheduler will consider “Node b” to be the only node eligible for greedy1, and run the container on Node b.
If I then run a similar command:
docker run --rm --name greedy2 --label com.docker.swarm.greedy=true some-image
The scheduler will find no eligible nodes for greedy2 and return an error.

This can be solved with an anti-affinity: affinity:greedy!=true
If you start all your containers with this affinity then no other container will be started on this node.
You have to run "greedy" containers with the specific label (e.g. docker run --label greedy=true nginx)

@michelvocks the problem with that approach is you would need a way to guarantee that everyone using your cluster will only create containers with the label "affinity:greedy!=true". In our case, this is too big of an assumption.

@mikedickey I think this is really specific. But feel free to create a pull request if you want to implement it. :-)


Write down QC protocol

Perhaps start bringing content from the Frontiers RT?
From https://github.com/TheAxonLab/hcph-sops/issues/78#issuecomment-1730325376 below:

[ ] Write down MRIQC's QC exclusion criteria
[ ] Write down fMRIPrep's QC exclusion criteria
[ ] Write formal QC procedure
[ ] Write physio QC procedures and criteria (from #191)

[ ] Write down MRIQC's QC exclusion criteria
[ ] Write down fMRIPrep's QC exclusion criteria
[ ] Write formal QC procedure

Let's start with MRIQC's for/around ISMRM deadline the day after tomorrow.

Closing in favor of more specific issues: #347, #348, and #349.


Re-depend nav2_map_server dependeny

Re-depend nav2_map_server dependeny
Using packages.bit-bots.de this is available and needed here
Proposed changes

Related issues

Necessary checks

[ ] Update package version
[ ] Run catkin build
[ ] Write documentation
[ ] Create issues for future work
[ ] Test on your machine
[ ] Test on the robot
[ ] Put the PR on our Project board

This package is still not available, as the rosdep-key does not exist for the rolling distro.


Update scalafmt-core to 3.0.6

Updates org.scalameta:scalafmt-core from 3.0.5 to 3.0.6.
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 = "org.scalameta", artifactId = "scalafmt-core" } ]

labels: library-update, semver-patch

Codecov Report

Merging #1012 (10a27c1) into develop (c880572) will decrease coverage by 0.04%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop    #1012      +/-   ##
===========================================
- Coverage    89.64%   89.60%   -0.05%
===========================================
  Files          124      124
  Lines         9913     9913
  Branches       509      509
===========================================
- Hits          8887     8883       -4
- Misses        1026     1030       +4

Impacted Files
Coverage Δ

...in/scala/com/twitter/algebird/scalacheck/Gen.scala
91.66% <0.00%> (-8.34%)
:arrow_down:

...src/main/scala/com/twitter/algebird/Interval.scala
78.26% <0.00%> (-5.22%)
:arrow_down:

.../main/scala/com/twitter/algebird/HyperLogLog.scala
89.61% <0.00%> (-0.44%)
:arrow_down:

.../main/scala/com/twitter/algebird/BloomFilter.scala
94.24% <0.00%> (ø)

.../scala/com/twitter/algebird/immutable/BitSet.scala
97.00% <0.00%> (+0.21%)
:arrow_up:

...a/com/twitter/algebird/immutable/BloomFilter.scala
95.90% <0.00%> (+1.63%)
:arrow_up:

.../main/scala/com/twitter/algebird/Successible.scala
91.66% <0.00%> (+4.16%)
:arrow_up:

...main/scala/com/twitter/algebird/monad/Reader.scala
58.82% <0.00%> (+5.88%)
:arrow_up:

Continue to review full report at Codecov.

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


[Question] Can you configure fluid blocks in config

Is it possible and if so how do you configure the lighting or bloom effects for a liquid source like lava for example? Thanks for the info, mod is super interesting so far!

I did forgot the fluid.
Thank you for your suggestion, very interesting idea, I will update for fluid support.


How can I see which version of pdf.js I am using? (feature request for an about box)

Where in pdf.js is the typical "about" window/box that programs use to have? There is none, isn't it? I think there should be such a thing.
I'm using the built-in version of FF41, but I have no idea for which version I should file a bug request if I ever should find one or in which changelog I have to look to find out if I already have this or that feature in my version.

Closing as duplicate of issue #5884.
As explained there, the version number can be found in the console (Ctrl+Shift+K).
When filing bugs, referring to the exact Firefox version is enough when using the built-in PDF Viewer.


Export isComposable and isStamp separately

Based on #209
I am not much of a fan of having source file outside of src folder, but I guess this is best way for greater good.
/cc @ericelliott @koresar

LGTM.

@FredyC Do you know that you can create branches in stampit-org repo? No need to implement things in your forks.  :)

I know, but I am more used to forks and I have set of git aliases for that. It seems bit cleaner way to me too.

It's just more complex for the rest of the people to collaborate. I.e. we can't fix up your branch on a fly. The conflict resolution becomes a pain in the neck too. Also, it's longer to pull the fork and test it then a branch.
But, as long as you prefer forks we all can leave with that for sure.


Implement Unique Node IDs

Scene instantiation and inheritance now use unique IDs for referencing.
Ensures that if a node is moved or renamed, the scene that inherits keeps functioning by still referencing that node properly (which it does by ID, no longer by path).
Eventually will be extended to Asset IO

WARNING: THIS NEEDS A LOT OF TESTING AND REVIEW - DO NOT USE IN YOUR PROJECT, IT WILL BREAK IT.
Note: This bumps the binary format version, files saved with this will no longer work in earlier versions of Godot.
Note: ResourceFormatText::save_as_binary is broken with this, but this function is no longer in use, should it be removed as part of this PR?
Note: I am allowing negative numbers in there for IDs (only 0 is unassigned), I may as well not, let me know if you want me to change this.

I think what I may need to change is that if you instantiate a scene (not inherit it), the ID of the instance should probably be different than that of the scene when opened separatedly. I already change it if instantiated more than once, but may need to make an exception here by forcing the node ID to unassigned when called with GEN_EDIT_STATE_INSTANCE.

I opened a scene (tscn), it added a bunch of IDs to nodes, but only that. I'd expect nodes to use these IDs instead of parent path, but that's not the case. I checked some simple inheritance case (added node in inherited scene and moved its parent in the base scene) and it still breaks.

@KoBeWi it won't use paths within the local scene because it does not make much sense (and path is more readable). IDs are used mostly when you do scene inheritance and place nodes as children of nodes of other scenes. They are also used for signal connections.

Ok I tested again and indeed, parent is always a path, even if the node is under inherited node or editable child. Both in tscn and scn. The only case that works correctly is binary inherited scene.

@KoBeWi Maybe I broke it, thanks still for giving it a spin, will see if I can fix it today!


Can't override certain default props

Take Button for example. It has the default prop backgroundColor, so if a prop is not supplied, backgroundColor: 'primary' trickles down to this.props, then into Base, where on the line 40 call to colorStyle it will override any backgroundColor within contextStyle.
Is this the intended behavior? I think this happens with any default prop that intersects with the utils margins, padding, colorStyle, or radii.
If not, I think repeating lines 39-42 of Base using contextStyle instead of props will fix it? I can submit a PR if so.

Thanks, I think this is part of a bigger issue (related #89).
Generally, I don't think any of the source components in Rebass should use the shortcut props like backgroundColor, and instead leave those available for end users. I think removing any of those default props would fix the issue you're describing here.

Maybe it should be temporarily removed (or annoted) from the readme example (line 86) until it is fixed.  It's pretty disturbing to discovering the projectwith a non working example. It's like you don't know if you forgot something somewhere.