text:
Cleanup of jetty user and /app symlink

Fixes #85 by

removed the symlink that is created in the Dockerfile
updated docker-entrypoint.bash to look for content in app and only create the symlink if needed
removed the setuid module
add USER jetty to the Dockerfile

Thanks Greg! I just updated description to use issue auto-close keyword, and created a more descriptive title.

@meltsufin This is ready again for consideration.
Note that the openjdk image does an apt-get update, then installs some packages and then apt-get clean.  So I have followed that pattern here.    However I can see an argument to remove the clean from both images.
With the clean, every image has to update the apt repos before installing every module. This means they get a view of the repos at the time they are built rather than at the time the parent image was built.
However, it could be argued that when using a parent image, it would be best to install the packages that were available at the time the image was created.   If users want the latest/greatest, they are always free to update themselves.
Note that cleaning the cache does not reduce image size, as the files will still be added in one layer and removed in the next.  In fact an image that is extended several times in this way may have the apt cached added and deleted several times, so it may have several copies in the image file.

I just came across these docker best practices regarding apt-get, and they say that you don't actually need to run apt-get clean at all.
If you're removing the cache as part of the same RUN command, why would it be added to any layer?

You are probably right that by being part of the same RUN command, it does not add to the layers.  However, shall we follow the best practises and remove the clean from openjdk and jetty runtimes?

From that link ...

In addition, cleaning up the apt cache and removing /var/lib/apt/lists helps keep the image size down. Since the RUN statement starts with apt-get update, the package cache will always be refreshed prior to apt-get install.

apt-get clean or apt-get clean all will remove the /var/cache/apt cache contents and update the internal metadata tracking of that cache.
rm /var/lib/apt/lists/*_* will remove the apt lists (different then the apt cache)

Does the official google linux image have a bootstrap that cleans out the apt cache every time the docker image is started?
The ubuntu image does it like this : https://github.com/docker/docker/blob/03e2923e42446dbb830c654d0eec323a0b4ef02a/contrib/mkimage/debootstrap#L82-L105

@joakime thanks for pointing out that text.  I think we are doing the right thing by update&&install&&clean&&rm in a single RUN command.  This will give us minimal size image and no cleanup to do on boot.

Our base image is Debian. It looks like we do have the auto clean setup. Doesn't this mean we can remove the apt-get clean statements without affecting the image size?

Wow - I've been corrected back and forth 3 times in 5 minutes :) Yes that does indicate we can remove the cleans from our docker file in both jetty-runtime and openjdk-runtime.

If you want to be careful of image size, then we should apt-get clean to produce a smaller image.
If we went the route of the debian auto clean setup then that means the image will contain the /var/cache/apt and everyone that downloads / uploads that image will have that directory, but the moment they run that image the /var/cache/apt is removed.
To explain this in more detail, lets use /jetty-runtime/ as an example.
And lets say the /openjdk-runtime/ was built without the apt clean step.
IIRC, The /jetty-runtime/ Dockerfile does no apt-get of its own, so ...

Build /jetty-runtime/ Dockerfile
FROM openjdk-runtime image (it has /var/cache/apt present, and downloads an image with /var/cache/apt present)
Apply /jetty-runtime/ RUN commands
openjdk-runtime image starts
automatic debian 'auto clean setup' runs and removes /var/cache/apt
RUN commands for /jetty-runtime/
Stop /jetty-runtime/ image on specified new tag (does not contain /var/cache/apt)

This means that the /openjdk-runtime/ has the /var/cache/apt, but the resulting /jetty-runtime/ image does not.  Does this make sense?

Ultimate the decision comes down to ...

Do we want a small image at runtime?
Do we want a small image for upload/download reasons?

If you want a small image at runtime, and don't care about upload/download sizes, then remove apt-get clean, as everyone will just use FROM jetty-runtime and then do their own thing, which will automatically clean up the results from the /jetty-runtime/ image.  Leaving the small image size question for the user of this image.
if you want a small image for upload/download of the /jetty-runtime/ base image reasons, then keep the apt-get clean

Sorry guys I'm a bit slow this morning..., but now I think I'm fully up to speed:

Jetty-runtime Dockerfile currently does no apt-get itself, but this PR adds one.
the debian base image has been modified so that an apt-get clean will also do a com/google/apphosting/runtime/jetty9
our openjdk image and this PR go 1 step further and also do rm /var/lib/apt/lists/*_*
since the recommendation from Docker is to always do an update before any other installs, it makes little sense to leave a package cache in the image.

So I think openjdk-runtime and this PR are doing the right thing.   My only question now is should the rm /var/lib/apt/lists/*_* be moved to the debootstrap?

Note that you can see the layers of an image, and their individual sizes with ...
docker history <image-id>

Test it with, and without, the apt-get clean and see what the results are (instead of speculation based on debian behavior, docker behavior, and docker documentation interpretation)

Testing this PR, the command to add sudo with a clean adds a 3.4MB layer to the image. Without the clean it add a 14.15MB layer to the image.  This is approx 3% of the image size and thus a saving I think is worth making.

Ok, I think that settles it! :) Thanks @joakime and @gregw
The note in Docker's guide is a bit misleading because it makes it sound like there's no point to running 'apt-get clean'.

On a different note, I'm trying to run the image built from this PR and getting this:
$ docker run --rm -p8080:8080 jetty:9.4
/bin/bash: /docker-entrypoint.bash: Permission denied

Sorry, going back to measuring the size of the layer with and without the clean, I'm not getting the same results as @gregw. For me, the layers and the resulting images are same size either way.
sha256:13fe747872d67c7105cc2b9d4541927475c2576f10f9886cf7117d33c3dad5e1   42 minutes ago       /bin/sh -c groupadd -r jetty  && useradd -r -g jetty jetty  && apt-get -q update  && apt-get -y -q --no-install-recommends install sudo  && apt-get clean  && rm /var/lib/apt/lists/*_*                                                                                3.146 MB

sha256:cead9d196f8d45df9edb797a5146b08ff834d7354c2b79cb080b9aeb9e0ed91f   4 minutes ago       /bin/sh -c groupadd -r jetty  && useradd -r -g jetty jetty  && apt-get -q update  && apt-get -y -q --no-install-recommends install sudo  && rm /var/lib/apt/lists/*_*                                                                                3.146 MB

@meltsufin Ah, I also removed the rm /var/lib/apt/lists/*_*, so I guess that is where the savings are!
On the image generated by this PR I can do docker run --rm -it jetty:9.4 bash without permission issues.  Without the bash, it still runs and fails with the 'No Context' ISE as expected.

I can confirm that removing the clean makes no difference to the image size, it is rm of the apt lists that saves 10MB.
I also notice the following warning when adding sudo:
Get:1 http://httpredir.debian.org/debian/ jessie/main sudo amd64 1.8.10p3-1+deb8u3 [855 kB]
debconf: delaying package configuration, since apt-utils is not installed

Should the base image have apt-utils installed?  see https://github.com/phusion/baseimage-docker/issues/319

I'd rather not add apt-utils if it's not strictly necessary and will only be taking up more space.
I'm still getting 'Permission denied' and it seems to be happening on this line.
# Switch user to jetty
if [ "$UID" = 0 ] ; then
  exec sudo -HEu jetty -- "$0" "$@"
fi

Are you sure your image was fully rebuilt? Can you try this command sequence to verify?
$ docker run --rm -it --entrypoint=bash jetty:9.4
root@62a10b3732fb:/var/lib/jetty# cd /
root@62a10b3732fb:/# grep 'exec sudo' docker-entrypoint.bash
  exec sudo -HEu jetty -- "$0" "$@"
root@62a10b3732fb:/# ./docker-entrypoint.bash
/bin/bash: ./docker-entrypoint.bash: Permission denied

@meltsufin WFM??
[2224] docker run --rm -it --entrypoint=bash jetty:9.4
root@9ac8cc85d6aa:/var/lib/jetty# cd /
root@9ac8cc85d6aa:/# grep 'exec sudo' docker-entrypoint.bash
  exec sudo -HEu jetty -- "$0" "$@"
root@9ac8cc85d6aa:/# id
uid=0(root) gid=0(root) groups=0(root)
root@9ac8cc85d6aa:/# ./docker-entrypoint.bash
-XX:InitialHeapSize=9642704896 -XX:MaxHeapSize=9642704896 -XX:+ParallelRefProcEnabled -XX:+PrintCommandLineFlags -XX:+PrintGCDateStamps -XX:+PrintGCDetails -XX:+UseCompressedClassPointers -XX:+UseCompressedOops -XX:+UseG1GC
openjdk version "1.8.0_111"
OpenJDK Runtime Environment (build 1.8.0_111-8u111-b14-2~bpo8+1-b14)
OpenJDK 64-Bit Server VM (build 25.111-b14, mixed mode)

2016-12-13 22:51:00.195:INFO::main: Logging initialized @497ms to org.eclipse.jetty.util.log.StdErrLog
2016-12-13 22:51:00.447:INFO:oejs.Server:main: jetty-9.4.0.v20161208
2016-12-13 22:51:00.485:INFO:oejdp.ScanningAppProvider:main: Deployment monitor [file:///var/lib/jetty/webapps/] at interval 0
2016-12-13 22:51:00.504:INFO:oejs.AbstractConnector:main: Started ServerConnector@6d00a15d{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
2016-12-13 22:51:00.504:INFO:oejs.Server:main: Started @806ms
org.eclipse.jetty.server.Server@614c5515 - STARTED
...

what user are you before you try to run the bash script?

@gregw I think I know what the problem is. It's the permissions on the /docker-entrypoint.bash.
root@d9bd4da47763:/# ls -l docker-entrypoint.bash
-rwxr-x--x 1 root root 1395 Dec 14 15:55 docker-entrypoint.bash

Since we're now reading and executing the script under the jetty user, it needs to be readable by jetty.
The fix is as simple as changing the chmod line in the Dockerfile to:
RUN chmod +rx /docker-entrypoint.bash

All other language runtimes execute under root, and it seems to be acceptable to do that. We can simplify things quite a bit by switching to running jetty under root.

@meltsufin I think in order to simplify the process, I should update this PR to just keep using the setuid mechanism and then we can discuss the pros/cons of using the jetty user (or not) in #99

@meltsufin would be good to get these changes in to simplify other PRs in progress

authors: gregw joakime meltsufin

repo: GoogleCloudPlatform/jetty-runtime


text:
kubectl get pods says REASON, but reason for what?

Example output from my cluster:
$ kubectl get pods
NAME                      READY     REASON                                  RESTARTS   AGE
cpuhog                    0/1       ExitCode:127                            0          1h
frontend                  0/2       Pending                                 0          1h
frontend2                 0/1       Running                                 12         48m
frontend3                 0/1       Running                                 11         39m
frontend4                 0/1       Pending                                 0          18m
frontendbig               0/2       Pending                                 0          16s
kube-dns-v3-hzdfg         3/3       Running                                 2          3d
memhog                    0/1       OOM Killed                              0          5m
private-image-test-2      0/1       Running                                 12         3d
private-image-test-3      0/1       Error: image foo/private:v1 not found   0          3d

What is the REASON column a reason for?
It looks like it is the reason for being terminated if terminated, otherwise it is showing status.phase, except when status.phase == "Failed", in which case it shows one of the .status.containerStatuses[].state.terminated.reason.
I think it would be clearer to show phase and then reason, so that it is clear that the reason about why it is in that phase.
For example:
$ kubectl get pods
NAME                      READY     PHASE    REASON                                  RESTARTS   AGE
cpuhog                    0/1       Failed   ExitCode:127                            0          1h
frontend                  0/2       Pending                                          0          1h
frontend2                 0/1       Running                                          12         48m
frontend3                 0/1       Running                                          11         39m
frontend4                 0/1       Pending                                          0          18m
frontendbig               0/2       Pending                                          0          16s
kube-dns-v3-hzdfg         3/3       Running                                          2          3d
memhog                    0/1       Failed   OOM Killed                              0          5m
private-image-test-2      0/1       Running                                          12         3d
private-image-test-3      0/1       Pending  Error: image foo/private:v1 not found   0          3d

I get that we are trying to save screen width.  It costs 8 columns to separate Phase.
We could recover 3 columns by narrowing the READY column
and another 3 by renaming "RESTARTS" to "TRIES".

cc @andronat @ghodss

The way I see it is that REASON explains why READY is not n/n and it is something like 0/n or 1/n. Maybe we should discard Running from REASON?

What if we keep the current behavior but rename REASON to STATUS? It seems like that would be a close enough approximation without adding width.

I like @ghodss suggestion.

I'm fine with STATUS. It basically needs to be done today, though.

I am on it

source: gharchive/issue

authors: andronat bgrant0607 erictune ghodss

repo: GoogleCloudPlatform/kubernetes

license_type: permissive

license_source: github-api


text:
Rolling Update causing issues

I am trying to follow the update-demo example and created the nautilus pod.
When I try to do the following:
kubectl rollingupdate update-demo-nautilus --update-period=5s -f examples/update-demo/kitten-rc.yaml
I get the following error:
current-context: ""
Running: cluster/../cluster/gce/../../_output/dockerized/bin/darwin/amd64/kubectl rollingupdate update-demo-nautilus --update-period=5s -f examples/update-demo/kitten-rc.yaml
F0226 13:45:30.113864    5997 rollingupdate.go:97] request construction error: 'an empty namespace may not be set when a resource name is provided'

Any way I can overcome this ?

This looks like an old bug that was fixed by #4518. Are you running at head?

Going to close this, since there hasn't been an update in a week, and that bug was fixed in v0.11.0. @uruddarraju, please reopen if you are still encountering this with an up-to-date cluster/client.

My bad, I should have closed this. Thanks for taking care of this. I don't see this anymore.

authors: jlowdermilk uruddarraju


text:
Remove permission to list secrets

Permission to list secrets is no longer needed.

Tagging in Bartek and Daniel to take a look and confirm this still works.

It looks like the operator does not currently have any List calls that list secrets.
  1 e2e/collector_test.go|310 col 23| if err := t.Client().List(ctx, &pods, client.InNamespace(t.namespace), client.MatchingLabelsSelector{
  2 e2e/collector_test.go|404 col 23| if err := t.Client().List(ctx, &nodes); err != nil {
  3 e2e/kubeclient.go|75 col 16| return c.base.List(ctx, list, opts...)
  4 e2e/operator_context_test.go|454 col 23| if err := kubeClient.List(ctx, &namespaceList); err != nil {
  5 e2e/operator_context_test.go|585 col 23| if err := kubeClient.List(ctx, &namespaceList, &listOpts); err != nil {
  6 pkg/operator/collection.go|386 col 21| if err := r.client.List(ctx, &podMons); err != nil {
  7 pkg/operator/collection.go|427 col 21| if err := r.client.List(ctx, &clusterPodMons); err != nil {
  8 pkg/operator/collection_test.go|142 col 13| kubeClient.List(ctx, &podMonitorings)
  9 pkg/operator/rules.go|161 col 21| if err := r.client.List(ctx, &rulesList); err != nil {
 10 pkg/operator/rules.go|175 col 21| if err := r.client.List(ctx, &clusterRulesList); err != nil {
 11 pkg/operator/rules.go|189 col 21| if err := r.client.List(ctx, &globalRulesList); err != nil {
 12 pkg/operator/target_status.go|141 col 23| if err := kubeClient.List(ctx, &podMonitoringList); err != nil {
 13 pkg/operator/target_status.go|145 col 24| if err := kubeClient.List(ctx, &clusterPodMonitoringList); err != nil {
 14 pkg/operator/target_status.go|385 col 23| if err := kubeClient.List(ctx, &podList, client.InNamespace(opts.OperatorNamespace), client.MatchingLabelsSelector{
 15 pkg/operator/target_status_test.go|1268 col 25| if err := kubeClient.List(ctx, &podMonitorings); err != nil {

We do not call List directly, but the cache normally call List before Watch: https://github.com/GoogleCloudPlatform/prometheus-engine/blob/e1b516eaf3a06263d07fa77bbfff1deaf0230b3f/pkg/operator/operator.go#L229C15-L229C15
See: https://kubernetes.io/docs/reference/using-api/api-concepts/#efficient-detection-of-changes
It looks like e2e tests passed so not sure if this change is okay or it silently failed (or our tests do not hit that execution path). We may have to manually deploy and look at logs to test this out.

Thanks @bernot-dev!
Great finding @TheSpiritXIII  - let's double check this manually first @bernot-dev ? 🤔 Thanks! (:

source: gharchive/pull-request

authors: TheSpiritXIII bernot-dev bwplotka pintohutch

repo: GoogleCloudPlatform/prometheus-engine

license_source: bigquery


text:
Making prometheus worse for testing comparisons in parca

/prombench

/prombench cancel

repo: GoogleCloudPlatform/prometheus


text:
Add GitHub repo description, topics and website

For website, I suggest: http://cloud.google.com/serverless or a running instance of the demo
For description, just pick from the README.

Thanks, Steren! Description and website added.

authors: michaelawyu steren


text:
Update the CustomResourceDefinitions if install-crds=true and they already exist

A better strategy for life cycle management of the CustomResouceDefinition resource for SparkApplication is needed. Currently, the controller creates the CustomResouceDefinition resource upon starting and deletes it upon terminating. During a controller restart, existing SparkApplication objects will be gone and users won't be able to create new SparkApplication objects before the controller starts up again.

Fixed by #130.


text:
chore: update simple_example versions.tf

Should fix the getNewValue.
Also it's generally it's best to only set a minimum version in the samples, so the CI will run with the most recent TPG allowed by actual module.
Fixes #2086

Going to wait until #101 merged to confirm that check turns green before merging

authors: apeabody glasnt


text:
Default value for 'name' variable prevents route creation

The default value for the variable 'name' is an empty string. If a name is not provided to the module, the route that is attempted to be created is named "-nat-zone", which is an invalid name for a route.
This issue surfaced by the addition of a '-' prefix to the route name in commit here.
Either the name variable needs to be a required variable or the generated name with an empty name needs to be a valid name for a route.

Fixed with #23

authors: danisla tylrd


text:
Generate site with Cloud Build

Updates the Cloud Build job that runs after every commit to generate the web site for kpt. It does this in the following way:

On every commit, the job (which already runs the tests) will also generate the site.
The cloud build job will then commit the changes back into the kpt repo. But instead of committing back to the master branch, it will commit the changes to the gh-pages branch.
The site will be served from the gh-pages branch instead of master, so we will be able to delete the docs folder from the master branch.

This means users will no longer need to include the generated content with the PRs. Since the job commits changes to a separate branch, we can run the job for a while to verify that it works before switching the site to be served from the gh-pages branch.

Addressed https://github.com/GoogleContainerTools/kpt/issues/940

authors: frankfarzan mortent

repo: GoogleContainerTools/kpt


text:
Does this client work out of the box with a postgres backend?

I'm running the streaming server locally with
nats-streaming-server --debug -store sql -sql_driver postgres --sql_source="user=postgres password=postgres host=localhost port=5432 sslmode=disable database=nats"

In one process I write messages with:
with NATSClient(url='nats://0.0.0.0:4222', socket_timeout=2) as client:
    client.publish(
        'message-name',
        payload=json.dumps({'sample_payload_id': 1})
     )

In another process I am trying to read them with:
with NATSClient(url='nats://0.0.0.0:4222', socket_timeout=2) as client:
   client.subscribe(
        'message-name',
        callback=message_callback
    )
   client.wait(count=1)

In this second process I keep getting socket timeouts.  I've also checked my database, and don't see any messages in the table.

As I see you use NATS Streaming Server and this package does not support it. And honestly, I have no plans for adding support.
If you need a Python client for NATS Streaming Server then try to use https://nats.io/download/nats-io/stan.py/.

Thanks for the reply!

license: MIT


text:
No test in regression suite to prove that watch dir ingests blocks

Relates to https://github.com/Granola-Team/mina-indexer/issues/1219

Here is evidence: https://github.com/Granola-Team/mina-indexer/blob/main/tests/regression.bash#L480

@trevorbernard I think this issue was for the directory specified by --watch-blocks-dir, not --blocks-dir.

In any case, the point is moot, and the issue can be closed, because there is no longer any --watch-blocks-dir.

authors: n1tranquilla robinbb trevorbernard

repo: Granola-Team/mina-indexer


text:
Face login setup has overflowing strings in card layout

this is an upstream bug (part of android settings app). we need to decide whether we want to modify the same.

yep I had this thought, maybe we can just skip that screen.
had some discussion with hulk few days ago.

not an issue anymore since the card layout has been gotten rid of
https://github.com/GrapheneOS/os-issue-tracker/issues/3263

authors: jiteshsingh matchboxbananasynergy


text:
docker-compose start error

docker-compose up -d
greaterwms-mysql      "docker-entrypoint.s…"   greaterwms-mysql    running
greaterwms_backend   "/bin/bash -c 'bash …"   backend                    restarting
greaterwms_front        "docker-entrypoint.s…"   front                         restarting
docker-compose logs front
greaterwms_front  | exec /usr/local/bin/docker-entrypoint.sh: exec format error
greaterwms_front  | exec /usr/local/bin/docker-entrypoint.sh: exec format error
greaterwms_front  | exec /usr/local/bin/docker-entrypoint.sh: exec format error
greaterwms_front  | exec /usr/local/bin/docker-entrypoint.sh: exec format error
greaterwms_front  | exec /usr/local/bin/docker-entrypoint.sh: exec format error
greaterwms_front  | exec /usr/local/bin/docker-entrypoint.sh: exec format error
greaterwms_front  | exec /usr/local/bin/docker-entrypoint.sh: exec format error
docker-compose logs backend
greaterwms_backend  | exec /bin/bash: exec format error
greaterwms_backend  | exec /bin/bash: exec format error
greaterwms_backend  | exec /bin/bash: exec format error
greaterwms_backend  | exec /bin/bash: exec format error
greaterwms_backend  | exec /bin/bash: exec format error
greaterwms_backend  | exec /bin/bash: exec format error
greaterwms_backend  | exec /bin/bash: exec format error
remove docker image, edit docker-compose.yml, add  platform: linux/amd64.  re running docker-compose up -d
Error response from daemon: image with reference greaterwms/greaterwms_front:latest was found but does not match the specified platform: wanted linux/amd64, actual: linux/arm64/v8
docker image is an arm platform.

镜像我重新传了一次，您再重新拉取一次代码 docker-comose.yml文件我也修改了一次

we have fix docker bug . you can re-download it

authors: Singosgu cow11023 kasila

repo: GreaterWMS/GreaterWMS


text:
Add print to PDF button to building performance report

This should trigger a browser.print() request on the page
I don't believe there is any specification as to where this new button should go on the report

For now, I've just added a new button like so, up in the header:

This has been deployed to staging
Closing this for now, can be reopened as needed

license: ISC


text:
Allow configuring type comparers to ignore

Resolves issue #306 by allowing configuration to remove type comparers

Ok, well, I'm going to have to call this a day.
I can't for the life of me get this project to compile locally so I'm just guessing at fixes. Really, I just needed to set InternalsVisibleTo on the Compare-NET-Objects to allow the RootComparer.TypeComparers collection to be manipulated in the unit test, but because the assembly is strongly named, I've no idea how you get that to work.
I ended up having to resort to using reflection in the unit test, which should work fine, but the build is still failing (even though all the unit tests in AppVeyor say they are passing).
Hopefully you can resolve the last build issue. Sorry I couldn't finish it off.

Sorry.  I simply don't have time.  I will leave this here for a couple months until you can get back to it.

@GregFinzer no problem. If I can find the time myself, I'll come back and try and finish it off. I don't like leaving it in an unfinished state.

Maybe there's an easier solution, only include the FontComparer for the right targets 🤔
Think it can be excluded for all non core targets, but not 100% sure yet.
https://github.com/GregFinzer/Compare-Net-Objects/blob/master/Compare-NET-Objects/RootComparerFactory.cs#L54

@mattbrailsford Do we still need this other PR?

This is worth getting through, it's a bit offputting to have to add Drawing to a project that has no intention of drawing anything.

We don’t need this PR if we are just going to omit the drawing dependency 👍🏻

authors: GregFinzer jakenuts mattbrailsford pvanbuijtene

repo: GregFinzer/Compare-Net-Objects

license: MS-PL


text:
refactor: remove obkv dependency

Fixes #29 by removing all macros altogether

See if https://github.com/meilisearch/milli/pull/707 gets merged before merging/completing this. Might be able to remove the macro I added

This PR is all set to go; just waiting on a new milli version with the all_obkv_to_json in it.

repo: GregoryConrad/mimir


text:
Input files

Input file support added to gnql subcommands. The input file is expected to be a text file with one query per line.

@jcollado This is great! Can you do the same thing for IP lookups? (context and quick)?

@andrew-morris Added support for input file in "ip context" and "ip quick-check" subcommands.
For the "ip quick-check" subcommand support for passing multiple addresses as parameters have been added. The appropriate endpoint will be called depending on number of ip addresses passed (including the ones in the input file). Since this makes the "ip multi-quick-check" redundant, it's been removed.

authors: andrew-morris jcollado

repo: GreyNoise-Intelligence/pygreynoise


text:
News at python3

sir , i have made the pull request randomly JUST TO MSG U. coz i was working on the project(NEWS AT CMD) and it is showing a lot of errors plz help.

@Jobandeep2417 Please ask your query. Can you explain the issue? What is the problem that you are facing or you can create an issue and provide relevant screenshots to the issue.

repo: Griffintaur/News-At-Command-Line


text:
Crash when closing game while in combat

When the game is closed while in combat, the game crashes in combat_exit.
Apparently the initiative list is never cleaned up when the map is closed and as such it still contains handles for objects that have already been deallocated.

Crash does not happen when quitting to main menu during combat, and then closing the game.

This is related to the order of shutdown for game systems. Vanilla map_close accesses game systems that have already been closed during shutdown. In our case, this causes a crash because the game system has been deleted completely. In vanilla, this worked, since everything is just a static function.

repo: GrognardsFromHell/TemplePlus

license: mit


text:
🛑 API Gateway is down

In dd4876d, API Gateway ($API_GATEWAY_URLdocs) was down:

HTTP code: 404
Response time: 203 ms

Resolved: API Gateway is back up in 2f1732a.

repo: GrupoX-FIUBA/services-status


text:
🛑 Homepage is down

In 46b4b08, Homepage (https://www.dlya.top) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Homepage is back up in 1076018.

repo: Guangsudalao/uptime


text:
🛑 Open Datenschutzcenter Prod is down

In d64ea52, Open Datenschutzcenter Prod (https://app.open-datenschutzcenter.de/health/check) was down:

HTTP code: 502
Response time: 486 ms

Resolved: Open Datenschutzcenter Prod is back up in e4c0f7c after 5 minutes.


text:
⚠ PrivateHD has degraded performance

In b90925e, PrivateHD ($PHD) experienced degraded performance:

HTTP code: 200
Response time: 2508 ms

Resolved: PrivateHD performance has improved in c6b2f63.

repo: HDVinnie/TrackerHub


text:
⚠ SkipTheCommericals has degraded performance

In bf76a39, SkipTheCommericals ($STC) experienced degraded performance:

HTTP code: 200
Response time: 5151 ms

Resolved: SkipTheCommericals performance has improved in 15add83.


text:
🛑 SkipTheCommericals is down

In 923e4bc, SkipTheCommericals ($STC) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SkipTheCommericals is back up in 30db5bc.


text:
⚠ SceneTime has degraded performance

In 350f365, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1504 ms

Resolved: SceneTime performance has improved in 4aed05e after 4 minutes.


text:
🛑 HawkeUno is down

In 112cad6, HawkeUno ($UNO) was down:

HTTP code: 0
Response time: 0 ms

Resolved: HawkeUno is back up in 56aff1c after 16 minutes.


text:
🛑 SkipTheTrailers is down

In dbd4fad, SkipTheTrailers ($STT) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SkipTheTrailers is back up in 0e151b1.


text:
🛑 SkipTheTrailers is down

In f28c624, SkipTheTrailers ($STT) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SkipTheTrailers is back up in b0141c6.


text:
🛑 Telly is down

In 0f2da25, Telly ($TLY) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Telly is back up in cc02605.


text:
🛑 Nebulance is down

In f5f5cb6, Nebulance ($NBL) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Nebulance is back up in 36a9b0b.


text:
🛑 SkipTheCommericals is down

In 8fbc611, SkipTheCommericals ($STC) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SkipTheCommericals is back up in 1bba148.


text:
🛑 SkipTheTrailers is down

In 3d27bcc, SkipTheTrailers ($STT) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SkipTheTrailers is back up in 8c37269.


text:
Added ephem2juldate and test

modified:   tests/test_uvdata.py
modified:   uvdata.py

This pull request adds a function juldate2ephem for switching between julian dates and ephem objects. And tests for both juldate2ephem and ephem2juldate.

I think @jpober agreed to review this. One comment I have is that I am currently working to replace the phasing code because it doesn't work properly. In that process, I am removing all uses of ephem in favor of astropy because ephem has fundamental problems (e.g. no leap second support) and is no longer supported.

authors: bhazelton duncanjmr

repo: HERA-Team/pyuvdata


text:
Point sources are potentially flipped

When imaging a simulated sky, point source configurations (e.g. the triangle) seem to be flipped in dec (and possibly RA).  Very potentially an issue with astropy's definition of AZ/ALT coordinate system.

Long-line test indicates that we do not have a 90 degree rotation.  Need to to triangle test to make sure things aren't 180 degree rotated.

Triangle test confirms we understand Alt/Az.

repo: HERA-Team/pyuvsim


text:
it would be nice to publish logs to a db

i need to look into this, but it would have been a cool idea to keep the logs for the Zombie tool in one place so that an admin can keep an eye on all users and know which versions they got installed and what errors if any they are getting.
NLog can potentially be used for that.

https://github.com/loresoft/NLog.Mongo NLog MongoDB target

repo: HOKGroup/Zombie


text:
Feature/config generator

For reviewers:

Missing features:

[ ] Filtering NLM
[ ] Non-interactive mode (for CI tests)
[ ] Only OpenFOAM should support two-way coupling

This is just nice-to-have, you can merge without it, but it would be very nice if in interactive mode, the validation errors would actually highlight the affected / conflicting fields. For example, if there is
Validation errors: Cannot use two-way coupling with analytical CFD solver.
then the lines  [4]	CFD solver	analytical and  [8]	2-way coupling	True  should be marked red. Or if I see
Validation errors: Example checkpoint file only provided for small Simple MD simulation.
then the lines  [1]	domain size	medium and  [2]	use checkpoint	True should be marked red.

This is not easily possible with the current implementation, because the error only originates at one generator and printing the current selection is done separately from validation.
I want to avoid making a huge mess because of feature creep.
Therefore, I suggest treating this as won't do and instead making sure that the error messages are informative enough.

[ ] Why do I get this error? Validation errors: Too many coupling cycles or too few MD instances for 2-way coupling. Something must be wrong with the conditions / limits for this. I have 20 MD instances, NLM, TWC, MD60, Cell size 5. This should work.

This works with simulation=test, but not with short or normal, because:

2-way coupling
Only 50 coupling cycles or 200 MD inst.

The condition "2-way coupling: Only 50 coupling cycles or 200 MD inst." is not complete, since filtering should be considered as a reduction of the necessary number of instances by a factor of 10. Thus, "if filtering=True then Only 50 coupling cycles or 20 MD inst.". I pushed a commit that does this.

authors: Thinkpiet rubenhorn

repo: HSU-HPC/MaMiCo


text:
Create editer-la-correspondance-de-constance-de-salm-1767-1845.yml

Bonjour,
Je propose d'ajouter les vérités de terrain produites dans le cadre du projet d'édition numérique de la correspondance de Constance de Salm au catalogue HTR-United. Le jeu contient des transcriptions graphématiques attestant quatre mains des années 1800-1825.

Bonjour ! Merci beaucoup pour cet ajout. Il manque la précision de la langue utilisée dans les documents et ça sera parfait. :)

authors: alix-tz sbiay

repo: HTR-United/htr-united


text:
Extension manifest not found: node_modules/node_modules/fast-deep-equal/package.json

publish-vscode-extension Version
Operating System

@1 and @1.6.0
Linux

Description

Just started seeing Extension manifest not found: node_modules/node_modules/fast-deep-equal/package.json loading the vsix up in VSIX viewer extension and the package.json is definitely there.
I tried updating to 1.6.0 but the running logs(below) still say 1.5.0.
Nothing changed in extension packaging from a build that worked 3 days ago.
Expected Behavior

Build would complete
Actual Behavior

It fails with Extension manifest not found: node_modules/node_modules/fast-deep-equal/package.json
Steps to Reproduce

Context

with:
    pat: ***
    registryUrl: https://marketplace.visualstudio.com
    yarn: true
    preRelease: true
    packagePath: ./
    dryRun: false
    noVerify: false
    dependencies: true
    skipDuplicate: false
Specifically, running GitHub Action HaaLeo/publish-vscode-extension@v1.5.0.
Package the Extension
  Start packaging the extension.
  Executing prepublish script 'yarn run vscode:prepublish'...
  yarn run v1.22.21
  warning launchdarkly@4.99.52: The engine "vscode" appears to be invalid.
  $ webpack --mode production
  asset extension.js 8[3](https://github.com/launchdarkly/ld-vscode/actions/runs/7755698217/job/21151596703#step:11:3)3 KiB [emitted] [minimized] (name: main) 2 related assets
  asset 713.extension.js [4](https://github.com/launchdarkly/ld-vscode/actions/runs/7755698217/job/21151596703#step:11:4).2[5](https://github.com/launchdarkly/ld-vscode/actions/runs/7755698217/job/21151596703#step:11:5) KiB [emitted] [minimized] 1 related asset
  orphan modules 55.9 KiB [orphan] 37 modules
  runtime modules 2.44 KiB 8 modules
  modules by path ./node_modules/ 2.1[6](https://github.com/launchdarkly/ld-vscode/actions/runs/7755698217/job/21151596703#step:11:6) MiB
    javascript modules 2.15 MiB 43[7](https://github.com/launchdarkly/ld-vscode/actions/runs/7755698217/job/21151596703#step:11:7) modules
    json modules 6.63 KiB
      modules by path ./node_modules/ajv/lib/ 3.12 KiB 2 modules
      + 2 modules
  modules by path ./src/ 2[8](https://github.com/launchdarkly/ld-vscode/actions/runs/7755698217/job/21151596703#step:11:8)1 KiB 40 modules
  optional modules 126 bytes [optional]
    external "worker_threads" 42 bytes [optional] [built] [code generated]
    external "node:process" 42 bytes [optional] [built] [code generated]
    external "node:stream/web" 42 bytes [optional] [built] [code generated]
  + 21 modules
  webpack 5.8[9](https://github.com/launchdarkly/ld-vscode/actions/runs/7755698217/job/21151596703#step:11:9).0 compiled successfully in [13](https://github.com/launchdarkly/ld-vscode/actions/runs/7755698217/job/21151596703#step:11:14)717 ms
  Done in [14](https://github.com/launchdarkly/ld-vscode/actions/runs/7755698217/job/21151596703#step:11:15).38s.
Error: Extension manifest not found: node_modules/node_modules/fast-deep-equal/package.json

Hi @InTheCloudDan thx for reporting this. We his could be a regression with v1.6.0
Can you pls try to use explicitly v1.5.0 to reproduce the issue?

I think there's a bug causing it to log always v1.5.0 instead of v1.6.0. Can you say when it failed first yesterday? That would help me to check whether it was before or after I have deployed v1.6.0.

13 hours ago, sorry can't find exact time stamp. Ahh ok, I'll try explicitly setting v1.5.0 and double check.

I just published v1.6.1 which reverts the action's build target back to es6. Could you give it a try again?

I have the same problem, even after specifying v1.6.1

@rtetley thx for bringing this up again. It seems this is a regression of vsce v2.23.0 (microsoft/vscode-vsce#928). Please endorse the upstream package to fix this.
I'll consider to revert the package version in the meantime. However, I cannot name any ETA for this.

So apparently I managed to squeeze in the fix within my lunch break. I hope reverting vsce to v2.22.0 (within the action's v1.6.2 release) fixes this for now.
Feel free to comment if that's not the case then I'll reopen the issue.

Seems to be working again ! Thanks a lot ! :-)

authors: HaaLeo InTheCloudDan rtetley

repo: HaaLeo/publish-vscode-extension


text:
Add batch page

I created an endpoint to get id of the user by UID, which is needed to create the batch.

Hi @zkwsk, it worked with me :thinking_face: I mean I can see the page http://localhost:3000/addbatch when I'm logged in with ningry0@csmonitor.com.

Hi @zkwsk  I fixed that 401 issue and other issues which were reviewed by @gizemcandemir  (i fixed all the issues) but i have a git problem it won't allow me to push it. i tried in many ways and @cecastosic also tried to help ....it didn't work out.......plz help me to fix it

I am closing this PR #198 because I have created a new PR #207 for ADD BATCH

authors: Sreelatha-Vallabhaneni gizemcandemir


text:
Red branch

Hi,
I have added a red icon version as well.
Best regards

Thanks for contributing. Sorry for the delay in merging.

repo: HackeSta/atom-icons


text:
day class name issue

Expected behavior
i want see red day names , but i see all the color of the day names are black!
Actual behavior
i used the props
dayClassName={date => date.date() < Math.random() * 31 ? 'random' : undefined}
Steps to reprodcue
100% occurs

Same issue here.
<DatePicker selected={this.state.date} onChange={this.updateDate} dayClassName={date => date.date() < Math.random() * 31 ? 'random' : undefined}/>

Is the code I used from the example.

Ah, I did some digging around and realized that I was using an earlier version of react-datepicker. Using v0.5.0 solved my issue.


text:
showFourColumnMonthYearPicker does not work

Describe the bug
Can't make showFourColumnMonthYearPicker option work.
To Reproduce
I'm using this config for the date picker:
<DatePicker     open={open}     portalId={isMobile ? START_DATE_PORTAL : undefined}     showMonthYearPicker     showFourColumnMonthYearPicker     selected={selectedDate}     onChange={handleDateChange}     dateFormat="MM/yyyy"     minDate={minDate}     maxDate={maxDate}     placeholderText={getTranslationByKeyAndLocale(       'DatePicker_Label1',       language     )}   />
Expected behavior
I'd have expected to have the months on a 4-column layout but I get this instead:

What am I missing?

I had the same problem, but it solved upgreating the version. i had instaled versión 3.0.0 but in the 3.5.0 recently was added 4 columns for month picker. Now i am using the last version 3.7.0 👍

authors: berzavlu empav


text:
Opening DatePicker manually

How to open it manually? Is there any API exposed or I have to trigger click event on input?

You have to focus.  Could possibly work on PR to make the open state prop passed in or exposed using a new method.

This is pretty simple:
<DatePicker
   ref={(c) => this._calendar = c}
   locale='ru'
    ...
   customInput={<InputField {...this.props} calendar={this._calendar}/>}
/>

And then somewhere
this._calendar.setOpen(bool)

@alex-shamshurin It is but setOpen is not documented in API so i treat it like a workaround or hack rather than a public API method.

No matter, it works! This is exaxtly is used inside.

@alex-shamshurin It's generally considered bad practice to use the _ prefixed methods as they're meant to be private and are subject to change between releases.

That _calendar variable is in my code, not inside DatePicker. It's just a ref to calendar object, not related to DatePicker library at all.

@alex-shamshurin oops I see that now. Sorry.
I wonder why setOpen isn't documented. Perhaps a separate issue should be opened to wrote docs for it.

I think so.

Improvements to the docs are welcome! Thanks!

So setOpen is normal public method, as @martijnrusschen has just confirmed, we only need add this to the docs.

@alex-shamshurin in my case i don't have the possibility to use it as a public method, since i can't use the "ref" property of the component to assign it to a variable and the use the setOpen. Can you add it as a property or is there any other way to express directly in the render of an outer component that the DatePicker should start opened by default?

I really do not understand why you cannot get a reference to a component and use its methods and state.  if you want it always be opened you can use withPortal or inline options. If you want it just to start opened you should get a reference and open it.

@alex-shamshurin it's a little bit complicated to explain but basically,  i'm using a riek library for inline editing (values in a table). I'm extending that library to support inline datepicker editing. My extension class is:
import React from 'react'
import ReactDOM from 'react-dom'
import PropTypes from 'prop-types'
import { RIEInput } from 'riek'
import moment from 'moment'
import DatePicker from 'react-datepicker'
import { I18n } from 'react-redux-i18n'

import 'react-datepicker/dist/react-datepicker.css'

const debug = require('debug')('RIEDate')

export default class RIEDate extends RIEInput {

  constructor(props) {
    super(props)
  }

  static propTypes = {
    format: PropTypes.func
  }

  // ... More code here omited for simplicity...

  renderNormalComponent = () => {
    debug(`renderNormalComponent()`)
    return <span
    tabIndex = "0"
    className = { this.makeClassString() }
    onFocus = { this.startEditing }
    onClick = { this.elementClick } {...this.props.defaultProps } >
      { this.props.format ? this.props.format(this.state.newValue || this.props.value) : (moment(this.state.newValue).format(I18n.t("time.formats.calendar_date_js")) || moment(this.props.value).format(I18n.t("time.formats.calendar_date_js"))) }
    </span>
  }

  renderEditingComponent = () => {
    debug(`renderEditingComponent()`)
    return <DatePicker
      disabled={ this.props.shouldBlockWhileLoading && this.state.loading }
      placeholderText={ this.props.placeholder }
      className={ this.makeClassString() }
      selected={ moment(this.props.value) }
      onChange={ this.elementBlur }
      locale="es"
      **ref="input"**
      {...this.props.editProps }
    />
  }
}

This works by calling  renderEditingComponent() when clicking a date value on a table column, which makes an input appears on top of it. That would be the <DatePicker ...>. Riek library needs the ref value of the input component be set as "input" so i can't really change it, otherwise it won't work or at least i will have to override bunch of methods.
Right now, upon clicking the value to be editted, the input will appear but the calendar won't open until i click again so i have to click twice to edit it.

Why you cannot wrap this ReactDatePicker component into custom your DatePicker or Calendar component and use ref="input" on its props whereas save real reference on DatePicker inside your internal component and pass it back via callback function?

@tommyalvarez And besides, you need a reference only for input, not for a DatePicker

This really needs to be documented, I shouldn't have to go to the third page of issues in order to find this...
At the very least, a reference to this issue in the main .md
That aside, this is awesome!

@serkolch, PRs for improvements to the docs are welcome

the workaround doesn't work for me with v0.53.0.
The customInput line gives me a
```expected a string (for built-in components) or a class/function (for composite components) but got: undefined. andsetOpengives Cannot read property 'setOpen' of undefined`

calendar.setOpen(true) works for me, but I still have to force typescript to ignore it other wise I get the error Property setOpen does not exist on type MutableRefObject<any> ?

@cherner How did you get typescript to ignore it? I keep getting the error that setOpen is not an option. Thanks.

@amemmes not recommended, but just place @ts-ignore above the code

To avoid ts warning just use const inputRef = useRef<ReactDatePickerProps & { setOpen:(open: boolean) => void }>(null);

I'm a react/redux newb - so didn't immediately understand how the setOpen method might be exploited to wire up to redux.
Here's how I got the React parts to work for anyone else with same issue:
Create a ref to the calendar in your components constructor:
this.calendarRef = React.createRef();

Attach the ref to your calendar:
<DatePicker ref={this.calendarRef} />

Then you can use the ref to trigger the setOpen method:
<button onClick={() => {this.calendarRef.current.setOpen(true)}}>
  Open sesame
</button>

Thank you. How can this work with function components?

@j-sup I've just come across this, I've been able to get it working with a functional component as follows:
Create a ref to the calendar in the top level of the component, with the useRef() hook.
Pass this reference to the DatePicker component in the same way, as a ref prop.
Then trigger the open method in a similar manner, simply excluding the this. prefix.
Example:
const PickerWithButtonToOpen = () => {
  const calendarRef = React.useRef(); // or "import { useRef } from React" and simply useRef()

  return (
    <>
      <Datepicker ref={calendarRef} />
      <button onClick={() => calendarRef.current.setOpen(true)}>
        Open sesame
      </button>
    </>
  )
}

For me, to close the calendar, calendarRef.current.setOpen(false) didn't work. Had to do calendarRef.current.setState(prev => ({ ...prev, open: false })).

authors: L-u-k-e alex-shamshurin amemmes cherner david-jones10 gabrielmlinassi j-sup martijnrusschen mir3z poohsen rafeememon serkolch tommyalvarez travisbt vietvu175


text:
Update generateMarkdown.sh

Added escaping for "|" symbol in typeValue to avoid shifting cells in documentation

Codecov Report

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

@@           Coverage Diff           @@
##           master     #902   +/-   ##
=======================================
  Coverage   85.47%   85.47%
=======================================
  Files          12       12
  Lines         647      647
  Branches      120      120
=======================================
  Hits          553      553
  Misses          7        7
  Partials       87       87

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 a8c5fbe...e4389cd. Read the comment docs.

authors: codecov-io kolupaevri


text:
Make the path to find the II8N translation files configurable

Currently the extension requires that the translations are in the assets directory of the Angular project in order for it to function properly. Since projects may have these files in other locations, make the directory path that the extension looks for the .json translation files configurable.

Hi! This is a good improvement, but unfortunately I don't actively develop this extension anymore since I don't use VS Code anymore.

authors: Hademar rolandasburbulis

repo: Hademar/resource-peek


text:
GUI界面如何输入中文

因为我司账户名是中文，而在VNC连接中无法使用中文输入法。尝试过粘贴，但粘上去是乱码的。

尝试使用 ECPASSWORD 参数来传递用户名，之后使用 ctrl+v 粘贴

authors: Hagb xyhoang

repo: Hagb/docker-easyconnect

license: WTFPL


text:
Correct spelling of 'insufficiant' to 'insufficient'

Fixes #558
Fixes spelling of 'insufficient' in src/util.ts and test/test_matrixcommandhandler.ts.

Are failed checks something I should be concerned about?
Sorry if this question seems basic, I'm new to using Git.

Apparently our builds got broke, but not with this change.

repo: Half-Shot/matrix-appservice-discord


text:
Can't customize slider with code.

I'm having a weird issue that I don't know how to fix.
I dragged a view through storyboard and changed its class to CircularView. In code, I'm setting the numberOfRounds property as so:
circularSlider.numberOfRounds = 1
My app crashes with EXC_BAD_ACCESS.
I don't see anything strange in the definition of the method in the source code, so I don't know why this isn't working. If I customize the view via Interface Builder, nothing shows up.
I installed the dependency with CocoaPods. Currently using v2.2.0.
Trying to debug the app:
(lldb) po circularSlider
▿ Optional<CircularSlider>
  - some : <UIView: 0x7fbae370a270; frame = (82 146; 250 250); autoresize = RM+BM; layer = <CALayer: 0x600003d0ef80>>

(lldb) po circularSlider.numberOfRounds
error: Execution was interrupted, reason: EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0).
The process has been returned to the state before expression evaluation.
(lldb)

And again, the numberOfRows property is not even set as an optional in the source code, so I don't think it's crashing due to it being nil? I'm very dumbfounded with this problem.

Figured it out.
I was also getting this in the console:
2020-03-18 10:20:26.786758-0400 JustDesign[12539:12145945] [Storyboard] Unknown class CircularSlider in Interface Builder file.

I forgot I had to set the Module in Interface builder. Select your slider and then in Module write HGCircularSlider. It will work properly then.

repo: HamzaGhazouani/HGCircularSlider


text:
TitleElement.Title not works for ToggleButton

Describe the bug
TitleElement.Title not works for ToggleButton.
Environment (please complete the following information):

.net: .net 5
IDE vs2019
Version 2.5.0.2

Hi @GF-Huang
This Attached Property is only available on some controls Unfortunately, toggle button is not one of them
@NaBian , will this feature be added to this control in the future?

@ghost1372 no, only for some input elements

authors: GF-Huang NaBian ghost1372

repo: HandyOrg/HandyControl


text:
🛑 Main is down

In 1f7a725, Main (https://premid.app) was down:

HTTP code: 502
Response time: 379 ms

Resolved: Main is back up in 7c245ed.


text:
🛑 Assets CDN server is down

In b27c630, Assets CDN server (https://cdn.assets.scratch.mit.edu) was down:

HTTP code: 503
Response time: 1567 ms

Resolved: Assets CDN server is back up in 44bdced after 30 minutes.


text:
🛑 Main website is down

In fe98fd1, Main website (https://scratch.mit.edu) was down:

HTTP code: 503
Response time: 211 ms

Resolved: Main website is back up in aa14ed5 after 27 minutes.


text:
🛑 Japanese is down

In 61dc5ae, Japanese (https://ja.scratch-wiki.info) was down:

HTTP code: 508
Response time: 1652 ms

Resolved: Japanese is back up in 7613f39 after 11 minutes.


text:
🛑 Dutch is down

In 8e962ae, Dutch (https://nl.scratch-wiki.info) was down:

HTTP code: 508
Response time: 820 ms

Resolved: Dutch is back up in 4b52df1 after 27 minutes.


text:
🛑 Indonesian is down

In 71c64c9, Indonesian (https://id.scratch-wiki.info) was down:

HTTP code: 508
Response time: 625 ms

Resolved: Indonesian is back up in ee9f326 after 1 hour, 36 minutes.


text:
🛑 German is down

In 253794b, German (https://de.scratch-wiki.info) was down:

HTTP code: 503
Response time: 22833 ms

Resolved: German is back up in 81b6a72 after 20 minutes.


text:
🛑 French is down

In 84967bc, French (https://fr.scratch-wiki.info) was down:

HTTP code: 508
Response time: 1080 ms

Resolved: French is back up in f39e870 after 26 minutes.


text:
🛑 German is down

In 11bb0d0, German (https://de.scratch-wiki.info) was down:

HTTP code: 508
Response time: 502 ms

Resolved: German is back up in ea760c3 after 17 minutes.


text:
🛑 English is down

In 15f5bdc, English (https://en.scratch-wiki.info) was down:

HTTP code: 508
Response time: 1284 ms

Resolved: English is back up in cd947ea after 19 minutes.


text:
🛑 AI对话 is down

In fdd098e, AI对话 (https://haoqi7-question.hf.space/) was down:

HTTP code: 503
Response time: 70 ms

Resolved: AI绘画 is back up in f6708e8.


text:
🛑 File Transfer is down

In 928d7c4, File Transfer (https://code.haoqiyong.cf/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: File Transfer is back up in f50cd38 after 18 minutes.


text:
🛑 Happy Vibes Bot 4 is down

In cec1090, Happy Vibes Bot 4 ($BOT4) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Happy Vibes Bot 4 is back up in 806a89b.

repo: Happy-Vibes-Bot/status


text:
uSplit test results not being reported back to Google Analytics.

Hi,
We have a problem that uSplit is not reporting experiment results back to Google Analytics.
When clearing cookies and refreshing the tested site we see all the variations being shown properly, we see the activity on the said site in Real-Time -> Overview tab of Google Analytics.
We downloaded the repository and debugged it and we see that in function OnResultExecuted of class VariationReportingActionFilterAttribute, variationReported is being set as true but in the experiment view in Google Analytics -> Behavior -> Experiments we don't see any activity and my Experiment Session count is sitting at 0.
We dont see any errors in the logs as well.
Some additional info (No idea if that is relevant):

We debugged this on my local machine that is not accessible from outside.
Tried this on live site that is accessible from internet and still did not work. (Should be noted that the live site is deployed with Umbraco Flexible load balancing, and we went to each node and authorised them one by one using their internal node URL’s which are different than the external URL.)
At the bottom of Google experiment site cannot see the variations and get following error:
Experiment Code Validation
PAGEA: Sorry – there’s a problem on our end.
PAGEB - 7a11e899-xxxxxxx-xxxxx: Sorry – there’s a problem on our end.
Note :  "If you're sure the pages are properly set up, you can still start the experiment."

Our flow of creating an experiment:
Click "A/B Testing" -> "Create a new experiment" -> Go to experiments page -> "Clone original" to the same folder as original -> Change the variation -> Save and publish it -> Go to Google Analytics/Behavior/Experiments -> Click the experiment -> Set up the Metric -> Click "Save for later" -> Go back to Umbraco and Start the experiment

Hi @pauloya, sounds like the reporting to GA is not working as it should. Do you see experiments listed in the Tree in the bacoffice? Are they started? If so how is your "reporting of variations to google" setup?
This is usually a piece of JS that tells Google that an experiment was run. This is not reported on the server side but on the client side and this code needs to be compatible with how you have GA setup on your website. uSplit offers a number of methods to report the variation - which one are you using? Have you tried any of the other ones?

Hi I'm having the same issue. the google api is working and its creating the experiment however no data is being collected. also when i look into the source code for the page there is no tracking data being inserted in the page.
thanks

Also i have now fully tested the other variations @Html.AbTesting.AnalyticsJsScriptTag() & @Html.AbTesting.CxApiScriptTags() as well as making sure the analytics.js file is in the header. all of which does not help google analytics track the data.

authors: alikazai ondrejpialek pauloya

repo: HappyPorch/uSplit

license: Unlicense


text:
Add callback on notification click

Lots of help from https://gist.github.com/Devligue/8dd974ecabf79508a5ec741d88099e77 for this, and various MSDN docs.

Creates minor issue #7

repo: HarryPeach/WindowsRichNotifications


text:
Add Heroic Refrain to bond monitor

Since Heroic Refrain isn't actually a bond (maintained enchantment/buff), it is not possible to see if other players, henchmen or allies are affected by it. Therefore this feature is only useful when playing by yourself with heroes - and this is honestly the main use case for this.
Additionally I've added an option to not render effects (only Heroic Refrain for now) if they were applied with an attribute lower than the current. This will prove useful when having to first stack up Heroic Refrain but already starting to apply it to heroes before being maxed out.
Unfortunately this only works when seeing the actual effect, so it's not possible to add the functionality to bonds you maintain on other players.

That's pretty cool!
As a suggestion, what about showing the lower-attribute skill differently rather than having an option to hide it? For example, it could be shaded differently, or have a border.

Great suggestion!
I've thought about it but haven't put any time into finding out how that would work, will definitely do.

Is there some decent way of greyscaling loaded textures in code or should I just add grey versions of the images?

you could always overlay the image with a semi trans colour

I've replaced the checkbox with a color selection (in case anyone wants to overlay it differently).
This looks quite nice now.

Nice, have you taken a look at the damage monitor to figure out how tall these icons need to be?

I've only added the 64x64 image to the bond monitor and didn't change anything about how they're rendered.

As of now I don't care about a lot of other skills, partially because I didn't play a lot of paragon yet.
If someone wants to have other skills (enchantments etc) included in this, please let me know which.

I've experimented adding every Enchantment, Shout, Weaponspell, Chant and Echo to the bond monitor.
I did this by adding a single sprite including every skill icon and mapping each SkillID to the appropriate frame on the image (not sure if this is the correct approach here, but it certainly sounded like less effort than adding every single skill icon as a resource).
The image is almost 4MB in size, so I don't know how desireable it is. It would allow us to display arbitrary skill icons throughout the application though (custom hero panels or showing skills in the build window comes to mind).

This isn't a good idea, no - it'll make the dll massive and as it is it will only use a few kb of that whole file.

I absolutely agree, which is why I haven't included it in this PR.
Is there some reasonable way to render the images from Guild Wars directly?
If there isn't, does anyone have a strong opinion on skills to add in order to move forward with this PR?

You can find a skill's file id from its struct, which pretty much maps to the hash in the DAT file. From there you could somehow pull the skill image out, but it was too much effort and time for me to investigate how

Can you add a section to enable/disable individual bonds to the settings for the widget please? want to add this to bond monitor but refrains off unless the player turns it on

Added in https://github.com/HasKha/GWToolboxpp/compare/2949b297f490...d4c675f1cd13 - having used it theres no need for the toggle for refrains

Okay, great 👍

Just out of curiosity, when you say:

Since Heroic Refrain isn't actually a bond (maintained enchantment/buff), it is not possible to see if other players, henchmen or allies are affected by it.

Is it because the GW client/protocol doesn't provide this information, or is it not surfaced by the Toolbox dll?
Just asking because it would actually be very useful to check who's affected by the shout even with players.

The client never receives the information.

@DubbleClick thanks for the clarification

authors: 3vcloud DubbleClick HasKha PostCrafter bquenin

repo: HasKha/GWToolboxpp


text:
readme

first tgtg link is broken

Thanks, fixed

authors: HaseFlrn steffenhls


text:
chore: update dependencies

https://www.stackage.org/lts-22.7

Hey there, sorry for the late response and thanks for the PR. As the code is generated by https://github.com/Haskell-OpenAPI-Code-Generator/Haskell-OpenAPI-Client-Code-Generator, I do not want to manually increase the stackage version but rather keep it in line with the other repository. We have a PR open to lift it to version lts-21.22, so I'll close this one. Is there a particular reason you need version lts-22.7 specifically or is the PR more generally to keep things up-to-date?

I had trouble running the example on an old ghc version.
Geoff Langenderfer
https://www.linkedin.com/in/geofflangenderfer/
On Wed, Jan 31, 2024 at 10:52 PM Joel Bach @.***> wrote:

Hey there, sorry for the late response and thanks for the PR. As the code
is generated by
https://github.com/Haskell-OpenAPI-Code-Generator/Haskell-OpenAPI-Client-Code-Generator,
I do not want to manually increase the stackage version but rather keep it
in line with the other repository. We have a PR open
https://github.com/Haskell-OpenAPI-Code-Generator/Stripe-Haskell-Library/pull/15
to lift it to version lts-21.22, so I'll close this one. Is there a
particular reason you need version lts-22.7 specifically or is the PR
more generally to keep things up-to-date?
—
Reply to this email directly, view it on GitHub
https://github.com/Haskell-OpenAPI-Code-Generator/Stripe-Haskell-Library/pull/17#issuecomment-1920625907,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABXP6UN2WWSVSTUZ7ORW5NDYRM3UNAVCNFSM6AAAAABCHSIPE2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRQGYZDKOJQG4
.
You are receiving this because you modified the open/close state.Message
ID:
<Haskell-OpenAPI-Code-Generator/Stripe-Haskell-Library/pull/17/c1920625907
@github.com>

authors: geofflangenderfer joel-bach


text:
"haxelib install task" fails with Eof

Flixels Travis currently always fails during haxelib install task. Before that, it installs a number of other haxelibs successfully though: https://travis-ci.org/HaxeFlixel/flixel/jobs/175361450#L766
I can also reproduce this locally:
> haxelib install task
Downloading task-1,0,7.zip...
Download complete : 0 bytes in 0.1s (0KB/s)
Error: Eof

Trying to access a file from the website gives the same error Eof.
Failed to get file information for task/haxedoc.xml in task (1.0.7)
Looks like the file is there but empty.
But last release is from 2015-11-01 and even has 8696 downloads.
So strange.

Somehow the issue is gone after I restarted the server. [bgm: x files theme song]

authors: Gama11 andyli ibilon

repo: HaxeFoundation/haxelib


text:
Modify Seagull movement and attack Behaviour

Seagull was created as a realtime path follower.
We decided to use turn-based movement instead of realtime.
Modify seagull to take discrete steps.
Come up with a method which allows level editors to easily add seagull paths to the tile map.

From discord:

Diarmuid: update: The seagull should only remain in each position for 2 ticks, attacking on each one, before flying on a third tick to the other position (it does not damage anything while it is flying [maybe it could scoop up a flying fish? lol])
Diarmuid: Additionally, the designer should be able to choose the positions on the tilemap it moves between, rather than it moving back and forth between a position consistently relative to where it was placed

seagull moves in a stepwise fashion now.
I still have to implement the 2 tick attack hold and reconnect the flying animation.

repo: Haydoggo/Beach-Escape


text:
fix(build): Remove a blank line in plugin.xml

Fixes #143

Really??? Seems odd to me, but it can't hurt I guess...

authors: HarelM jdupuis


text:
fix yarn scripts for windows

fixes #358

Tested while doing #378 on Windows and it worked great! Just need to test on mac to confirm this doesn't break it 🎉

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

authors: HeadstormOps aVileBroker cnkeats

repo: Headstorm/foundry-ui


text:
Get current software language

AS A User
I WANT to see all text appears on GUI on the language configured in a config file at deployment
SO THAT I can set localization of my product

For that task we need 2 elements :

[ ] an application configuration file with default language & available languages

[ ] Frontend : implement i18next & i18next react

[ ] API one route to get global configuration

repo: Health-Barbecue-Co/Health-Barbecue


text:
Revert "NWPS-1340-1341 Enhancement/nwps 1340 fei publications single …

Issue with Anchor links on report.yaml during deployment. So reverting  only this file

Not needed


text:
CDB Integration

In order to complete CDB integration there is need for:

[x] finalize cell edit, with correct undo/redo
[x] ref edit with searchable list component
[x] tile selection with new component
[x] other edits: bool, enum, flags, color, file
[ ] custom types edition
[ ] sheet properties popup
[ ] new sheet storage options (separate files)
[ ] column edit/add/remove
[ ] properties add/remove
[ ] new type to choose a sprite from an atlas
[ ] level editor integration

With latest GIT yes. Be careful if you rename ids as they don't yet get
refreshed cross sheet.
Le lun. 28 mai 2018 05:25, Thomas J. Webb notifications@github.com a
écrit :

Is it safe to use hide to edit cdbs if I'm also using castle's level
editor for now? Meaning, it won't remove any data it cant' yet edit?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/HeapsIO/hide/issues/3#issuecomment-392409360, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AA-bwMKDwznhPwRh4Gap9_oSom8Iq5gyks5t224kgaJpZM4Su17t
.

Also no refresh when cdb file got changed by CDB app in hide yet.
Le lun. 28 mai 2018 07:16, Nicolas Cannasse ncannasse@gmail.com a écrit :

With latest GIT yes. Be careful if you rename ids as they don't yet get
refreshed cross sheet.
Le lun. 28 mai 2018 05:25, Thomas J. Webb notifications@github.com a
écrit :

Is it safe to use hide to edit cdbs if I'm also using castle's level
editor for now? Meaning, it won't remove any data it cant' yet edit?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/HeapsIO/hide/issues/3#issuecomment-392409360, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AA-bwMKDwznhPwRh4Gap9_oSom8Iq5gyks5t224kgaJpZM4Su17t
.

Hello,
Is that progress list still up to date ? Or the issue could be closed ?

Yes it's still in progress, we have not yet transitioned from "classic CDB" to CDB/Hide

Apart from level editor and custom types everything should work well now with CDB/Hide.

authors: kiroukou ncannasse

repo: HeapsIO/hide


text:
antd 4.13.4 以上版本出现 样式问题

antd 4.13.4 以上版本
出现确认取消按钮失效问题

Hi，可以给组件传 props popupTransitionName="ant-slide-up" 试一下。

repo: HelKyle/antd-multi-cascader


text:
Translation results using ‘Helsinki-NLP/opus-mt-tc-big-en-ar’ model are not as expected

Helsinki-NLP/opus-mt-en-ar , Using this model, the translation results are as expected.

Adding to this, I was about to create an issue myself.
Helsinki-NLP/opus-mt-ar-en also seems to have issues, and I've just found some with chinese too (trying to translate "Chocolate is good.")
Sames to be the same/related issue as you got:

This is (was?) a problem of the models that have been converted to pytorch and huggingface transformers. Please, file issues about those converted models there and not here. Thank you!

authors: TLOREM alongLFB jorgtied

repo: Helsinki-NLP/Opus-MT


text:
Integrate refactoring project to Herb

Should make use of the Julia package for the Clingo binary https://github.com/JuliaBinaryWrappers/Clingo_jll.jl?tab=readme-ov-file

https://github.com/Herb-AI/HerbSearch.jl/pull/126

authors: THinnerichs janvandermeulen


text:
Can You Add a License?

I want to know if I can integrate your game into my student project (a web app that combined test and game), but without license displayed, I have to assume that your repository is private and I can't do that. So can you add license to your nice work so I know exactly what I can do and what I can't do. Thank you!

Added, you can check LICENSE.

repo: HeveshL/flutter-dinosaur


text:
3.0 OneView compatability

When doing a new deploy on 30 API we get this error:
REQ    --> &{Method:POST URL:https://10.0.10.118/rest/server-profiles?filter=serverHardwareTypeUri%3D'%2Frest%2Fserver-hardware-types%2FD086A170-DF72-4D4C-BFE8-40B2BAEA1A2E'&filter=serverGroupUri%3D'%2Frest%2Fenclosure-groups%2F70536257-794b-4349-917a-59e5ddc60d39'&sort=name%3Aasc Proto:HTTP/1.1 ProtoMajor:1 ProtoMinor:1 Header:map[Auth:[LTE5MDc1ODE3MzI0jsJqmR7sWGgggEJxmX3ZaR_7A1FHCzKz] Content-Type:[application/json; charset=utf-8] X-Api-Version:[300]] Body:{Reader:} ContentLength:1719 TransferEncoding:[] Close:false Host:10.0.10.118 Form:map[] PostForm:map[] MultipartForm: Trailer:map[] RemoteAddr: RequestURI: TLS:}
RESP   --> &{Status:400 Bad Request StatusCode:400 Proto:HTTP/1.1 ProtoMajor:1 ProtoMinor:1 Header:map[Via:[1.1 example.com] Cache-Control:[no-cache] Date:[Thu, 19 Nov 2015 17:58:41 GMT] Server:[Apache] Content-Type:[application/json;charset=UTF-8]] Body:0x129bbd40 ContentLength:-1 TransferEncoding:[chunked] Close:true Trailer:map[] Request:0x12974700 TLS:0x12a9a7c0}
ERROR  -->
Error submitting new profile request: Error in response: The field named StorageTargetType near line 1, column 1,697 is not a valid field in this JSON object.
Response Status: 400 Bad Request

Closing it as per the previous comment . Let us know if it is still reproducible

authors: nabhajit-ray wenlock

repo: HewlettPackard/oneview-golang


text:
🥇 ElixirのGH Actionsを追加する

Elixirのチェックのworkflowを書く

公式ドキュメントのまま書いても失敗するので、一旦諦め
https://github.com/erlef/setup-beam
# create this in .github/workflows/ci.yml
on: push

jobs:
  test:
    runs-on: ubuntu-latest
    name: OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}}
    strategy:
      matrix:
        otp: ['20.3', '21.3', '22.2']
        elixir: ['1.8.2', '1.9.4']
    steps:
      - uses: actions/checkout@v3
      - uses: erlef/setup-beam@v1
        with:
          otp-version: ${{matrix.otp}}
          elixir-version: ${{matrix.elixir}}
      - run: mix deps.get
      - run: mix test

ご協力ありがとうございました

repo: HidemaruOwO/Awesome-HelloWorld


text:
Update User.php to match Laravel 5.2 Auth Contract Requirement

Implemented required method 'getAuthIdentifierName()' to match Authenticatable contract requirement in Laravel 5.2

https://laravel.com/api/5.2/Illuminate/Contracts/Auth/Authenticatable.html -

Get the name of the unique identifier for the user.

Even if it doesn't need to return anything, we should implement the contract correctly.

Thanks so much!!!!

repo: HipsterJazzbo/LaraParse


text:
docs: fix simple typo, highlightment -> highlighting

There is a small typo in README.md.
Should read highlighting rather than highlightment.
Semi-automated pull request generated by
https://github.com/timgates42/meticulous/blob/master/docs/NOTE.md

Thanks!


text:
It would be convenient to solve this problem that through you see the Name and therefore you cannot see the player well

Works as intended

True, I checked in vanilla as well, it's just that this mod encourages more visibility of names so it's normal, I apologise however the mod is currently available in the modpack created by my team LifeMC Studios which is coming out soon

repo: Hoetty/better-name-visibility


text:
Game crashes on/after launching screen with recommended settings

Title, pretty much. I'm using game version 1.0.0, yuzu version 1520. Below are my settings for the game properties. Not sure how to fix this :/

edit: im on windows 10 btw

It seems to crash even when I disable the mods now :(

I just found the problem, to anyone else with this issue, just close RTSS (or I also heard that updating it works too, but I have not tried that.)

repo: HolographicWings/TOTK-Mods-collection


text:
/opt/homebrew/.ruby-version overrides rbenv global and causes errors for scripts using #!/usr/bin/env ruby

brew gist-logs <formula> link OR brew config AND brew doctor output
> brew config
HOMEBREW_VERSION: 4.3.2-24-g443e4e5
ORIGIN: https://github.com/Homebrew/brew
HEAD: 443e4e5dacd047ca86155e252ff7b9c43b01459b
Last commit: 12 hours ago
Core tap JSON: 30 May 04:02 UTC
Core cask tap JSON: 30 May 04:02 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_AUTO_UPDATE_SECS: 86400
HOMEBREW_CASK_OPTS: []
HOMEBREW_EDITOR: mg
HOMEBREW_MAKE_JOBS: 16
HOMEBREW_NO_ANALYTICS: set
HOMEBREW_SORBET_RUNTIME: set
Homebrew Ruby: 3.3.1 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.1/bin/ruby
CPU: 16-core 64-bit arm_palma
Clang: 15.0.0 build 1500
Git: 2.45.1 => /opt/homebrew/bin/git
Curl: 8.4.0 => /usr/bin/curl
macOS: 14.4.1-arm64
CLT: 15.3.0.0.1.1708646388
Xcode: 15.4
Rosetta 2: false

> brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: Some installed formulae are deprecated or disabled.
You should find replacements for the following formulae:
  python-lxml

I tried removing python-lxml, but it is used by another formula:
> brew uninstall python-lxml
Error: Refusing to uninstall /opt/homebrew/Cellar/python-lxml/5.2.2
because it is required by img2pdf, which is currently installed.
You can override this and force removal with:
  brew uninstall --ignore-dependencies python-lxml

Verification

[X] My brew doctor output says Your system is ready to brew. and am still able to reproduce my issue.
[X] I ran brew update and am still able to reproduce my issue.
[X] I have resolved all warnings from brew doctor and that did not fix my problem.
[X] I searched for recent similar issues at https://github.com/Homebrew/homebrew-core/issues?q=is%3Aissue and found no duplicates.

What were you trying to do (and why)?
I have rbenv installed via Homebrew and I have some personal scripts from a personal tap installed that use #!/usr/bin/env ruby, for portability. For example:
> where archive
/opt/homebrew/bin/archive
> head -5 /opt/homebrew/bin/archive
#!/usr/bin/env ruby

require 'optparse'
require 'ostruct'
require 'pathname'

What happened (include all command output)?
Running these scripts results in an error due to /opt/homebrew/.ruby-version. This is a recent issue, and has worked for years up until I updated `brew today.
> archive -h
rbenv: version `3.3.1' is not installed (set by /opt/homebrew/.ruby-version)

Even ruby fails:
> ruby --version
rbenv: version `3.3.1' is not installed (set by /opt/homebrew/.ruby-version)

Somehow /opt/homebrew/.ruby-version is overriding rbenv global:
> where ruby
/Users/dave/.rbenv/shims/ruby
/usr/bin/ruby
> rbenv versions
rbenv: version `3.3.1' is not installed (set by /opt/homebrew/.ruby-version)
  system
  3.2.3
  3.2.4
> rbenv global
system
> rbenv version
rbenv: version `3.3.1' is not installed (set by /opt/homebrew/.ruby-version)

What did you expect to happen?
I have rbenv setup to use the system version, so these should end up using /usr/bin/ruby, but /opt/homebrew/.ruby-version overrides this:
> rbenv versions
rbenv: version `3.3.1' is not installed (set by /opt/homebrew/.ruby-version)
  system
  3.2.3
  3.2.4
> rbenv global
system
> rbenv version
rbenv: version `3.3.1' is not installed (set by /opt/homebrew/.ruby-version)

This worked until .ruby-version was added with https://github.com/Homebrew/brew/commit/3392226a100dbed83639c79d88e9c540e5277855
Step-by-step reproduction instructions (by running brew commands)
`brew install rbenv`

Setup your shell for `rbenv`, then run:

`ruby --version`

Yea, we should probably move that .ruby-version file somewhere better.

Yea, we should probably move that .ruby-version file somewhere better.

It needs to live in the repository root if we want it to work as a .ruby-version file.
We could move it to Library but that means it won't typically be picked up appropriately.
Ideally we can fix this without moving but it can be moved if that's the only way to resolve this.

The only workaround here is to uninstall rbenv or disable its shell hooks. There's no way around this, as this is how rbenv is intended to work. Having a /opt/homebrew/.ruby-version file means this is used for everything in /opt/homebrew/bin.
I'm not sure what you are trying to do, but can you somehow use the RBENV_VERSION or RBENV_DIR environment variable instead of .ruby-version?
https://github.com/rbenv/rbenv?tab=readme-ov-file#environment-variables

What about having a .ruby-version with system in subfolders like bin?

That would work fine, if rbenv global was set to system. But if someone overrode that, I think they would expect bin scripts to use that Ruby version, not system.
I wonder if there's a possible solution here using something like direnv, so that the Ruby version is set only if you cd into /opt/homebrew/. That could still break scripts in bin if you tried to run them when in that directory, but maybe that's fine? If you're hacking on Homebrew you likely have the correct Ruby version installed into rbenv.

This is why Homebrew's packages either avoid (or attempt to avoid) the #!/usr/bin/env ruby pattern: it's way to permissive in cases like this.

The #!/usr/bin/env ruby pattern is the standard way of writing portable scripts. The ruby might be in /usr/bin/ on one machine, /usr/local/bin/ on another, etc. This allows the user of the script to setup Ruby as they (or their OS) sees fit.
If this is discouraged for Homebrew, what is the portable alternative? I use these scripts in non-Homebrew environments, so they need to be agnostic from the real location of the ruby binary. How should these shebang lines be written to work both inside and outside of Homebrew?

How should these shebang lines be written to work both inside and outside of Homebrew?

That's up to you. I see many potential solutions including not using rbenv in this case, installing the relevant Ruby version Homebrew wants, adjusting your PATH, installing these scripts differently inside/outside Homebrew or not installing them to inside the Homebrew prefix.

I think this is the usual pattern for things like this:
depends_on "ruby"

def install
  ruby_bin = Formula["ruby"].opt_bin
  libexec.install "myscript.rb"
  (bin/"myscript").write_env_script libexec/"myscript.rb", PATH: "#{ruby_bin}:$PATH"
end

This way the script is guaranteed to run in a predictable way with the Homebrew ruby formula.

Related: https://github.com/Homebrew/homebrew-core/issues/173816

@MikeMcQuaid said:

I see many potential solutions including not using rbenv in this case

For clarification, I'm not using rbenv for these scripts. But I do have projects that use rbenv, so I install it for those. I keep rbenv global tied to system, and only use .ruby-version in project directories. The only way to avoid this issue is to not use rbenv at all, which is not really viable.
As a workaround, I think I can use direnv + use rbenv to conditionally hook rbenv into my shell, but I haven't gotten around to trying that, yet, and would require me to use it for every project that used rbenv.

installing the relevant Ruby version Homebrew wants

Yes, but now I am at the whim of whatever version Homebrew is using. Since I opened this issue, .ruby-version in Homebrew has already changed from 3.3.1 to 3.3.2. Now every time I run brew update, these scripts could potentially break if .ruby-version happens to bump, until I install whatever version Homebrew wants.
@reitermarkus: That pattern would unfortunately not work well for my tap. FWIW, my tap is just a single directory with a bunch of relatively small single-file scripts in it. Some are Ruby, some are Python, and some are Perl. They all use #!/usr/bin/env whatever and they all are only dependent on their respective standard libraries. The install step is just a simple Makefile which copies all the scripts into #{prefix}/bin/:
  def install
    system "make", "install", "PREFIX=#{prefix}"
  end

Using libexec.install + write_env_script would mean making this installation a lot more complicated. It would need to enumerate only the Ruby scripts somehow so they can be installed into libexec and then stubs added to bin.
I'm sorry, I'm not trying to be difficult, but just pointing out how inconvenient this change is.

@ddribin you (plus @mfdj's issue) have convinced me and I've changed my mind. https://github.com/Homebrew/brew/pull/17441 should address this.

Thank you!
@MikeMcQuaid In the spirit of saying nice things when filing bugs, Homebrew is really fantastic and the first thing I install on a new Mac. It one of my few "must have" tools. Thank you (and everyone else) for all the work you've put into it!

Thanks for the kind words @ddribin and for politely explaining the situation and bearing with me while I change my mind 😁

authors: MikeMcQuaid carlocab ddribin reitermarkus

repo: Homebrew/brew


text:
No auto update migration

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[x] Have you written new tests for your changes? Here's an example.
[x] Have you successfully run brew tests with your changes locally?

CC @viktorbenei who is likely interested in this.

Thanks @MikeMcQuaid, although we're no longer affected, I'm sure it'll help others - thanks for your time and the effort, you guys rock! 😉

@viktorbenei Thanks for the kind words! Your explanations helped me figure out why my previous fix wasn't sufficient.

We're always happy to help 😊

authors: MikeMcQuaid viktorbenei


text:
utils/ruby.sh: fix Ruby path searching

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[ ] Have you successfully run brew style with your changes locally?
[ ] Have you successfully run brew typecheck with your changes locally?
[ ] Have you successfully run brew tests with your changes locally?

command -a is invalid.
(This doesn't cover the concerns I had under env filtering - it's just something else I noticed when trying to workaround with a symlink to /usr/bin.)

Review period skipped due to critical label.


text:
utils/lock.sh: default to system Ruby if available

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[x] Have you successfully run brew tests with your changes locally?

This avoids weird issues with custom Rubies.
CC @xu-cheng
Closes #253.

:+1:

authors: MikeMcQuaid xu-cheng


text:
rubocop: move requirement to configuration file

[X] Have you followed the guidelines in our Contributing document?
[X] Have you checked to ensure there aren't other open Pull Requests for the same change?
[X] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[X] Have you successfully run brew style with your changes locally?
[X] Have you successfully run brew tests with your changes locally?

If you are using en external rubocop binary you will encounter the
following error.
.rubocop_todo.yml: RSpec/FilePath has the wrong namespace - should be Rails
By moving the option to the config file an external rubocop would be
treated equally to brew style without having to supply additional
command line options.

Looks like there's an issue with Linux on Pipelines which makes it fail.

@javian CI looks green as-is. Worth merging?

I'm happy to merge. There's still an issue when I personally run rubocop from Library/Homebrew but it doesn't seem to affect the outcome of the scan and brew style doesn't spit out the same errors so it should be safe to go.

Thanks again @javian! Hopefully we can figure out the issue you're seeing too.

@MikeMcQuaid I think I figured it out. When we run brew style it executes rubocop --config .rubocop.yml in the Library/Homebrew directory. This will as far as I can tell ignore any other .rubocop.yml file recursively and will never run the rspec tests if the test/.rubocop_todo.yml was to be removed. This is the reason that it won't run into the rspec errors that I saw and the test ran green.
This wasn't the intent of the pr so style is not working as expected at the moment and it is also not possible to submit two config files using --config to include the config in the test directory. Should I change it back to using a single file or how do you think we should proceed ?

@javian That makes sense, good catch. I wonder if instead of specifying a --config when running on Library/Homebrew we can just change to the directory and save the --config invocation only for when it's a path not under Library (e.g. an arbitrary file or directory)?

@MikeMcQuaid working on that as we speak, I think its a good call

authors: MikeMcQuaid javian


text:
cmd/list: --formula is no longer a default.

This behaviour is disabled.

Review period will end on 2020-11-26 at 13:48:13 UTC.

Review period skipped due to critical label.

authors: BrewTestBot MikeMcQuaid


text:
Regarding Training on custom dataset

Hello,
Thank you for the great work on Spatio-Temporal 3D-OD models.
I have a small and maybe naive question about training Sparse4Dv3 on custom dataset.
I have lots of camera frames in my sequential dataset that do not contain any target object for detection (for example, NuScenes classes). While training the model on this dataset, should those frames be removed or be kept as it is, since the model uses information from previous frames?

Frames without targets can be retained during training. However, it depends on their proportion; if the proportion is too high, it will affect the model's performance.

Hello, I am also trying to use my own dataset for training, what parameters do I need to contain in the dataset? Duing the inference, what part of the parameters are being used? I am struggling on this problem recently, so if you know anything would be helpful to me. Thank you.

Hello @andrew403
By parameters, do you mean the contents of the arguments that are being passed during inference?

I will close this issue for now since I don't have more questions at the moment. Feel free to comment on this if anyone has questions.

authors: andrew403 linxuewu shubhendu-ranadive


text:
Allow the config to accept custom schema and work with markdown.

Contains:

rework of how the plugins are build

diversification between HTML specific and generic plugins
diversification of key shortcuts between HTML specific and generic shortcuts

rework of how the menu is build

diversification of menu items between HTML specific and generic items
allow disabling some of the items

accept custom schema, if not provided then use docType specific schema
fix the example

@gordonwoon no, but I'd like to get this merged back to the original code, that's why html is still there.

Closing in favour of #2 (I prefer to merge our changes to development) for easy updating with upstream.

repo: HowdyHub/react-prosemirror


text:
Wrong salt

Hi!
Attempting to use this with createxfactory contracts (deployed at 0xba5Ed099633D3B313e4D5F7bdc1305d3c28ba5Ed)
Testing with etherscan, but getting a different address than what the script gives.
Using like so:
./target/release/createxcrunch create3 --leading 3 --caller 0xmywalletaddress

Calling ComputeCreate3Address with salt and deployer to check, which gives a different deployment address.
Please let me know which factory contracts this has been tested with. Thank you!

See https://github.com/HrikB/createXcrunch/issues/8.
I recommend testing with Tenderly instead of etherscan so you have full configurability to set the msg.sender

@HrikB, all worked. Thanks for your help!

authors: HrikB olegkron

repo: HrikB/createXcrunch


text:
style: change from a boring ping message to a refactored embed

The command has been restyled to send a Discord embed with the round trip and Discord WebSocket latency information instead of the "Pong!" string message. The builder's description for the command has also been changed to give it a more elegant and informed message.

Message for the Developers: This code has not been listed as I am doing most of the coding from GitHub itself so I would recommend you lint and format the code + fix any aesthetic issue(s) and/or error(s) that might appear as this code has NOT been tested. Also feel free to DM me at Hauntless#3212 for any questions, concerns, etc.

Most of these stuff are on our todo list which we'll be implementing post 29th july and it was kinda intended to just make the reply message as "pong!"

authors: Fellintron Hauntmore


text:
XMLHttpRequest-class is missing response-attribute

I think that there should be response-attribute in the XMLHttpRequest-class as stated in the XMLHttpRequest-specification.
I stumbled on to this when debugging 3rd party Javascript library which didn't work with HtmlUnit and it relied on xhr.response-attribute when handing Ajax responses.
Is there any workaround for this issue, for example, could I extend HtmlUnit's XMLHttpRequest-class and use it instead?
Thanks for any assistance.

Sorry there is not really a work around for this.
Will try to fix this soon - do you use the latest version?

Yes, version 2.53.0.
Thanks for the quick reply!

ok great, will have a look and come back to you (hopefully) soon.
Usually the implementation of that is not that hard (e.g. responseText is already here but writing detailed test for most of the cases takes some time.

Works like a charm! Thank you for your fast response!
Btw. the third-party JS library is htmx and after this fix, at least all our (basic) use cases are covered and working with HtmlUnit.
With version 2.53.0 I got an error
2021-09-30 08:16:30.329 ERROR 91688 --- [           main] c.gargoylesoftware.htmlunit.WebConsole   : htmx:swapError
2021-09-30 08:16:30.338 ERROR 91688 --- [           main] c.gargoylesoftware.htmlunit.WebConsole   : TypeError: Cannot call method "indexOf" of undefined

And with the snapshot version, our unit tests are passing.

Great. Thanks for the fast feedback and the report.

Have added initial support for contentType 'document'.

authors: markoandersson rbri

repo: HtmlUnit/htmlunit


text:
Release v2.0 Update to master: update links

Release v2.0 Update to master: update links

LGTM

authors: satyaranjanp sushanthakumar

repo: Huawei-PaaS/CNI-Genie


text:
How to use largeScaleDownAcknowledged flag?

Currently we're stuck with
Cannot scale down by more than 10 instances at a time without explicit acknowledgement (set the largeScaleDownAcknowledged field in the request)

I've tried to add largeScaleDownAcknowledged=true to s9y request section in the job's yaml -- but no luck.
Can you please explain how to use this toggle?
Thanks.

The flag is present as a query param on the scale request. See https://github.com/HubSpot/Singularity/blob/3b120a92c304c659cd894b1f790f8b10378db991/SingularityService/src/main/java/com/hubspot/singularity/resources/RequestResource.java#L1786 adn the deploy resource, if executing a deploy that changes scale. It is also present as a checkbox in the UI if scaling via UI, or as an argument on the Singularity java client if scaling via api

If you want to effectively turn off the check, you can set maxScaleDownWithoutAcknowledgement at the base of the yaml to a much larger number. Default is 10. Alternatively, just acknowledge by setting the value to true on the scale/deploy api calls
https://github.com/HubSpot/Singularity/blob/0b420cb6231b61f017f18a08a564e852f4395eae/SingularityService/src/main/java/com/hubspot/singularity/config/SingularityConfiguration.java#L240

Works for us with global override, thanks.

authors: ssalinas yuriy-filatov

repo: HubSpot/Singularity


text:
Feature Request : Compose for Java using Skija

It would be fantastic to have something like Compose Dekstop but using Java for large Java desktop developer community.

I agree

authors: suyashjoshi tonsky

repo: HumbleUI/Skija


text:
Add notice on WhiskeyEntry if user already has whiskey in collection

Add a notice on the WhiskeyEntry modal (or on the whiskey details page) that lets the user know they already have that whiskey in their collection

BUG - Do not allow user's to add whiskeys that are already in collection

repo: HunterMuratore/WhiskeyHabits


text:
Online Play Connectivity Issue

New user here playing Monster Hunter World with Iceborne DLC. As soon as I began using HunterPie I constantly get disconnected from Online Play. I can’t hold a lobby for more than 2 minutes, and while I can reconnect I get disconnected just as fast.
The only fix I have found is a Modem & Router reset. This will then allow me to use HunterPie and maintain a session until I close the game. At which point I need another reset before I can play on a stable connection again.

HunterPie has no influence in your connection, so it is impossible for it to be the reason of your disconnects.
If you're playing on fullscreen and been alt tabbing a lot, that's the reason. MHW has a bug that can disconnect you from online sessions if you alt tab, capcom has never bothered to fix it and the only solution is to play on borderless windowed.

@Haato3o - Could you please delete this issue from the repository?

repo: HunterPie/HunterPie


text:
[Feature] Release management coverage

New protected branches
Create a new protected branch for "nightly" releases (updated daily automatically from dev).
Create a new protected branch for "unstable" releases (updated at each end of sprint - end of milestone).
Create environment variables
M = Major version
m = minor version
X = Hotfix version
End of sprint event (manual) :

Merge any finished feature/fix on branch "dM.m.X"
(or change the milestone if unfinished)

Merge current branch "dM.m.X" on dev

Tag current dev with "dM.m.X"

Merge current dev to nightly.

Merge current nightly to unstable.

Close branch "dM.m.X"

Increment version for next sprint

Create a new branch "dM.m.X" from current dev

Manage Release candidates (manual)

Create a new branch "rM.m.X"

New release (manual) :

Tag "rM.m.X" on "unstable"
Merge "rM.m.X" with "unstable"
Close "rM.m.X"
Merge "unstable" with "master"

New CI/CD events :

Daily merge of dev to nightly (then create the merge request from nightly to dev)
When "push" happens on master, make sure a Release package is delivered
When "push" happens on unstable, make sure a Release package is delivered
When "push" happens on nightly, make sure a Release package is delivered

Done :

Branches protections are set

Required fixes for 0.5.0 :

Make sure automated merge is authorized for github-actions[bot] for dev>nightly merges.

Features for 0.5.0 :

Package deliveries/releases when build is done (set versions variables)
Prepare some new actions that can be triggered manually to increase the versions (Major/minor/sub-minor) and prepare pull_requests from nightly to unstable and from unstable to master


text:
Running Hydrosphere Mist on Windows via Docker Toolbox

I am running  Mist via Docker Toolbox.I have started the container on it following below link
utkarsh.saraf@P5-GL2KXXX MINGW64 ~
$ docker ps
CONTAINER ID        IMAGE                           COMMAND                  CREATED             STATUS              PORTS                    NAMES
c499be9d26ae        hydrosphere/mist:0.13.3-2.1.1   "/docker-entrypoin..."   9 minutes ago       Up 9 minutes        0.0.0.0:2004->2004/tcp   awesome_mestorf

The properties of docker is as follows :
utkarsh.saraf@P5-XXXXXXX MINGW64 ~
$ env | grep DOCKER
DOCKER_MACHINE_NAME=default
DOCKER_CERT_PATH=C:\Users\utkarsh.saraf\.docker\machine\machines\default
DOCKER_TLS_VERIFY=1
DOCKER_HOST=tcp://XXX.XXX.XX.XXX:XXXX
DOCKER_TOOLBOX_INSTALL_PATH=C:\Program Files\Docker Toolbox

When i am trying to hit the url in Internet Explorer as mentioned,there is no output in it.
http://localhost:2004/ui

Mist serves nothing at root path, try to use "http://localhost:2004/ui/" or "http://localhost:2004/v2/api/status".

@dos65 sorry to disturb for it.Actually i had to do port forwarding in docker so that it can listen to that port 2004 on which mist is running.

You should mount that directory to the container and use mounted path in configuration(docs). if you mount your jobs directory as /jobs use /jobs/x.jar in configuration

I suppose that your reaction means that all is ok)

repo: Hydrospheredata/mist