Request for Updated Download Link or Installation Instructions for Chinese Coreference Resolution Model

Hello,
I encountered an issue while trying to install the Chinese coreference resolution model for coreferee. Following the documentation, I attempted to download the model file from the following link:
https://github.com/richardpaulhudson/coreferee/raw/master/models/coreferee_model_zh.zip
However, this link returns a 404 error, and I am unable to download the model file.
Could you please provide an updated download link or installation instructions? If there are any new model files or alternative solutions available, could you share the relevant information? Thank you very much!
Best regards,
rtc

Unfortunately coreferee does not contain support for Chinese, nor is such support mentioned in the documentation.


CODE RUB: FineTuneDependencyException Class Update v2.10.1

Updated FineTuneDependencyException class by removing constructors in which the error message was hard coded in. Updated all relevant service files to include message.

Closing Pull Request. Resolved in PR #554.


Make disabled 'B' bit of SecurityPolicy take effect

To resolve #1228 and also make disabled 'R' to take effect.

Codecov Report

Merging #1438 into master will increase coverage by 0.33%.
The diff coverage is 55.26%.

@@            Coverage Diff             @@
##           master    #1438      +/-   ##
==========================================
+ Coverage   70.52%   70.86%   +0.33%
==========================================
  Files         142      143       +1
  Lines       19328    19348      +20
  Branches     2366     2365       -1
==========================================
+ Hits        13632    13711      +79
+ Misses       4804     4736      -68
- Partials      892      901       +9

Impacted Files
Coverage Δ

src/core/api/link_api.cpp
27.2% <0%> (-0.62%)
:x:

src/core/mac/mac_frame.hpp
62.79% <55.55%> (-1.32%)
:x:

src/core/mac/mac.cpp
79.63% <78.57%> (+0.52%)
:white_check_mark:

src/core/thread/mle.cpp
80.44% <83.33%> (-0.05%)
:x:

src/core/thread/lowpan.hpp
86.84% <0%> (-13.16%)
:x:

src/core/net/udp6.cpp
82% <0%> (-2%)
:x:

src/core/thread/lowpan.cpp
92.29% <0%> (-1.44%)
:x:

src/core/thread/network_data.cpp
87.54% <0%> (-1.14%)
:x:

src/core/thread/mle_router.cpp
79.59% <0%> (-0.43%)
:x:

examples/platforms/posix/radio.c
78.15% <0%> (-0.43%)
:x:

... and 16 more

Continue to review full report at Codecov.

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

updated to only fix #1228, will submit a separated PR for 'R' bit


DEBUG_NRF flag interferes with WoBLE, disable until root cause is ide…

…ntified

Is there an issue tracking the underlying problem?

I believe all the root cause issues have been identified and resolved in https://github.com/openweave/openweave-core/pull/436  I'm closing this PR as it is no longer useful


Fall back for tzlocal failure

This PR addresses the issues that some users encounter regarding timezone information. This fix bypasses the ValueError that is shown and simply sets the timezone to none, which produces date & time, without any timezone information.
See issue #510 for more details.

@thermokarst Yeah I will need to take a closer look at this one. All tests passed locally on my machine, but there seems to be a time difference of 7hrs for the test. That difference is the same as the difference between MST and UTC time. It might have to do with tzlocal. Thanks.

@thermokarst and @ebolyen,
I would like to make a commit to test a change that I made to the code for this PR, but I received an error regarding an Invalid header when I ran make lint(Please see snippet below).

So, I replaced all 2019 references in the header of each affected file to 2020. The error went away after I made these changes. My concern is that the diff for the changes will include a lot of files for you guys to sift through. In the past, I know that header changes were made in individual PR's for each directory. Any suggestions for how to proceed?

Any suggestions on how I should proceed?

Please open a separate PR with the q2lint-related changes. FWIW, we will need to make similar changes across all QIIME 2 repos, so if you're looking for something to do, that would be great. Thanks!

Here is last year's q2lint PR for this repo, BTW: https://github.com/qiime2/qiime2/pull/426

Thanks for the link to last year's changes. It looks like there are 98 changes from last year vs. 111 changes for my new PR. I will review to ensure that there were no unnecessary changes to the repo.


Deleting dashboards (TELESTION-458) and changing their names (TELESTION-459)

This change

adjusts the existing editing route (POST / PUT on /dashboards/:dashboardId/edit) to make the dashboard title editable and adds a text field to achive this to the corresponding UI
adds a DELETE action on the same route to delete the dasboard with the ID :dashboardId. This redirects to /, which in turn redirects either to the first available dashboard or, if none exists, a corresponding page.

Note that the Browser's native window.confirm() was used to ask the user whether they really want to delete the dashboard. This can, eventually, be replaced by a better integrated UI, but for the MVP, works as-is without any issues.

Merge activity

Jan 26, 7:46 PM: Graphite rebased this pull request after merging its parent, because this pull request is set to merge when ready.


[MB-10149] Pricing metadata changes for domestic NTS packing

Description
This PR adjusts the metadata (and related constants/enums) in anticipation of pricing domestic NTS packing:

The current Domestic NTS packing factor was renamed to Domestic NTS packing and its code was changed from DNPKF to DNPK.  For consistency, I went ahead and did the same for the international NTS packing factor service.
The old unused PSI_Packing* pricing parameters were removed/unlinked.
A new NTSPackingFactor pricing parameter was added.
The DNPK service was linked to the same pricing params as the regular DPK (domestic packing) service, but also has the NTSPackingFactor added in.

You'll also see corresponding changes to swagger definitions, model constants, front-end constants, etc.
Reviewer Notes

For more context on these changes, see the technical discovery doc for pricing domestic NTS packing.
I went ahead and fixed the list of services that are auto-added to NTS shipments so that it only adds a DNPK and not a DPK and (the old) DNPKF.

Setup

make db_dev_reset db_dev_migrate
Make sure the migrations run successfully.  Check your database to see if the changes noted above are reflected.

Code Review Verification Steps

[ ] If the change is risky, it has been tested in experimental before merging.
[ ] Code follows the guidelines for Logging
[ ] The requirements listed in Querying the Database Safely have been satisfied.
Any new migrations/schema changes:

[ ] Follow our guidelines for zero-downtime deploys (see Zero-Downtime Deploys)
[ ] Have been communicated to #g-database
[ ] Secure migrations have been tested following the instructions in our docs

[ ] There are no aXe warnings for UI.
[ ] This works in Supported Browsers and their phone views (Chrome, Firefox, IE, Edge).
[ ] Tested in the Experimental environment (for changes to containers, app startup, or connection to data stores)
[ ] User facing changes have been reviewed by design.
[ ] Request review from a member of a different team.
[ ] Have the Jira acceptance criteria been met for this change?

References

Jira story for this change
Technical discovery doc explains more about the approach used.

Messages

:book:
:link: MB-10149

  Generated by :no_entry_sign: dangerJS against 51d5852c978284b76e97740a72f9816b21276dab


merge package template from Kronos-Tools/npm-package-template

Updated standard to latest version

Codecov Report

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

@@           Coverage Diff           @@
##           master      #82   +/-   ##
=======================================
  Coverage   89.47%   89.47%
=======================================
  Files           1        1
  Lines          19       19
=======================================
  Hits           17       17
  Misses          2        2

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 4c2d494...eb00970. Read the comment docs.


Removed unused SCC modification for tests

What this PR does / why we need it:
Removed unused SCC modification for tests
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1714991
Special notes for your reviewer:
It changes SCC for the test user in kube-system ns, but the user is in
another ns... so this file can't have any effect at all...?
Release note:
NONE

/test pull-kubevirt-e2e-os-3.11.0
/test pull-kubevirt-e2e-os-3.11.0-crio
/test pull-kubevirt-e2e-os-3.11.0-multus

/test pull-kubevirt-e2e-os-3.11.0-multus

rebased

@rmohr what do you think of this? Do you remember why the test scc was added? I does not have any effect (anymore), os lanes are green.

And it was failing OKD

@slintes the purpose is that one can use a kubevirt-testing service acount to run all tests from a pod service account. Not sure if QE uses it right now. But I don't think so because it would fail on OKD for them too. In theory we could drop this SCC and just add the kubevirt-testing service account to the privileged scc. But we can also drop it right now.

Oh, and the disk image provider uses the service account, but only the creator of the pod needs privileges to create it. Not the used service account. So we should be good.

/cherrypick release-0.17


Add placeholder, rely only on html5 url validation

fixes #1535

make sure placeholder in onboarding matches site expectation.
remove server side validation and custom regex
rely on html5 validation since this is really informational only.

Very nice, thanks for making the change Scott!


Not an issue, but a question.

Greetings, newer Pi user here.
I'm running Linux 10 (Buster) on a Pi 3B V1.2. In Pi Configuration > Performance there's now an option to enable a fan, the GPIO and temp to trigger the fan. That would be the same (but easier) than writing the script, correct?
From my research, it seems that was added for a three wire fan (Power, Ground, Control); so if I am using standard two wire fans, I would still need to add the transistor, correct?
Second question, any problems running two 5V 0.2amp fans off of the one transistor? If so, what if I run them off of the 3.3V instead?

Hey @kc-nj! Happy to hear the resources I put together are useful to you.
When I wrote the script, an option to enable a fan wasn't available. I also use distros outside of Raspbian from time to time which do not have a fan enabling option, so the script is still very useful in that case.
I'm not an electrical engineer, but from my understanding you would still need the transistor, yes. I don't think you would have trouble with one transistor, but I don't have enough subject matter knowledge to let you know definitively, sorry!

Hey @kc-nj! Happy to hear the resources I put together are useful to you.
When I wrote the script, an option to enable a fan wasn't available. I also use distros outside of Raspbian from time to time which do not have a fan enabling option, so the script is still very useful in that case.
I'm not an electrical engineer, but from my understanding you would still need the transistor, yes. I don't think you would have trouble with one transistor, but I don't have enough subject matter knowledge to let you know definitively, sorry!

Thank you for responding.
I assumed that feature was not available at the time you wrote the script.

Thank you for responding.
I assumed that feature was not available at the time you wrote the script.

Gotcha! Yes exactly. Best of luck!

Gotcha! Yes exactly. Best of luck!


webpack issues with TeX input

A quick documentation of what I've tried.
branches
I merged the moving_parse_methods1 branch into the stretchy-cells` branch and tried to build an analogous example to https://github.com/mathjax/mathjax-v3/wiki/A-first-usable-demo-(using-webpack).
setup example

texpage.js

//
// the MathJax core
import  {MathJax} from "./mathjax3/mathjax.js";
// TeX input
import {TeX} from './mathjax3/input/tex.js';

// HTML output
import {CHTML} from "./mathjax3/output/chtml.js";

// handler for HTML documents
import {HTMLHandler} from "./mathjax3/handlers/html/HTMLHandler.js";
MathJax.handlers.register(new HTMLHandler());

// initialize mathjax with with a DOM document (e.g., browser, jsdom); other documents are possible
const html = MathJax.document(document, {
    InputJax: new TeX(),
    OutputJax: new CHTML()
});

window.addEventListener("load", function () {
    console.time('wrapper');
    // process the document
    html.findMath()
        .compile()
        .getMetrics()
        .typeset()
        .updateDocument();
    console.timeEnd('wrapper');
});

webpack.config

const Uglify = require("uglifyjs-webpack-plugin");
module.exports = {
    entry: './texpage.js',
    output: {
        path: __dirname,
        filename: 'webpack.dist.js'
    },
    plugins: [
        new Uglify()
    ]
};

first problem: relative paths
The first problem came from the paths in the "legacy" code (which according to @zorkow is due to systemjs being weird about them).
So I manually changed anything like require('mathjax3/...') (or similar import statements) to add sufficient ../ prefixes.
QUESTION can we switch over to correct relative paths for the TeX "legacy" code?
I ran the tests after changing the paths and they didn't throw errors but had test failures; thus I'm not sure if there's a problem with using relative paths.
second problem
Once these were changes, webpack could resolve the resources but then ran into an actual problem in the code

ERROR in ./mathjax2/legacy/jax/input/TeX/StackItem.js
Module parse failed: /home/peter/code/mathjax/v3/mathjax2/legacy/jax/input/TeX/StackItem.js Duplicate constructor in the same class (817:2)
You may need an appropriate loader to handle this file type.
|   }
|
|   constructor(name, numbered, taggable, stack) {
|     super();
|     this.type = 'AMSarray';
 @ ./mathjax2/legacy/extensions/TeX/AMSmath.js 31:12-55
 @ ./mathjax2/input/TeX.js
 @ ./mathjax3/input/tex.js
 @ ./texpage.js

According to @zorkow this is a bug in the current TeX parser code.

I thought I had fixed the second problem last night already in said branch. @pkra could you try again if that still persists?

in said branch

I seem to have an up-to-date moving_parse_methods branch and its last change is 22h ago. Have you pushed to GitHub?

Update. The bug has fixed the compilation problem.
The question remains what to do with those absolute paths.

I've also commented out all the console.logs which had a significant impact on performance.

I've also commented out all the console.logs which had a significant impact on performance.

Correction. It only had a serious perf impact when the dev tools are open.

I've pushed a build and sample page to the demo branch (and updated the mm2html build).
Live at https://rawgit.com/mathjax/mathjax-v3/demo/demo/.
The TeX input seems to have some minor problems matching stretchy parens but otherwise the build seems ok.

Part of the problem with the parens is the \mathchoice issues (which is used in the probability formula).  But there are other problems as well the I will have to look into.
When I run the demo page in Safari, I get an error message about using let t twice, but I don't see where that is occurring.

When I run the demo page in Safari, I get an error message about using let t twice, but I don't see where that is occurring.

Interesting. Gnome's WebKitGTK+ 2.18.0 browser is working fine.
There are also JS errors (expected semicolon) on IE11; I didn't test lower than that.

This issue has been resolved in the newest TeX parser branch.

(by which I mean the two original problems with the paths and stackitem)


Although the test case TestIoctlPtmget passes on NetBSD, debugging revealed that ptm.Sn is a byte array filled with zeros, thus preventing us from obtaining the ptsname. The log consistently shows sfd = 0, ptsname = , whereas under normal circumstances, we expect something like sfd = 0, ptsname = /dev/pts/0 to be displayed.
Below is an example of relevant code for the amd64 architecture.
func TestIoctlPtmget(t *testing.T) {
	fd, err := unix.Open("/dev/ptmx", unix.O_NOCTTY|unix.O_RDWR, 0666)
	if err != nil {
		t.Skip("failed to open /dev/ptmx, skipping test")
	}
	defer unix.Close(fd)

	ptm, err := unix.IoctlGetPtmget(fd, unix.TIOCPTSNAME)
	if err != nil {
		t.Fatalf("IoctlGetPtmget: %v\n", err)
	}

	t.Logf("sfd = %v, ptsname = %v", ptm.Sfd, unix.ByteSliceToString(ptm.Sn[:]))
}

const TIOCPTSNAME = 0x40287448

type Ptmget struct {
	Cfd int32
	Sfd int32
	Cn  [1024]byte
	Sn  [1024]byte
}

According to my investigation, this error is caused by the mismatch in the lengths of the arrays Cn and Sn within the Ptmget structure with the value of TIOCPTSNAME.
In NetBSD: src/sys/sys/ttycom.h, we can find that the value of TIOCPTSNAME is related to the size of Ptmget.
#include <iostream>

#define	IOCPARM_MASK	0x1fff		/* parameter length, at most 13 bits */
#define	IOCPARM_SHIFT	16
#define	IOCGROUP_SHIFT	8
#define	_IOC(inout, group, num, len) \
    ((inout) | (((len) & IOCPARM_MASK) << IOCPARM_SHIFT) | \
    ((group) << IOCGROUP_SHIFT) | (num))
#define	IOC_OUT		(unsigned long)0x40000000
#define	_IOR(g,n,t)	_IOC(IOC_OUT,	(g), (n), sizeof(t))
#define TIOCPTSNAME 	 _IOR('t', 72, struct ptmget)	/* ptsname(3) */

#define PATH_MAX 1024

struct ptmget {
	int		cfd;
	int		sfd;
	char	cn[PATH_MAX];
	char	sn[PATH_MAX];
};

int main() {
    std::cout << TIOCPTSNAME;
}

When we set PATH_MAX to the currently used 1024 in the code, the corresponding value for TIOCPTSNAME should be 0x48087448, not the 0x40287448 defined for 386/amd64/arm64 (the arm definition matches correctly).
And when TIOCPTSNAME is 0x40287448 as used in the current code, the corresponding PATH_MAX should be 16. This indeed aligns with the description in the netbsd man page / ptm.
I will submit a CL to fix this error shortly. This is my first time submitting a CL for Go. Please let me know if there's anything inappropriate or if you have any feedback.
What did you see happen?
None
What did you expect to see?
None

CC @golang/netbsd
If I understand the bug report, it sounds like the fix should be to adjust the value of TIOCPTSNAME, not to change the struct size.

CC @golang/netbsd
If I understand the bug report, it sounds like the fix should be to adjust the value of TIOCPTSNAME, not to change the struct size.

Yes, IoctlGetPtmget will also get the correct ptsname by setting TIOCPTSNAME from 0x40287448 to 0x48087448 and not to change the Ptmget struct size.
May I ask if I need to follow this logic to modify the code I submitted?

May I ask if I need to follow this logic to modify the code I submitted?

I'm sorry, I don't understand the question.

Is the function unix.IoctlGetPtmget not available on Mac OS ? I cannot see this function at all

Is the function unix.IoctlGetPtmget not available on Mac OS ? I cannot see this function at all

No.
See iyzyi/aiopty/pty/nixpty/native/native_darwin.go if you need.


ACLs on subjects/ endpoint

What is currently missing?
Currently to call subjects/<subject> endpoint one must have Write permissions. Though this endpoint doesn't seem to change anything. It would be useful to have it available for users with Read permissions only in order to retrieve schema id.
How could this be improved?
Basically it seems to be enough to set Read permission on subjects_schema_post method.
Is this a feature you would work on yourself?
Perhaps
[x] I plan to open a pull request for this feature

Fixing PR has been merged, and Karapace version 3.3.1 released containing the changes.


Can assign groups to global roles

Problem:
Admins would like to assign AD groups to global roles so when a member is added that belongs to that group, they will inherit the global role permissions.
Solution:
Support assigning group principal IDs to global role bindings.
Issue:
https://github.com/rancher/rancher/issues/22707

lgtm


Test PHP 7.3

Adds PHP 7.3 to Travis CI tests and removes unused import.
The Travis CI tests are not failing because of these changes. Travis CI has made some infrastructure changes in the last weeks. The logs show that the tests are now running on different machines ("Worker information").
The tests work after removing the test "$(find ...) line.

Thanks for this!


NameError: name 'any_printing' is not defined

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like this: [x])
Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2019.04.24. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2019.04.24

Before submitting an issue make sure you have:

[x] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones
[x] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
2019.04.24
...
<end of log>

Description of your issue, suggested solution and other information
The issue lies in full inability to use the program.
Running ./youtube-dl.exe "https://www.youtube.com/watch?v=EuFfmnu34rs" results in the following error:
Traceback (most recent call last):
File "main.py", line 19, in
File "C:\Users\hackspanner\Documents\Projects\VRChat\youtube-dl\youtube_dl_init_.py", line 485, in main
File "C:\Users\hackspanner\Documents\Projects\VRChat\youtube-dl\youtube_dl_init_.py", line 335, in _real_main
NameError: name 'any_printing' is not defined

Ahem, I've done everything that was asked from me in this guide, why is this issue closed?


Update Discord invite link

Oh, right! I forgot about this. I have absolutely no idea why the original invite link stopped working in the first place.
Thanks!


Change redis lua script read once

Changes proposed in this pull request:

Currently, the lua script is read on every request.
So, I changed the redis lua script to read only once

Coverage increased (+0.009%) to 95.872% when pulling 57203a94865cb5d8d6de5226620c79a9fcc73577 on fpnuseis:master into 09e8e9151b306ead1a51c8f309f9d8479f3c8118 on marcosbarbero:master.

@marcosbarbero thx!! :)


Handle edge cases

This is a nice library, and I would like you to consider a few enhancements. I will create one by one.
The first one is to handle edge cases. Specifically, for line charts:

Display a single point if the number of data is 1
Do not crash if there is no data. Perhaps display an empty graph is fine.

Thanks for reporting the edge-cases!
I'll prioritize these fixes and try to include in the next release. Thanks for your input!


Support for execution as docker service

Docker 1.12 is out and has a much better swarm now, but also has a different way to start containers - services.
Are there any plans to support deploying this companion as a docker service?
Currently, the only thing preventing it from running is usage of --volumes-from which is not available there.

Idealy it will be great to add an example in https://github.com/fatk/docker-letsencrypt-nginx-proxy-companion-examples.

@JrCs here's a few snippets, but as I said - the proxy-companion is broken at the moment since it needs --volumes-from to be used.
Running the following commands requires docker 1.12 and inited swarm mode.

Create overlay network for all services to share:

docker network create --driver overlay nginx-network

Create shared volumes for html and vhost.d folders:

docker volume create --name nginx-vhost
docker volume create --name nginx-html

Start jwilder/nginx-proxy as a service:

docker service create \
    --name nginx-proxy \
    --network nginx-network \
    -p 80:80 -p 443:443 \
    --mount type=bind,source=`pwd`/nginx/htpasswd,target=/etc/nginx/htpasswd \
    --mount type=bind,source=`pwd`/nginx/certs,target=/etc/nginx/certs,readonly \
    --mount type=volume,source=nginx-vhost,target=/etc/nginx/vhost.d \
    --mount type=volume,source=nginx-html,target=/usr/share/nginx/html \
    --mount type=bind,source=/var/run/docker.sock,target=/tmp/docker.sock,readonly \
    jwilder/nginx-proxy

Start jrcs/letsencrypt-nginx-proxy-companion as a service:

    docker service create \
    --name nginx-letsencrypt \
    --network nginx-network \
    -e NGINX_PROXY_CONTAINER=7604ff51fff5 \
    --mount type=bind,source=`pwd`/nginx/certs,target=/etc/nginx/certs \
    --mount type=bind,source=/var/run/docker.sock,target=/var/run/docker.sock,readonly \
    --mount type=bind,source=`pwd`/nginx/htpasswd,target=/etc/nginx/htpasswd \
    --mount type=volume,source=nginx-vhost,target=/etc/nginx/vhost.d \
    --mount type=volume,source=nginx-html,target=/usr/share/nginx/html \
    jrcs/letsencrypt-nginx-proxy-companion

Note env variable NGINX_PROXY_CONTAINER=7604ff51fff5 - when not providing it, the container will try to search for other containers using --volumes-from and fail. If you provide that - it works. But considering nature of docker services and that they can die/be restarted/update/etc, it'd be best to find a different way to get that container ID.
And that's the main problem here.

Start nginx as a service:

    docker service create \
        --network nginx-network \
        --name nginx-test \
        -e VIRTUAL_HOST=test.dev \
        -e LETSENCRYPT_HOST=test.dev \
        -e<EMAIL_ADDRESS>\
        nginx

Thanks for the snippets.
But do we really need an orchestrator (swarm in that case) to launch 3 containers that it prefer to be start on the same host ?

@JrCs we have a use case where we have a front-facing web server that needs to be exposed outside (via nginx-proxy/letsencrypt companion), but communicates with a number of microservices that can be scaled using docker.
After initial evaluation of that approach, I figured that starting all of the containers using services:

allows to use swarm for auto-balancing running containers across nodes
gives a uniform way to work with them
I might be mistaken, so would love to hear a better/simpler approach if you have one in mind :smile:

Yes a better approach is perhaps to use https://traefik.io

@JrCs that looks exactly like what we need. thank you!
I guess this issue can be closed then.

Found this page when looking around for alternativs to Traefik as all test in Swarm Mode has given horrible performance with it :(


Store email addresses

To notify users of changes.

not necessary, just watch this, might have a meta issue for people to follow if it gets popular.


[go_router] Circular route not allowed because of a Stack Overflow

Steps to reproduce

Run app
See the error

Go Router didn't allow circular route (A route which contain itself, recursively).
On my app, i want to use go router and only the 'go' api because i also target web.
I've an e-commerce app. My product pages display several buttons to open many other product pages.
When I go to a product page and then I go back, I expect to go back to go to my previous product page. That's why I try to have a circular route...
I can't and won't use 'push' because of its web limitation and because of my actual architecture using only 'go'.
Expected results
No stack overflow
Actual results
Stack overflow
Code sample
Code sample
import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';

void main() => runApp(const MyApp());

class ProductRoute extends GoRoute {
  ProductRoute()
      : super(
          path: 'product/:id',
          builder: (BuildContext context, GoRouterState state) {
            return ProductScreen(
              id: state.pathParameters['id']!,
            );
          },
          routes: [
            ProductRoute(),
          ],
        );
}

class HomeRoute extends GoRoute {
  HomeRoute({
    super.routes,
  }) : super(
          path: '/',
          builder: (BuildContext context, GoRouterState state) {
            return const HomeScreen();
          },
        );
}

/// The route configuration.
final GoRouter _router = GoRouter(
  routes: <RouteBase>[
    HomeRoute(
      routes: <RouteBase>[
        ProductRoute(),
      ],
    ),
  ],
);

/// The main app.
class MyApp extends StatelessWidget {
  /// Constructs a [MyApp]
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp.router(
      routerConfig: _router,
    );
  }
}

/// The home screen
class HomeScreen extends StatelessWidget {
  /// Constructs a [HomeScreen]
  const HomeScreen({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const Text('Home Screen')),
      body: Center(
        child: ElevatedButton(
          onPressed: () => context.go('/product/0'),
          child: const Text('Go to the Details screen'),
        ),
      ),
    );
  }
}

class ProductScreen extends StatelessWidget {
  const ProductScreen({
    required this.id,
    super.key,
  });

  final String id;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const Text('Details Screen')),
      body: Center(
        child: ElevatedButton(
          onPressed: () => context.go('/product/${DateTime.now().millisecondsSinceEpoch}'),
          child: Text('See similar product of $id'),
        ),
      ),
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration

Logs
Logs
======== Exception caught by widgets library =======================================================
The following StackOverflowError was thrown building MyApp(dirty):
Stack Overflow

The relevant error-causing widget was:
  MyApp MyApp:file:///Users/earminjon/Documents/projects/untitled/lib/main.dart:4:29
When the exception was thrown, this was the stack:
#0      new ProductRoute (package:untitled/main.dart:7:3)
#1      new ProductRoute (package:untitled/main.dart:16:13)
#2      new ProductRoute (package:untitled/main.dart:16:13)
#3      new ProductRoute (package:untitled/main.dart:16:13)
#4      new ProductRoute (package:untitled/main.dart:16:13)
#5      new ProductRoute (package:untitled/main.dart:16:13)
#6      new ProductRoute (package:untitled/main.dart:16:13)
#7      new ProductRoute (package:untitled/main.dart:16:13)
#8      new ProductRoute (package:untitled/main.dart:16:13)
#9      new ProductRoute (package:untitled/main.dart:16:13)
#10     new ProductRoute (package:untitled/main.dart:16:13)
#11     new ProductRoute (package:untitled/main.dart:16:13)
#12     new ProductRoute (package:untitled/main.dart:16:13)
#13     new ProductRoute (package:untitled/main.dart:16:13)
#14     new ProductRoute (package:untitled/main.dart:16:13)
#15     new ProductRoute (package:untitled/main.dart:16:13)
#16     new ProductRoute (package:untitled/main.dart:16:13)
#17     new ProductRoute (package:untitled/main.dart:16:13)
#18     new ProductRoute (package:untitled/main.dart:16:13)
#19     new ProductRoute (package:untitled/main.dart:16:13)
#20     new ProductRoute (package:untitled/main.dart:16:13)
#21     new ProductRoute (package:untitled/main.dart:16:13)
#22     new ProductRoute (package:untitled/main.dart:16:13)
#23     new ProductRoute (package:untitled/main.dart:16:13)
#24     new ProductRoute (package:untitled/main.dart:16:13)
#25     new ProductRoute (package:untitled/main.dart:16:13)
#26     new ProductRoute (package:untitled/main.dart:16:13)
#27     new ProductRoute (package:untitled/main.dart:16:13)
#28     new ProductRoute (package:untitled/main.dart:16:13)
#29     new ProductRoute (package:untitled/main.dart:16:13)
#30     new ProductRoute (package:untitled/main.dart:16:13)
#31     new ProductRoute (package:untitled/main.dart:16:13)
#32     new ProductRoute (package:untitled/main.dart:16:13)
#33     new ProductRoute (package:untitled/main.dart:16:13)
#34     new ProductRoute (package:untitled/main.dart:16:13)
#35     new ProductRoute (package:untitled/main.dart:16:13)
#36     new ProductRoute (package:untitled/main.dart:16:13)
#37     new ProductRoute (package:untitled/main.dart:16:13)
#38     new ProductRoute (package:untitled/main.dart:16:13)
#39     new ProductRoute (package:untitled/main.dart:16:13)
#40     new ProductRoute (package:untitled/main.dart:16:13)
#41     new ProductRoute (package:untitled/main.dart:16:13)
#42     new ProductRoute (package:untitled/main.dart:16:13)
#43     new ProductRoute (package:untitled/main.dart:16:13)
...
...
#20592  new ProductRoute (package:untitled/main.dart:16:13)
#20593  new ProductRoute (package:untitled/main.dart:16:13)
#20594  new ProductRoute (package:untitled/main.dart:16:13)
#20595  new ProductRoute (package:untitled/main.dart:16:13)
#20596  new ProductRoute (package:untitled/main.dart:16:13)
#20597  new ProductRoute (package:untitled/main.dart:16:13)
#20598  new ProductRoute (package:untitled/main.dart:16:13)
#20599  new ProductRoute (package:untitled/main.dart:16:13)
#20600  new ProductRoute (package:untitled/main.dart:16:13)
#20601  new ProductRoute (package:untitled/main.dart:16:13)
#20602  new ProductRoute (package:untitled/main.dart:16:13)
#20603  new ProductRoute (package:untitled/main.dart:16:13)
#20604  new ProductRoute (package:untitled/main.dart:16:13)
#20605  new ProductRoute (package:untitled/main.dart:16:13)
#20606  new ProductRoute (package:untitled/main.dart:16:13)
#20607  new ProductRoute (package:untitled/main.dart:16:13)
#20608  new ProductRoute (package:untitled/main.dart:16:13)
#20609  new ProductRoute (package:untitled/main.dart:16:13)
#20610  new ProductRoute (package:untitled/main.dart:16:13)
#20611  new ProductRoute (package:untitled/main.dart:16:13)
#20612  new ProductRoute (package:untitled/main.dart:16:13)
#20613  new ProductRoute (package:untitled/main.dart:16:13)
#20614  new ProductRoute (package:untitled/main.dart:16:13)
#20615  _router (package:untitled/main.dart:37:9)
#20616  _router (package:untitled/main.dart)
#20617  MyApp.build (package:untitled/main.dart:51:21)
#20618  StatelessElement.build (package:flutter/src/widgets/framework.dart:5687:49)
#20619  ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5617:15)
#20620  Element.rebuild (package:flutter/src/widgets/framework.dart:5333:7)
#20621  BuildScope._tryRebuild (package:flutter/src/widgets/framework.dart:2693:15)
#20622  BuildScope._flushDirtyElements (package:flutter/src/widgets/framework.dart:2752:11)
#20623  BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:3048:18)
#20624  WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:1162:21)
#20625  RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:468:5)
#20626  SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1397:15)
#20627  SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1318:9)
#20628  SchedulerBinding.scheduleWarmUpFrame.<anonymous closure> (package:flutter/src/scheduler/binding.dart:1040:9)
#20629  PlatformDispatcher.scheduleWarmUpFrame.<anonymous closure> (dart:ui/platform_dispatcher.dart:837:16)
#20633  _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:184:12)
(elided 3 frames from class _Timer and dart:async-patch)
====================================================================================================
Reloaded 0 libraries in 128ms (compile: 7 ms, reload: 0 ms, reassemble: 73 ms).
D/EGL_emulation( 4080): app_time_stats: avg=2565.73ms min=2565.73ms max=2565.73ms count=1

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.24.3, on macOS 15.0.1 24A348 darwin-arm64, locale fr-FR)
    • Flutter version 3.24.3 on channel stable at /Users/earminjon/fvm/versions/3.24.3
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 2663184aa7 (3 months ago), 2024-09-11 16:27:48 -0500
    • Engine revision 36335019a8
    • Dart version 3.5.3
    • DevTools version 2.37.3

[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
    • Android SDK at /Users/earminjon/Library/Android/Sdk
    • Platform android-35, build-tools 35.0.0
    • ANDROID_HOME = /Users/earminjon/Library/Android/Sdk
    • Java binary at: /Users/earminjon/Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.11+0-17.0.11b1207.24-11852314)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 16.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 16A242d
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2024.1)
    • Android Studio at /Users/earminjon/Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.11+0-17.0.11b1207.24-11852314)

[✓] Android Studio (version 2023.2)
    • Android Studio at /Users/perso/Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)

[✓] IntelliJ IDEA Ultimate Edition (version 2024.2.3)
    • IntelliJ at /Users/earminjon/Applications/IntelliJ IDEA Ultimate.app
    • Flutter plugin version 83.0.3
    • Dart plugin version 242.24931

[✓] Connected device (4 available)
    • sdk gphone64 arm64 (mobile)     • emulator-5554         • android-arm64  • Android 15 (API 35) (emulator)
    • macOS (desktop)                 • macos                 • darwin-arm64   • macOS 15.0.1 24A348 darwin-arm64
    • Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin         • macOS 15.0.1 24A348 darwin-arm64
    • Chrome (web)                    • chrome                • web-javascript • Google Chrome 131.0.6778.140

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Hi @EArminjon, Stack Oveflow is expected, recursively nesting a route within itself leads to an infinite loop while constructing the route tree.
import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';

void main() => runApp(const MyApp());

class ProductRoute extends GoRoute {
  ProductRoute()
      : super(
          path: '/product/:id',
          builder: (BuildContext context, GoRouterState state) {
            return ProductScreen(
              id: state.pathParameters['id']!,
            );
          },
        );
}

class HomeRoute extends GoRoute {
  HomeRoute({
    super.routes,
  }) : super(
          path: '/',
          builder: (BuildContext context, GoRouterState state) {
            return const HomeScreen();
          },
        );
}

/// The route configuration.
final GoRouter _router = GoRouter(
  routes: <RouteBase>[
    HomeRoute(
      routes: <RouteBase>[
        ProductRoute(),
      ],
    ),
  ],
);

/// The main app.
class MyApp extends StatelessWidget {
  /// Constructs a [MyApp]
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp.router(
      routerConfig: _router,
    );
  }
}

/// The home screen
class HomeScreen extends StatelessWidget {
  /// Constructs a [HomeScreen]
  const HomeScreen({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const Text('Home Screen')),
      body: Center(
        child: ElevatedButton(
          onPressed: () => context.go('/product/0'),
          child: const Text('Go to the Details screen'),
        ),
      ),
    );
  }
}

class ProductScreen extends StatelessWidget {
  const ProductScreen({
    required this.id,
    super.key,
  });

  final String id;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const Text('Details Screen')),
      body: Center(
        child: ElevatedButton(
          onPressed: () =>
              context.go('/product/${DateTime.now().millisecondsSinceEpoch}'),
          child: Text('See similar product of $id'),
        ),
      ),
    );
  }
}

Go router should support it :/

I am not really sure if adding a circular route is feasible for your usecase.
Since this looks like a valid use case I am labelling this issue as a proposal and for further insights from the team
cc: @chunhtai


Doc: improved README examples of random/strided/tools namespace

Resolves #1610
Description

What is the purpose of this pull request?

This pull request:

Improves the README examples for the random/strided/tools namespace package

Provides a more comprehensive and informative example demonstrating various functionalities of the package

Enhances user understanding of how to use the namespace contents

Related Issues

Does this pull request have any related issues?
This pull request:

Resolves [RFC]: Improve README examples for random/strided/tools namespace package #1610

Questions

Any questions for reviewers of this pull request?

The updated example covers creating PRNG factories, filling different types of arrays, and demonstrating stride manipulation. Are there any other key functionalities that should be included?
Is the level of detail in the example appropriate, or should it be expanded/condensed?

Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

The example uses ES5 syntax as per project conventions
Additional packages from the stdlib ecosystem were used to create a more informative example

Checklist

Please ensure the following tasks are completed before submitting this pull request.

[x] Read, understood, and followed the contributing guidelines.
[x] Searched for existing issues and pull requests before creating this one.
[x] Updated the example code block in the "Examples" section of the README.
[x] Ensured the example follows existing project conventions (ES5 syntax).

Hi @Planeshifter,
Could you please review the code? I have raised a PR.

Won't be able to merge this as the function signatures are incorrect and the example code cannot be executed successfully. Please only open PRs for code you have actually tested.


CANNOT LINK EXECUTABLE "/data/app/avs/bin/SampleApp": cannot locate symbol "EVP_CIPHER_CTX_init" referenced by "/system/lib/libdrmmtkutil.so"

Briefly summarize your issue:
I am trying to build Alexa Device SDK for android. I am following this link. When i am executing startsample.sh , getting following error.
CANNOT LINK EXECUTABLE "/data/app/avs/bin/SampleApp": cannot locate symbol "EVP_CIPHER_CTX_init" referenced by "/system/lib/libdrmmtkutil.so"... Aborted (core dumped)
What is the expected behavior?
It should execute file.
What behavior are you observing?
While executing , i am getting above error.
Provide the steps to reproduce the issue, if applicable:
I am following this guide .
Tell us about your environment:
Ubuntu 16.04
Curl version - 7.47.0
Openssl - 1.0.2t
Tell us what hardware you're using:

[ ] Desktop / Laptop
[ ] Other - tell us more:
Android Api 27

Tell us about your OS (Type & version):

[ ] Linux (Ubuntu)
[ ] Other - tell us more:
Android Api 27

Hey @vaibhav2800 thanks for posting.
Can you confirm that you are running a recommended version of OpenSSL and that OpenSSL is visible on your path?

I am closing this issue due to inactivity. Please feel free to re-open it if it has been closed in error.


Multi language string resources can't be decoded in 1.7.0

Describe the bug
I added values-de to my composeResources
composeApp/src/commonMain/composeResources/values/strings.xml
composeApp/src/commonMain/composeResources/values-de/strings.xml
and load them with the stringResource method.
With version 1.6.11 all works fine.
With version 1.7.0-dev1703 the android app crashes when I change a value in values-de/strings.xml and change emulator language to German (-de).
Versions

Libraries:

Compose Multiplatform version:

compose-plugin = "1.7.0-dev1703"

Kotlin version:
2.0.0

To Reproduce
Steps to reproduce the behavior:

Create values-de/string.xml with app_name

<resources>     <string name="app_name" translatable="true">Deutsch Appname</string> </resources>

Switch Emulator language to German accordingly
Run this code snippet:@Composable
fun BugReproduction() {
 Text(text = stringResource(Res.string.app_name))
}

Launch App to German Emulator, trying to read german string resource
App crashes.

The stack trace looks like this:
java.lang.IllegalArgumentException: Invalid symbol '                                                                                '(12) at index 16 at kotlin.io.encoding.Base64.decodeImpl(Base64.kt:373)                                                                                at kotlin.io.encoding.Base64.decode(Base64.kt:156)                                                                                at kotlin.io.encoding.Base64.decode$default(Base64.kt:150)                                                                                at kotlin.io.encoding.Base64.decode(Base64.kt:218)                                                                                at kotlin.io.encoding.Base64.decode$default(Base64.kt:216)                                                                                at org.jetbrains.compose.resources.StringResourcesUtilsKt.decodeAsString(StringResourcesUtils.kt:47)                                                                                at org.jetbrains.compose.resources.StringResourcesUtilsKt.access$decodeAsString(StringResourcesUtils.kt:1)                                                                                at org.jetbrains.compose.resources.StringResourcesUtilsKt$getStringItem$2.invokeSuspend(StringResourcesUtils.kt:41)                                                                                at org.jetbrains.compose.resources.StringResourcesUtilsKt$getStringItem$2.invoke(Unknown Source:8)                                                                                at org.jetbrains.compose.resources.StringResourcesUtilsKt$getStringItem$2.invoke(Unknown Source:2)                                                                                at org.jetbrains.compose.resources.AsyncCache$getOrLoad$2$deferred$1$1.invokeSuspend(AsyncCache.kt:19)                                                                                at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)                                                                                at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)                                                                                at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:277)                                                                                at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:95)                                                                                at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:69)                                                                                at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1)                                                                                at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:48)                                                                                at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:1)                                                                                at org.jetbrains.compose.resources.ResourceState_blockingKt.rememberResourceState(ResourceState.blocking.kt:15)                                                                                at org.jetbrains.compose.resources.StringResourcesKt.stringResource(StringResources.kt:27)                                                                                at

I couldn't reproduce the problem. Could you sgare a reproducer project.

For some reason I am also no longer able to reproduce the problem today.
Next time I will share a reproducer project.
Thank you for the help.

I faced a similar issue in compose-plugin = 1.7.0-alpha01, and I resolved it by doing a clean build.

I faced a similar issue in compose-plugin = 1.7.0-alpha01, and I resolved it by doing a clean build.

kotlin = "2.0.0" compose = "1.7.0-alpha01" gradle = 8.8 AGP = 8.2.0
Ran into this issue as well.
It's normal to start editing the string, but then it will report an error, I thought it was caused by the values without the corresponding string, but the default string in the values still reported an error.

I need to clean build every time I edit the strings.xml resources.

Reproduced. The fix is in progress

OK. I found the problem. It happens due my workaround the AGP issue with assets:
https://issuetracker.google.com/348208777
if I remove this code:
if (androidComponents.pluginVersion >= agp_8_1_0) {
    // addGeneratedSourceDirectory doesn't mark the output directory as assets hence AS Compose Preview doesn't work
    tasks.configureEach { task ->
        if (task.name == kgpCopyAssetsTaskName) {
            task.outputs.files.forEach { file ->
                addStaticSourceDirectory(file.path)
            }
        }
    }
}

the problem will be fixed BUT AndroidStudio previews stop to work 😢

The reason of the issue on the AGP side: https://issuetracker.google.com/issues/348208777#comment5
I reproduced it without the compose

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


Fix Model.associate not being called for sequelize

Related: https://github.com/reactGo/reactGo/issues/825

@choonkending this fixes https://github.com/reactGo/reactGo/issues/825.

@joonhocho Thanks for this! Will review when I get the chance to get it merged!

Tested and working. The reason why that bit of code wasn't working was because I was iterating through a list of keys (not an array of models)! Good find.


Remove the legacy template syntax and compiler

Angular hasn't officially supported the older bind-x syntax as part of documentation or examples for a long time, but the codebase still is running checks for the legacy templates.
I think now is the time to kill it and clean up the code.

Fixed via 16c0cf10bd211a22c157071892fd3f19c5697fa2!


BYODNS Setup

References:

https://git.corp.adobe.com/experience-platform/franklin-delivery-cdn/issues/124

https://www.aem.live/docs/byo-dns

[ ] https://www.sunstar-foundation.org BYODNS setup along with its root domain mapping - Issue raised: https://git.corp.adobe.com/experience-platform/franklin-delivery-cdn/issues/142

[ ] Along with its root domain mapping

@meejain Can you please also include me to this issue

FQDN -
https://www.sunstar-foundation.org/
Franklin Origin - https://main--sunstar-foundation--hlxsites.hlx.live/
Plus we need to make sure to make the root domain (without www) also working - https://sunstar-foundation.org/
Will confirm the Go Live date shortly which should be very much the last week of Feb'23.

As per https://git.corp.adobe.com/experience-platform/franklin-delivery-cdn/issues/142

Now we have got both CNAME entries for www & root domains . Now at the time of DNS switch since we need https://sunstar-foundation.org/ to redirect to https://www.sunstar-foundation.org/ . Customer need to follow the steps -  A records to these four IP addresses: <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, and <IP_ADDRESS>

Closing since the site is already live..


Update BUILD.bazel

Allow this swift_library target to find XCTest

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


Add support for authorization token, now it's possible to get token f…

…rom request and put in the request header to get an image of authorization required

Does this really need to be per-request for your use case?  What if it were configured as a command line flag to imageproxy?  Something like:
imageproxy -passRequestHeader X-AUTH-TOKEN

which would then pass along the X-AUTH-TOKEN header for all requests that have a value for that.  That would then be a bit more of a general solution that could be used for things other than auth.

Yes, you are right it will also work for me.
I worked with go the first time, I think I can't do it how you are
suggested.
Thanks
On Fri, 5 Nov 2021 at 03:55, Will Norris @.***> wrote:

Does this really need to be per-request for your use case? What if it were
configured as a command line flag to imageproxy? Something like:
imageproxy -passRequestHeader X-AUTH-TOKEN
which would then pass along the X-AUTH-TOKEN header for all requests that
have a value for that. That would then be a bit more of a general solution
that could be used for things other than auth.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/willnorris/imageproxy/pull/321#issuecomment-961521409,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB55B4I2B7FAZLXN7TSXZUDUKMTRTANCNFSM5HL5GYQQ
.
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.

I made a few small changes like supporting multiple headers, and merged this as d94e561.  Thanks for the contribution!

Cool, thank you.


Improve README

We get folks coming by UAA channels to ask about the functionality you're building somewhat regularly. It would be helpful if there was a README here with more explanation about the purpose and future of the project for when we try to redirect them.

Thanks for opening this issue!
I've added a little more information to the README.


improve bad-regions and tombstone subcommands for tikv-ctl

What have you changed? (mandatory)

[x] bad-regions covers more cases now
[x] tombstone has a new option "force" to skip configuration changes

rest LGTM


Screen reader detected -> help user to turn tab to move focus

Currently we automatically detect that a screen reader is detected, however we could at that moment also automatically swithc tab to move focus.
If you think that is too aggressive we could at least do a message via message service
"We have detected you are using a screen reader, would you like to use tab to move focus"

@isidorn
IMHO I don't think that makes sense.
Folks using a screen reader still want to edit source code and potentially want to insert the tab character in editors. I am not convinced that switching the defaults for them would help.


Removed externalIP and dns if dsl is not used

I removed the externalIP and dns properties in the network output when not using DSL.
Otherwise I got a metric parse error because the properties were empty.

Have you set the parameter is dsl from true to false?

correct, i set the value to false. I am using the fritzbox 7590 with the wan port behind my provider router.

As far as I know now, this is not a connection type issue. I am using a (static) internal IP on the WAN port. So there is no external IP to output. I have added a new variable to handle this.


EOL BankerJoe DAI

hm, why would they turn it off

hm, why would they turn it off

New market coming today, presumably they don't want too many concurrent markets


Want to migrate on dnx to cli with entity framework core #10196

Hi Rafael/Arthur ,
Thanks for updating my previous issue #10196 !!
I am facing issue so reopen it again and I have taken  reference below url
https://github.com/dotnet/cli/blob/master/Documentation/ProjectJsonToCSProj.md
and found below issue with migrate command
Error :
PS C:\yoyo-center-management-system-master\CenterManagementSystem\DEV\src\CenterManagementSystem.Platform> dotnet migrate
No executable found matching command "dotnet-migrate"
I have created separate console application with the use of below cli command
dotnet new
dotnet restore
dotnet build
dotnet run
All command working fine but unable to proceed further like What is my next step ?
I am sharing you my powershall command and status as below
PS C:\test3\myApp> dotnet build
Microsoft (R) Build Engine version 15.3.409.57025 for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.
myApp -> C:\test3\myApp\bin\Debug\netcoreapp2.0\myApp.dll
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:01.02
PS C:\test3\myApp> dotnet run
Hello World!
PS C:\test3\myApp> dotnet migrate
No project.json file found in 'C:\test3\myApp'.
Migration failed.
PS C:\test3\myApp>
Please suggest me for same ?

Hello @Ankurjasoria, the information for this link migration is more up-to-date.
My suggestion is to create a new project and copy the files to your solution.
And make all the adjustments to the files.
Today we are in another scenario, so you better create a new project and make portability

Duplicate of #10196


Use IRQ instead of polling the status register

(This PR now contains the final impl of IRQs)
This is now the last part. It plugs the hole in the new event loop with IRQs.
First, we add some more methods to new Bus trait to wait for events. Removing the HAL traits was a good idea here, I deleted a bunch of additional code at this point. The clear events method is unfortunate but the PIO requires that we reset its IRQ flags.
Waiting for IRQs is relatively straight forward. After the write-read cycle, we wait for the IRQ pin (PIN_24, same as MISO/MOSI) to be high and then let the PIO interrupt the CPU. Of couse this requires that we make the necessary confinguration to enable F2 interrupts and cofigure interrupts to be high.
In our event loop, after an interrupt, we check the interrupt register and status register and then handle the event.
We check the status register in a loop, until there are no more events, then we wait for the next event.
Additionally, we check the status register after doing ioctls or sending packets, in case any events happend while we were busy dealing with that.

This PR should be ready now. (once i fix the logging again)

BTW, do you know what the "bus sleep" in the C drivers is for? I tried to get irqs working a while ago and failed (was seeing random gpio levels in the irq, gave up), and I was suspecting that bus sleep is required for irqs (like, maybe to get the CYW43 to stop driving MISO so you can actually read the IRQ line) but you got it working without bus sleep! So perhaps it's not required for irqs, just to lower power consumption...?

Sadly no. I haven't looked at any power management features. Most of the IRQ stuff I did is trial and error. As you said, it does not seem to be required to put the bus into any sort of mode. The few pages in the data sheet that deal with the SPI bus also don't mention this.
One difference to the C SDK is that they don't seem to be using the Pio to do the IRQ. I didn't really see any other choice in embassy because I had to give ownership of the pin to the  Pio.
In embassy, I also had problems when trying to use the pin for normal Gpio before transferring ownership to the Pio. This is why holding the IO pin low for wake-up is also done by the Pio.

As you said, it does not seem to be required to put the bus into any sort of mode. The few pages in the data sheet that deal with the SPI bus also don't mention this.

Aw. Guess we'll find out when someone decides to optimize power consumption :) And yes, the "datasheet" for this chip is a bad joke.

In embassy, I also had problems when trying to use the pin for normal Gpio before transferring ownership to the Pio. This is why holding the IO pin low for wake-up is also done by the Pio.

Yes, the way you'd do this is to create the Input  with borrowed (&mut) pin singleton, .wait_for_low(), drop the Input which clears the borrow, create the PIO with &mut too, use it, drop it, repeat. I don't think the current PIO API plays nice with this though (?) so doing it all with PIO sounds good to me, we can always revisit later.

Thank you! :)


Flush on reset

Instant term update on reset.

r? @alexcrichton
(rust_highfive has picked a reviewer for you, use r? to override)

It seems like this may want to continue to be punted up to the upper layer to determine whether the flush should happen or not? It's possible that other commands could still be in the pipeline and the flush shouldn't happen until later.

The other commands 'set attributes' to write explicit afterwards. Reset is like a cleanup to me and should not need another write or flush to get adapted.
Perhabs it should be documented if its flush or not?

Reset can act like a bit of a cleanup but it could also mean "go back to a clean slate so more formatting can later be done", so in that sense I think it'd be fine to just document that this doesn't flush


assert only one dom element is returned from render() per component

when starting with React, i got hit with the issue where i would return multiple elements per component. would be nice if this error shows up at the lint stage as well.
not totally necessary since react would error anyways.

Simple errors like this can be handled pretty easily:
var Hello = React.createClass({
  render: function() {
    return [<App />,<App />]; // Error: A valid ReactComponent must be returned
  }
});

But errors like this are much more difficult to catch:
var Hello = React.createClass({
  render: function() {
    var app = [<App />,<App />];
    return app; // ???
  }
});

Like #40, I am ok for the the rule but I am not sure how to do this and I need to investigate.


Query on CoE Kit

Hello ,
Referring :https://docs.microsoft.com/en-us/power-platform/guidance/coe/core-components
Flow :
Admin | Capacity Alerts   ---- Scheduled | Daily
This flow checks actual capacity consumption and compares it with approved capacity, that an admin sets. The flow will send an alert to the admin for environments that exceed the approved capacity, or are at 80% of approved capacity.
Does this flow takes care of all types environments .
I am talking about Dataverse Database ,file and log capacity .

We have moved to a new dedicated repository for the CoE Starter Kit, and issues here will no longer receive attention. Please raise your issues here from now on:
https://github.com/microsoft/coe-starter-kit/issues
For this issue, I'm transferring it to our new repo but you will have to go to https://github.com/microsoft/coe-starter-kit/issues to see updates.


RuntimeException: Missing type parameter

About this discussion
Deobufucated:
app.lawnchair.lawnicons E    FATAL EXCEPTION: DefaultDispatcher-worker-1
Process: app.lawnchair.lawnicons, PID: 5577
java.lang.RuntimeException: Missing type parameter.
    at com.google.gson.reflect.TypeToken.com.google.gson.reflect.TypeToken.getSuperclassTypeParameter(SourceFile:3) <init>
    at app.lawnchair.lawnicons.repository.OssLibraryRepository$ossLibraries$1$listType$1.<init>(Unknown Source:0)
    at app.lawnchair.lawnicons.repository.OssLibraryRepository$ossLibraries$1.invokeSuspend(Unknown Source:109)
    at app.lawnchair.lawnicons.repository.OssLibraryRepository$ossLibraries$1.app.lawnchair.lawnicons.repository.OssLibraryRepository$ossLibraries$1.invoke(Unknown Source:12)
    at kotlinx.coroutines.flow.SafeFlow.collectSafely(Unknown Source:2)
    at kotlinx.coroutines.flow.AbstractFlow.collect(Unknown Source:67)
    at kotlinx.coroutines.flow.FlowKt__ShareKt$launchSharing$1.k(Unknown Source:94)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:8)
    at kotlinx.coroutines.DispatchedTask.run(Unknown Source:111)
    at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(Unknown Source:3)
    at kotlinx.coroutines.scheduling.TaskImpl.run(Unknown Source:2)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(Unknown Source:62)

Something related to Gson in #1288, will happen after enabling R8 fullMode.

2023-08-17 09:37:32.721 20924-20924 ContributorsViewModel   app.lawnchair.lawnicons              E  Failed to load contributors (Ask Studio Bot)
java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.reflect.ParameterizedType
    at N2.z.c(Unknown Source:44)
    at N2.j0.c(Unknown Source:24)
    at N2.h0.invoke(Unknown Source:35)
    at java.lang.reflect.Proxy.invoke(Proxy.java:1006)
    at $Proxy6.a(Unknown Source)
    at b1.b.a(Unknown Source:54)
    at app.lawnchair.lawnicons.viewmodel.b.l(Unknown Source:36)
    at S1.a.z(Unknown Source:8)
    at o2.a.p(Unknown Source:141)
    at B.a.k2(Unknown Source:11)
    at j2.a.r0(Unknown Source:77)
    at j2.B.C(Unknown Source:24)
    at j2.B.D(Unknown Source:11)
    at app.lawnchair.lawnicons.viewmodel.ContributorsViewModel.<init>(Unknown Source:78)
    at Y0.j.get(Unknown Source:45)
    at H1.f.e(Unknown Source:41)
    at androidx.lifecycle.a.b(Unknown Source:25)
    at H1.i.b(Unknown Source:14)
    at Z.E.c(Unknown Source:62)
    at Z.E.b(Unknown Source:12)
    at B.a.g1(Unknown Source:42)
    at B.a.E2(Unknown Source:23)
    at h1.j.f(Unknown Source:46)
    at c1.j.a(Unknown Source:145)
    at c1.j.h0(Unknown Source:79)
    at M.f.b(Unknown Source:50)
    at M.f.h0(Unknown Source:8)
    at androidx.navigation.compose.m.a(Unknown Source:86)
    at androidx.navigation.compose.m.r0(Unknown Source:28)
    at M.f.r0(Unknown Source:58)
    at F.L.a(Unknown Source:29)
    at N.o.d(Unknown Source:118)
    at androidx.navigation.compose.q.f(Unknown Source:58)
    at androidx.navigation.compose.t.a(Unknown Source:55)
    at androidx.navigation.compose.t.r0(Unknown Source:28)
    at M.f.r0(Unknown Source:58)
    at F.L.a(Unknown Source:29)
    at androidx.navigation.compose.q.b(Unknown Source:47)
    at androidx.navigation.compose.B.h0(Unknown Source:101)
    at M.f.b(Unknown Source:50)
    at M.f.h0(Unknown Source:8)
    at m.j.n0(Unknown Source:125)
    at M.f.a(Unknown Source:50)
    at M.f.n0(Unknown Source:8)
    at m.n.b(Unknown Source:570)
    at m.n.c(Unknown Source:339)
    at m.k.a(Unknown Source:270)
    at m.k.r0(Unknown Source:16)
    at M.f.r0(Unknown Source:58)
    at m.n.a(Unknown Source:879)
    at androidx.navigation.compose.q.c(Unknown Source:548)
    at androidx.navigation.compose.C.a(Unknown Source:80)
    at androidx.navigation.compose.C.r0(Unknown Source:28)
    at F.U0.g(Unknown Source:14)
    at F.J.s0(Unknown Source:188)
    at F.J.I(Unknown Source:219)
    at F.J.q0(Unknown Source:32)
    at F.Q.B(Unknown Source:18)
    at F.d1.F(Unknown Source:84)
    at F.b1.C0(Unknown Source:403)
    at androidx.compose.ui.platform.e0.doFrame(Unknown Source:6)
    at androidx.compose.ui.platform.d0.X(Unknown Source:33)
    at androidx.compose.ui.platform.c0.doFrame(Unknown Source:12)
    at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1229)
    at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1239)
    at android.view.Choreographer.doCallbacks(Choreographer.java:899)
    at android.view.Choreographer.doFrame(Choreographer.java:827)
    at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1214)
    at android.os.Handler.handleCallback(Handler.java:984)
    at android.os.Handler.dispatchMessage(Handler.java:104)
    at android.os.Looper.loopOnce(Looper.java:238)
    at android.os.Looper.loop(Looper.java:357)
    at android.app.ActivityThread.main(ActivityThread.java:8118)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:957)


Remove whitespace and incorrect characters from log files

   �time="2015-07-29T11:53:08.370143112Z" level=info msg="endpoint local-8082 disabled, skipping" environment=development instance.id=b55d1514-01b5-47bf-bf03-b57a2adf4811 service=registry version=v2.0.1
      �time="2015-07-29T11:53:08.370217383Z" level=info msg="endpoint local-8083 disabled, skipping" environment=development instance.id=b55d1514-01b5-47bf-bf03-b57a2adf4811 service=registry version=v2.0.1

There is whitespace and also color codes from the https://github.com/ContainerSolutions/dind image logging.

Since processes are in separate containers we can use docker logs so this is no longer relevant


Merge remote-tracking branch 'upstream/stable' into merge_stable

Btw did you already think about how we could preview the changelog for 2.076 before a new release?
Not a major issue, but I guess the solution would be as easy as using a different file than changelog/2.075.0_pre.dd either on your side or on the @CyberShadow's DAutoTest side.

See https://dlang.slack.com/archives/C59UPP30D/p1499683698318570 for discussions of changelog preview during beta.

Doesn't seem very pressing though a bit annoying.


Cool project :)

Hi, was looking around for exactly this and I'm surprised that there's no information about this on the web.
I was wondering if you've faced any problems using this approach for nested routes and re sharing of Layout? :)

Hi,
I didn't have any problems with it.
I remember several discussions about this approach on the old Next.js Spectrum community, many people started doing the same thing :)


Just for testing multi_spawn_server_spec's behavior on CI

This is just for testing CI behavior.
Not intended to merge.

Unit testing with Ruby 3.1 on windows-latest
keepalive_workers with only restart_worker_interval
 send stop at: 2022-06-10 08:02:17.8417574 +0000
I, [2022-06-10T08:02:18.369913 #3224]  INFO -- : Worker 0 finished with
Worker 0 will restart at: 2022-06-10 08:02:28.3749581 +0000
I, [2022-06-10T08:02:18.324392 #3224]  INFO -- : Worker 0 finished with status 0
I, [2022-06-10T08:02:18.874603 #3224]  INFO -- : Worker 1 finished with status 0
I, [2022-06-10T08:02:18.874833 #3224]  INFO -- : Worker 2 finished with status 0
All workers stopped at: 2022-06-10 08:02:18.8750225 +0000
Worker 1 will restart at: 2022-06-10 08:02:35.8751275 +0000
Worker 2 will restart at: 2022-06-10 08:02:35.8751275 +0000
Waiting for all workers to restart: 2022-06-10 08:02:31<PHONE_NUMBER>3580800741/21990232555520000000 +0000
Worker 0 started at: 2022-06-10 08:02:32<PHONE_NUMBER>681779429/21990232555520000000 +0000
Worker 1 started at: 2022-06-10 08:02:35<PHONE_NUMBER>0844087013/21990232555520000000 +0000
Worker 2 started at: 2022-06-10 08:02:35<PHONE_NUMBER>423035233/4398046511104000000 +0000

The following part is strange. This latency causes unexpected timeout errors.
All workers stopped at: 2022-06-10 08:02:18.8750225 +0000
Worker 1 will restart at: 2022-06-10 08:02:35.8751275 +0000
Worker 2 will restart at: 2022-06-10 08:02:35.8751275 +0000

I understand the cause.
https://github.com/treasure-data/serverengine/blob/bf88f9af9d5612c3ddb9f3a8786fda575964a46b/spec/multi_spawn_server_spec.rb#L97-L105
We need sleep-time between this.
If Timecop.freeze(Time.now + restart_worker_interval - mergin_time) runs before setting restat-time to all workers,
the restart-time will increase by restart_worker_interval - mergin_time seconds, which is 7s.

We also need sleep-time between this: https://github.com/treasure-data/serverengine/blob/bf88f9af9d5612c3ddb9f3a8786fda575964a46b/spec/multi_spawn_server_spec.rb#L60-L69
because the judge is done before stopping workers.

I confirmed the cause and the suitable fix, so I close this now.


Cannot Connect to Unifi

My UDM on my local network does not have an https address and I'm not sure what the port is. I've tried the default 443 and also 8443 and I'm not sure what to check on the SSL certificate checkbox.

You must enter the port via which the UDM can be reached.
Leave the SSL checkbox deactivated.

I never enter a port number just the local IP address when using the UDM Web GUI so I don't know what it is. I tried 80 to no avail also.

Oops.. Missed this in the README
Local User Only. Set up new user and got to the next page.


Better logging for MSQ worker task

Adding more logs statements to the worker implementation which makes it easier to debug.

Key changed/added classes in this PR

WorkerImpl
WorkerStageKernel

This PR has:

[x] been self-reviewed.
[ ] been tested in a test Druid cluster.

@paul-rogers This PR is waiting on review/approval on you. Let me know if there are more things that are needed to be addressed.


Bump to 6.1.0

Upgrade synopsys-detect to version to 6.1.0

@JeroenKnoops can you please review


Carboard Camera converter does not recognise image created in cardboard camera app

I have tried to convert the example 'coral' image and a panoramic image I took on the cardboard camera app on the cardboard camera converter site and everytime it gives me the error

Please attach the image you're trying to convert.
On Thu, Aug 11, 2016 at 7:45 AM 03difoha<EMAIL_ADDRESS>wrote:

I have tried to convert the example 'coral' image and a panoramic image I
took on the cardboard camera app on the cardboard camera converter site and
everytime it gives me the error
[image: image]
https://cloud.githubusercontent.com/assets/8876615/17592543/9ee73f0e-5fda-11e6-900b-34a658626f55.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/google/vrview/issues/39, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAQ8gPfFF4ODShC7p_HGQ8bc4481HfG7ks5qezWLgaJpZM4JiMks
.

Can't reproduce. Mine converted without a hitch.


llvmPackages_git.compiler-rt: fix darwin patch

Description of changes
Makes a patch relative to the compiler-rt directory, fixes a Hydra build error.
CC @willcohen @mweinelt

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

Result of nixpkgs-review pr 329796 run on x86_64-linux 1

1 package failed to build:

tests.cc-wrapper.supported

2 packages built:

tests.cc-wrapper.llvmTests.llvmPackages_git.clang
tests.cc-wrapper.llvmTests.llvmPackages_git.libcxx

This is lovely. Thank you all.


[Features] Add helper section in manifest to register dlls, services, or add registry keys

Like env_set and env_add_path, scoop should handle dll register (e.g. https://github.com/lukesampson/scoop-extras/pull/2070), service register/start/stop/etc. (e.g., or add/delete/modify registry keys (HKLM or HKCU).

[ ] Modify schema.json
[ ] DLL register (https://github.com/lukesampson/scoop-extras/pull/2070)

Using regsvr32, need sudo in manifest's script section
Need to unregister before uninstallation

[ ] Service register (https://github.com/lukesampson/scoop/issues/1526, https://github.com/lukesampson/scoop/pull/1549)

Using WinSW or NSSM
Best to define all required params in manifest
Start/Stop/Restart/Start_Type(Manual/Auto/Auto_Delay)

[ ] Registry (https://github.com/lukesampson/scoop/issues/2651, https://github.com/lukesampson/scoop/issues/3176)

[ ] Register file type (HKCR, HKCU\SOFTWRE\Classes)
[ ] App related info (HKLM for system, HKCU for users) (e.g. inno-script-studio)

The vision is simplifying app installation, so it should only accomplish simple tasks in these implementations, complex tasks should be done by external files (like vscode's right menu reg file).

See this for adding registry #3944
For local apps: HKEY_CURRENT_USER can be modified without sudo
For Global apps: Target HKEY_ROOT and others.
For the manifest itself: "registry" : registry_files_array or registry_file should be sufficient.
Sample registry File:
`Windows Registry Editor Version 5.00
[$HKEY\Software\Classes*\shell\Open with &Code]
@="Open with &Code"
"Icon"="$code"
[$HKEY\Software\Classes*\shell\Open with &Code\command]
@=""$code" "%1""
$HKEY\Software\Classes\Directory\shell\Open with &Code]
@="Open with &Code"
"Icon"="$code"
[$HKEY\Software\Classes\Directory\shell\Open with &Code\command]
@=""$code" "%1""
[$HKEY\Software\Classes\Directory\Background\shell\Open with &Code]
@="Open with &Code"
"Icon"="$code"
[$HKEY\Software\Classes\Directory\Background\shell\Open with &Code\command]
@=""$code" "%V""`
where $HKEY can be replaced from another script and the respective HIVE location can be placed there for local and global installs. and other variables can be replaced in pre-install script.
Install: reg.exe import file.reg
Uninstall: reg.exe import file.reg


Link to Wiki and Website broken

The link is broken: https://hetzner.ljchuello.com/

The link is broken: https://hetzner.ljchuello.com/

You can now access hetzner.ljchuello.com


React Native Discord

Here is the link to the React Native Discord.
https://discord.gg/NxUGuvKB
Let's schedule a community wide meeting to get to know each other as developers.
Let's also learn about how we have created some cool things with React Native Health.
I also would like to have a discussion on the direction that we can take React Native Health with the recent updates to
Apple Healthkit.

Hey, thanks for creating this issue!
Since the invite above is expired, we created a new discord server to let the community know each other. 🎉
Please, join our discord server with the following link: https://discord.gg/d24g5XDePr


Add information on where to get tested

[ ] List of hospitals (state wise)
[ ] Any relevent details on the procedure

Source: https://icmr.nic.in/content/covid-19
List of testing sites, state-wise (52) : https://icmr.nic.in/sites/default/files/upload_documents/Testing_sites_for_COVID19.pdf
List of sample collection labs, state-wise (57) :
https://icmr.nic.in/sites/default/files/upload_documents/Sample_Collection_Lab_COVID19.pdf

Fixed by #19


Fix broken setup_with_port

Description of changes:
Previous setup_with_port actually fail to launch dynamodb-local.
This PR fixes broken setup_with_port.
The main fix points are:

docker ps was not able to filter intended container when old version docker is used. See this PR.
Variable docker was reused resulted in failure of docker run.
We had to execute cargo test twice to pass tests.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Thank you for your feedback. I fixed the pointed out part.

I rebased and squash commits to resolve conflict.

Double invocation of check_dynamodb_local_running is an intended implementation for performance reasons. I performed performance comparison like following.
current the means following code.
    // Check the current process at first to allow multiple threads to run tests concurrently
    if check_dynamodb_local_running(port as u16).await {
        return Ok(Command::cargo_bin("dy")?);
    };

comment out means  the following code.
    // Check the current process at first to allow multiple threads to run tests concurrently
    // if check_dynamodb_local_running(port as u16).await {
    //     return Ok(Command::cargo_bin("dy")?);
    // };

Performance comparison
Performance comparison on Mac
current
1st
test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.48s
cargo test  1.83s user 1.34s system 179% cpu 1.764 total

2nd
test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.46s
cargo test  1.77s user 1.29s system 173% cpu 1.759 total

3rd
test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.45s
cargo test  1.76s user 1.01s system 172% cpu 1.605 total

comment out
1st
test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.37s
cargo test  1.74s user 0.87s system 73% cpu 3.540 total

2nd
test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.38s
cargo test  1.74s user 0.85s system 73% cpu 3.547 total

3rd
test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.60s
cargo test  1.75s user 0.85s system 69% cpu 3.762 total

Average finished time (current): 1.463s
Average finished time (comment out): 3.450s
Average total time (current): 1.709s
Average total time (comment out): 3.616s
Performance comparison on Windows
Added later

I rebased again to resolve the conflict.

LGTM. Thanks!


Unit test

Unit test working. and added a few tests.

Test den: https://okologiskegrunnkart.test.artsdatabanken.no/pr/421


feat(monitor): update<EMAIL_ADDRESS>to support percentile aggregator

What this PR does / why we need it:
Related issue: https://github.com/yunionio/cloudpods/issues/20832

Does this PR need to be backport to the previous release branch?:

3.11.6
/cc @swordqiu @GuoLiBin6

/area monitor

/lgtm


Updating license/notice format

Updated the license/notice format to match the typical usage. The license now contains the full license text and the copyright year is in the notice.

Codecov Report

Merging #1731 into develop will decrease coverage by 0.01%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop    #1731      +/-   ##
===========================================
- Coverage    92.42%   92.41%   -0.02%
===========================================
  Files           53       53
  Lines         9875     9875
===========================================
- Hits          9127     9126       -1
- Misses         748      749       +1

Impacted Files
Coverage Δ

botocore/credentials.py
98.31% <0%> (-0.13%)
:arrow_down:

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 937d8ae...68d34f7. Read the comment docs.


Add user interface

Extend #16 CLI as  UI
### Tasks
- [x] new package for user interfaces outside of similarity package
- [x] basic UI just run the app by python runer "name of directory"
- [x] #25

Removed task

[x] move CLI to new package
depend on #28

This will be resolved in https://github.com/AbsaOSS/datasets-similarity/issues/16


Game vs video timing

From https://mods.factorio.com/mod/TLBE/discussion/6498a5ed070072bbaa7d044c

at the moment all timings are in units of game ticks, but it would be really useful to also display ingame vs video timestamps; something like "1 s video : 2 h game" but of course, in a more concise form

I like this idea, but I do not see the UI part of it. Change it permanently, or support by adding units after the values?


adding LocalAuthority as an option for a client-server model

This is a proposal for how to manage configuring a client with the static address of a server.  It builds, but I haven't tested it.  I want to make sure this is a sane approach before I go further.
I had to create a run() function so that I could statically dispatch based on the type of Authority.   I was unable to Box SyncControllerHandle without editing the noria code.

Ah, that's an interesting to this. I'm a little worried about constructing a LocalAuthority this way, since it's not intended to be used in this fashion. Its impl Authority assumes that everyone shares the same LocalAuthority instance. In this particular case, it doesn't matter too much, since the client doesn't actually use the Authority part for anything except "discovering" the leader, but it's definitely an abuse of the API that might bite us later. I wonder whether a better approach here would be to write a new type, DirectClientAuthority, which implements Authority but is constructed by giving a controller address, yields that address when asked, and apart from that returns panic!("DirectClientAuthority can only be used by Noria clients, not by workers").

@jonhoo - I agree that using LocalAuthority in this way is an abuse.  It was suggested in the ticket that there be a ConfigAuthority  which makes a bit of sense.. it would be a read-only authority.
What about breaking the Authority trait into two traits:

An "authority" (Readable) portion.
A "collaborator" portion.. involving the elections and consensus.

So the ZookeeperAuthority struct would actually implement both,  but the ConfigAuthority would only implement the read portion (being directly initialized with a Map of some sort )

Sure, that seems like a reasonable way to do it. Maybe Discover (for finding the controller) and Participate (for becoming a worker)?


[issue-8149] upgrade snakeyaml due to cve

Description
https://github.com/apache/pinot/issues/8149
Upgrade Notes
Does this PR prevent a zero down-time upgrade? (Assume upgrade order: Controller, Broker, Server, Minion)

[ ] Yes (Please label as backward-incompat, and complete the section below on Release Notes)

Does this PR fix a zero-downtime upgrade introduced earlier?

[ ] Yes (Please label this as backward-incompat, and complete the section below on Release Notes)

Does this PR otherwise need attention when creating release notes? Things to consider:

New configuration options
Deprecation of configurations
Signature changes to public methods/interfaces
New plugins added or old plugins removed

[ ] Yes (Please label this PR as release-notes and complete the section on Release Notes)

Release Notes

Documentation

Codecov Report

Merging #8150 (09a55d1) into master (8bbf93a) will decrease coverage by 57.20%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             master    #8150       +/-   ##
=============================================
- Coverage     71.39%   14.19%   -57.21%
+ Complexity     4303       81     -4222
=============================================
  Files          1624     1579       -45
  Lines         84198    82317     -1881
  Branches      12602    12398      -204
=============================================
- Hits          60116    11686    -48430
- Misses        19970    69766    +49796
+ Partials       4112      865     -3247

Flag
Coverage Δ

integration1
?

integration2
?

unittests1
?

unittests2
14.19% <ø> (+<0.01%)
:arrow_up:

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

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

Thanks for fixing this!


Kotlin compilation error in module spring-cloud-function-context after upgrading to Spring Cloud 2023.0.4

Description
After upgrading the spring cloud dependencies from 2023.0.3 to 2023.0.4 I started getting below compilation error in few projects of mine which use spring cloud stream.

[ERROR] Failed to execute goal org.jetbrains.kotlin:kotlin-maven-plugin:1.9.25:compile (compile) on project xxx: Compilation failure
[ERROR] /Users/xxx/.m2/repository/org/springframework/cloud/spring-cloud-function-context/4.1.4/spring-cloud-function-context-4.1.4.jar!/META-INF/spring-cloud-function-context.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 2.1.0, expected version is 1.9.0.

Given that the recommended kotlin version in spring boot 3.3.X is 1.9.25 and spring cloud 2023.0.4 is based on spring boot 3.2.12 and 3.3.6 I think it should not require kotlin 2.1.0 which was released just a few days ago (27.11.2024).
Version of the framework

Spring Boot 3.3.6
Spring Cloud: 2023.0.4
Kotlin: 1.9.25
Java: 17

Expected behavior
No compilation error

That is strange since we do not specify version of Kotlin anywhere in spring-cloud-functon and instead inherit it. I suspect something upstream (e.g., boot)?

It looks like I am not the only one having this issue - https://github.com/spring-cloud/spring-cloud-function/issues/1218

See my comment in that issue. It appears something has changed upstream and it's working with 2024.0.1-SNAPSHOT of cloud.

Versions were explicitly added - https://github.com/spring-cloud/spring-cloud-function/commit/0a43fc92d547055af8b07ce591ba9d60550bb377


performDataBinding() take too much time

Hi @amitshekhariitbhu...
First, i would like to say thanks for your awesome lib
i have problem in my project. when i start new activity performDataBinding() take to much time (sometimes more than 5-6 sec)
and new activity start so slow.
what is the cause of this problem?
& is there any way to fix this?
Thanks 👍

on which device you are running this sample app?

did you have any helpful suggestion?


translate jsx-loader.zh-CN.md，took 3hours10minutes

There are some unnecessary files together. Only one file is useful--jsx-loader.zh-CN.md

I'll translate the playground's files tomorrow.

Thanks looks great!
For the playground basically the [en] template is copied and then code comments are updated.
A good example is if you compare the Spanish [es] version to English [en]:
https://www.dataformsjs.com/es/playground

For the hello world demos/text should 你好，世界！ be used instead of the English "Hello World!"?
If it's common to use in Chinese programming guides then it should be changed but I don't know if it's more common for Chinese programming guides to use the English version.
Example page:
https://www.dataformsjs.com/examples/hello-world/zh-CN/react.htm
你好，世界！ is a verified translation on Google Translate
On the GoLang main page (at least when viewed in the US) they mix English and Chinese fmt.Println("Hello, 世界"):
https://golang.org/

No,all of the chinese programmer learn "hello,world " not "你好，世界". Because the first program we learned is "Hello, world". We are more accustomed to using "Hello world", not "你好,世界". I think "Hello, world" is universal in the world.It's the same when I was studying the program in Korea.After all, the program is all written in English~~
------------------ 原始邮件 ------------------
发件人: "Conrad<EMAIL_ADDRESS>发送时间: 2020年3月21日(星期六) 凌晨3:43
收件人<EMAIL_ADDRESS>抄送<EMAIL_ADDRESS><EMAIL_ADDRESS>主题: Re: [dataformsjs/dataformsjs] translate jsx-loader.zh-CN.md，took 3hours10minutes (#13)
For the hello world demos/text should 你好，世界！ be used instead of the English "Hello World!"?
If it's common to use in Chinese programming guides then it should be changed but I don't know if it's more common for Chinese programming guides to use the English version.
Example page:
https://www.dataformsjs.com/examples/hello-world/zh-CN/react.htm
你好，世界！ is a verified translation on Google Translate
On the GoLang main page (at least when viewed in the US) they mix English and Chinese fmt.Println("Hello, 世界"):
https://golang.org/
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Great, Thanks for the insight!

@lijunhuippl @eGirlAsm
FYI, I added your names with links back to your profile to give in the changelog to give you more credit for helping with translations
https://github.com/dataformsjs/dataformsjs/blob/master/CHANGELOG.md
Hope things are well and that you are staying safe!

Thanks!!!!!!!!!!!!!!!!!!!!
------------------ 原始邮件 ------------------
发件人: "Conrad<EMAIL_ADDRESS>发送时间: 2020年5月22日(星期五) 上午6:45
收件人<EMAIL_ADDRESS>抄送<EMAIL_ADDRESS><EMAIL_ADDRESS>主题: Re: [dataformsjs/dataformsjs] translate jsx-loader.zh-CN.md，took 3hours10minutes (#13)
@lijunhuippl @eGirlAsm
FYI, I added your names with links back to your profile to give in the changelog to give you more credit for helping with translations
https://github.com/dataformsjs/dataformsjs/blob/master/CHANGELOG.md
Hope things are well and that you are staying safe!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.