Reproducing results using CLIP weights

Hello,
This is a very valuable work that opens the door to solving Visual Geo-localization using multimodal models. However, I encountered some issues while trying to perform inference using the weights provided in your Baidu Netdisk.
First, when I used the CLIP-ResNet50 and CLIP-ResNet101 weights, I couldn't reproduce the results for the pitts30k dataset as mentioned in the paper (ProGeo(CNN)). On the other hand, I encountered errors when trying to perform inference with the CLIP-ViT-B-16 and CLIP-ViT-B-32 weights.
Could it be that some of my parameters are incorrect, or do I need to modify additional parameters in the parser? I hope you can help me correct this. Thank you very much.
Results of ProGeo(CNN) from the paper: R@1: 91.8, R@5: 97.4
Parameters of RN101_best_model:
--backbone CLIP-RN101 --resume_model /work/ccc/project/VPR2/ProGEO/model/RN101_best_model --test_set_folder /work/ccc/datasets/pitts30k/images/test --fc_output_dim 512
Complete parameters:
2024-09-02 14:31:00   eval.py --backbone CLIP-RN101 --resume_model /work/ccc/project/VPR2/ProGEO/model/RN101_best_model --test_set_folder /work/ccc/datasets/pitts30k/images/test --fc_output_dim 512
2024-09-02 14:31:00   Arguments: Namespace(L=2, M=10, N=5, alpha=30, augmentation_device='cuda', backbone='CLIP-RN101', batch_size=32, batch_size_stage1=512, brightness=0.7, cache_feature_folder=None, checkpoint_period_stage1=80, checkpoint_period_stage2=8, classifiers_lr=0.01, contrast=0.7, device='cuda', epochs_num=64, epochs_num_stage1=480, fc_output_dim=512, freeze_cnn=2, freeze_trans=6, groups_num=8, hue=0.5, image_size=512, infer_batch_size=64, iterations_per_epoch=10000, lr=1e-05, lr_stage1=0.01, min_images_per_class=10, num_preds_to_save=0, num_workers=8, output_folder='logs/default/2024-09-02_14-31-00', positive_dist_threshold=25, prompt_learners=None, random_resized_crop=0.5, resize_test_imgs=False, resume_model='/work/ccc/project/VPR2/ProGEO/model/RN101_best_model', resume_model_stage1=None, resume_train=None, saturation=0.7, save_dir='default', save_only_wrong_preds=False, seed=0, soft_triplet=False, test_set_folder='/work/ccc/datasets/pitts30k/images/test', train_all_layers=False, use_amp16=False)
2024-09-02 14:31:00   The outputs are being saved in logs/default/2024-09-02_14-31-00
2024-09-02 14:31:03   There are 1 GPUs and 64 CPUs.
2024-09-02 14:31:03   Loading model from /work/ccc/project/VPR2/ProGEO/model/RN101_best_model

Reproduced results:
2024-09-02 14:33:37   < test - #q: 6816; #db: 10000 >: R@1: 90.8, R@5: 96.0, R@10: 96.8, R@20: 97.5

Parameters of RN50_best_model:
--backbone CLIP-RN50 --resume_model /work/ccc/project/VPR2/ProGEO/model/RN50_best_model --test_set_folder /work/ccc/datasets/pitts30k/images/test --fc_output_dim 1024
Complete parameters:
2024-09-02 14:54:20   eval.py --backbone CLIP-RN50 --resume_model /work/ccc/project/VPR2/ProGEO/model/RN50_best_model --test_set_folder /work/ccc/datasets/pitts30k/images/test --fc_output_dim 1024
2024-09-02 14:54:20   Arguments: Namespace(L=2, M=10, N=5, alpha=30, augmentation_device='cuda', backbone='CLIP-RN50', batch_size=32, batch_size_stage1=512, brightness=0.7, cache_feature_folder=None, checkpoint_period_stage1=80, checkpoint_period_stage2=8, classifiers_lr=0.01, contrast=0.7, device='cuda', epochs_num=64, epochs_num_stage1=480, fc_output_dim=1024, freeze_cnn=2, freeze_trans=6, groups_num=8, hue=0.5, image_size=512, infer_batch_size=64, iterations_per_epoch=10000, lr=1e-05, lr_stage1=0.01, min_images_per_class=10, num_preds_to_save=0, num_workers=8, output_folder='logs/default/2024-09-02_14-54-20', positive_dist_threshold=25, prompt_learners=None, random_resized_crop=0.5, resize_test_imgs=False, resume_model='/work/ccc/project/VPR2/ProGEO/model/RN50_best_model', resume_model_stage1=None, resume_train=None, saturation=0.7, save_dir='default', save_only_wrong_preds=False, seed=0, soft_triplet=False, test_set_folder='/work/ccc/datasets/pitts30k/images/test', train_all_layers=False, use_amp16=False)
2024-09-02 14:54:20   The outputs are being saved in logs/default/2024-09-02_14-54-20
2024-09-02 14:54:22   There are 1 GPUs and 64 CPUs.
2024-09-02 14:54:22   Loading model from /work/ccc/project/VPR2/ProGEO/model/RN50_best_model

Reproduced results:
2024-09-02 14:58:55   < test - #q: 6816; #db: 10000 >: R@1: 90.0, R@5: 95.4, R@10: 96.4, R@20: 97.2
Results of ProGeo(Transformer) from the paper: R@1: 93.0, R@5: 98.3
Parameters of VIT32_best_model:
--backbone CLIP-ViT-B-32 --resume_model /work/ccc/project/VPR2/ProGEO/model/VIT32_best_model --test_set_folder /work/ccc/datasets/pitts30k/images/test
Complete parameters:
2024-09-01 21:25:15   eval.py --backbone CLIP-ViT-B-32 --resume_model /work/ccc/project/VPR2/ProGEO/model/VIT32_best_model --test_set_folder /work/ccc/datasets/pitts30k/images/test
2024-09-01 21:25:15   Arguments: Namespace(L=2, M=10, N=5, alpha=30, augmentation_device='cuda', backbone='CLIP-ViT-B-32', batch_size=32, batch_size_stage1=512, brightness=0.7, cache_feature_folder=None, checkpoint_period_stage1=80, checkpoint_period_stage2=8, classifiers_lr=0.01, contrast=0.7, device='cuda', epochs_num=64, epochs_num_stage1=480, fc_output_dim=1024, freeze_cnn=2, freeze_trans=6, groups_num=8, hue=0.5, image_size=512, infer_batch_size=64, iterations_per_epoch=10000, lr=1e-05, lr_stage1=0.01, min_images_per_class=10, num_preds_to_save=0, num_workers=8, output_folder='logs/default/2024-09-01_21-25-15', positive_dist_threshold=25, prompt_learners=None, random_resized_crop=0.5, resize_test_imgs=False, resume_model='/work/ccc/project/VPR2/ProGEO/model/VIT32_best_model', resume_model_stage1=None, resume_train=None, saturation=0.7, save_dir='default', save_only_wrong_preds=False, seed=0, soft_triplet=False, test_set_folder='/work/ccc/datasets/pitts30k/images/test', train_all_layers=False, use_amp16=False)
2024-09-01 21:25:15   The outputs are being saved in logs/default/2024-09-01_21-25-15
2024-09-01 21:25:18   There are 1 GPUs and 64 CPUs.
2024-09-01 21:25:18   Loading model from /work/ccc/project/VPR2/ProGEO/model/VIT32_best_model

Error message:
  0%|                                                                       | 0/157 [00:00<?, ?it/s]
  0%|                                                                       | 0/157 [00:08<?, ?it/s]
2024-09-01 21:25:41
Traceback (most recent call last):
  File "eval.py", line 46, in <module>
    recalls, recalls_str = test.test(args, test_ds, model, args.num_preds_to_save)
  File "/work/ccc/project/VPR2/ProGEO/test.py", line 31, in test
    descriptors = model(images.to(args.device))
  File "/work/ccc/anaconda3/envs/ProGEO/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
    return forward_call(*args, **kwargs)
  File "/work/ccc/project/VPR2/ProGEO/cosplace_model/cosplace_network_stage2.py", line 61, in forward
    image_features = self.backbone(x)
  File "/work/ccc/anaconda3/envs/ProGEO/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
    return forward_call(*args, **kwargs)
  File "/work/ccc/project/VPR2/ProGEO/clip/model.py", line 226, in forward
    x = x + self.positional_embedding.to(x.dtype)
RuntimeError: The size of tensor a (301) must match the size of tensor b (257) at non-singleton dimension 1

2024-09-01 21:25:41   Experiment finished (with some errors)

Parameters of ViT16_best_model:
--resume_model /work/ccc/project/VPR2/ProGEO/model/ViT16_best_model --test_set_folder /work/ccc/datasets/pitts30k/images/test --fc_output_dim 512
Complete parameters:
2024-09-02 14:45:57   eval.py --backbone CLIP-ViT-B-16 --resume_model /work/ccc/project/VPR2/ProGEO/model/ViT16_best_model --test_set_folder /work/ccc/datasets/pitts30k/images/test --fc_output_dim 512
2024-09-02 14:45:57   Arguments: Namespace(L=2, M=10, N=5, alpha=30, augmentation_device='cuda', backbone='CLIP-ViT-B-16', batch_size=32, batch_size_stage1=512, brightness=0.7, cache_feature_folder=None, checkpoint_period_stage1=80, checkpoint_period_stage2=8, classifiers_lr=0.01, contrast=0.7, device='cuda', epochs_num=64, epochs_num_stage1=480, fc_output_dim=512, freeze_cnn=2, freeze_trans=6, groups_num=8, hue=0.5, image_size=512, infer_batch_size=64, iterations_per_epoch=10000, lr=1e-05, lr_stage1=0.01, min_images_per_class=10, num_preds_to_save=0, num_workers=8, output_folder='logs/default/2024-09-02_14-45-57', positive_dist_threshold=25, prompt_learners=None, random_resized_crop=0.5, resize_test_imgs=False, resume_model='/work/ccc/project/VPR2/ProGEO/model/ViT16_best_model', resume_model_stage1=None, resume_train=None, saturation=0.7, save_dir='default', save_only_wrong_preds=False, seed=0, soft_triplet=False, test_set_folder='/work/ccc/datasets/pitts30k/images/test', train_all_layers=False, use_amp16=False)
2024-09-02 14:45:57   The outputs are being saved in logs/default/2024-09-02_14-45-57
2024-09-02 14:45:59   There are 1 GPUs and 64 CPUs.
2024-09-02 14:45:59   Loading model from /work/ccc/project/VPR2/ProGEO/model/ViT16_best_model

Error message:
  0%|                                                                       | 0/157 [00:00<?, ?it/s]
  0%|                                                                       | 0/157 [00:01<?, ?it/s]
2024-09-02 14:46:02
Traceback (most recent call last):
  File "eval.py", line 46, in <module>
    recalls, recalls_str = test.test(args, test_ds, model, args.num_preds_to_save)
  File "/work/ccc/project/VPR2/ProGEO/test.py", line 31, in test
    descriptors = model(images.to(args.device))
  File "/work/ccc/anaconda3/envs/ProGEO/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
    return forward_call(*args, **kwargs)
  File "/work/ccc/project/VPR2/ProGEO/cosplace_model/cosplace_network_stage2.py", line 59, in forward
    image_features = self.backbone(x)
  File "/work/ccc/anaconda3/envs/ProGEO/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
    return forward_call(*args, **kwargs)
  File "/work/ccc/project/VPR2/ProGEO/clip/model.py", line 226, in forward
    x = x + self.positional_embedding.to(x.dtype)
RuntimeError: The size of tensor a (1201) must match the size of tensor b (1025) at non-singleton dimension 1

2024-09-02 14:46:02   Experiment finished (with some errors)

Hello, thanks for visiting my code and commiting.

I'm sure that the results can be repeted. But I'm not sure weather my assistant(other author) put the best model into the netdisk, you can train the model again if you are insterested.
If you are using VIT as the backbone, you need add a parameter "--resize_test_imgs" in the command. Because VIT only accept fixed size image. Just like that "python3 eval.py --backbone CLIP-ViT-B-16 --resume_model /data1/CosPlace/logs/default/stage2/VIT16_nofreeze/best_model.pth --test_set_folder /data3/VPR-datasets-downloader/msls/val --resize_test_imgs --infer_batch_size 128 --fc_output_dim 512".
If you have any other problem, please let me know.

Sure, based on your suggestion, I performed inference on the pitts30k dataset using the CLIP-ViT-B-16 and CLIP-ViT-B-32 weights, with the results as follows:

VIT32_best_model:
< test - #q: 6816; #db: 10000 >: R@1: 89.1, R@5: 95.1, R@10: 96.5, R@20: 97.5
ViT16_best_model:
< test - #q: 6816; #db: 10000 >: R@1: 90.6, R@5: 96.1, R@10: 97.3, R@20: 98.3

If there are any new weights available, I hope you can update them promptly as it would be beneficial to the community. I will also attempt to reproduce the results myself. Thank you for your response.

All right, I will check the weight problem if i have spare time.


[hi] translate content/en/docs/tutorials/configuration/configure-java-microservice/configure-java-microservice.md to hindi

Hi,
I would like to work on translating this page to Hindi.
Page that needs to be translated to Hindi:
https://github.com/kubernetes/website/blob/main/content/en/docs/tutorials/configuration/configure-java-microservice/configure-java-microservice.md
Original:
https://kubernetes.io/docs/tutorials/configuration/configure-java-microservice/configure-java-microservice/

/assign

/language hi
/sig docs

/area localization

/triage accepted

Hi @divya-mohan0209 and @niranjandarshann , I have fixed the issue in this PR: #46528


deis pull panic on Mac OS X

deis pull panics for me consistently on master or the v1.12.0-rc1 branch, whether I build deis locally or use the binary installer from curl -sSL http://deis.io/deis-cli/install.sh | sh -s 1.12.0:
$ ./deis pull mboersma/nodejs-hello -a zeroed-rosewood
Creating build... panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x0 pc=0x1162e5]

goroutine 1 [running]:
github.com/deis/deis/client/cmd.BuildsCreate(0x7fff5fbff955, 0xf, 0x7fff5fbff93c, 0x15, 0x0, 0x0, 0x0, 0x0)
	/Users/jenkins/workspace/build-deis-cli-installer-darwin/src/github.com/deis/deis/client/cmd/builds.go:66 +0x295
github.com/deis/deis/client/parser.buildsCreate(0xc82000a1f0, 0x4, 0x4, 0x0, 0x0)
	/Users/jenkins/workspace/build-deis-cli-installer-darwin/src/github.com/deis/deis/client/parser/builds.go:98 +0x37c
github.com/deis/deis/client/parser.Builds(0xc82000a1f0, 0x4, 0x4, 0x0, 0x0)
	/Users/jenkins/workspace/build-deis-cli-installer-darwin/src/github.com/deis/deis/client/parser/builds.go:23 +0x12f
main.Command(0xc82000a1f0, 0x4, 0x4, 0x187fe0)
	/Users/jenkins/workspace/build-deis-cli-installer-darwin/src/github.com/deis/deis/client/deis.go:93 +0x1404
main.main()
	/Users/jenkins/workspace/build-deis-cli-installer-darwin/src/github.com/deis/deis/client/deis.go:18 +0x60

goroutine 6 [runnable]:
github.com/deis/deis/client/cmd.progress.func1(0xc820010e80, 0x4, 0x4, 0xc82001aa20, 0xc820148660, 0x3, 0xc82001a9c0)
	/Users/jenkins/workspace/build-deis-cli-installer-darwin/src/github.com/deis/deis/client/cmd/utils.go:20
created by github.com/deis/deis/client/cmd.progress
	/Users/jenkins/workspace/build-deis-cli-installer-darwin/src/github.com/deis/deis/client/cmd/utils.go:34 +0x166

The v1.11.2 deis Mac OS X binary works fine, however, and this doesn't seem to occur on Linux.

I suspect this has something to do with #4606, but I don't have an OS X machine to debug with so I can't test my suspicions. I think procfileMap may somehow not be initialized when yaml isn't parsed. Maybe try procfileMap := make(map[string]string) here instead of var.


iOS 9.3.1 cannot play long mp3

I have a mp3 which is about 3 minutes long (size 2MB) and I get this error from xcode:
10:22:11.042 WARNING:  [0x40081000] 998: Failure to setup sound, err = -50
cordova version 4.1.0

I am currently experiencing the same problem, did you find a solution?

Long time ago. I think In addition to this plugin I am using the cordova default plugin to play long mp3. Really not a nice solution but at least it worked.


About Universal Transformers

Excuse me.
Has the source code of this paper been uploaded ?
And how can I use it ?
Universal Transformers
https://arxiv.org/pdf/1807.03819.pdf

Hi, check model/research, it has been there long long time.

Thank you very much


Fail task linkPodDebugFrameworkIosX64

All my attempts to connect Sentry KMM to my project end in errors. What can I do wrong?
w: Interop library /Users/pikselnsk/.gradle/caches/modules-2/files-2.1/io.sentry/sentry-kotlin-multiplatform-iosx64/0.0.1/41a5fe46ac76e87affbd64a4a9ff1750e312ccb2/sentry-kotlin-multiplatform-cinterop-Sentry can't be exported with -Xexport-library
w: Interop library /Users/pikselnsk/.gradle/caches/modules-2/files-2.1/io.sentry/sentry-kotlin-multiplatform-iosx64/0.0.1/b391b9ac2720a6ffa4315b2e903a070c209a2db4/sentry-kotlin-multiplatform-cinterop-Sentry.NSException can't be exported with -Xexport-library
w: Interop library /Users/pikselnsk/.gradle/caches/modules-2/files-2.1/io.sentry/sentry-kotlin-multiplatform-iosx64/0.0.1/97366cb0d055b6e32c55bd529bb9e554b2ce2e73/sentry-kotlin-multiplatform-cinterop-Sentry.Scope can't be exported with -Xexport-library

my cocoapods settings
 cocoapods {
        summary = "Some description for the Shared Module"
        homepage = "Link to the Shared Module homepage"
        ios.deploymentTarget = "15.0"
        podfile = project.file("../iosApp/Podfile")
        pod("Sentry", "~> 7.21.0")

        framework {
            baseName = "shared"
            isStatic = false
            export("io.sentry:sentry-kotlin-multiplatform:0.0.1")
        }
    }

Is this only specific to your own project or do you also get these errors in the sample project? Are you working on a Macbook with M1?

Closing this for now. Please let us know if you have further questions or issues.


Connection Lost consistently On Filtered tweet stream

I am trying to start a real time ongoing stream with one rule.
Creation of the rule does not throw errors, and the rule registers.
My main stream code looks like this:
client := &twitter.Client{
		Authorizer: Authorize{
			Token: config.TWITTER_TOKEN,
		},
		Client: http.DefaultClient,
		Host:   "https://api.twitter.com",
	}

	options := twitter.TweetSearchStreamOpts{
		TweetFields: []twitter.TweetField{
			twitter.TweetFieldCreatedAt,
			twitter.TweetFieldEntities,
			twitter.TweetFieldAuthorID,
			twitter.TweetFieldText,
			twitter.TweetFieldID,
			twitter.TweetFieldConversationID,
		},
		UserFields: []twitter.UserField{
			twitter.UserFieldDescription,
			twitter.UserFieldURL,
			twitter.UserFieldName,
			twitter.UserFieldVerified,
		},
		Expansions: []twitter.Expansion{},
	}

	tweetStream, err := client.TweetSearchStream(ctx, options)
	if err != nil {
		return nil, err
	}

	te.Stream = tweetStream

Here is the code to retrieve the tweets:
for {
		select {

		case tm := <-te.Stream.Tweets():
			for _, tweet := range tm.Raw.Tweets {
				message := ParseMessage(tweet)
				channel <- message
			}

		case sm := <-te.Stream.SystemMessages():
			smb, _ := json.Marshal(sm)
			log.Println("System Message")
			log.Println(smb)

		case strErr := <-te.Stream.Err():
			log.Println("Stream Error")
			log.Println("Error -> ", strErr)
			break

		case shouldBreak, _ := <-te.ShutdownChannel:
			// Graceful Exit signal
			if shouldBreak {
				break
			}

		default:
		}

		if te.Stream.Connection() == false {
			fmt.Println("connection lost")
			break
		}
	}

The problem, within thirty seconds of starting the program, the streamer returns "connection lost" and exits. This happens every time. Have you seen similar behaviour before?

No I do not have a timeout.
I use context.Background()
Also, just now tried to use the example script provided with my token.
I get the same error
> go run .
Callout to tweet search stream callout
connection lost

So a bit confused as to how to keep the connection persistent.

Hi there, I have the same connection lost issue. I will also have another look within the next week.
But anyways the best v2 API client i came across. gj!

Something to remember is that the stream APIs from twitter are using long lived REST connections.  Those connections may be disconnected (it is also subject to rate limiting as well). Documentation here.
I believe that the streaming API as a back fill option to allowing for stream to pickup where it left off.
If you can provide some examples of what you are seeing, I could try and reproduce but without anything like that, we might end up with the old it works on my machine.

No I do not have a timeout. I use context.Background() Also, just now tried to use the example script provided with my token.
I get the same error
> go run .
Callout to tweet search stream callout
connection lost

So a bit confused as to how to keep the connection persistent. Can I please confirm that this does not happen for you, with the example script?

@g8rswimmer I have mentioned here that the example script that I linked leads to the same kind of connection lost issues, would you expect that the stream APIs from twitter maybe disconnected in the same twitter disconnections that you mention?
If you could confirm that the example script works for you without being disconnected within a minute consistently, that would be a good start for me (as it is not working for me)

Hello @g8rswimmer, Can I confirm that the above solution would be the intended way to use the stream, as proposed by @BerndCzech ? IE
logger.Warn("client got disconnected") 			time.Sleep(time.Second) 			//tweetStream, err = client.TweetSearchStream(ctx, opts) 			//if err != nil { 			//	return errors.Errorf("tweet sample callout error: %v", err) 			//}
So just sleep for a second, do not retry to reconnect (code is commented out), and just go on the for loop?
The reason I ask is because your sample code shows this:
			default:
			}
			if tweetStream.Connection() == false {
				fmt.Println("connection lost")
				return
			}

suggesting that you do need to handle the reconnection in some kind of way. If so, could you suggest a reasonable way to handle the reconnection without hitting ratelimits and using the backfill?
Thank you for your time!

@g8rswimmer @BerndCzech Heartbeat timeout may be too short.
According to Twitter API v2 docs: "The endpoint provides a 20-second keep alive heartbeat (it will look like a new line character). ".
So it seems like the constant keepAliveTO = 11 * time.Second is too short. It's better to wait at least 20s before decide that we are disconnected.
Set constant keepAliveTO more than 20 seconds and try to reconnect instead of simply break.

@calehh
Of course twitter is not updating their documentation or making sure that it references the updated document.  This was the doc that I used, which states a 10 second heartbeat.


Modularize

The Anserini framework currently has a huge list of dependencies (and transitive dependencies).
Especially the dependency on Lucene and Elasticsearch is likely to cause version conflicts, as Elasticsearch requires the Java library version to match the cluster's version.
That way it is currently not possible to use Anserini and own Elasticsearch Java API applications on the same classpath.
Modularizing the Anserini framework to decoupled libraries could prevent such version conflicts.

Hi @heinrichreimer, thanks for the comment!
Yes, in principle I agree this would be a good thing to do... however, realistically the priority is rather low, at least in the short term, especially with SIGIR deadline etc. coming up.
However, a near term reasonable task might be to prune the pom of any dependencies that aren't absolutely necessary...

Thanks for your honest opinion. I will think about possibilities of modularization in the meantime and come back to you with ideas and feedback.
The general idea would be to have a base "model" on which search, LTR etc. are built.
However, pruning dependencies is a very good start!


0.8.x: Fix undefined array key 'text' notice

Whilst this is a partial fix.  The correct fix would be to utilize the handler argument field that is emitted from the base Parsedown->blockHeader() function if you wish to use the latest versions of the base.  Otherwise, you will get no text parsed by the attribute parser.


Add 'halves()' to path interface

Adds a func to the path interface which breaks up the path into its two distinct halves: the prefix builder, and the folder and item elements.  Likely to be useful in the future where prefixes will be of arbitrary length, and downstream consumers are primarly focused on the non-prefix portion of the path.

Does this PR need a docs update or release note?

[x] :no_entry: No

Type of change

[x] :sunflower: Feature

Issue(s)

#3993

Test Plan

[x] :zap: Unit test
[x] :green_heart: E2E

have you run into a situation in the code where you've needed this? It seems like using functions to explicitly get some of the prefix elements and a call to Folders() would get the same result. I'm hesitant to lose the explicit accessors we have for the prefix elements (this returns a generic Builder instead)

have you run into a situation in the code where you've needed this? It seems like using functions to explicitly get some of the prefix elements and a call to Folders() would get the same result.

@ashmrtn Only the one bit of test code that changed.  Though it feels like something we'll use more of.  I could be wrong about that, though, and am happy to take it or leave it.

I'm hesitant to lose the explicit accessors we have for the prefix elements (this returns a generic Builder instead)

Ah, good call.  Return a prefix-only path.Path instead?  (if we keep it)

have you run into a situation in the code where you've needed this? It seems like using functions to explicitly get some of the prefix elements and a call to Folders() would get the same result.

Only the one bit of test code that changed. Though it feels like something we'll use more of. I could be wrong about that, though, and am happy to take it or leave it.

I'd prefer to leave it out unless we find ourselves needing it a lot in non-test code

I'm hesitant to lose the explicit accessors we have for the prefix elements (this returns a generic Builder instead)

Ah, good call. Return a prefix-only path.Path instead? (if we keep it)

The above suggestion seems like it would be mostly useful if we need to print (or get the string of) just the prefix of the path? I'm not sure what else it really gets us apart from that since we can always just use individual accessor functions the the different prefix parts

closing: not going to use this pattern


Error with aliasing a subdomain: Unable to verify. Please try the alias again later

now alias https://ramda-repl-zsofwtzrvd.now.sh repl.johnlindquist.com
> repl.johnlindquist.com is a custom domain.
> Verifying the DNS settings for repl.johnlindquist.com (see https://zeit.world for help)
> Detected zeit.world nameservers! Configuring records.
> DNS Configured! Verifying propagation…
> Error! > We configured the DNS settings for your alias, but we were unable to verify that they've propagated. Please try the alias again later.

I've been trying this command for the past day.
johnlindquist.com is pointing to the zeit.world nameservers. Am I missing a config step or is something broken?

The propagation test is currently done in the client; so a slow dns server could be causing it.
dig repl.johnlindquist.com should return the same A records as dig alias.zeit.co
And as now by default adds * CNAME to alias.zeit.co for all zeit.world domains, the result for anything.yourdomain.com should resolve to the same ip address as alias.zeit.co
However, it seems that e.g. asd.johnlindquist.com resolves correctly, but repl.johnlindquist.com doesn't. So did you maybe now domains add the subdomain - when adding just the apex domain is needed.

@jamo yeah, I've been playing with adding the subdomain as a workaround. I'll remove it and try again.

Weird, deleted the 'repl' record, still doesn't work.
Tried with two other domains, they both work:
https://ramdarepl.johnlindquist.com/
https://somerepl.johnlindquist.com/
Wonder why repl keeps erroring out :/

seems like domain repl.johnlindquist.com is still configured as a external unverified domain -- and thus it causes the dns to behive unexpectedly...
try now domains ls and then I'd suggest to now domains rm <domainId> for the repl.johnlindquist.com

Thanks so much, now domains rm id worked. 😄
For anyone else reading this issue in the future:
Adding a subdomain with now domains add repl.johnlindquist.com was a mistake. Then when  tried to fix it, I was only removing the record with now dns rm recordId when I should've been removing the domain itself using now domains rm domainId.

Updating now is what did the trick for me.


Newly registered users couldn't complete setting password due to incorrect verification code

Users are able to receive email links, but some parts of them will encounter error message stating verification code is invalid.

Completed.


Oracle TC connection hangs when using TC_INITSCRIPT

When using the Oracle-XE TC along with TC_INITSCRIPT parameter, the connection fails as the TC parameters are passed to the Oracle container.
E.G
jdbc:tc:oracle://hostname/databasename?TC_INITSCRIPT=somepath/init_mysql.sql eventually maps to
jdbc:oracle:thin:system/oracle@//localhost:32775/xe?TC_INITSCRIPT=somepath/init_sql.sql which FAILS
jdbc:tc:oracle://hostname/databasename maps to
jdbc:oracle:thin:system/oracle@//localhost:32775/xe which WORKS
I believe this map be related to issue #345 & PR #357. If this is related, when will the PR be merged and if not, please can you help with the fix?

@sooty1892 @richiejrsilva there have been improvements since the date the issue was reported. Can you let us know if the issue still happens?
Although, nowadays, we highly recommend use flyway or liquibase for such operations

@eddumelendez the issue does not happen anymore. thanks


Packaging request: homebrew for Linux

I am formally requesting a package for deployment via homebrew for Linux.

Packaging is done by the community, not by Ghostty the project. If you want Ghostty packaged in your distribution of choice then you can volunteer to do it yourself or wait for another community member to do it.

If I knew how to do it, I would have done it.

It was @Uzaaft


Update README.md

Badges are added to readme
📝 Description
Add a brief description.
💣 Is this a breaking change (Yes/No):

[ ] Yes
[x] No

🚧 How to migrate?
Don't need.
📝 Additional Information
lol

@donqu1xotechina please review


fix: Fix issues from strictNullChecks merge

Details
Strict null checks were enabled in #829 but not in #828. They were merged at roughly the same, so the build broke. This PR fixes the build by adapting #829's changes to work with strictNullChecks.
Motivation
Fixes main
Context
n/a
Pull request checklist

[n/a] Addresses an existing issue: Fixes #0000
[x] Added relevant unit test for your changes. (yarn test)
[x] Verified code coverage for the changes made. Check coverage report at: <rootDir>/test-results/unit/coverage
[x] Ran precheckin (yarn precheckin)
[ ] (after PR created) The Accessibility Checks (pull_request) check should fail. All other checks should pass.

Codecov Report

Merging #831 (c375deb) into main (c873a50) will increase coverage by 0.95%.
The diff coverage is 98.55%.

@@            Coverage Diff             @@
##             main     #831      +/-   ##
==========================================
+ Coverage   88.02%   88.97%   +0.95%
==========================================
  Files          36       38       +2
  Lines         693      762      +69
  Branches       72       79       +7
==========================================
+ Hits          610      678      +68
- Misses         83       84       +1

Impacted Files
Coverage Δ

...r/pull-request/ado-pull-request-comment-creator.ts
98.24% <98.24%> (ø)

packages/ado-extension/src/ioc/ado-ioc-types.ts
100.00% <100.00%> (ø)

...kages/ado-extension/src/ioc/setup-ioc-container.ts
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


feat: dedicated Process launcher

Seems not relevant anymore, the driver cleanup should be now clean and not result in dead processes. Feel free to verify on Windows, since I currently don't have a Windows machine.

@mxschmitt CI is passing but the coverage uploading is failing


Add Mario to CI maintainers list

Signed-off-by: Aadhitya A<EMAIL_ADDRESS>Description
N/A
Notes for Reviewers
@MarioArriaga92 double check for details xD
Signed commits

[x] Yes, I signed my commits.

Codecov Report

Merging #5219 (54b133a) into master (f4a31ed) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #5219   +/-   ##
=======================================
  Coverage   30.93%   30.93%
=======================================
  Files          63       63
  Lines        5441     5441
=======================================
  Hits         1683     1683
  Misses       3339     3339
  Partials      419      419

Flag
Coverage Δ

gointegrationtests
10.42% <ø> (ø)

integrationtests
∅ <ø> (?)

unittests
23.15% <ø> (ø)

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

Continue to review full report at Codecov.

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

LGTM!


Empty Posts WordPress

On some days, Wordpress "Post" gets filled with untitled and empty blog posts. Any idea why this is happening and how to stop it? Jacqueline and I keep deleting them.

JIRA ticket submitted to LF creative services

Heads up -  this has been assigned and is being looked in to by the creative services team.

+1 thanks!

Hi Roxy - creative services advised this issue has been fixed. Please let me know if you see this pop up again.

Wonderful, thank you :+1:


feat: add the reference subcommand to generate the markdown doc

We can maintain the reference code in this repo. Will delete the go module and go code in envd-docs.

cc @VoVAllen @gaocegege PTAL


Feature Request: Add Tennis/racquetball or Custom Sport

Asked on our Slack channel:

I believe the simple solution is to add Tennis/racquetball/squash to the list... but a feature that would cover this and more (i.e. Roller Derby ) would to have a Custom Sport option.
Same as the other leagues but also include the option to upload an icon/svg/img of sport.

Can I work on this ?

 :)
Make a PR and mention this Issue number.


Local cache, remote DB

Hi,
Could we think of some kind of cache driver that would be used as any other, but that would have some local copy of a DB in some SQLite. Of course, there would be some knobs to be able to configure when to consider a data stale and need to update the cache from the DB. But we should have some great default so no need to be knee deep in config to use it.
The big problem would be the consistency and sync, but someone looking for a solution like that would be aware of it.
Some system have limited connectivity, and having a reactive app even with stale data might be better than no answer/update at all.
For an extra integration, I could even think about some kind of integration with some REST-ful API transformed into local sqlite cache. Then a mobile app could always have some data in it without network. (this might be stupid and maybe a simple local HTTP cache could be smarter).
What do you think?

Hi,
The idea seems interesting, but is it the right place ? Is it the role of godb ? (or other similar tool). The good place for this, IMO, is in a repository where you have full control of what can be cached, how long it can be, and what can't.
Integrating this cache management into the data access tool could save some lines of code, but you will have few control on it.
Admitting it's a good solution, there are some problems :

you can't use it with raw sql queries, or only simplest ones, as they will not be compatible between different DB backends. But it depends on how you will manage the cache, perhaps you will use SQLite avec a k/v store based on SQL string.
instances of godb use the given adapter features to build queries, not executing them. It could not be transparent for upper layers. Then, it could not be only an adapter stuff, other parts of godb have to be changed.

Sorry if my response isn't enthusiast, but I'm not sure it's a good idea in term of an application architecture, and it will probably be more complicated than just designing an adapter. Regarding the second point, perhaps you have thought more about it than me and have some interesting to suggest ?

I completely get it. I might have a great vision of something nearly automated, but the amount of knobs and my ignorance of godb internal might make me unaware of those so many shortcomings. And cache is one of the hardest problem of computing. It must be for a reason.
If I successfully build something for a business use-case, I will try to extract the logic and put it in godb if it's agnostic enough.


Testing Web application is possible?

Testing hybrid mobile apps written in JavaScript framework for iOS and Android is possible with Facebook infer??

Hi,
Infer doesn't support Javascript at the moment. We may work on it in the future.

Note that it should be possible to analyse the Java and Objective-C parts of your project using Infer. Follow the instructions here depending on what you use to build your project.


Ship with Puppet 7

Use Case
Ship Bolt packages with Puppet 7

[ ] Update puppet-runtime rubygem https://github.com/puppetlabs/puppet-runtime/pull/417

This needs to go into puppet-runtime#master, and would make us unshippable. Blocking until we're ready to ship 3.0.

This needs to go into puppet-runtime#master, and would make us unshippable. Blocking until we're ready to ship 3.0.


Prusa Repository

Hi,
I was having issues downloading your stl's for this project. Is there any way to get them posted here or on another service?
Thank you!
Nicholas

Looks like prusaprinters indeed is having issues at the moment. I upload the STLs on Dropbox in the mean time.
Hopefully they fix it soon as there was useful information in the print description.

Seems the website is up again. Closing


Fix minDistance not being correctly initialized when set to zero.

Closes #299.

Awesome, thanks! I guess I finally need to start writing tests at some point...


Changing font functionality

Looking through the documentation and the code in I found the font_path argument that either defaults to a supplied font or can be passed a path to a different font. I've tried several different variations of passing a font to it and even modified writer.py directly to use a different font. Neither of those had any effect on the font that appears below the barcode. Can you provide an example of changing the font?

I encountered this as well behavior as well. It only applies if you are writing SVGs though. If you write raster files (PNGs, JPGs, etc), the font_path option does exactly what you expect.
Looking at the SVGWriter class in class in barcode/writer.py it's pretty obvious why:
class SVGWriter(BaseWriter):
    # ...
    def _create_text(self, xpos, ypos):
        # ...
            attributes = {
                "x": SIZE.format(xpos),
                "y": SIZE.format(ypos),

                #
                # the 'font-family' attribute used by XHTML docs to render font is not set
                #
                "style": "fill:{};font-size:{}pt;text-anchor:middle;".format(
                    self.foreground,
                    self.font_size,
                ),
            }

As hacky workaround since in my use case I needed bunch of arbitrarily scalable barcodes with non-ambiguous font (a lot of fonts 0 and capitol O look identical), I just had it write the font_path option as the XHTML font-family option:
class SVGWriter(BaseWriter):
    # ...
    def _create_text(self, xpos, ypos):
        # ...
            attributes = {
                "x": SIZE.format(xpos),
                "y": SIZE.format(ypos),
                "style": "fill:{};font-size:{}pt;text-anchor:middle;font-family:'{}'".format(
                    self.foreground,
                    self.font_size,
                    self.font_path
                ),
            }

CAUTION: I am not clear on how that would interact with the SVG sizing system in the package so I didn't commit and PR this change. I wanted to take a closer look and do this more smartly if need be. Regardless, I am more than happy to work with the team on giving SVG barcodes font customizability.

I encountered this as well behavior as well. It only applies if you are writing SVGs though. If you write raster files (PNGs, JPGs, etc), the font_path option does exactly what you expect.
Looking at the SVGWriter class in class in barcode/writer.py it's pretty obvious why:
class SVGWriter(BaseWriter):
    # ...
    def _create_text(self, xpos, ypos):
        # ...
            attributes = {
                "x": SIZE.format(xpos),
                "y": SIZE.format(ypos),

                #
                # the 'font-family' attribute used by XHTML docs to render font is not set
                #
                "style": "fill:{};font-size:{}pt;text-anchor:middle;".format(
                    self.foreground,
                    self.font_size,
                ),
            }

As hacky workaround since in my use case I needed bunch of arbitrarily scalable barcodes with non-ambiguous font (a lot of fonts 0 and capitol O look identical), I just had it write the font_path option as the XHTML font-family option:
class SVGWriter(BaseWriter):
    # ...
    def _create_text(self, xpos, ypos):
        # ...
            attributes = {
                "x": SIZE.format(xpos),
                "y": SIZE.format(ypos),
                "style": "fill:{};font-size:{}pt;text-anchor:middle;font-family:'{}'".format(
                    self.foreground,
                    self.font_size,
                    self.font_path
                ),
            }

CAUTION: I am not clear on how that would interact with the SVG sizing system in the package so I didn't commit and PR this change. I wanted to take a closer look and do this more smartly if need be. Regardless, I am more than happy to work with the team on giving SVG barcodes font customizability.

As suggested by ghost the tricked worked well. I would like to give a tip that the font_path actually means the font name."


BuildHive badges

BuildHive is a CI service.
Example of their badge here...
It would be great if they could be involved in this project.

@espadrine Do you really want to keep building these integrations for external services? Any way we can make it possible for people to create them simply based on an integration template of sorts so anyone can field a PR if they want their favorite service integrated?
The sheer amount of issues for obscure services is what's making me ask.

@olivierlacan Whenever we can, we try to be generic (see for instance Jenkins support). Services are systematically encouraged to rely on Shields.io to serve exact badges (through /badge/…). However, the reason people ask for support is that they don't have badge consistency, and some services don't want consistency, just publicity.

I guess this can be closed now:
https://www.cloudbees.com/whats-next


docs: OpenID Demo folder Readme

I was going to open an issue about the readme but I, instead, decided to do the decent thing: To open a PR with the fix.
The README is still a bit vague because I could not go further than the presentation resolving, as it seems that the HTTP/Express server is still not fully working on the demo.
I'll open a issue (Or a PR, if I find how to fix it) soon.
I hope my wording is correct!

Thanks for the PR @eduelias

as it seems that the HTTP/Express server is still not fully working on the demo.

Hmm that's odd. I'll have to look into it

@TimoGlastra First, thanks for your approval! Now I see that the CI for Node 20.x is failing in this PR but I saw that you fixed it in yours, right? Can you, when the fix is merged, update this MR too, please? Thanks! :D
I'm still trying to identify the problem with the 404 on the holder.acceptPresentationRequest method call.

Found the issue @eduelias, pushed the fix to this branch. The verifier router was not passed to the verifier module, meaning the endpoints were not exposed 🤦
Thanks for looking into this. Will merge now!


[HBASE-24809] Fix broken Apache Yetus documentation links

This PR introduces changes to fix the broken Apache Yetus documentation links.
 U: .

 U: .

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2335/1/console

versions
git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m  2s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+0 :ok:
markdownlint
0m  0s
markdownlint was not available.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ master Compile Tests _

+1 :green_heart:
mvninstall
4m  7s
master passed

+0 :ok:
refguide
5m 25s
branch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
3m 44s
the patch passed

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+0 :ok:
refguide
5m 34s
patch has no errors when building the reference guide. See footer for rendered docs, which you should manually inspect.

_ Other Tests _

+1 :green_heart:
asflicense
0m 15s
The patch does not generate ASF License warnings.

21m 33s

Subsystem
Report/Notes

Docker
Client=19.03.12 Server=19.03.12 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2335/1/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/2335

JIRA Issue
HBASE-24809

Optional Tests
dupname asflicense markdownlint refguide

uname
Linux 64e9c2046bba 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 25fcc40f6a

refguide
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2335/1/artifact/yetus-general-check/output/branch-site/book.html

refguide
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2335/1/artifact/yetus-general-check/output/patch-site/book.html

Max. process+thread count
65 (vs. ulimit of 12500)

modules
C: . U: .

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2335/1/console

versions
git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.


Not a pull request

Hi, this is not intended to be merged, but rather a contact method as you have not left any other contact method.
This repository implements changes that might be useful for @ReVanced in the future. For that reason, I intend to fork it into the organization with a couple of dropped and squashed commits under your author.
Is there anything specific to consider in this fork?

hi @oSumAtrIX, there shouldn't be much to consider when forking (and updating) this repo.
if i remember correctly, the bulk of the changes are

changing the package name of microg
adding a package and signature spoofing mechanism in https://github.com/shadow578/GmsCore/blob/e40562460c1e12f6f1dd20e8dbb5d34f4bb35d15/play-services-base-core/src/main/java/org/microg/gms/common/PackageUtils.java (PackageSpoofUtils.### calls)

yes, the SpoofUtils should still be necessary since otherwise microG would report the real package signature of a patched app (eg. youtube revanced).
the main difference between the "old" microG fork by Vanced and mine is actually exactly that.
Vanced microG pretty much hard-coded the signatures to spoof, while i'm loading them at runtime from the target app manifest (the manifest entries are added by the microG patch).
loading the spoofed signature at runtime makes it way more flexible, as you'd only have to update the target app (= the patch), and not microG.


How can i feature detect in case MUI components break?

Some of my components are breaking if its a really old browser (built in browser from a QR scanning app). And i would like to feature detect it.
So components that break are the Slider Component and the Switch Component. How could I feature detect this?
Is there a feature that MUI uses on all of its components that i could detect if its supported by browser? Cant seem to find anything online
Link to pictures of components

@michaldudak any ideas otherwise lets close the thread?

@pisslowrandom What kind of feature detection are you looking for? Right now, nothing is exposed from the package to list out what features a component depends on.
It would be helpful if you could provide a working demo/codesandbox.

@brijeshb42
I sent an image of failing components, how could i detect that the browser wont support them and notify them

You'll have to debug what is breaking in the browser that you are using.
Please expect helpful response once you have shared (codesandbox/stackblitz etc) a demo of your breaking code (not an image).


moved existing documentation files into a new subfolder

and added new files for new docs content and docs build

The stuff in the logo folder is referenced from the top level README, so the link should be updated (also on the github pages repo) . Would it make sense to move the logo folder to the root ?

Closing as I believe this has been merged in a different PR


Test conversions for message types

We wrote all these wrappers for the protobuf generated files, and Isos  for converting back and forth, but we also will need to write tests that go back and forth between these types to make sure they are indeed Isos.
I gave Generic instances to all the message types and their fields so that we can easily derive quickcheck Arbitrary instances for these tests. But those could only be used to help prove that the composition WrappedType -> ProtobufType -> WrappedType is the identity. In other words, our Wrapped types embed into the protobuf types. In order to go the other way around we would need to give arbitrary instances to the protobuf types as well...
using quickcheck:

[ ] test that the conversion    WrappedType -> ProtobufType -> WrappedType is identity
[ ] test that convervsion  ProtobufType -> WrappedType -> ProtbufType

https://hackage.haskell.org/package/proto-lens-arbitrary


Unable to connect to existing WSL instance because socket already exists in /run/WSL

Windows Build Number
Microsoft Windows [Version 10.0.21390.2025]
WSL Version

[X] WSL 2
[ ] WSL 1

Kernel Version
5.10.16
Distro Version
Ubuntu 20.04.2
Other Software
No response
Repro Steps
Start WSL
Check /run/WSL. There should be 2 sockets on a newly started WSL instance.
Run "wsl.exe true" from another Windows Terminal window. This will exit correctly.
Check /run/WSL. There should now be 3 sockets.
The newly created socket was from the "wsl.exe true" command, and is no longer in use. This can be verified with fuser.
If wsl.exe is executed enough times, /run/WSL will eventually have a socket for every PID. At this point, no new connections to this WSL session will be possible.
Expected Behavior
Sockets in /run/WSL should be cleaned up.
Actual Behavior
Sockets in /run/WSL are not cleaned up. Eventually, wsl.exe is no longer able to connect to the existing WSL instance. At this point, dmesg is filled with messages like:
init: (23090) ERROR: Create:129: bind failed 98
stracing init, I see:
23090 mkdir("/run/WSL", 0777 <unfinished ...>
23090 <... mkdir resumed>)              = -1 EEXIST (File exists)
23090 socket(AF_UNIX, SOCK_SEQPACKET|SOCK_CLOEXEC, 0 <unfinished ...>
23090 <... socket resumed>)             = 10
23090 bind(10, {sa_family=AF_UNIX, sun_path="/run/WSL/23090_interop"}, 110 <unfinished ...>
23090 <... bind resumed>)               = -1 EADDRINUSE (Address already in use)
23090 getpid( <unfinished ...>
23090 <... getpid resumed>)             = 23090
23090 writev(3, [{iov_base="<3>init: (23090) ERROR: Create:129: bind failed 98\n", iov_len=51}, {iov_base=NULL, iov_len=0}], 2 <unfinished ...>
Diagnostic Logs
No response

@OneBlue @benhillis Sorry for the unsolicited mention, but could you have a look at this? This is causing lasting trouble and confusion for a lot of users, even more so when mixed with the now fixed Plan 9 server bug... Mostly IDEs are affected, see e.g. https://youtrack.jetbrains.com/issue/IDEA-276250
I can confirm it still occurs in <IP_ADDRESS> on 10.0.22000.613.

I am having a similar issue. Wsl2 fails to start with the next message:
"A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
Press any key to continue..."
I am guessing it has something to do with the sockets inside the Ubuntu 20.04.4 because I restarted everything in the windows.
This wsl worked (located on an external disk), and I was in the middle of downloading android over ssh connection (over vpn also) when the battery was drained.
WslLogs-2022-07-22_09-03-21.zip

Is it fixed?
My environment: ubuntu20.04@wsl2 and docker-desktop for win.
Then I use bitbake to compile, then I can't connect wsl2 through wsl.exe
But the virtual machine itself is running and I can link through ssh, including use vscode's remote-ssh.
But it just can't link through wsl.exe, why? How to deal with it?

Just for the record, this does not happen to me anymore in version <IP_ADDRESS> (kernel <IP_ADDRESS>).


The search couldn't find org.apache.santuario:xmlsec version 2.2.3

Thanks for creating an issue! Please fill out this form so we can be
sure to have all the information we need, and to minimize back and forth.

What are you trying to do?

org.apache.santuario:xmlsec version 2.2.3 exists in Maven central repository
https://repo1.maven.org/maven2/org/apache/santuario/xmlsec/2.2.3/
However, when I search for it, I get not results: https://search.maven.org/classic/#search|ga|1|g%3A"org.apache.santuario" AND a%3A"xmlsec" AND v%3A"2.2.3"
I even try to search for hash 216237777d6371fa618d8b8a51a53a1c295291f5 that exists there:
https://repo1.maven.org/maven2/org/apache/santuario/xmlsec/2.2.3/xmlsec-2.2.3.jar.sha1
But again, the search returns no results at all
https://search.maven.org/solrsearch/select?q=1:"216237777d6371fa618d8b8a51a53a1c295291f5"&rows=100&wt=json

What feature or behavior is this required for?

We need it to find if a version of specific artifact exists in Maven central or to associate hash value to a library

How could we solve this issue? (Not knowing is okay!)

Please check this bug, why I don't get result for library that exists

Anything else?

We had to schedule a job to re-index these artifacts and add them to search.maven.org.  Can you confirm that they appear in search results now @omerblecher?

Yep, now it is found, Thanks!


Overwritten commit

It seems that @cdb24's input capture commit: 010cd91 was overwritten by accident. I will re-add it to the code right now.
It is important to document this because it is a learning opportunity for us.

Warnings/errors found in inputCapture function, re-integrating it has been put on hold pending further investigation since there is a very high chance it will be scrapped in favor of obtaining user input a different way (from React)


Fixed: Dagster to work with its API

Describe your changes :

I worked on the Dagster integration with its API.
Issue #7362

Type of change :

[x] Bug fix
[x] Improvement
[ ] New feature
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation

Also we might need to modify the test_connection for dagster as well as we will not be using db connection anymore


Missing DFG/EOG information for Python

Nodes created by analyzing Python source code have empty datastructures for the properties prevDFG, nextDFG, prevEOG and nextEOG.

This is most likely a problem with the order in which passes are executed. We have improved the system some time ago with the introduction of annotations on passes which enforce the execution order (see order). My understanding from an offline conversation is that you are using an old version of the CPG and most likely the order of passes in your setup is broken.
I suggest to fix the order in which you register passes in your old setup or update to a newer version of the CPG and make your passes dependent on the required DFG/EOG passes. Please let me know if you need any further help.


Add geo for Hotel application

Adds geo service from the Hotel application to vSwarm
Resolves #72

This PR adds the first of 7 benchmarks from hotel reservation.
Please go over the commit and let me know what I need to improve.
All other benchmarks are exactly the same so once you are ok with this one Ill update all others accordingly and submit the PR

I think you are totally right. This is not really how it is supposed to be in reality. I was already considering that but I was not sure because it adds a bit more complexity. But you are right ultimately we care only about the function. Also a data base will never be deployed as a serverless function.

@ustiugov please check if I made it correct. Im not familiar with kubernetes but this is how I understand it.
Locally it works for me.
Somehow I think the runners are not working

@dhschall the solution looks fine. I think the problem is connectivity to the DB. You may need to add log prints so that the error is visible in Actions to validate that.
I don't have a solution in mind but here is a relevant tutorial with the source code that uses knative, kourier, and mongodb.

Added now a logging for the database

what was the issue with the Knative tests previously? now it's all good
TBH I think its a problem in the runners.
I did not change anything. Do you know when the runners are restarted?

every night

I expected that because when I tried it in the morning it was all fine...


fix: #7561 - auth trigger usage with user groups

Description of changes
When auth triggers were configured with enabled User Groups in certain situations it could lead to deployment errors.
Issue #, if available
fixes: #7561 - auth trigger usage with user groups
Description of how you validated changes
Manual testing, and e2e test is changed to include the previous situation when the error has happened.
Checklist

[X] PR description included
[X] yarn test passes
[X] Tests are changed or added

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #7592 (0aea7c6) into master (e3e51f5) will decrease coverage by 0.04%.
The diff coverage is 14.58%.

@@            Coverage Diff             @@
##           master    #7592      +/-   ##
==========================================
- Coverage   52.63%   52.59%   -0.05%
==========================================
  Files         525      525
  Lines       26497    26525      +28
  Branches     5136     5144       +8
==========================================
+ Hits        13946    13950       +4
- Misses      11579    11603      +24
  Partials      972      972

Impacted Files
Coverage Δ

...y-provider-awscloudformation/src/push-resources.ts
9.80% <0.00%> (ø)

...amplify-cli-core/src/state-manager/stateManager.ts
39.73% <9.09%> (-4.80%)
:arrow_down:

...ormation/src/utils/upload-auth-trigger-template.ts
32.14% <20.00%> (-1.20%)
:arrow_down:

.../src/extensions/amplify-helpers/remove-resource.ts
98.80% <50.00%> (-1.20%)
:arrow_down:

Continue to review full report at Codecov.

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


[canvas.mouse] should react if canvas is visible in a GOP

1st we need to know if it is in a GOP...

for slider2d - get also mouse coords from "-gop", use it as a flag...
dirty hack just so it works, no elegant solution here...

elegant solution => https://github.com/porres/pd-else/issues/674


hotfix: pin nltk version to avoid downloading punkt_tab

This is a 🐛 bug fix.
Summary

[x] remove punkt_tab from lookup list when downloading nltk resources (20a6d88)
[x] pin nltk version to stable 3.8.1 (c75c43)

Context
related to https://github.com/nltk/nltk/issues/3293

https://github.com/aimclub/FEDOT/actions/runs/10405091755


Added Symfony 3 compatibility

Can we please add Symfony 3 compatibility? We are using Laravel and have to use Symfony 3.x.

Many thanks for creating the PR @elasticsteve and apologies it took us this long. Due to merge conflicts we have cherry picked your changes and incorporated them into another PR

@EAddario, I hope you added compatibility for Symphony 4, as this is the standard now.


Training / testing data splitting UI

With the ability to partition data, we should have a way for the user to split the data into training / testing sets.
The engine only needs the label (test / train / validation / ...) and the rows ([0, 1, 2, ...]). Send this to the engine however you like, just keep in mind the method I'll be using to define or update a subset looks like this:
/**
 * Examples:
 *
 *     subset('fit', 10, 20)     => default label 'fit' uses rows [10..19]
 *     subset('test', [1, 4, 6]) => 'test' label uses rows [1, 4, and 6]
 *     subset('fit', 50)         => 'fit' label uses all rows from 50 to end of dataset
 *
 * @param {string} label                Name of the split (default: 'fit')
 * @param {number} startRow             Index of the row to start at, or an array of rows
 * @param {number} [endRow=data.length] Index of row to end at
 */
subset(label, startRow, endRow)

So plz make the stuff you send me as easy as possible to just pipe right into this method. Gracias.

Also, the global stats for the model (which are now pill-like elements below the eqn.) should be placed into a table so the user can view stats for training and testing.


Copy controller_db.txt to bdist

Currently controller_db.txt is not copied to the bdist / pypi deployed package.
path: xbox/nano/render/input/controller_db.txt

Add path to include in Manifest.in
Add include_package_data=True to setup. py

Working on it.

Implemented this feature in #6

Thanks!


Nesting Yield

Hello,
I'm building an application that will always have a left side-menu present and so I'm trying to stick that logic for rendering this side-menu in app/views/layouts/application.html.erb. However, the side-menu I'm using is a React component (https://react.semantic-ui.com/modules/sidebar#sidebar-example-left-push) and is setup in such a way that all of the content that sits to the right of the side menu (in my case, the rest of the application content) needs to be nested within that component. Consequently, I'd like the content that is rendered from the yield in the application layout to be nested within that react component.
For example:
class Sidemenu extends React.Component {
  render () {
    return (
      <Sidebar.Pushable>
        <Sidebar as={Menu} visible>

My side menu content

        </Sidebar>
        <Sidebar.Pusher>
          {/* Where the yielded content needs to go */}
        </Sidebar.Pusher>
      </Sidebar.Pushable>
    )
  }
}

Do you have any suggestions for how to do this?

@vpfaulkner I don't see a way that you can nest Rails rendering inside of your React component unless maybe doing some remote call to the rails server to retrieve HTML in a JSON response.
Please reopen this issue if you believe this to be appropriate. A better venue for this question would be on https://forum.shakacode.com.

Is it possible to do something like this?
<% react_component("AppLayout") %>
  <%= yield %>
<% end %>

And then in my component:
const AppLayout = props => (

    { props.children } // The yield content here

);

@chhuang Did you ever find something that could achieve this?

@threepete you want to handle all that within React.


[Bug] add user no description  &delete user can't work

StreamX Version: 1.2.0
JVM version (java -version):1.8.0

Bug Description
delete user err

How to Reproduce
Steps to reproduce the behavior, for example:
1 add user
2 delete user

I will fix this bug

I will fix this bug

good job！


Ability to ignore certain classes

There should be an option to ignore certain cases, if the user wants to.
Otherwise, there is no way to get a successful exit code while skipping a class.

Added in v0.3.0


latest_testflight_build_number returns incorrect build_number

New Regression Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Regression Information

Breaking version: 2.122.0
Last working version: 2.121.1

Regression Description
After upgrading from 1.121.1 latest_testflight_build_number return the incorrect build number from me. For me it looks like https://github.com/fastlane/fastlane/pull/14683/files introduced this behavior again (there was a similar behaviour in a previous version as well), as the sort order was changed from -uploadDate to -version, which might no be compatible with my build_number format, which is version + "." + version_build_number - e.g for version 1.1.0 the build number would be <IP_ADDRESS>, <IP_ADDRESS> and so on. Also im not sure, why this fix was made in the first place, as sorting by upload date sounds pretty good to me.
Before 1.122.0 latest_testflight_build_number returned the right build number, now it's a pretty random build number.
Complete output when running fastlane, including the stack trace and command used

[INSERT OUTPUT HERE]

Environment

✅ fastlane environment ✅
Stack

Key
Value

OS
10.14.5

Ruby
2.2.4

Bundler?
false

Git
git version 2.18.0

Installation Source
~/.fastlane/bin/bundle/bin/fastlane

Host
Mac OS X 10.14.5 (18F132)

Ruby Lib Dir
~/.fastlane/bin/bundle/lib

OpenSSL Version
OpenSSL 1.0.2g  1 Mar 2016

Is contained
false

Is homebrew
true

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
10.2.1

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE
en_US.UTF-8
✅

fastlane files:
`./fastlane/Fastfile`
# This file contains the fastlane.tools configuration
# You can find the documentation at https://docs.fastlane.tools
#
# For a list of all available actions, check out
#
#     https://docs.fastlane.tools/actions
#
# For a list of all available plugins, check out
#
#     https://docs.fastlane.tools/plugins/available-plugins
#

# Uncomment the line if you want fastlane to automatically update itself
# update_fastlane

default_platform(:ios)

platform :ios do

  lane :development_version do
    APP_ID = "com.my.app"
    version = "1.1.0"

    latest = latest_testflight_build_number(
      live: false,
      app_identifier: APP_ID,
      version: version
    )

    puts latest.to_s
  end
end

fastlane gems

Gem
Version
Update-Status

fastlane
2.123.0
💥 Check failed

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

slack-notifier
2.3.2

atomos
0.1.3

CFPropertyList
3.0.0

claide
1.0.2

colored2
3.1.2

nanaimo
0.2.6

xcodeproj
1.8.2

rouge
2.0.7

xcpretty
0.3.0

terminal-notifier
2.0.0

unicode-display_width
1.1.3

terminal-table
1.7.3

plist
3.5.0

public_suffix
2.0.5

addressable
2.6.0

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.6.5

tty-cursor
0.6.1

tty-spinner
0.9.0

babosa
1.0.2

colored
1.2

highline
1.7.10

commander-fastlane
4.4.6

excon
0.62.0

faraday
0.12.1

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20170404

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
2.1.5

gh_inspector
1.1.3

json
1.8.1

mini_magick
4.5.1

multi_json
1.13.1

multi_xml
0.6.0

rubyzip
1.2.2

security
0.1.3

xcpretty-travis-formatter
0.0.4

dotenv
2.7.2

bundler
1.14.6

faraday_middleware
<IP_ADDRESS>

naturally
2.2.0

simctl
1.6.5

uber
0.1.0

declarative
0.0.10

declarative-option
0.1.0

representable
3.0.4

retriable
3.1.2

mime-types-data
3.2019.0331

mime-types
3.1

jwt
2.1.0

signet
0.11.0

memoist
0.16.0

os
1.0.0

googleauth
0.6.7

httpclient
2.8.3

google-api-client
0.23.9

google-cloud-env
1.0.5

google-cloud-core
1.3.0

digest-crc
0.4.1

google-cloud-storage
1.16.0

emoji_regex
1.0.1

libxml-ruby
3.0.0

psych
2.0.8

generated on: 2019-05-29

I've also been experiencing this bug, the only way I've been able to make it work is by downgrading to version 2.121.1

My quickfix if you dont want to downgrade. Create a new /actions/my_latest_build_number.rb and copy the content from https://github.com/fastlane/fastlane/blob/master/fastlane/lib/fastlane/actions/app_store_build_number.rb and replace the sort: "-version" with sort: "-uploadedDate" and rename the action. Or just copy the code i pasted. Then you can use it just like https://docs.fastlane.tools/actions/app_store_build_number/ but with my_latest_build_number instead. Works for me.
module Fastlane
  module Actions
    class MyLatestBuildNumberAction < Action
      def self.run(params)
        require 'spaceship'

        build_nr = get_build_number(params)

        # Convert build_nr to int (for legacy use) if no "." in string
        if build_nr.kind_of?(String) && !build_nr.include?(".")
          build_nr = build_nr.to_i
        end

        Actions.lane_context[SharedValues::LATEST_BUILD_NUMBER] = build_nr
      end

      def self.get_build_number(params)
        UI.message("Login to App Store Connect (#{params[:username]})")
        Spaceship::Tunes.login(params[:username])
        Spaceship::Tunes.select_team(team_id: params[:team_id], team_name: params[:team_name])
        UI.message("Login successful")

        app = Spaceship::Tunes::Application.find(params[:app_identifier])
        UI.user_error!("Could not find an app on App Store Connect with app_identifier: #{params[:app_identifier]}") unless app
        if params[:live]
          UI.message("Fetching the latest build number for live-version")
          UI.user_error!("Could not find a live-version of #{params[:app_identifier]} on iTC") unless app.live_version
          build_nr = app.live_version.current_build_number

          UI.message("Latest upload for live-version #{app.live_version.version} is build: #{build_nr}")

          return build_nr
        else
          version_number = params[:version]

          # Create filter for get_builds with optional version number
          filter = { app: app.apple_id }
          if version_number
            filter["preReleaseVersion.version"] = version_number
            version_number_message = "version #{version_number}"
          else
            version_number_message = "any version"
          end

          UI.message("Fetching the latest build number for #{version_number_message}")

          # Get latest build for optional version number and return build number if found
          client = Spaceship::ConnectAPI::Base.client
          build = client.get_builds(filter: filter, sort: "-uploadedDate", includes: "preReleaseVersion", limit: 1).first
          if build
            build_nr = build.version
            UI.message("Latest upload for version #{build.app_version} is build: #{build_nr}")
            return build_nr
          end

          # Let user know that build couldn't be found
          UI.important("Could not find a build for #{version_number_message} on App Store Connect")

          if params[:initial_build_number].nil?
            UI.user_error!("Could not find a build on App Store Connect - and 'initial_build_number' option is not set")
          else
            build_nr = params[:initial_build_number]
            UI.message("Using initial build number of #{build_nr}")
            return build_nr
          end
        end
      end

      def self.order_versions(versions)
        versions.map(&:to_s).sort_by { |v| Gem::Version.new(v) }
      end

      #####################################################
      # @!group Documentation
      #####################################################

      def self.description
        "Returns the current build_number of either live or edit version"
      end

      def self.available_options
        user = CredentialsManager::AppfileConfig.try_fetch_value(:itunes_connect_id)
        user ||= CredentialsManager::AppfileConfig.try_fetch_value(:apple_id)
        [
          FastlaneCore::ConfigItem.new(key: :initial_build_number,
                                       env_name: "INITIAL_BUILD_NUMBER",
                                       description: "sets the build number to given value if no build is in current train",
                                       is_string: false),
          FastlaneCore::ConfigItem.new(key: :app_identifier,
                                       short_option: "-a",
                                       env_name: "FASTLANE_APP_IDENTIFIER",
                                       description: "The bundle identifier of your app",
                                       code_gen_sensitive: true,
                                       default_value: CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier),
                                       default_value_dynamic: true),
          FastlaneCore::ConfigItem.new(key: :username,
                                       short_option: "-u",
                                       env_name: "ITUNESCONNECT_USER",
                                       description: "Your Apple ID Username",
                                       default_value: user,
                                       default_value_dynamic: true),
          FastlaneCore::ConfigItem.new(key: :team_id,
                                       short_option: "-k",
                                       env_name: "APPSTORE_BUILD_NUMBER_LIVE_TEAM_ID",
                                       description: "The ID of your App Store Connect team if you're in multiple teams",
                                       optional: true,
                                       is_string: false, # as we also allow integers, which we convert to strings anyway
                                       code_gen_sensitive: true,
                                       default_value: CredentialsManager::AppfileConfig.try_fetch_value(:itc_team_id),
                                       default_value_dynamic: true,
                                       verify_block: proc do |value|
                                         ENV["FASTLANE_ITC_TEAM_ID"] = value.to_s
                                       end),
          FastlaneCore::ConfigItem.new(key: :live,
                                       short_option: "-l",
                                       env_name: "APPSTORE_BUILD_NUMBER_LIVE",
                                       description: "Query the live version (ready-for-sale)",
                                       optional: true,
                                       is_string: false,
                                       default_value: true),
          FastlaneCore::ConfigItem.new(key: :version,
                                       env_name: "LATEST_VERSION",
                                       description: "The version number whose latest build number we want",
                                       optional: true),
          FastlaneCore::ConfigItem.new(key: :platform,
                                       short_option: "-j",
                                       env_name: "APPSTORE_PLATFORM",
                                       description: "The platform to use (optional)",
                                       optional: true,
                                       is_string: true,
                                       default_value: "ios",
                                       verify_block: proc do |value|
                                         UI.user_error!("The platform can only be ios, appletvos, or osx") unless %('ios', 'appletvos', 'osx').include?(value)
                                       end),
          FastlaneCore::ConfigItem.new(key: :team_name,
                                       short_option: "-e",
                                       env_name: "LATEST_TESTFLIGHT_BUILD_NUMBER_TEAM_NAME",
                                       description: "The name of your App Store Connect team if you're in multiple teams",
                                       optional: true,
                                       code_gen_sensitive: true,
                                       default_value: CredentialsManager::AppfileConfig.try_fetch_value(:itc_team_name),
                                       default_value_dynamic: true,
                                       verify_block: proc do |value|
                                         ENV["FASTLANE_ITC_TEAM_NAME"] = value.to_s
                                       end)
        ]
      end

      def self.output
        [
          ['LATEST_BUILD_NUMBER', 'The latest build number of either live or testflight version']
        ]
      end

      def self.details
        [
          "Returns the current build number of either the live or testflight version - it is useful for getting the build_number of the current or ready-for-sale app version, and it also works on non-live testflight version.",
          "If you need to handle more build-trains please see `latest_testflight_build_number`."
        ].join("\n")
      end

      def self.example_code
        [
          'app_store_build_number',
          'app_store_build_number(
            app_identifier: "app.identifier",
            username<EMAIL_ADDRESS>          )',
          'app_store_build_number(
            live: false,
            app_identifier: "app.identifier",
            version: "1.2.9"
          )'
        ]
      end

      def self.authors
        ["hjanuschka"]
      end

      def self.category
        :app_store_connect
      end

      def self.is_supported?(platform)
        [:ios, :mac].include?(platform)
      end
    end
  end
end

Hey 👋 thanks for reporting the issue. Fastlane 2.125.2 was released a day ago with the following fixes:

[action] fix app_store_build_number and latest_testflight_build_number when no version given (#14853) via Josh Holtz

Could you please give it a try and let us know if that helped? 🙏 🙇

Hey! Unfortunately fastlane 2.125.2 has not fixed this and I am still getting the highest build number for the initial app version on test flight rather than for the most recent app version on testflight.

Hey 👋 Has there been any update on this?

I've also run into this issue. I had to throw together a custom action that uses "-uploadedDate" to work around it.

Hey! Me and my team ran into the same problem, -version returns first element from the list on test flight, not the latest build number, "-uploadedDate" works as a workaround


Application crashes upon opening folders with large amounts of files.

Description
I've noticed that occasionally files will crash after I open my downloads folder with the files app. The app seems to try to load for a bit, then crashes.
Steps To Reproduce

Find a folder with alot of files
Open folder
May encounter crash.

Expected behavior

Find folder with alot of files
Open folder
App loads files without crashing.

Files Version
<IP_ADDRESS>
Windows Version
Windows 20H2 Build 19042.1165
Relevant Assets
debug.txt

Thanks for the report. This issue should be fixed in Files V2.


Tracking issue: Deneb

This is a tracking issue to add Deneb related methods

I'll add this to v1 as a suggestion, but not mandatory


package.json incorrect fields?

In package.json, I think the "main" and "types" properties in should be prefixed with dist/src/ rather than just dist/, based on the current Typsecript build behaviour.
{
  "name": "secretjs",
  "description": "The JavaScript SDK for Secret Network",
  "version": "1.0.2-alpha.2",
  "main": "dist/src/index.js",
  "types": "dist/src/index.d.ts",
...

Hi, you're right, thanks, I'll exclude the test dir from the build. :pray:


Use go install instead of go get

This prepares the installation workflow for Go 1.18 and is required for https://github.com/openshift/release/pull/27682 to pass.
/cc @yevgeny-shnaidman @pacevedom @pmtk

/retest

/lgtm


Fatal error: require(): Cannot redeclare class minify_css_compressor

Are you sure this is not a problem with your configuration? (ask on the
Google Group)

Minify commit/version: 2.1.5
PHP version: 5.3.3

What steps will reproduce the problem?
1. Open /min/b=css&f=960/reset.css,960/text.css,960/960.css,style.css
2. Only white page.
2. ini_set('display_errors', 1); in first line of config.php
3. Fatal error: require(): Cannot redeclare class minify_css_compressor in
/home/domains/ticketpoint.nl/htdocs/min/lib/Minify/CSS.php on line 71
4. Fixed with:
if(!class_exists('Minify_CSS_Compressor')) {
 require_once 'Minify/CSS/Compressor.php';
}

Expected output:

Actual output:
White page or Fatal error: require(): Cannot redeclare class
minify_css_compressor in
/home/domains/ticketpoint.nl/htdocs/min/lib/Minify/CSS.php on line 71

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 11 Dec 2012 at 9:32

Same problem with require_once 'Minify/CommentPreserver.php'; and require_once
'Minify/CSS/UriRewriter.php'; in CSS.php

Original comment by<EMAIL_ADDRESS>on 11 Dec 2012 at 9:43


documentation: parallel execution and thread pools

What are you missing in the docs
Related question: https://github.com/Netflix/dgs-framework/discussions/872
This isn't documented clearly and should be added here: https://netflix.github.io/dgs/data-loaders/

Consider document the usage of Spring's Task Executors with this such that the security context gets passed properly.


Drop python 3.7 support

It has now been dropped by numpy https://numpy.org/devdocs/release/1.22.0-notes.html

since the Julia stuff is failing tests on 3.7 anyway does it make sense to just put it there?

Would be cleaner as a separate PR

Hi @tinosulzer, could I work on this one?

Yes, but we need it for #2363 , so needs to be done quickly (next couple of days)

You just need to find where "3.7" appears in the repo, and

if it's in [3,7, 3.8, 3.9], remove it
if it's on its own, change it to 3.9


UnitTestTaskSchedulerCoroutineStress() flaky

It might delete the tasks with their callbacks and coroutines while the coroutine is still in use. The problem is that when coroutine returns in this test, it would still execute CoroOpFinal::await_suspend() as the last step. But it might already be deleted in the main thread.
Need to figure out if the test is wrong, or the coroutines have no reliable way of deleting them directly right now.

Simple repro:
diff --git a/test/sch/UnitTestTaskScheduler.cpp b/test/sch/UnitTestTaskScheduler.cpp
index 093fc56..ec8f6a1 100644
--- a/test/sch/UnitTestTaskScheduler.cpp
+++ b/test/sch/UnitTestTaskScheduler.cpp
@@ -985,6 +985,7 @@ namespace sch {
 					aNextCtx.myTask.PostSignal();
 				}
 				aCtx.mySignal.Send();
+				mg::box::Sleep(10);
 			}(ctx, nextCtx, signalCount));

 			sched.Post(&ctx.myTask);
@@ -1487,6 +1488,8 @@ namespace sch {
 	{
 		TestSuiteGuard suite("TaskScheduler");

+		for (int i = 0; i < 1000000; ++i)
+			UnitTestTaskSchedulerCoroutineStress();
 		UnitTestTaskSchedulerBasic();
 		UnitTestTaskSchedulerOrder();
 		UnitTestTaskSchedulerDomino();
@@ -1500,7 +1503,6 @@ namespace sch {
 		UnitTestTaskSchedulerCoroutineAsyncExitExec();
 		UnitTestTaskSchedulerCoroutineNested();
 		UnitTestTaskSchedulerCoroutineDifferentSchedulers();
-		UnitTestTaskSchedulerCoroutineStress();
 		UnitTestTaskSchedulerMicro(5, 10000000);
 		UnitTestTaskSchedulerMicroNew(5, 10000000);
 		UnitTestTaskSchedulerMicroOneShot(5, 10000000);

The problem is deeper. It appears, that deleting a task in the main thread is not possible, until it finishes co_return in the scheduler. Because at all the stages the coroutine's promise object might still be required.
Just the simple cases when the task is allocated on the heap - look at TaskCoroOpExitDelete() changes. Using its myTask isn't possible even for calling delete on it and never touching again. Apparently, it gets used somehow by the compiler after the last visible usage in the code.
There is an idea, that for such stack-allocated tasks it is worth introducing TaskCoroOpExitSignalSend which would call Signal::Send() on the given signal object when the coroutine is fully finished.


Results

Hi, I've run deTIN on a truth-set of artificially created TIN from 1-30%, for two samples. The results file is attached. Two thoughts;

I seem to get higher score with aSCGC than with SSNV.
aSCG at very low levels of containation seem to report artificially high values.

Have you got any advice to offer to improve/interpret the results?
Also, I've noticed that even with 1% TIN contamination my SNV calling looses a lot of accuracy, do you believe deTIN can be tuned to discover such low levels of TIN?
Many thanks for your input!

Hey Magalena,
Looks good overall though I agree that 1 and 2 look they could be issues. I think it might be easier for me to offer advice via a google hangout or longer emails. Can you drop me an email at<EMAIL_ADDRESS>so we can discuss?
Best
Amaro


THis does not work

I get the following error:
Error	BC30451	'StoreContext' is not declared. It may be inaccessible due to its protection level.	ProcessManager	D:\Dev\FrozenElephant\ProcessManager\ProcessManager\FormProcessManager.vb	14	Active
And I do have:
Imports Windows.Services.Store
and a reference to nuget: Microsft.Services.Store.SDK

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: d672b6a3-7ac7-5175-cddc-d97802386585
Version Independent ID: 7135a844-651a-1c92-e9a7-21865935a151
Content: In-app purchases and trials - Windows UWP applications
Content Source: windows-apps-src/monetize/in-app-purchases-and-trials.md
Product: uwp
GitHub Login: @Karl-Bridge-Microsoft
Microsoft Alias: kbridge

Thanks for reaching out with your feedback. Issues opened on the docs GitHub are meant for documentation feedback, and unfortunately we cannot provide technical support. For community assistance with development questions I recommend that you ask on our forums or StackOverflow. For other support options, check out the developer support page. If you get assistance through these other resources and believe a documentation change is required, please come back and let us know.
Thanks,
Shawn


Make the region name configurable too

If the region name is not configured, it will automatically mapped to 'us-east-1'. Might be a problem for AWS users outside the US or users of other S3 implementations (Ceph S3 seems to work fine with 'us-east-1)

Closed via 73fb93a0692c9dcf75626a4372cf2c6a3335e4df


Code copied from Admission trials Projects (Review Requested)

As per activity description the code is copied from admission trials project and pasted in new empty repository by creating new branch. PR is created to add comments as reviwer.

Comments updated, please check and if any point is still uncleared please let me know.
Thanks.


Source code transpiles, but emitted declarations filled with errors

I apologize if I shouldn't be opening an issue about this.
I asked about debugging long compile times before in another issue, #24435
This issue right now is related to that but in a different way.
The typed-orm project transpiles quickly now, after an unintuitive solution, but the emitted declarations appear "unusable" by other projects (at least according to tsc).
ts-node and VS code don't seem to have a problem with the emitted declarations and seem to run just fine.

TypeScript Version:  2.9.1

Search Terms: emit declarations incorrect
Code
import * as o from "typed-orm";
o;

And then run tsc --noEmit --diagnostics
A repo that reproduces the problem can be found here
Expected behavior:
Success after about 17 seconds
Actual behavior:
Errors after about 37s
The list of errors is... Rather large.

I have a different project that is using typed-orm and ts-node seems to run it fine. VS code also seems to do some type checking fine (seems to, maybe it skips some more involved checks, or does incremental checking, I have no idea).
However, when I try to run tsc (checking types/transpiling), node just runs out of memory, even after giving it 8GB of RAM.

I tried to debug what was wrong. The typed-orm project itself transpiles very quickly, now. I figured there must be something wrong with that project. However, after removing a lot of code, I still got out-of-memory exceptions.
In the end, I created an entirely new project, wrote that snippet above, and saw that even though the source code for typed-orm transpiles, the transpiled declarations seem to have errors.

Link to example: here
Link to typed-orm: here
Related Issues: #24435

I think the problem is around the /expression folder
The source looks like this,
ColumnReferencesUtil.Merge<
    RawExprUtil.UsedReferences<LeftT>,
    RawExprUtil.UsedReferences<RightT>
>

But the emitted declaration that has errors looks like this,
(LeftT extends RawExprUtil.WithParentJoins ? true extends LeftT["data"]["hasParentJoins"] ? LeftT["data"]["parentJoins"][Extract<keyof LeftT["data"]["parentJoins"], "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | "16" | "17" | "18" | "19" | "20" | "21" | "22" | "23" | "24" | "25" | "26" | "27" | "28" | "29" | "30">] extends Join<AliasedTable<string, string, import("../column-collection/column-collection").ColumnCollection>, import("../column-collection/column-collection").ColumnCollection, boolean> ? LeftT["data"]["parentJoins"][Extract<keyof LeftT["data"]["parentJoins"], "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | "16" | "17" | "18" | "19" | "20" | "21" | "22" | "23" | "24" | "25" | "26" | "27" | "28" | "29" | "30">]["table"] extends AliasedTable<string, string, import("../column-collection/column-collection").ColumnCollection> ? { readonly [tableAlias in LeftT["data"]["parentJoins"][Extract<keyof LeftT["data"]["parentJoins"], "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | "16" | "17" | "18" | "19" | "20" | "21" | "22" | "23" | "24" | "25" | "26" | "27" | "28" | "29" | "30">]["table"]["alias"]]: { [index in Extract<keyof LeftT["data"]["parentJoins"], "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "13" | "14" | "15" | "16" | "17" | "18" | "19" | "20" | "21" | "22" | "23" | "24" | "25" | "26" | "27" | "28" | "29" | "30">]: LeftT["data"]["parentJoins"][index] extends Join<AliasedTable<string, string, import("../column-collection/column-collection").ColumnCollection>, import("../column-collection/column-collection").ColumnCollection, boolean> ? LeftT["data"]["parentJoins"][index]["table"]["alias"]
/*snip many, many, many, many, many more lines of code*/

Among the errors,

"table" cannot be used to index ...
"alias" cannot be used to index ...
"nullable" cannot be used to index ...
"columns" cannot be used to index ...
"name" cannot be used to index ...
x does not extend y

I don't know why it's doing the expansion and why it works fine without the expansion but breaks with it.

I just updated to Version 3.0.0-dev.20180705 and the errors seem different from when I was using 2.9.1 but it's still roughly,

The typed-orm project itself can run tsc -d without any errors.
Projects that use the typed-orm project will see lots of errors with the emitted declarations of typed-orm

One of the new types of errors is,
node_modules/typed-orm/dist/src/main/declaration-v2/select-collection/util.d.ts:37199:137 -

error TS2307: Cannot find module 'main/declaration-v2/column-references/column-references'.

37199     } & (Column<string, string, any> | import("main/declaration-v2/column-collection/column-collection").ColumnCollection | AliasedExpr<import("main/declaration-v2/column-references/column-references").PartialColumnReferences, string, string, any>)[];

The directory structure is,
+ typed-orm/
    + src/
        + main/
            + declaration-v2/ (... Don't ask. But it doesn't contain only declarations anymore)
                + column-collection/
                    + index.ts (Exports everything from column-collection.ts and util.ts)
                    + column-collection.ts
                    + util.ts
                + select-collection/
                    + util.ts (One of the many files with the error)

So, main/declaration-v2/select-collection/util.ts is trying to import main/declaration-v2/column-collection/column-collection, but failing, saying it cannot find the module, TS2307
But if I manually fix the emitted declaration by changing it to import ../column-collection or ../column-collection/column-collection, the error goes away, and it can find the module.

I ran a replace on all the emitted .d.ts files, to change the main/... paths to a relative path.
And it looks like the errors are back to the way they were on 2.9.1, which is,

Innocent looking usage of type alias is expanded (Is "expanded" the correct term I'm looking for?)
The expansion causes errors like Type X cannot be used to index type Y

I ran a replace on all the emitted .d.ts files, to change the main/... paths to a relative path.

Looks like we're using the baseUrl to generate a nonrelative specifier, except ofc consumers dont share a baseUrl inside your package. Probably need to ignore baseUrl when generating .d.ts import paths.
Plus the structural decomposition thing.

Actually, I'm pretty sure those paths are the expected and desired output when baseUrl is set, given that baseUrl is for multiproject/application scenarios. Why do you have baseUrl set in your tsconfig; with a quick look I can't find any paths in your application that should rely on it?

I copy-pasted the tsconfig.json from a different project, and never thought about it...
I removed the baseUrl and paths from the tsconfig, ran tsc with 3.0.0-dev 20180706, and the imports are correct.
Sorry about that.

In fact, I think the .d.ts outputs of 2.9.1 and 3.0.0-dev 20180706 are identical, now that I've removed baseUrl and paths

I got it.
https://github.com/AnyhowStep/typed-orm/commit/eecbd4366b9b13e9d209d16e827a5f161c5512ff#diff-e4ac64f1d2caf8dc20405612f17c6d62
After so long, I finally got my project to transpile, and have another project successfully use it and transpile, too.
The change is in src/main/declaration-v2/join-collection/util.ts
I basically just spammed Extract<,> where ever necessary.

Before, I just had checks like these,
X extends Y ?
    X :
    never

These worked for typed-orm itself, but the generated .d.ts files themselves would expand (decompose?) X and Y, and it somehow led to errors.
My solution is roughly,
X extends Y ?
    Extract<X, Y> :
    never

And it works for typed-orm and projects using typed-orm.
Not the prettiest but... It works.

These worked for typed-orm itself, but the generated .d.ts files themselves would expand (decompose?) X and Y, and it somehow led to errors.

Yuuuuuuuuuuuuuuuuuuuuuuup. The constraints applied in the true branch by a X extends Y ?     X :     never won't be maintained if it simplifies to just the true branch, as it likely did in your case. The extra Extract you use gets preserved and maintains the constraints in the emitted types where it would otherwise be erased. We probably need to do something similar when emitting conditional types that got simplified in declaration emit.

Call me crazy, but after sprinkling Extract<>, the build/check time doubled from 20s to 40s for typed-orm
And the project I'm working on that relies on typed-orm went from 270-ish seconds to 400-ish...
Understandable, since I'm basically creating more stuff to be checked, right?
Also, are these types the same?
X extends Y ? Extract<X, Y> : never

And
Extract<X, Y>

If so, I'll probably try replacing the first with the second and checking if it reduces the build/check times. I'm not at my computer now, so I'm just speculating


TypeError: Cannot read property 'profile_pic_url_hd' of undefined

I got this error .
TypeError: Cannot read property 'profile_pic_url_hd' of undefined
at got.then.res (C:\Users\ahmet\node_modules\instagram-profile-picture\index.js:31:24)
at
at process._tickCallback (internal/process/next_tick.js:188:7)

Hi,
Instagram has done some changes and that's causing this problem. I'll fix it as soon as possible. Thanks for reporting the issue.
I'm keeping it open so that I don't forget to fix it.

Hi, The issue is fixed now!
Just update the package using $ npm install --save instagram-profile-picture and everything will work as it's mentioned in the readme!