Error when trying to use ResNet model

The command used:
./style_transfer.py inputs/hoovertowernight.jpg inputs/starry_night.jpg --net-type resnet  --model resnet_50_1by2_nsfw.caffemodel --tile-size 1920 -s 400 800 -i 150 -cw 0.1 -pw 5 --content-layers conv4_1 conv4_2 conv4_3 conv4_4 --style-layers conv1_1 pool1 pool2 pool3 pool4 2>&1 | tee ~/mylog.log
The terminal output:
Loading VGG_ILSVRC_19_layers.caffemodel.
[libprotobuf ERROR google/protobuf/text_format.cc:296] Error parsing text-format caffe.NetParameter: 2:1: Invalid control characters encountered in text.
[libprotobuf ERROR google/protobuf/text_format.cc:296] Error parsing text-format caffe.NetParameter: 2:29: Interpreting non ascii codepoint 162.
[libprotobuf ERROR google/protobuf/text_format.cc:296] Error parsing text-format caffe.NetParameter: 2:29: Message type "caffe.NetParameter" has no field named "ResNet_50_1by2_inplace_nsfw".
WARNING: Logging before InitGoogleLogging() is written to STDERR
F1013 00:07:33.795737  1351 upgrade_proto.cpp:88] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse NetParameter file: resnet_50_1by2_nsfw.caffemodel
*** Check failure stack trace: ***

The model was from here: https://github.com/yahoo/open_nsfw. The train_val info can be found here: https://github.com/yahoo/open_nsfw/issues/8
I experienced this error on the style_tranfer AMI.

--model is for the .prototxt file and --weights is for the .caffemodel. Also, you probably want to run --list-layers because the content and style layers in ResNets aren't named the same as VGG nets.
Also, 5 is a really high value for -pw. Earlier today I changed how it worked to make it a consistent strength when the value of -pp changed. With the default -pp of 6, you should divide the old parameter value by 32 to get the same effect. I also changed the default -pw from 1 to 0.05 at the same time, which is a bit stronger.

Also, 5 is a really high value for -pw. Earlier today I changed how it worked to make it a consistent strength when the value of -pp changed. With the default -pp of 6, you should divide the old parameter value by 32 to get the same effect. I also changed the default -pw from 1 to 0.05 at the same time, which is a bit stronger.

I was just copying your parameters from the Reddit thread as I am not sure as to what the optimal parameters.

Normally I leave the p-norm weight at the default unless I'm doing something involving Deep Dream. It applies a penalty to pixel values that are too far away from the ImageNet mean value, encouraging them to roughly stay in the interval 0-255. It's not a hard constraint - it tends to push deep blacks and bright whites toward the mean a bit, and pixel values are still allowed outside 0-255 - but it plays much nicer with Deep Dream than a hard constraint, moderating its often-garish contrast and allowing it to converge to a solution rather than diverging. Generally the higher the Deep Dream weight, the more you want to raise the p-norm weight from the default.

./style_transfer.py --no-browser --net-type resnet --model deploy.prototxt --weights resnet_50_1by2_nsfw.caffemodel --list-layers 2>&1 | tee ~/mylog.log
How do I properly use --list-layers?

Loading resnet_50_1by2_nsfw.caffemodel.

Watch the progress at: http://<IP_ADDRESS>:8000/

Starting 1 worker process(es).
Preprocessing the style image...
Pass 1
Using 1x1 tiles of size 200x138.
Traceback (most recent call last):
  File "./style_transfer.py", line 967, in <module>
    main()
  File "./style_transfer.py", line 953, in main
    callback=server.progress, initial_state=state)
  File "./style_transfer.py", line 697, in transfer_multiscale
    style_scaled, **kwargs)
  File "./style_transfer.py", line 587, in transfer
    ARGS.tile_size)
  File "./style_transfer.py", line 479, in preprocess_images
    feats = self.prepare_features(pool, style_layers, tile_size)
  File "./style_transfer.py", line 456, in prepare_features
    feat = self.eval_features_once(pool, [layer], tile_size)[layer]
  File "./style_transfer.py", line 416, in eval_features_once
    scale, channels = self.layer_info(layer)
  File "./style_transfer.py", line 398, in layer_info
    return 224 // self.shapes[layer][1], self.shapes[layer][0]
KeyError: 'res2b'

I believe the first error is caused by incorrect layer names.
./style_transfer.py inputs/creek.jpg --no-browser --net-type resnet --model deploy.prototxt --weights resnet_50_1by2_nsfw.caffemodel --content-layers fc_nsfw --style-layers fc_nsfw --tile-size 2048 inputs/creek.jpg inputs/shipwreck.jpg -s 200 300 400<PHONE_NUMBER> --hidpi -i 200 100 -cw 0.5 -tw 0.5 -tp 1.5 --dd-layers ./style_transfer.py --no-browser --net-type resnet --model deploy.prototxt --weights resnet_50_1by2_nsfw.caffemodel --content-layers fc_nsfw --style-layers fc_nsfw --tile-size 2048  -s 200 300 400<PHONE_NUMBER> --hidpi -i 200 100 -cw 0.5 -tw 0.5 -tp 1.5 --dd-layers fc_nsfw -dw 1 2>&1 | tee ~/mylog.log
and
./style_transfer.py  inputs/creek.jpg  --no-browser --net-type resnet --model deploy.prototxt --weights resnet_50_1by2_nsfw.caffemodel --content-layers scale_stage3_block2_branch2a --style-layers scale_stage3_block2_branch2a --tile-size 2048 inputs/creek.jpg inputs/shipwreck.jpg -s 200 300 400<PHONE_NUMBER> --hidpi -i 200 100 -cw 0.5 -tw 0.5 -tp 1.5 --dd-layers ./style_transfer.py --no-browser --net-type resnet --model deploy.prototxt --weights resnet_50_1by2_nsfw.caffemodel --content-layers scale_stage3_block2_branch2a --style-layers scale_stage3_block2_branch2a --tile-size 2048 -s 200 300 400<PHONE_NUMBER> --hidpi -i 200 100 -cw 0.5 -tw 0.5 -tp 1.5 --dd-layers scale_stage3_block2_branch2a  -dw 1 2>&1 | tee ~/mylog.log
result in:
Loading resnet_50_1by2_nsfw.caffemodel.

Watch the progress at: http://<IP_ADDRESS>:8000/

Starting 1 worker process(es).
Preprocessing the style image...
Pass 1
Using 1x1 tiles of size 200x150.
Traceback (most recent call last):
  File "./style_transfer.py", line 967, in <module>
    main()
  File "./style_transfer.py", line 953, in main
    callback=server.progress, initial_state=state)
  File "./style_transfer.py", line 697, in transfer_multiscale
    style_scaled, **kwargs)
  File "./style_transfer.py", line 587, in transfer
    ARGS.tile_size)
  File "./style_transfer.py", line 479, in preprocess_images
    feats = self.prepare_features(pool, style_layers, tile_size)
  File "./style_transfer.py", line 456, in prepare_features
    feat = self.eval_features_once(pool, [layer], tile_size)[layer]
  File "./style_transfer.py", line 416, in eval_features_once
    scale, channels = self.layer_info(layer)
  File "./style_transfer.py", line 398, in layer_info
    return 224 // self.shapes[layer][1], self.shapes[layer][0]
IndexError: tuple index out of range

The layer names should be correct for the second try. Not sure what the tuple index error is caused by. It also would only accept a single image instead of a content and style image.
Not sure if this has anything to do with the error above:
"We used the thin resnet 50 1by2 architecture as the pretrained network.".

I think for this model you have to use the conv_ layers instead of scale_ or bn_. If you look at the output of --list-layers (you can just add that flag to style_transfer.py to print the layers then exit, it's like --help), some of the layers will be 1D (like (1000,)) and some will be 3D (like (512, 28, 28)). Only the 3D layers can be used. This should really be documented and also have an informative error message. The 'out of range' error is due to it trying to read the size of the second dimension when it doesn't exist for that layer.

Only the 3D layers can be used. This should really be documented and also have an informative error message. The 'out of range' error is due to it trying to read the size of the second dimension when it doesn't exist for that layer.

Ok, I'll try that out tomorrow when I get the chance! Didn't realize I was dealing with different 3D and 2D layers, as I haven't dealt with 2D vs 3D layers before (Is it a ResNet thing?). Thanks for the help!

Apparently this model has a lot of layers without separately allocated memory, like the scale_ and bn_ layers which perform their operations in-place. These layers are present in deploy.prototxt but won't even show up in --list-layers, since they can't be used at all.
Most models have 1D layers at the end, for instance VGG has fc6 and fc7 IIRC. Anything past pool5 on VGG nets is 1D.
Actually, I can see another problem with this network. style_transfer needs to know the last usable layer for a model and selects it based on the model type. It expects ResNets to have their last usable layer named pool5, but in this model it is simply named pool. This will cause another crash. I'll have to add a flag to specify the last layer name.

I fixed the other problem. style_transfer will now autodetect the last layer. I removed the --net-type option since it was only used for determining the last layer.

@crowsonkb Would it be possible to allow the Deepdream to work on GPU as well as CPU?

The --list-layers output:
Loading resnet_50_1by2_nsfw.caffemodel.
 All the layers I tried seemed to result in the same error.

./style_transfer.py inputs/creek.jpg inputs/shipwreck.jpg --no-browser --model deploy.prototxt --weights resnet_50_1by2_nsfw.caffemodel --content-layers conv_stage1_block2_branch2b --style-layers conv_stage1_block2_branch2b  --tile-size 2048 -s 200 300 400<PHONE_NUMBER> --hidpi -i 200 100 -cw 0.5 -tw 0.5 -tp 1.5 --dd-layers conv_stage1_block2_branch2b -dw 1 2>&1 | tee ~/mylog.log
Loading resnet_50_1by2_nsfw.caffemodel.
Watch the progress at: http://<IP_ADDRESS>:8000/
Starting 1 worker process(es).
WARNING: Logging before InitGoogleLogging() is written to STDERR
F1013 22:42:31.182435  1539 blob.cpp:32] Check failed: shape[i] >= 0 (-1 vs. 0)
*** Check failure stack trace: ***

Here the same error message appears to be from an issue with kernel size: https://stackoverflow.com/questions/37494722/caffe-lenet-error-check-failed-shapei-0-1-vs-0

Not sure if this is related, but it appears that the VGG_SOD_Finetune model does not work with it's deploy.prototxt but works if you omit the  --model VGG16_SOD_finetune_deploy.prototxt from the list of parameters used.
./style_transfer.py inputs/creek.jpg inputs/shipwreck.jpg --no-browser  --weights VGG16_SOD_finetune.caffemodel --content-layers conv4_1 conv4_2 conv4_3 conv4_4 --style-layers conv1_1 pool1 pool2 pool3 pool4 --dd-layers conv4_1 conv4_2 --tile-size 2048 -s 200 300 400<PHONE_NUMBER> --hidpi -i 200 100 -cw 0.5 -tw 0.5 -tp 1.5 -dw 1 2>&1 | tee ~/mylog.log
`

Does the ImageNet-trained ResNet in ../deep_dream/resnet work for you? And that's really weird: the default model is VGG19. The VGG16 .caffemodel and .prototxt are included on my AMI though, so you can use the VGG16 prototxt with different VGG16 caffemodels if you have to. I wonder if that'll work for ResNets with renamed layers too.

@crowsonkb

Does the ImageNet-trained ResNet in ../deep_dream/resnet work for you?

Yes, works using:
./style_transfer.py --no-browser --model ../deep_dream/resnet/ResNet-50-deploy.prototxt --weights ../deep_dream/resnet/ResNet-50-model.caffemodel --content-layers res4b --style-layers res2b res3b res4b --tile-size 2048 inputs/creek.jpg inputs/shipwreck.jpg -s 200 300 400<PHONE_NUMBER> --hidpi -i 200 100 -cw 0.5 -tw 0.5 -tp 1.5 --dd-layers res4b -dw 1

This command works with the Yahoo NSFW model:
./style_transfer.py --no-browser --model ../deep_dream/resnet/ResNet-50-deploy.prototxt --weights resnet_50_1by2_nsfw.caffemodel --content-layers res4b --style-layers res2b res3b res4b --tile-size 2048 inputs/creek.jpg inputs/shipwreck.jpg -s 200 300 400<PHONE_NUMBER> --hidpi -i 200 100 -cw 0.5 -tw 0.5 -tp 1.5 --dd-layers res4b -dw 1
I am wondering if there is an issue with the deploy.prototxt from both of these models, or from your code?

Trying to use another ResNet_50_1by2 prototxt results in the following error:
./style_transfer.py --list-layers --no-browser --model train.prototxt --weights resnet_50_1by2_nsfw.caffemodel --content-layers pool --style-layers pool --tile-size 2048 inputs/creek.jpg inputs/shipwreck.jpg -s 200 300 400<PHONE_NUMBER> --hidpi -i 200 100 -cw 0.5 -tw 0.5 -tp 1.5 --dd-layers pool -dw 1 2>&1 | tee ~/mylog.log
Loading resnet_50_1by2_nsfw.caffemodel.
Process ForkProcess-1:
Traceback (most recent call last):
  File "/usr/lib/python3.5/multiprocessing/process.py", line 249, in _bootstrap
    self.run()
  File "/usr/lib/python3.5/multiprocessing/process.py", line 93, in run
    self._target(*self._args, **self._kwargs)
  File "./style_transfer.py", line 910, in init_model
    shapes[layer] = model.data[layer].shape
  File "./style_transfer.py", line 141, in __getitem__
    return getattr(self.net.blobs[key], self.attr)[0]
IndexError: too many indices for array

Just tried the MIT Places365 Hybrid model. It didn't work with it's prototxt, but it did work with the default  VGG_ILSVRC_16_layers_deploy.prototxt you included with style_transfer.
./style_transfer.py --no-browser --model VGG_ILSVRC_16_layers_deploy.prototxt --weights vgg16_hybrid1365.caffemodel --content-layers pool5 --style-layers pool5 --tile-size 2048 inputs/creek.jpg inputs/shipwreck.jpg -s 200 300 400<PHONE_NUMBER> --hidpi -i 200 100 -cw 0.5 -tw 0.5 -tp 1.5 --dd-layers pool5 -dw 1 2>&1 | tee ~/mylog.log

@crowsonkb It appears there may be an issue with non default prototxt files.

I remember now that I had to modify the prototxts to get them to work... The ones in deep_dream and style_transfer are all my modified versions. You have to add the force_backward: true line near the top. I'd also remove fully-connected layers and loss layers from the end so that the last layer would be a valid one for style_transfer.

I added force_backward: true to the prototxt file, and now I am receiving a new error:
Loading resnet_50_1by2_nsfw.caffemodel.

Watch the progress at: http://<IP_ADDRESS>:8000/

Starting 1 worker process(es).
WARNING: Logging before InitGoogleLogging() is written to STDERR
F1014 06:31:11.061403 28320 memory_data_layer.cpp:110] Check failed: data_ MemoryDataLayer needs to be initialized by calling Reset
*** Check failure stack trace: ***

Adding force_backward: true  results in
Loading resnet_50_1by2_nsfw.caffemodel.

Watch the progress at: http://<IP_ADDRESS>:8000/

Starting 1 worker process(es).
WARNING: Logging before InitGoogleLogging() is written to STDERR
F1014 06:31:11.061403 28320 memory_data_layer.cpp:110] Check failed: data_ MemoryDataLayer needs to be initialized by calling Reset
*** Check failure stack trace: ***

And the deploy.prototxt already has force_backward: true . Are there any other edits you made to the prototxt files?

In your Deepdream project, the default deploy.prototxt are for ResNet-50,  ResNet-101, and ResNet-152. I was curious as to whether or not the 50-1by2 was a different ResNet architecture.
The model in question that I am attempting to use is a ResNet-50-1by2.

Comparing the deploy.prototxt for ResNet-50 (Your Modified version), and the deploy.prototxt for the ResNet-50-1by2 model I am attempting to use with a diff checker tool, shows the code is vastly different.
There is 3488 removals and 2319 additions between them.

The difference between ResNet_50_1by2_nsfw and Resnet_50_1by2 appear to be the use_global_stats: value:
use_global_stats: true use_global_stats: true
Comparing the two files shows 91 removals and 93 additions between them.
The very top portion also appears to be different between them.

Resnet_50_1by2:

layer {
  name: "data"
  type: "MemoryData"
  top: "data"
  top: "label"
  transform_param {
    crop_size: 224
  }
  memory_data_param {
    batch_size: 1
    channels: 3
    height: 224
    width: 224
  }
}

ResNet_50_1by2_nsfw:

name: "ResNet_50_1by2_nsfw"
layer {
  name: "data"
  type: "Input"
  top: "data"
  input_param { shape: { dim: 1 dim: 3 dim: 224 dim: 224 } }

The differences between Resnet_50 and Resnet_50_1by2 are:
Resnet_50 has:
mean_value: 104
mean_value: 117
mean_value: 123

while Resnet_50_1by2 does not.
The num_output: value between the two makes up the other difference. In total there are 56 removals and 53 additions between the two.

Try using this prototxt for ResNet_50_1by2_nsfw: https://gist.github.com/crowsonkb/aa45e710f9169b23947cac9fe493c4e3
I had to set force_backward: true on line 2 and change the final pooling layer from 7x7 average pooling to global pooling (for compatibility with different image sizes).

Re: the scale layer, from http://caffe.berkeleyvision.org/doxygen/classcaffe_1_1BatchNormLayer.html:

Note that the original paper also included a per-channel learned bias and scaling factor. To implement this in Caffe, define a ScaleLayer configured with bias_term: true after each BatchNormLayer to handle both the bias and scaling factor.

@crowsonkb The modified deploy.prototxt works!
Here are the eltwise layers (Potentially NSFW Images): https://imgur.com/a/NtFyx
The Pool and some Conv layers (Potentially NSFW Images): https://imgur.com/a/h3Lgn
The results from the upper most layers seem to have a grassy/hair life fibrous look. Layers from the lower middle and upwards seem to be where you find objects and structures.


When choose alternative theme - the page with unused devices page look bad and no chance to correct it right

Home Assistant release with the issue: 100.2

Last working Home Assistant release (if known): never
Operating environment (Hass.io/Docker/Windows/etc.): Arch Linux

Integration: themes

Description of problem: If select other theme than default,on the page with unused devices, cant see table because font color is the same as background. it's unpossible to set different color in theme - because this table not nave own style/id.

sorry for mistakes ;-)


feat: allow metric traces

fixes: #250
Allow to retrieve metric logs calculation

Please validate the concept with faithfulness so that I can work with the other metrics :)

hey @grauvictor can we use callbacks here? what do you think?

hey @grauvictor this has been added with v0.2, do give it a short
closing this for now but I'm really sorry we couldn't merge it 🙁 but at the same time thanks a million for taking the time to raise this, really grateful too and do checkout this form https://docs.google.com/forms/d/e/1FAIpQLSdM9FrrZrnpByG4XxuTbcAB-zn-Z7i_a7CsMkgBVOWQjRJckg/viewform - our way of saying thank you 🙂


Add Sphinx preview workflow

Same as #29, but now from a local branch.

Build CI is still failing, but I don't think that really matters as much as pre-commit here.

Build CI is still failing, but I don't think that really matters as much as pre-commit here.


Android support

Support on Android is quite terrible. I don't know if it's just that Chrome on Android is terrible with animation support or if I'm actually doing something wrong.
Pull to refresh is also hijacked by Android so the system I'm using doesn't currently work.
I'm not a fan of Android and don't use it myself so I'll be relying on others to provide support.

We basically have opposite opinions here, so perhaps this'll be a good place for me to jump in after I familiarize myself with what you've already got goin' on.

Yaas!! This would be amazing.


Changed Hacker School to Recurse Center on README.md

Hi Mary,
I just updated the README.md to reflect the name change form "Hacker School" to "Recurse Center" and updated the link accordingly.
Regards,
Pietro

Thanks a lot for this, Pietro!


Marine Forecast shows "NaN" or "NaNkts" when no data is available for ocean / lake conditions.

Hello,
I love that you built this very faithful clone of the old Weather Channel station.  It's brilliant.
On a forecast for Big Bear City (a mountain town), the marine forecast showed "NaNkts" , which looks weird.
When the weather service fails to return data, or no data is available for the given area, I would expect the screen to show "---" (hypens) instead.
See attached screenshot.
Details:
Location: Big Bear City, CA
Station Id: KL35
Radar Id: SGX
Zone Id: CAZ055

The NaN issue appears in Chrome as well, so this is not specific to Safari.


fix: we don't want major, not patch updates for eslint …

my mistake in https://github.com/db-ui/elements/pull/874 :-(

Potentiall obsolete due to dependency update that we‘ll introduce with https://github.com/db-ui/elements/pull/873

obsolete by https://github.com/db-ui/elements/pull/873/

obsolete by https://github.com/db-ui/elements/pull/873


exception in UploadService.uploadFiles(UploadService.java:290)

Hello Alex,
I'm trying to upload file to my server and i get an exception:
Error in upload with ID: 7a31894d-342e-4bfc-99be-4bbf4c0ae0c8. sendto failed: EPIPE (Broken pipe): java.net.SocketException: sendto failed: EPIPE (Broken pipe)
at libcore.io.IoBridge.maybeThrowAfterSendto(IoBridge.java:546)
at libcore.io.IoBridge.sendto(IoBridge.java:515)
at java.net.PlainSocketImpl.write(PlainSocketImpl.java:504)
at java.net.PlainSocketImpl.access$100(PlainSocketImpl.java:37)
at java.net.PlainSocketImpl$PlainSocketOutputStream.write(PlainSocketImpl.java:266)
at com.android.okio.Okio$1.write(Okio.java:70)
at com.android.okio.RealBufferedSink.emitCompleteSegments(RealBufferedSink.java:116)
at com.android.okio.RealBufferedSink.write(RealBufferedSink.java:44)
at com.android.okhttp.internal.http.HttpConnection$ChunkedSink.write(HttpConnection.java:334)
at com.android.okio.RealBufferedSink.emitCompleteSegments(RealBufferedSink.java:116)
at com.android.okio.RealBufferedSink$1.write(RealBufferedSink.java:131)
at com.alexbbb.uploadservice.UploadService.uploadFiles(UploadService.java:290)
at com.alexbbb.uploadservice.UploadService.handleFileUpload(UploadService.java:163)
at com.alexbbb.uploadservice.UploadService.onHandleIntent(UploadService.java:133)
at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.os.HandlerThread.run(HandlerThread.java:61)

Just to make sure that your configuration is correct:

check if you have added all the required permissions to your AndroidManifest.xml (EPIPE happens often as a result of missing permissions)
check that you are using the latest version of android-upload-service (open a terminal, navigate to the folder where you have cloned the git repo and execute: git pull)
check that the URL on which you are making the http/multipart request is reachable

After that, please try an upload again and let me know if you have solved the problem

I am having issues in using this library. it gives me error on some files (http://prntscr.com/72e68t screenshot) broken pipe. (http://prntscr.com/72e7pu) it runs for others perfectly

http://prntscr.com/72ey4c now the problem is at line 172

@Android33 can you provide a test case and tell me which web server are you using?

I've experienced this problem while trying to upload large files which exceeds maximum POST data length set on server. The multipart header that Android Upload Service sends does not specify a "Content-Length", so the server could not validate and refuse the request in advance. What happens is that at some point, when the maximum post data is reached, the server closes the stream, and the "Broken pipe" arises on the client side. This is the same behavior described in RFC 1867 on paragraph 5.2: https://www.ietf.org/rfc/rfc1867.txt
To try to solve this issue, I made this commit: https://github.com/alexbbb/android-upload-service/commit/50a83a361c1e0ab8bfac4c976c9fdaf36b925e43 which adds the total content length of the request in the headers. I encourage everyone who uses the library to update to the latest commit, make some tests and report any errors here.

The current master at the time of this writing: https://github.com/alexbbb/android-upload-service/commit/b65b6ccc7ac8d5a708b53c79f0af5e27202001cc works for me after the modifications, in all the test cases using PHP server and node.js server backends

For some reason, I still keep getting this error. I am using the latest commit (3.0) for the library with Node JS server. This is specifically for large files that exceed maximum POST data length set on server.

Can you replicate the error with the demo server provided in the examples?

Yes, I am using the Node JS server from examples. It works perfectly fine for smaller files (<1 GB). I was using this service for a long time and never faced this issue before. Lately, this is an issue (since 2.1, I think).

Ok, so to be able to replicate the issue, I also need the debug log from the library (check in the wiki > Recipes) and the output from the server when the error arises. Thank you.

Sure. I have enabled debugger. I have attached the output for Android logcat and Node JS server. There's no error on server, it is just left hanging. Server does show content-length from the header. This happens when I try to upload >2 GB of data (using multiple multipart requests in parallel or single multipart request).
Android output
Server output

From what I see, it could be a server-side issue. Currently the node.js demo server uses multer 0.1.8. I've seen that currently 1.x is available. The first step is to upgrade multer to the latest version. Its public API has changed so some refactorings will be needed, too.


Move NUM_IMAGES from kernel.json to Dockerfile

I want to change %num_images default value. My idea was to change environment variable NUM_IMAGES
I just type:
docker run -e NUM_IMAGES=8 -i -t -p 8888:8888 sourceryinstitute/jupyter-caf-kernel:latest

But it didn't work because kernel.json override it.
So my suggestion is to move variable declaration from kernel.json to Dockerfile, after that everyone can change it easily within one docker command.

Sure, I can do that! TBH, my kernel is super hack-y and I would love any and all help and suggestions that I can get! I think this is a good idea.
Just FYI, if/when I find time, I'm going to create a docker image over at https://github.com/sourceryinstitute/OpenCoarrays that will rebuild every time code is pushed to master, since master is (intended to be) pretty stable. This was people can try/submit bugs without having to install master themselves. I'll probably implement your suggestion much sooner though.

Fixed by #2. Thanks for your contribution @3Dcube :tada: :100:


Run build-and-test workflow on all PRs to master

Some PRs have run the build-and-test job (eg https://github.com/solana-labs/wallet-adapter/pull/849 + https://github.com/solana-labs/wallet-adapter/pull/841), but some haven't (eg https://github.com/solana-labs/wallet-adapter/pull/840 + https://github.com/solana-labs/wallet-adapter/pull/838)
I'm unsure why this happens, but one guess is the missing branches: [master] on the pull_request trigger.
This matches the trigger in eg web3js: https://github.com/solana-labs/solana-web3.js/blob/fdc85b98edc4bd7a74c5bd10128d5397bce368a7/.github/workflows/pull-requests.yml#L3-L5
The github docs also only seem to give examples that include a filter, eg https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onpull_requestpull_request_targetbranchesbranches-ignore
I'm hoping this will make all PRs run the build-and-test workflow!

Good call!


input format

Hi,
In your code you don't specify how you embed the sentence / document and there's no use of word2vec , aside of indicating the embedding size. I imagine the part
doc_as_array = np.array([[1, 2, 3, 4]])
left_context_as_array = np.array([[MAX_TOKENS, 1, 2, 3]])
right_context_as_array = np.array([[2, 3, 4, MAX_TOKENS]])
is merely an example - but how do you actually go about embedding and feeding a sentence or document to the network?
Thanks

Hi, @trojandodo. I've added some code that shows how you can convert a raw string into a sequence of integers corresponding to embeddings in a word2vec matrix. The code assumes you already have a word2vec model trained with gensim. The sequence of integers can then be fed directly into the model for training because the model uses an Embedding layer. Let me know if that answers your question.

Thanks Michael,
I appreciate this very much. I saw the update and now it's much clearer
what was the intention.
Best,
Ydo
On Wed, Dec 7, 2016 at 3:52 PM, Michael A. Alcorn<EMAIL_ADDRESS>wrote:

Hi, @trojandodo https://github.com/trojandodo. I've added some code
that shows how you can convert a raw string into a sequence of integers
corresponding to embeddings in a word2vec matrix. The code assumes you
already have a word2vec model trained with gensim. The sequence of integers
can then be fed directly into the model for training because the model uses
an Embedding layer. Let me know if that answers your question.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/airalcorn2/Recurrent-Convolutional-Neural-Network-Text-Classifier/issues/1#issuecomment-265452124,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVJUzGwFi29_4ITU6OSF_jD6-b8NtXsxks5rFrovgaJpZM4LGc6b
.


Add enforce support for hooks configuration

In hooks configuration, the target url is used as the key for each hook with additional properties under it. If the hook is removed or the url is changed, the one that was previously created/updated will still remain in the gitlab project. It'd be great to add enforce: true support for hooks similar to other configs that supports the same enforce key. If a hook is not in the gitlabform configuration, it will be deleted. This helps to keep project's state in sync with config-as-code.

Hi, I'd like to give this a try (I should be familiar with hooks management now ;) )

Thanks @TigreModerata for willing to contribute. Please feel free to pick this up when you can. PRs are welcome.

This is now available in v3.9.0 release. Thanks for your contribution.


Getting errors when trying to play music on satellite

Hi there! Firstly, just wanted to say that you're doing awesome work here. Both video and written tutorials are easy to follow and a real asset to the HA community.
However, I seem to be having an issue which I'm certain is likely my own error but am a little stuck on how to debug it.
I have followed all your instructions to get to the point of having the Wyoming Satellite (with 2Mic PiHat) play music via either the wake word or just by typing into Assist in HA but i'm getting an errors back. If i ask it to play a specific artist on the specific device I get the following when i check the debug:
conversation_id: 01HP6C88NCJFXV8YWK3RSECC3R
device_id: null
intent_output:
  response:
    speech:
      plain:
        speech: >-
          Something went wrong: Error rendering data template: UndefinedError:
          list object has no element 0
        extra_data: null
    card: {}
    language: "*"
    response_type: error
    data:
      code: unknown
  conversation_id: 01HP6CF98SSTSXFQQYN1VFPE92

and then, if I ask it just to play a specific artist or genre (without specifying the device) i get this:
conversation_id: 01HP6CF98SSTSXFQQYN1VFPE92
device_id: null
intent_output:
  response:
    speech:
      plain:
        speech: "Something went wrong: Template rendered invalid entity IDs: "
        extra_data: null
    card: {}
    language: "*"
    response_type: error
    data:
      code: unknown
  conversation_id: 01HP6CFEJAGSM8G07Y0MXVK95K

At this point I'm not sure where I'm going wrong. What's interesting is that I had a different speaker (my Sonos soundbar) enabled in Music Assistant and had to disable it because when I said "Hey, Jarvis. Play Queen in the Living Room" it was playing on that speaker instead of the Wyoming Satellite. Which I didn't even think was possible.
I should add that everything else seems to be working well enough, like turning on/off lights and asking "Who is Bruce Wayne", for example.
Any advice would be super appreciated - I'm sure it's just me misunderstanding things haha

Hi I also got this error...I've narrowed it down to the script in home assistant...what I can see it only plays "Playlists" and not individual tracks???...please correct me if I'm wrong??
I'm trying to modify the script to also accept the name of the track queries..

I also have the error "something went wrong: template rendered invalid entity ids" and don't know how to get further from here.
My additional quest is to get this Assistant to speak German. Where do I have to change the code / script in order to achieve that?

I am encountering exactly this error, has anyone fixed it yet?

this is what i use to play music on my ceiling speakers. you can edit the default media player entity in the spec below. You can also send a media player name when saying the command.
`- spec:
name: search_music
description: >
Searches for music.
parameters:
type: object
properties:
query:
type: string
description: search query
media_type:
type: array
optional: true
items:
type: string
enum: ["artist", "album", "playlist", "track", "radio"]
description: Types of media to search
artist:
type: string
optional: true
description: Specify this when you search from a specific artist
album:
type: string
optional: true
description: Specify this when you search from a specific album
required:
- query
function:
type: script
sequence:
- service: mass.search
data: >
{
"name": "{{ query }}",
{% if media_type is defined and media_type %}
"media_type": {{ media_type | tojson }},
{% else %}
"media_type": ["artist", "album", "playlist", "track", "radio"],
{% endif %}
{% if artist is defined and artist %}
"artist": "{{ artist }}",
{% endif %}
{% if album is defined and album %}
"album": "{{ album }}",
{% endif %}
"limit": 1
}
response_variable: _function_result

spec:
name: music_assistant_play
description: >
Plays a spotify URI after searching for it
using search_music. If a device is not defined,
use media_player.ceiling_speakers
parameters:
type: object
properties:
media_player_id:
type: array
items:
type: string
description: List of media player Entity IDs to play.
media_id:
type: string
description: Media identifier (URI)
enqueue:
type: string
enum: ["play", "replace", "next", "replace_next", "add"]
description: >
How to enqueue the media.
If the user says to play a song next, then use next.
If the user says to play a song at the end of the playlist, then use add.
If the user says to start a new playlist, then use replace.
If you are unsure, just use play.
required:
- media_player_id
- media_id
- enqueue
function:
type: script
sequence:
- service: mass.play_media
target:
entity_id: "{{ media_player_id }}"
data:
media_id: "{{ media_id }}"
enqueue: "{{ enqueue }}"`

this is what i use to play music on my ceiling speakers. you can edit the default media player entity in the spec below. You can also send a media player name when saying the command. '''

spec:
name: search_music
description: >
Searches for music.
parameters:
type: object
properties:
query:
type: string
description: search query
media_type:
type: array
optional: true
items:
type: string
enum: ["artist", "album", "playlist", "track", "radio"]
description: Types of media to search
artist:
type: string
optional: true
description: Specify this when you search from a specific artist
album:
type: string
optional: true
description: Specify this when you search from a specific album
required:

query
function:
type: script
sequence:

service: mass.search
data: >
{
"name": "{{ query }}",
{% if media_type is defined and media_type %}
"media_type": {{ media_type | tojson }},
{% else %}
"media_type": ["artist", "album", "playlist", "track", "radio"],
{% endif %}
{% if artist is defined and artist %}
"artist": "{{ artist }}",
{% endif %}
{% if album is defined and album %}
"album": "{{ album }}",
{% endif %}
"limit": 1
}
response_variable: _function_result

spec:
name: music_assistant_play
description: >
Plays a spotify URI after searching for it
using search_music. If a device is not defined,
use media_player.ceiling_speakers
parameters:
type: object
properties:
media_player_id:
type: array
items:
type: string
description: List of media player Entity IDs to play.
media_id:
type: string
description: Media identifier (URI)
enqueue:
type: string
enum: ["play", "replace", "next", "replace_next", "add"]
description: >
How to enqueue the media.
If the user says to play a song next, then use next.
If the user says to play a song at the end of the playlist, then use add.
If the user says to start a new playlist, then use replace.
If you are unsure, just use play.
required:

media_player_id
media_id
enqueue
function:
type: script
sequence:
service: mass.play_media
target:
entity_id: "{{ media_player_id }}"
data:
media_id: "{{ media_id }}"
enqueue: "{{ enqueue }}"

Cheers for this function....is there any chance you could upload a correctly formatted version?...cheers again

`- spec:
name: search_music
description: >
Searches for music.
parameters:
type: object
properties:
query:
type: string
description: search query
media_type:
type: array
optional: true
items:
type: string
enum: ["artist", "album", "playlist", "track", "radio"]
description: Types of media to search
artist:
type: string
optional: true
description: Specify this when you search from a specific artist
album:
type: string
optional: true
description: Specify this when you search from a specific album
required:
- query
function:
type: script
sequence:
- service: mass.search
data: >
{
"name": "{{ query }}",
{% if media_type is defined and media_type %}
"media_type": {{ media_type | tojson }},
{% else %}
"media_type": ["artist", "album", "playlist", "track", "radio"],
{% endif %}
{% if artist is defined and artist %}
"artist": "{{ artist }}",
{% endif %}
{% if album is defined and album %}
"album": "{{ album }}",
{% endif %}
"limit": 1
}
response_variable: _function_result

spec:
name: music_assistant_play
description: >
Plays a spotify URI after searching for it
using search_music. If a device is not defined,
use media_player.ceiling_speakers
parameters:
type: object
properties:
media_player_id:
type: array
items:
type: string
description: List of media player Entity IDs to play.
media_id:
type: string
description: Media identifier (URI)
enqueue:
type: string
enum: ["play", "replace", "next", "replace_next", "add"]
description: >
How to enqueue the media.
If the user says to play a song next, then use next.
If the user says to play a song at the end of the playlist, then use add.
If the user says to start a new playlist, then use replace.
If you are unsure, just use play.
required:
- media_player_id
- media_id
- enqueue
function:
type: script
sequence:
- service: mass.play_media
target:
entity_id: "{{ media_player_id }}"
data:
media_id: "{{ media_id }}"
enqueue: "{{ enqueue }}"`

- spec:
    name: search_music
    description: >
      Searches for music.
    parameters:
      type: object
      properties:
        query:
          type: string
          description: search query
        media_type:
          type: array
          optional: true
          items:
            type: string
            enum: ["artist", "album", "playlist", "track", "radio"]
          description: Types of media to search
        artist:
          type: string
          optional: true
          description: Specify this when you search from a specific artist
        album:
          type: string
          optional: true
          description: Specify this when you search from a specific album
      required:
      - query
  function:
    type: script
    sequence:
    - service: mass.search
      data: >
        {
          "name": "{{ query }}",
          {% if media_type is defined and media_type %}
          "media_type": {{ media_type | tojson }},
          {% else %}
          "media_type": ["artist", "album", "playlist", "track", "radio"],
          {% endif %}
          {% if artist is defined and artist %}
          "artist": "{{ artist }}",
          {% endif %}
          {% if album is defined and album %}
          "album": "{{ album }}",
          {% endif %}
          "limit": 1
        }
      response_variable: _function_result
- spec:
    name: music_assistant_play
    description: >
      Plays a spotify URI after searching for it
      using search_music. If a device is not defined,
      use media_player.ceiling_speakers
    parameters:
      type: object
      properties:
        media_player_id:
          type: array
          items:
            type: string
          description: List of media player Entity IDs to play.
        media_id:
          type: string
          description: Media identifier (URI)
        enqueue:
          type: string
          enum: ["play", "replace", "next", "replace_next", "add"]
          description: >
            How to enqueue the media.
            If the user says to play a song next, then use next.
            If the user says to play a song at the end of the playlist, then use add.
            If the user says to start a new playlist, then use replace.
            If you are unsure, just use play.
      required:
        - media_player_id
        - media_id
        - enqueue
  function:
    type: script
    sequence:
      - service: mass.play_media
        target:
          entity_id: "{{ media_player_id }}"
        data:
          media_id: "{{ media_id }}"
          enqueue: "{{ enqueue }}"

Thanks for this function. About script, can you share your script to play media?

There’s no script. These two specs play the media


CI: nightly builds from additional index

[ ] Closes #579 (Replace xxxx with the Github issue number)
[ ] Tests added: Please use assert_type() to assert the type of any return value

Seems to work for me locally. I think the issue is that the nightly index overwrote the normal pypi index so it didn't find any other packages.

Looks like it worked.


Support BindingType StorageTexture in AsBindGroup

What problem does this solve or what need does it fill?
Currently the AsBindGroup macro supports the BindingTypes Uniform, Texture, Sampler and Storage.
Wgpu also has the BindingType type StorageTexture which enables direct read/write access to textures without sampling (e.g. from a compute shader where samplers are not supported). This is currently not supported by the AsBindGroup macro.
For an example use case check out Bevy's compute_shader_game_of_life example. This example currently cannot be written using AsBindGroup.
What solution would you like?
The AsBindGroup derive macro should support the BindingType StorageTexture in ReadOnly, ReadWrite and WriteOnly  configurations in order to enable compute shader processing of textures.
What alternative(s) have you considered?
Continue constructing BindGroups and BindGroupLayouts manually for this use case.
Additional context
The BindingType Storage was added in https://github.com/bevyengine/bevy/pull/6129. This PR could perhaps serve as reference for implementing the BindingType StorageTexture

e.g. from a compute shader where samplers are not supported

fwiw, compute shaders support samplers - you just have to provide explicit LOD 🙂

Thank you @Patryk27, that's good to know!
Unfortunately, I also need to write to a texture which cannot be done with a regular Texture binding. That still requires a StorageTexture binding.

Hi all!
I'm new to the repo (and open source in general actually), but I came across this issue myself after reading over the compute_shader_game_of_life example, and was inspired to take a look. I have a functioning implementation in a fork I've been toying around with locally and would be happy to contribute it to the main repo!
I would appreciate some guidance on what the process looks like though if possible: should I just open the PR from my fork and go from there?

This was introduced in #9943, so this issue can be closed


Rely on bucket count instead of hIncrByFloat return value

This PR fix problem with floats, sometimes first value in the bucket can be different in PHP and Redis. In this case, the metric key will not be created correctly. Test case can show you more.

Hey @bracki any updates?


is there a commands.json file for redissearch?

I'm looking for a data file of the commands that can be parsed. Is there one available?

There is no such file, what are you need it for?

I'm implementing a redis client base on a stripped down version of on https://github.com/ptaoussanis/carmine and https://github.com/wallrat/labs-redis-clojure - both libraries parse the commands.json to generate the actual functions. I'd like to use that approach as well if possible for implementing command sets for redis modules.

Closed due to inactivity.


Upgraded iron, replaced rustc_serialize and ran cargo update

Removed rustc_serialize
Added serde and serde_json

Notes:

This is currently broken, as handlebars hates every fiber of my being. I can't figure it out, so I'm hoping one of y'all can figure it out. I've enabled the serde feature for it and am feeding it a serde compatible struct, but it says that Page<T> doesn't implement Serialize, when it does.

I hate everything about this, while updating I encountered a compile error in staticfile, so this PR is now upgrading iron and running cargo update

I've followed the original json format, but I may have missed something, so whoever reviews make sure they're identical

This needs to be rebased. Also, I'm not convinced that switching everything at once is the right way to go, see e.g. https://github.com/rust-lang/docs.rs/issues/459#issuecomment-574157795.
The added tests are great, would it be possible to add those in a separate PR? That would avoid blocking them on switching to serde.

Update: Waiting on #743, and then am just going to rewrite this PR entirely


Add title slides/thumbnail images for videos

Adds a set of title slides / thumbnails for us to use for our Youtube video uploads.
This seems like the best way to make them available to all of our leads.

I put these files into the TAG CS shared drive: https://drive.google.com/drive/folders/1Cvys8amSfFAhx6xwVWOqbnYQmP12tKRU
Under Resources directory.

Let me know if you prefer having these in the repository nevertheless.

@CathPag has new thumbnail images

For the YouTube meeting videos? They are here.

Closing this one then as we store these in the shared drive


[stable/prometheus] Add Namespace to applicable Resources

What this PR does / why we need it:
Add the namespace field to applicable resources. Otherwise helm template doesn't automatically add this field and the resulting resources are incomplete.
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x ] DCO signed
[x ] Chart Version bumped
[x ] Title of the PR starts with chart name (e.g. [stable/mychartname])

/assign @gianrubio

/assign @zanhsieh

@FrediWeber
Thanks for contribution. Just curious, how would this PR handle if the user would like to use install prometheus chart directly to specific namespace via cli?

/hold

@zanhsieh
Thank you for this question. Yes, this is a problem indeed.
But if you use the Kube State Metrics or Grafana component/chart for example, this problem already exists.
I think it's a new behavior and I see three ways to minimize the impact:

Inform the users somehow, that helm template is now behaving correctly, if you pass a namespace parameter to the helm template command but has the default namespace in it, if not.
Introduce a new parameter to this chart (for example force-namespace). The "old" behavior would still be the same but it would be possible to actually have namespaces with helm template.
Decide that we don't want this at all.

@zanhsieh
Thank you for this question. Yes, this is a problem indeed.
But if you use the Kube State Metrics or Grafana component/chart for example, this problem already exists.
I think it's a new behavior and I see three ways to minimize the impact:

Inform the users somehow, that helm template is now behaving correctly, if you pass a namespace parameter to the helm template command but has the default namespace in it, if not.
Introduce a new parameter to this chart (for example force-namespace). The "old" behavior would still be the same but it would be possible to actually have namespaces with helm template.
Decide that we don't want this at all.

Here are some PRs from other charts with the exact same issue:

#19704
#17689
#18990
#18993
#13924

I would pick option 2 since prometheus got integrated with other charts long time ago. Please make the change and bump PR to the latest version. Thank you.
/hold cancel

@zanhsieh
Okay, made the changes as requested. Thank you.

/hold
I found some inconsistencies in my PR. Please wait with the merge.

I reviewed this problem further and came to the conclusion, that it was not possible, to template this chart without --namespace and deploy it to a different namespace with kubectl apply -n othernamespace .... This is because there are Clusterrolebindings in almost all aspects of this chart. Kubernetes requires to specify a namespace in the subjects section of Clusterrolebindings.
So even when other charts were to include this chart as a dependency and wanted to deploy this chart in another namespace than the parent chart - this would not work correctly because of the Clusterrolebindings.
https://github.com/helm/charts/blob/25ab41b4298b9253dfa3448efbf8577035f7fdc5/stable/prometheus/templates/server-clusterrolebinding.yaml#L11
https://github.com/helm/charts/blob/25ab41b4298b9253dfa3448efbf8577035f7fdc5/stable/prometheus/templates/alertmanager-clusterrolebinding.yaml#L11
https://github.com/helm/charts/blob/25ab41b4298b9253dfa3448efbf8577035f7fdc5/stable/prometheus/templates/pushgateway-clusterrolebinding.yaml#L11
It also gives an unexpected result to the users because they could think that all objects are non namespaced and deploy it to a namespace other than default with kubectl apply -n .... As I said before, the Clusterrolebindings have a required namespace reference in the subjects section and if the referenced Serviceaccount is created in a different namespace than "default",  the creation of the Clusterrolebinding would fail or at least not work as expected.
Because of this I cannot imagine, that someone already uses this chart to template it without specifying a namespace and after that, deploying it manually to another namespace because that wouldn't work.
What I came up with, is some sort of middle ground. When another chart includes Prometheus as subchart and wants to deploy it in another namespace than itself, it can specify the forceNamespace parameter. The forceNamespace parameter always takes precedence over the .Release.Namespace parameter, specified on the commandline via helm template -n ....
If the parameter forceNamespace is not specified, it will use the .Release.Namespace parameter.
Yes, if not specified, this parameter is "default". Everything else would be inconsistent because we already use that behavior in the Clusterrolebindings of this chart.
/hold cancel

/ok-to-test

/lgtm


More user readable text for error "Error accessing file.xyz" when installing

When user tries to manually install a new version but the old version is still running in the background the following error is shown
"Error accessing file.xyz"

We should try to make the error more readable like.
"Unable to install, please close all instances of Toggl Destkop and try again"

Added clearer notification.


Question: Get output from queueAndFlush

Hello,
I am wondering if there is anyway to send a request to the server with the below, and get the result output back.
Example:
var result = Packet.builder().putByte(2).putString(message).queueAndFlush(client);
Any hint appreciated.
Thanks.

@bytecod3r I'm not quite sure I understand what you're asking. The code that you've posted will send one packet to the server with the data that you've specified.
To read this data on the server-side, you'd need to explicitly look for a byte with a value of 2, and then read a String:
client.readByte(opcode -> {
    if (opcode == 2) {
        String message = client.readString();
        System.out.println("Received message: " + message);
    } else {
        System.out.println("Received unexpected opcode: " + opcode);
    }
});

Hi there,
Thanks for responding.
What I meant is, assume in the above code you wrote there... if that code return a value, is there any way to deliver that value back to the client in your library?
client.readByte(opcode -> {     if (opcode == 2) {         client.readString(message -> {            return("Received message: " + message); //anyway here to return this value back to client?         });     } else {         System.out.println("Received unexpected opcode: " + opcode);     } });

@bytecod3r With SimpleNet, there's no concept of returning values in a client-server relationship.
To send data from a client to the server or from the server to a client, you use the same mechanism: Packet#queueAndFlush.
You'll just need to send the data back to the client with a different opcode so the client is able to recognize it properly.

@jhg023 , thanks for the reply, and also developing the codes.
I know this question is not related to this topic, but please do let me know if I need to open a seperate topic for it
I am having a bit hard time using the library. Did you try this tool in with high input/output transmissions and multiple concurrent clients?
e.g. 1x server with and 20x concurreent clients, while each client is sending a 500kb data every 100millisecond and server also sending back different packets every time each client sends a data to it.
Just wondering if the code works in such asynchronous sitations and high volume transmissions. In my case, the transmission stop working after few seconds of execution when the Client and Server are on different machines. Even I increased the BUFFER_SIZE. But when both client and server are hosted on the same machine, no problem occurs.
Any hint appreciated.

@bytecod3r Ideally another issue should be opened, but I'm fine with answering more questions here.
Both I and many others use SimpleNet in a production environment, where some of us are even sending more than 500 KB of data every 100ms.
A few days ago, I fixed an issue where chunked packets were not being received correctly, and deployed version 1.6.6 of SimpleNet. Is this the version that you're testing with?
If so, this could indicate that a bug is present in either your code or in SimpleNet.
Assuming you've tested your code with the latest version of SimpleNet, are you able to create a repository with the affected code so I can take a look to see if I can spot anything wrong?

Updating the Client.java to latest version fixed the issue. I was struggling with it for days!!  Thanks @jhg023 :) I close this then.


Not displaying the tests passed and % coverage

The results are not displayed in the status bar. I have restarted everything NodeTDD extension, VS Code and Laptop.
I am using the following :

macOS High Sierra Version 10.13.6
VS Code Version 1.29.1 (1.29.1)
Node Version : 11.2.0
Mocha Version : 5.2.0
NodeTDD version : 0.2.4

The bug screen shot :

Zipped Project Folder is also attached for reference :
mocha-TDD.zip

Did you change Settings -> Glob? It is {src,test}/**/*.{js,ts,jsx,tsx} by default

Hi,
Thanks for the extension !
I do have a problem, here below the display after running my 5 test with 100% coverage

Here is my setup
macOS Catalina Version 10.15.3
VS Code Version 1.43.1
Node.js v13.8.0
NodeTDD version : 0.2.4
"nodeTdd.buildOnDelete": true,
   "nodeTdd.coverageThreshold": 80,
   "nodeTdd.glob": "{src,test,lambda,lib}/**/*.{ts}",
   "nodeTdd.buildOnActivation": true,
   "nodeTdd.buildOnCreate": true,
   "nodeTdd.reporter": "tap",
   "nodeTdd.showCoverage": true,


fix(scripts/plugins): save report with decode content

and save html report.
Signed-off-by: wuhuizuo<EMAIL_ADDRESS>

/hold

/unhold


Program.cs

Problem encountered on https://dotnet.microsoft.com/learn/dotnet/hello-world-tutorial/create
Operating System: windows
Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.
I am facing an error "Access denied" if trying to open the file

What directory are you trying to create a project in?

Closing due to the lack of response after two weeks or more.


[Autocomplete] Add "remove-option" to AutocompleteCloseReason type

[x] I have followed (at least) the PR section of the contributing guide.

Hi,
I noticed while working on a personal app that a handler for Autocomplete's onClose(event, reason) property can be called with reason === "remove-option", even though the AutocompleteCloseReason type doesn't include this as a possible value. (I was trying to prevent the options popover from closing when an option is selected or removed, and had only handled "select-option" initially--I had to check in the reason value in the debugger to see why it still closed when an option was deselected.)
I added "remove-option" to the type & ran yarn proptypes, but let me know if I've missed anything. Thanks!

Couple of things, let's do the following to make sure the CI will pass successfully
yarn prettier
yarn docs:api

Thanks for working on this @iansjk 🙏


BV TRF I/O

Read/write functions for the BrainVoyager transformation file (*.trf) format, an example script and example data.

Hi @nausikaa8 , thanks for the PR. There is one issue. Please do not push zipped text files in the future. I do zip binary files but not the text files. Binary files inflates the repository history so I am trying to avoid them as much as possible.
Since the zip file is quite small ~10kb, it is not a problem in this PR.

I have made the following cosmetic changes: aaa833ac6e98c7fb94fea953f00fba2d42f4d691


🐛 BUG: Wrangler reloading local server for every updated/added/deleted file in [assets] path

Which Cloudflare product(s) does this pertain to?
Wrangler
What version(s) of the tool(s) are you using?
3.78.12 [Wrangler]
What version of Node are you using?
18.18.2
What operating system and version are you using?
Mac Sequoia 15.0
Describe the Bug
Observed behavior
I'm using wrangler+static assets+remix in classic compiler mode. See example app here:
https://github.com/zwily/remix-wrangler-much-restarting
After I start dev with npm run dev, whenever I save a file (like app/routes/_index.tsx), I get wrangler reloading a TON of times:
🌀 File /Users/zwily/Source/my-remix-app2/public/build/__remix_entry_dev-4IAKY7BU.js was removed...
🌀 File /Users/zwily/Source/my-remix-app2/public/build/__remix_entry_dev-4IAKY7BU.js.map was removed...
⎔ Reloading local server...
🌀 File /Users/zwily/Source/my-remix-app2/public/build/_shared/chunk-7M6SC7J5.js was removed...
⎔ Reloading local server...
🌀 File /Users/zwily/Source/my-remix-app2/public/build/_shared/chunk-7M6SC7J5.js.map was removed...
⎔ Reloading local server...
🌀 File /Users/zwily/Source/my-remix-app2/public/build/_shared/chunk-7MFQLP3V.js was removed...
⎔ Reloading local server...
🌀 File /Users/zwily/Source/my-remix-app2/public/build/_shared/chunk-7MFQLP3V.js.map was removed...
⎔ Reloading local server...
🌀 File /Users/zwily/Source/my-remix-app2/public/build/_shared/chunk-KYDLWNTC.js was removed...
⎔ Reloading local server...
🌀 File /Users/zwily/Source/my-remix-app2/public/build/_shared/chunk-KYDLWNTC.js.map was removed...
⎔ Reloading local server...
🌀 File /Users/zwily/Source/my-remix-app2/public/build/_shared/chunk-O4BRYNJ4.js was removed...
⎔ Reloading local server...
🌀 File /Users/zwily/Source/my-remix-app2/public/build/_shared/chunk-O4BRYNJ4.js.map was removed...
⎔ Reloading local server...
🌀 File /Users/zwily/Source/my-remix-app2/public/build/_shared/chunk-PNG5AS42.js was removed...
⎔ Reloading local server...
🌀 File /Users/zwily/Source/my-remix-app2/public/build/_shared/chunk-PNG5AS42.js.map was removed...
⎔ Reloading local server...
🌀 File /Users/zwily/Source/my-remix-app2/public/build/_shared/chunk-U4FRFQSK.js was removed...
⎔ Reloading local server...
🌀 File /Users/zwily/Source/my-remix-app2/public/build/_shared/chunk-U4FRFQSK.js.map was removed...
⎔ Reloading local server...
🌀 File /Users/zwily/Source/my-remix-app2/public/build/_shared/chunk-UWV35TSL.js was removed...
⎔ Reloading local server...
🌀 File /Users/zwily/Source/my-remix-app2/public/build/_shared/chunk-UWV35TSL.js.map was removed...
⎔ Reloading local server...
🌀 File /Users/zwily/Source/my-remix-app2/public/build/_shared/chunk-XGOTYLZ5.js was removed...
⎔ Reloading local server...
🌀 File /Users/zwily/Source/my-remix-app2/public/build/_shared/chunk-XGOTYLZ5.js.map was removed...
⎔ Reloading local server...
🌀 File /Users/zwily/Source/my-remix-app2/public/build/_shared/client-5SMAFQUD.js was removed...
⎔ Reloading local server...
🌀 File /Users/zwily/Source/my-remix-app2/public/build/_shared/client-5SMAFQUD.js.map was removed...
⎔ Reloading local server...
🌀 File /Users/zwily/Source/my-remix-app2/public/build/_shared/esm-XMKXC3DD.js was removed...
⎔ Reloading local server...
🌀 File /Users/zwily/Source/my-remix-app2/public/build/_shared/esm-XMKXC3DD.js.map was removed...
⎔ Reloading local server...
🌀 File /Users/zwily/Source/my-remix-app2/public/build/_shared/jsx-dev-runtime-AMSG5B5Y.js was removed...
⎔ Reloading local server...
🌀 File /Users/zwily/Source/my-remix-app2/public/build/_shared/jsx-dev-runtime-AMSG5B5Y.js.map was removed...
⎔ Reloading local server...
🌀 File /Users/zwily/Source/my-remix-app2/public/build/_shared/jsx-runtime-O5SBAOHY.js was removed...
⎔ Reloading local server...
🌀 File /Users/zwily/Source/my-remix-app2/public/build/_shared/jsx-runtime-O5SBAOHY.js.map was removed...
⎔ Reloading local server...
🌀 File /Users/zwily/Source/my-remix-app2/public/build/_shared/react-EAI2LDIX.js was removed...
⎔ Reloading local server...
🌀 File /Users/zwily/Source/my-remix-app2/public/build/_shared/react-EAI2LDIX.js.map was removed...
⎔ Reloading local server...
🌀 File /Users/zwily/Source/my-remix-app2/public/build/_shared/react-dom-BNZYXLBA.js was removed...
⎔ Reloading local server...
🌀 File /Users/zwily/Source/my-remix-app2/public/build/_shared/react-dom-BNZYXLBA.js.map was removed...
⎔ Reloading local server...
🌀 File /Users/zwily/Source/my-remix-app2/public/build/_shared/remix_hmr-3SFK6ZJ7.js was removed...
⎔ Reloading local server...
🌀 File /Users/zwily/Source/my-remix-app2/public/build/_shared/remix_hmr-3SFK6ZJ7.js.map was removed...
⎔ Reloading local server...
⎔ Reloading local server...
🌀 File /Users/zwily/Source/my-remix-app2/public/build/_shared/runtime-GC7QIU56.js was removed...
🌀 File /Users/zwily/Source/my-remix-app2/public/build/_shared/runtime-GC7QIU56.js.map was removed...
⎔ Reloading local server...
🌀 Directory /Users/zwily/Source/my-remix-app2/public/build/_shared was removed...
⎔ Reloading local server...
🌀 File /Users/zwily/Source/my-remix-app2/public/build/entry.client-LR6K2SRY.js was removed...
⎔ Reloading local server...
🌀 File /Users/zwily/Source/my-remix-app2/public/build/entry.client-LR6K2SRY.js.map was removed...
⎔ Reloading local server...
🌀 File /Users/zwily/Source/my-remix-app2/public/build/manifest-989F6081.js was removed...
⎔ Reloading local server...
🌀 File /Users/zwily/Source/my-remix-app2/public/build/root-CWKUHJPE.js was removed...
⎔ Reloading local server...
🌀 File /Users/zwily/Source/my-remix-app2/public/build/root-CWKUHJPE.js.map was removed...
⎔ Reloading local server...
🌀 File /Users/zwily/Source/my-remix-app2/public/build/routes/_index-QPNMKNPS.js was removed...
⎔ Reloading local server...
🌀 File /Users/zwily/Source/my-remix-app2/public/build/routes/_index-QPNMKNPS.js.map was removed...
⎔ Reloading local server...
🌀 Directory /Users/zwily/Source/my-remix-app2/public/build/routes was removed...
⎔ Reloading local server...
⎔ Reloading local server...

🌀 Directory /Users/zwily/Source/my-remix-app2/public/build/_shared was added...
🌀 File /Users/zwily/Source/my-remix-app2/public/build/manifest-79D81B1F.js was added...
⎔ Reloading local server...
🌀 File /Users/zwily/Source/my-remix-app2/public/build/_shared/esm-XMKXC3DD.js.map was added...
🌀 File /Users/zwily/Source/my-remix-app2/public/build/_shared/esm-XMKXC3DD.js was added...
🌀 File /Users/zwily/Source/my-remix-app2/public/build/_shared/client-5SMAFQUD.js.map was added...
🌀 File /Users/zwily/Source/my-remix-app2/public/build/_shared/client-5SMAFQUD.js was added...
🌀 File /Users/zwily/Source/my-remix-app2/public/build/_shared/jsx-dev-runtime-AMSG5B5Y.js.map was added...
🌀 File /Users/zwily/Source/my-remix-app2/public/build/_shared/jsx-dev-runtime-AMSG5B5Y.js was added...
🌀 File /Users/zwily/Source/my-remix-app2/public/build/_shared/jsx-runtime-O5SBAOHY.js.map was added...
🌀 File /Users/zwily/Source/my-remix-app2/public/build/_shared/jsx-runtime-O5SBAOHY.js was added...
🌀 File /Users/zwily/Source/my-remix-app2/public/build/entry.client-LR6K2SRY.js.map was added...
🌀 File /Users/zwily/Source/my-remix-app2/public/build/entry.client-LR6K2SRY.js was added...
🌀 File /Users/zwily/Source/my-remix-app2/public/build/_shared/chunk-O4BRYNJ4.js.map was added...
🌀 File /Users/zwily/Source/my-remix-app2/public/build/_shared/chunk-O4BRYNJ4.js was added...
🌀 File /Users/zwily/Source/my-remix-app2/public/build/root-CWKUHJPE.js.map was added...
🌀 File /Users/zwily/Source/my-remix-app2/public/build/root-CWKUHJPE.js was added...
🌀 File /Users/zwily/Source/my-remix-app2/public/build/_shared/chunk-7MFQLP3V.js.map was added...
🌀 File /Users/zwily/Source/my-remix-app2/public/build/_shared/chunk-7MFQLP3V.js was added...
🌀 Directory /Users/zwily/Source/my-remix-app2/public/build/routes was added...
🌀 File /Users/zwily/Source/my-remix-app2/public/build/routes/_index-XYG3SQLV.js.map was added...
🌀 File /Users/zwily/Source/my-remix-app2/public/build/routes/_index-XYG3SQLV.js was added...
⎔ Reloading local server...
⎔ Reloading local server...
⎔ Reloading local server...
⎔ Reloading local server...
⎔ Reloading local server...
⎔ Reloading local server...
⎔ Reloading local server...
⎔ Reloading local server...
⎔ Reloading local server...
⎔ Reloading local server...
⎔ Reloading local server...
⎔ Reloading local server...
⎔ Reloading local server...
⎔ Reloading local server...
⎔ Reloading local server...
(... this goes on much longer ...)

This can take several seconds to complete before the app is back up again, and sometimes it even fails with weird errors.
assets.directory = "./public", and this behavior only happens when assets.directory is set. I suspect that it's watching that dir, and triggering a reload for every file change.
Expected behavior
It would be nice if wrangler debounced the reload so it didn't happen for every changed file.
Steps to reproduce
$ git clone https://github.com/zwily/remix-wrangler-much-restarting
$ cd remix-wrangler-much-restarting
$ npm i
$ npm run dev

Then edit app/routes/_index.tsx and save, and see the behavior in your terminal.
Please provide a link to a minimal reproduction
https://github.com/zwily/remix-wrangler-much-restarting
Please provide any relevant error logs
No response

Also, I can see how logging each file change would be useful for an assets directory that doesn't change much, but in this case, where it's the target of a build process, it makes the output way too noisy.


Problem to install in Elastic 5.6.8 and Centos 6

Good afternoon
I'm trying to install this plugin in a Kibana 5.6.8 that's is part of an ElasticSearch 5.6.8 Cluster. The operational sysmtem is Centos 6.
/usr/share/kibana/bin/kibana-plugin install https://codeload.github.com/datasweet/kibana-datasweet-formula/tar.gz/v1.1.3
Attempting to transfer from https://codeload.github.com/datasweet/kibana-datasweet-formula/tar.gz/v1.1.3
Transferring unknown number of bytes
Transfer complete
Retrieving metadata from plugin archive
Error: end of central directory record signature not found
at /usr/share/kibana/node_modules/yauzl/index.js:179:14
at /usr/share/kibana/node_modules/yauzl/index.js:539:5
at /usr/share/kibana/node_modules/fd-slicer/index.js:32:7
at FSReqWrap.wrapper [as oncomplete] (fs.js:683:17)
Plugin installation was unsuccessful due to error "Error retrieving metadata from plugin archive"
Do you have any idea?
Thanks
Regards
Alexandre Bunn

Hi @albunn
I think you are having trouble because the release 1.1.3 is only accessible via the source code (you have to compile by yourself)
You can use the release 1.1.2: https://github.com/datasweet/kibana-datasweet-formula/releases/tag/v1.1.2
best regards


Update kubernetes-render instructions on README.md

Adding extra information about the behavior of the kubernetes-render command
What are you trying to accomplish with this PR?
Make it the behavior of the command a little more explicit. It's just a small thing but it could have saved me some time if I found that information more easily. Just thought about contributing back and making others lives easier as well.
How is this accomplished?
By updating the documentation.
What could go wrong?
Nothing

thanks for the quick reply @dturn. I made the suggested change, it really seems like a better idea. I'm quite bad at writing documentation and also english is not my main language so any other feedback will be greatly appreciated.

Thanks again for the PR!
Note: I merged this w/o CI since the PR only changes README.md


implement ifArrayJoin interface for roArray

ifArrayJoin includes the join() function on roArray, which is an important and often used function in many codebases.
https://sdkdocs.roku.com/display/sdkdoc/ifArrayJoin

This issue can be closed, as the implementation was already merged from my roDateTime PR


Added Launcher Icon

Fixes #77
Launcher Icon added

Launcher Icon Preview

@rishabhj126 did you create any more options?

I have cropped the same image to all android shapes for maintaining uniformity

@rishabhj126 did you create any more options?

I have cropped the same image to all android shapes for maintaining uniformity

@rishabhj126 Sorry if I confused you. I meant, did you create any other icons as options?

A Suggestion.
@yashk2000 @yatri1609 @iamareebjamal @anhanh11001. What do you guys think? I can be more creative if you want

It looks good. But maybe you could replace the green color with the same red color as the app's primary theme?

@yashk2000 @iamareebjamal

@yashk2000 @iamareebjamal, another design

Just samples, you guys can decide the rest

Where are the icons from, are they free for use and modifications, what is their license, are they vector?

@iamareebjamal Yes, they are free to use. They are not vectors, I can recreate them to vectors if you approve the design

@iamareebjamal it's on Creative Commons license

@iamareebjamal I'm only talking about the led icon, the background is created by me

Please share the source and convert to vectors

@iamareebjamal yatri is working on another icon. They told me to wait

@iamareebjamal check the gitter channel, I have created another icon from scratch which matches our badge

Add it here and take a vote among peers

Alright Sir @iamareebjamal . In 15 mins I'll be back home and post it here

@iamareebjamal

Colors can be changed anytime, You just need to check the design you like

@yashk2000 @yatri1609

@anhanh11001 @rishabhj126

@yashk2000 @iamareebjamal please vote

@iamareebjamal this can now be closed


Feature/1204 application search bar

Impl. the basic app search logic.

Hey @philipnrmn, can you shepherd this PR? Thanks a lot.

@kolloch I will care..

Looks pretty good for 3 hours! :)

@aldipower Is this the same as #1542? Can we close this?

Workday PR. Closing this now, can we reopened if necessary.


Release 0.1.2

@JuliaRegistrator register()
Release Notes
Breaking Changes

Now includes the @init_approx macro that needs to be called to use the approx function and @approx  macro. The @init_approx now sets the global tolerance for the current module

Registration pull request created: JuliaRegistries/General/116516
Tip: Release Notes
Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.
@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.1 -m "<description of version>" ec05cd147b400855755ca2d33c5c45250b738e49
git push origin v0.1.1


Remove stale images

I tested this and it seems to work properly. People have already asked about sorting the run_ids so that should be nice.

I would back up the server if it isn't already backed up before running this. I tested it and it seems to work perfectly fine but I wouldn't want to cause data loss if something went wrong.


Details polyfill not available in any of the gov repos when npm install'ed

If you npm install the gov template, the toolkit and elements (govuk-elements-sass), the expectation is that you should have everything you need to use the gov styles. However, the  element polyfill is missing since govuk-elements-sass only includes the sass.
Currently the polyfill is here in elements:
https://github.com/alphagov/govuk_elements/blob/master/public/javascripts/govuk/details.polyfill.js
I wonder whether it should perhaps live here instead:
https://github.com/alphagov/govuk_frontend_toolkit/tree/master/javascripts
In my situation, I would then be able to import the polyfill along with any other bits of toolkit JS I require.
The alternative option might be to publish the polyfill as it's own repository. If it's a good thing that has wider utility beyond gov, perhaps we could consider releasing it in it's own right. I'm not sure of the provenance of the code though - it looks like the original may have come from a blog post? That may complicate matters?
Another alternative might be to cast the net wider and use an open source details polyfill. If we could find one that was 95% good, and open PRs against it for any accessibility issues etc then that might be a good option rather than maintaining our own.

@gemmaleigh can you remember why this was the only bit of JS not moved from elements to toolkit? I’ve forgotten the context.

Hi @andymantell,
The details summary polyfill hasn't been moved to the govuk frontend toolkit, as it doesn't have tests to accompany it. There is also an issue that has been raised with it not working as expected when using JAWS with IE.
There is work being carried out by the accessibility team to evaluate the patterns in GOV.UK elements, before we move the polyfill to the govuk frontend toolkit - I'd like to be sure this is the recommended pattern for toggling hidden content.
@cfq - can you let us know if you have found any issues with the details summary pattern please?

Ah, thanks @gemmaleigh. I'll commit it into our application's repository for the time being.

@andymantell or @gemmaleigh - any news on if/when this might be resolved - or what I might use instead? Thanks.

Hi @RobinKnipe apologies for the slow reply, we will be moving the details polyfill to the GOV.UK Frontend Toolkit.
Will update this issue once it is available via the govuk_frontend_toolkit.

Thanks!


README: Fileloader plugin: no longer need to check for compatible discordeno version

Please check ./deps.ts for the compatible discordeno version!

Since we merged into the main repo, users dont need to check deps.ts for the compatible discordeno version (and it links back to this repo mod.ts anyways)

This is tracked here: https://github.com/discordeno/discordeno/issues/1883


⚠ Bofrost.at has degraded performance

In 509ee25, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1049 ms

Resolved: Bofrost.at performance has improved in 3aedf76 after 6 minutes.


feat(serde_with): make BytesOrString adjustable

At the moment, any Vec<u8> annotated with #[serde(as = "BytesOrString")] will always be serialised as an array of integers in the range 0–255. However, often these bytes are valid strings, the internal representation as Vec<u8> is often just an implementation detail. This PR adds a generic type parameter PREFERENCE, which must implement the new trait TypePreference, which is a subtrait of SerializeAs<[u8]>. This parameter defaults to the new marker-strut PreferBytes, which serialises Vec<u8> as an array like before. Two additional marker-structs are PreferString, which tries to convert &[u8] to &str first and will fallback to serialising as array only if the bytes do not represent a valid string, as well as PreferAsciiString, which additionally checks that all characters of the string are valid ASCII-characters, otherwise falling back to the array as well.

Given this PR is #794 really necessary? The Bytes type does not really have any string association, but is primarily to enable calling the (potentially) optimized serialize_bytes function.

Given this PR is #794 really necessary? The Bytes type does not really have any string association, but is primarily to enable calling the (potentially) optimized serialize_bytes function.

It was more like an obvious addition to this PR. However, making this trait work for Bytes as well somewhat changed the serialisation behaviour of BytesOrString for the PreferBytes case: It will call serialize_bytes. Is this a breaking change?

It will call serialize_bytes. Is this a breaking change?

Oh yeah, that is changing the behavior. In JSON it is not visible, as there is no efficient way to store binary data. There are some tests for Bytes using assert_tokens.

It will call serialize_bytes. Is this a breaking change?

Oh yeah, that is changing the behavior. In JSON it is not visible, as there is no efficient way to store binary data. There are some tests for Bytes using assert_tokens.

It’s not breaking for Bytes, I adjusted the SerdeAs<[u8]> implementation of PreferBytes to match the current behaviour. It has however changed it for BytesOrString though, which used source.serialize(serializer) before and uses serializer.serialize_bytes(source) now.


Make the extension os independent

Currently, the StarBasic macros generate a batch file to launch the Python scripts outsides the OpenOffice python context.
That is why the extension works only on Windows.
There might be another way.

Try Bernard Marcelly's instructions how to launch applications in the system context.
Add a shebang to the Python script.
Save the Python script using Linux compatible linefeeds.

Release v0.36.5 has Linux-compatible Python scripts. Exporting to yWriter now might work under Linux. However, generating a document from a yWriter project still requires a temporary batch file calling the Python script.
The development branch with the (yet nonfunctional) v0.37.x versions is still maintained to explore the issue.

Release v1.6.0 abandons the calling batch file.
The reason why the import used to work only with a batch file is that it changed to a user-writable working directory. If the macro called the script directly, the temporary ODF directory could not be created due to lack of write permissions, and an unhandled exception occurred.
As of v1.6.0, the temporary ODF directory is created using a standard lib method.

v1.6.2 was tested on OpenOffice 4.1.10 on openSUSE Leap 15 (x64).
The Python script may be fully Liunx-compatible. However, the StarBasic Macros don't work as expected.

Debugging revealed:

The tkinter module is not part of tis Linux distro's standard Python installation.  It must be installed using the command
sudo zypper install python3-tk
The python script must be executable when called by SystemShellExecute. It isn't, because it's created under Windows. So the StarBASIC macro must change the flags somehow.
There is something going wrong with the arguments passed by SystemShellExecute.


Misspelling in combine_prompt_hist.txt

"You can also remeber things from previous questions and use them in your answer."

#133 Closed in


Compilations/weth9

Ok

I don't want to merge that branch into main. Why did you open this PR, @hieueuro?


Update scalatest to 3.2.7

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

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

labels: test-library-update, semver-patch

Codecov Report

Merging #170 (71c337e) into master (2264202) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #170   +/-   ##
=======================================
  Coverage   41.66%   41.66%
=======================================
  Files           1        1
  Lines          36       36
  Branches        1        1
=======================================
  Hits           15       15
  Misses         21       21

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 2264202...71c337e. Read the comment docs.


use the shim branch

Test Numba from:
https://github.com/numba/numba/pull/5352

Seems like there is an unrelated failure:
E   pkg_resources.ContextualVersionConflict: (llvmlite 0.32.0.dev0+4.g6435ea2 (/home/circleci/repo/miniconda3/envs/clifford/lib/python3.8/site-packages), Requirement.parse('llvmlite<0.32.0,>=0.31.0dev0'), {'numba'})

Perhaps something that could be fixed with:
https://github.com/numba/numba/pull/5172

#23 was merged and this PR was rebased onto master.

The shim is no longer in a branch, so closing this one.


New feature: only repeat last sentence of the user who is asking

I got this idea from #3 which was suggested by @philipp2310:
You want to prevent that your wife/kids/... can ask Snips what your last sentence was. This can be solved by implementing some sort of user management/detection: the app could then repeat the last sentence of the user asking for it, just like it's now repeating the last sentence on the site ID the user is using.
This could be implemented in the app by referring to custom hotwords for each user, but I don't have any experience yet with it. When I find some time to try out custom hotwords in Snips, I will definitely implement this feature.

I'm closing this as the app won't be developed further.


dbeaver-bin: fix aarch64 build, add update script

Description of changes
ZHF: #309482
Fixes https://hydra.nixos.org/build/260829295 which is caused by not updating the aarch64 hash in https://github.com/NixOS/nixpkgs/pull/313021.
This update script is based on archi's, it updates both hashes successfully.

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

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


fix support aggregate function only in having statement

SQL like

SELECT 1 AS c1 FROM t HAVING count(1) > 0 OR c1 IS NOT NULL

run buildall


"Go To File" shows nonexistent files

VSCode Version: 1.24.0
OS Version: Windows 10 x64

Steps to Reproduce:

Open the explorer and highlight a file
Rename the file by changing its extension (any rename works, this just makes the bug apparent)
Do ctrl+p to bring up the "Go To File" prompt and type the name of the file without its extension. Notice that there are two files listed, one with the new extension and one with the old extension
Selecting the one with the old extension will notify the user that it cannot open the file because it does not exist

Does this issue occur when all extensions are disabled?: Yes
In the below example, I renamed AdminPage.test.js to AdminPage.test.ts. After working for a while, I attempted to go to the new file. Notice that the old file exists in the list and when selected errors.

We have https://github.com/Microsoft/vscode/issues/12665 for this. You can also run the "Clear Editor History" command to clear all of them.


Updated php code generation

Added gRPC generation using packman
Added php-cs-fixer
Added tests
Pre-push hook installed.
Change-Id: I7e4e99b382fa6c2a4df17700a8af9d4c47253388

Depends on https://github.com/googleapis/packman/pull/39

[Current coverage][cc-pull] is 69.48%

Merging [#25][cc-pull] into [master][cc-base-branch] will increase coverage by 0.32%

@@             master        #25   diff @@
==========================================
  Files            25         26     +1
  Lines           755        793    +38
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits            522        551    +29
- Misses          233        242     +9
  Partials          0          0

Powered by Codecov. Last updated by [e0fe109...0a13a22][cc-compare]
[cc-base-branch]: https://codecov.io/gh/googleapis/artman/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/googleapis/artman/compare/e0fe109d0c220f20e81814f7fe706b264596246d...0a13a2259a4d1a392cf2cd4991662c06de103579
[cc-pull]: https://codecov.io/gh/googleapis/artman/pull/25?src=pr

LGTM


Allow serving of acme-challenge files

Is your feature request related to a problem? Please describe.
Drogon currently only serves static files that are defined in config.json, these files are defined by using their extensions, the problem is acme-challenge files have no extensions. Eg. .well-known/acme-challenge/q9Xko3oe9OSDAhwpajNZXmRU9B3SAe5mVhSrmM-tG9E
Describe the solution you'd like
Allow serving of [drogon_root]/.well-known/acme-challenge/* files that are used for ssl certificate generation, or maybe a config that allows for serving of all static files in defined directories.
Additional context
Let's encrypt's certbot. Under 4th step --webroot option.

@interfector18 Please check the PR #331 , thanks.

Is it possible to make a tutorial on how to get certbot using let's encrypt working?
I'm using FreeBSD 13.1
Thanks.

Alright, I'll make a tutorial for it.
Here is short run down how I got it to work:
Need to make sure that the config.json file is uncommented from main.cc of the web app.
Next is to go to the config.json file and uncomment the line:
"uri_prefix": "/.well-known/acme-challenge/",
Then run cerbot:
certbot certonly --webroot
Everything worked flawlessly, website finally has a secure padlock on chrome browsers and other browsers as well.
The nice thing in using the webroot cerbot parameter is that it will auto renew the SSL certificates issued by "Let's Encrypt" every 90 days without any human or manual interventions and without halting drogon web app.
There is also the standalone cerbot feature which also works but doesn't require any modifications to drogon:
certbot certonly --standalone
The downside to this is that the drogon web app can not be running since cerbot will temporarily run it's own server to quickly issue and validate SSL certificates. This also means every 90 days it requires manual renewal.
Both have pros and cons and I kinda like both but would go for the manual renewal, it's good to always checkup on the back end code every now and then (90 days?).


Switch fb-survey documentation to show weighted signals by default

Unless we have a good reason not to, we can switch the documentation to show the weighted signals by default in all the tables, and mention the existence of unweighted signals underneath where we currently mention weighted ones.

Just noting here that weighted signals nominally have an additional 1-2 days of lag, although I believe the 7-day averager masks that fact

Our feeling at the survey standup is that for most users, 1-2 days of lag isn't important; most people would be looking for demographically representative data, and we can have a note explaining that unweighted signals are available if speed is important.


Alias + this

See:
https://github.com/UCSD-PL/RefScript/blob/master/tests/todo/alias.ts
Easy workaround is to avoid using type aliases in such situations.

Working in this commit:
https://github.com/UCSD-PL/refscript/blob/48c5eef56a1aaba6efda0b1a585e46f9123109fc/tests/pos/typealias/talias-09.ts


Update save-compute-costs-reservations.md

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

#sign-off

@bandersmsft: I'm sorry - only the author of this article, @yashesvi, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

@yashesvi Hey Yash, please sign-off on this-I can't.


chore(ci): remove PostgreSQL 11 from build matrix due to EOL

PostgreSQL 11 already reached EOL on 2023-11-09: https://endoflife.date/postgresql

Since we don't bother to support old Go versions, I guess this makes sense.
I will return with approval when I'm not on the phone.


Creating a VM via the portal with UltraSSD isn't supported (in preview)

The customer tries to create the VM with UltraSSD using Portal which is clearly not supported. The documentation said:
"Currently can only be deployed using Azure Resource Manager templates, CLI, and the python SDK". It didn't explicitly say that creating VM from Portal will not work. We should fix that.
https://docs.microsoft.com/en-us/azure/virtual-machines/linux/disks-types#ultra-ssd-preview

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

ID: 46ddbb6b-a5dd-fdea-6276-4a7f9b1aeff2
Version Independent ID: f4a24ccd-7498-bb91-dcf2-dadf071c58fa
Content: Select a disk type for Azure IaaS Linux VMs - managed disks
Content Source: articles/virtual-machines/linux/disks-types.md
Service: virtual-machines-linux
Sub-service: disks
GitHub Login: @roygara
Microsoft Alias: rogarana

@ScottAzure As you shared, the doc clearly says that "Currently can only be deployed using Azure Resource Manager templates, CLI, and the python SDK. We can add explicitly that it is not supported from portal at this point or may be the positioning of  the point needs to be changed to make it more visible.
@roygara Can you please share what do you suggest we should do? Thanks. :)

@roygara Thoughts? Please let me know so that I will assign it to you if doc update is needed. Thanks :)

@ScottAzure thanks for reaching out, we appreciate it! We will call out that it cannot be used in the portal (yet).
@Karishma-Tiwari-MSFT  FYI

Thanks @roygara :)

This change has been merged and will be live by the end of the day.
Accordingly,
#please-close

@ScottAzure Thanks for bringing this to our attention. We will now close this issue. If there are further questions regarding this matter, please tag me in a comment. I will reopen it and we will gladly continue the discussion.


Update valid statuses for ControlledGlossaryTerms

Description
This PR provides the following changes:

The archive helper used to create the open metadata types archive was not enabling the inheritance of the valid status list from a new type's super type.  This is fixed.  The inheritence is a one-time copy of the super type's valid instance types when the default typeDef is created.  The typeDef can be updated in the archive builder if the defaults are not required.
The valid instance statuses for the ControlledGlossaryTerm have been extended.  It also has a new attribute called userDefinedStatus
The GlossaryTermStatus enum on Asset Manager OMAS has been extended to support all of the valid instance statuses of the ControlledGlossaryTerm.

Testing
New FVT tests have been added to the Asset Manager OMAS FVT that ensure a ControlledGlossaryTerm can be moved through all of its InstanceStatuses.  Also that the userDefinedStatus can be set through this API.
There is also a test that ensures undefined attributes are rejected.
I also used postman to check that the updates to the valid instance statuses in currently defined subtypes that should have inherited the valid instance statuses from their super type are now doing so.  For example, GovernancePolicy should inherit is valid instance statuses from GovernanceDefinition.  This is now working ...
{
    "class": "TypeDefResponse",
    "relatedHTTPCode": 200,
    "typeDef": {
        "class": "EntityDef",
        "headerVersion": 1,
        "guid": "a7defa41-9cfa-4be5-9059-359022bb016d",
        "name": "GovernancePolicy",
        "status": "ACTIVE_TYPEDEF",
        "version": 1,
        "versionName": "1.0",
        "category": "ENTITY_DEF",
        "superType": {
            "headerVersion": 1,
            "guid": "578a3500-9ad3-45fe-8ada-e4e9572c37c8",
            "name": "GovernanceDefinition",
            "status": "ACTIVE_TYPEDEF"
        },
        "description": "Defines a goal or outcome expected from the organization.",
        "origin": "bce3b0a0-662a-4f87-b8dc-844078a11a6e",
        "createdBy": "ODPi Egeria",
        "createTime": "2020-01-01T13:42:11.090+00:00",
        "validInstanceStatusList": [
            "DRAFT",
            "PROPOSED",
            "APPROVED",
            "ACTIVE",
            "DEPRECATED",
            "OTHER",
            "DELETED"
        ],
        "initialStatus": "DRAFT"
    }
}

This is the new type definition for ControlledGlossaryTerm:
{
    "class": "TypeDefResponse",
    "relatedHTTPCode": 200,
    "typeDef": {
        "class": "EntityDef",
        "headerVersion": 1,
        "guid": "c04e29b2-2d66-48fc-a20d-e59895de6040",
        "name": "ControlledGlossaryTerm",
        "status": "ACTIVE_TYPEDEF",
        "version": 2,
        "versionName": "1.0",
        "category": "ENTITY_DEF",
        "superType": {
            "headerVersion": 1,
            "guid": "0db3e6ec-f5ef-4d75-ae38-b7ee6fd6ec0a",
            "name": "GlossaryTerm",
            "status": "ACTIVE_TYPEDEF"
        },
        "description": "Defines a glossary term that is developed through a controlled workflow.",
        "origin": "bce3b0a0-662a-4f87-b8dc-844078a11a6e",
        "createdBy": "ODPi Egeria",
        "updatedBy": "Egeria",
        "createTime": "2020-01-01T13:42:11.090+00:00",
        "updateTime": "2020-04-30T15:42:46.992+00:00",
        "validInstanceStatusList": [
            "DRAFT",
            "PREPARED",
            "PROPOSED",
            "APPROVED",
            "REJECTED",
            "ACTIVE",
            "DEPRECATED",
            "OTHER",
            "DELETED"
        ],
        "initialStatus": "DRAFT",
        "propertiesDefinition": [
            {
                "headerVersion": 1,
                "attributeName": "userDefinedStatus",
                "attributeType": {
                    "class": "PrimitiveDef",
                    "headerVersion": 1,
                    "version": 1,
                    "versionName": "1.0",
                    "category": "PRIMITIVE",
                    "guid": "b34a64b9-554a-42b1-8f8a-7d5c2339f9c4",
                    "name": "string",
                    "primitiveDefCategory": "OM_PRIMITIVE_TYPE_STRING"
                },
                "attributeStatus": "ACTIVE_ATTRIBUTE",
                "attributeDescription": "Extend or replace the valid instance statuses with additional statuses controlled through valid metadata values.",
                "valuesMinCount": 0,
                "valuesMaxCount": 1,
                "attributeCardinality": "AT_MOST_ONE",
                "indexable": true,
                "unique": false
            }
        ]
    }
}

Release Notes & Documentation

Additional notes

Link to release notes : https://egeria-project.org/release-notes/4-0/
Link to ControlledGlossaryTerm description : https://egeria-project.org/types/3/0385-Controlled-Glossary-Development/