Debugger - show toggle button and toolbar

Fixing error causing debug toggle button and toolbar not to be shown.

Closing as this was fixed in https://github.com/Microsoft/pxt/pull/5326


Vuetify custom theme ignored by Nuxt

Version
v2.6.0
Reproduction link
https://github.com/nuxt/nuxt.js/issues/
Steps to reproduce
I am using Nuxt.js with Vuetify.js where I want to change the default theme colors.
I created a file: ~/plugins/vuetify.js to change the default primary color to red.
Here is its content:
import Vue from 'vue'
import Vuetify from 'vuetify'

Vue.use(Vuetify, {
  theme: {
    primary: '#ff0000'
  }
})

In nuxt.config.js I asked Nuxt.js to use this plugin:
export default {
  plugins: ['~/plugins/vuetify']
}

What is expected ?
Calling primary must render the red color
What is actually happening?
The default primary color #1976d2  is displayed
Additional comments?
This is true maybe in whatever Nuxt.js version you use.

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

Please try with the vuetify module instead of your custom plugin: https://github.com/nuxt-community/vuetify-module/

I resolved the problem, it was not a bug.
I posted the solution on StackOverflow
Hope this can be useful for someone else in the future.
Thank you

@begueradj I also have the same problem what was your solution?

Same here, the solution link is broken.

@Alecell Indeed, sorry ... I noticed in newer Nuxt versions, you can control that in nuxt.config.js file which is in the root directory of your project

@masterDoomX  Sorry for the late reply, please just open nuxt.config.js, scroll down until you see what you are looking for.

Try this. I was in the same problem and solved it this one :)
vuetify: {
theme: {
themes:{
light:{
primary: '#ff9f1a'
}
}
}
},

I using @nuxt/vuetify
then on my nuxt.config.js
buildModules: [     '@nuxtjs/vuetify',   ], vuetify: {     customVariables: ['~/assets/variables.scss'],     theme: {       dark: false,       themes: {         light: {           primary: '#5398d9',         }       }     }   }

Thank you for sharing @cjg9040

I set  theme:   disable: true,
still, default theme--light applied

I set theme: disable: true,
still, default theme--light applied

same, you have find a soluce ?

The docs should have mentioned that you need to envelope the app on  tag in the customization section, shouldn't ?
Took me a couple hours to figure out


Fix for LDPlot redirecting to LD after selecting populations

This fix is for ENSWEB-4360. The sandbox link is: http://ves-hx-78.ebi.ac.uk:8300/Homo_sapiens/Variation/LDPlot?db=core;pop1=373508;r=9:22125004-22126004;v=rs1333049;vdb=variation;vf=906984.

@imran-ebi this change will probably break other places where the population selector is used ( for example EnsEMBL::Web::Component::Location::SelectPopulation). You can see if the following page still work for you:
http://www.ensembl.org/Homo_sapiens/Location/LD?db=core;focus=variation;pop1=373508;r=9:22115504-22135503;v=rs1333049;vdb=variation;vf=906984
maybe have an if statement to check if component is LDPlot then URL is LDPlot else LD

@ens-ma7 Thanks for mentioning it. It did break when I checked in the LD page. I will put a check in there to insert the correct page as the action.

@ens-ma7 I have added the check in the latest commit

@imran-ebi the way you done it is ok but a bit long, just see if you can use $hub->action to find out what page you are currently on (i just remember it might work and might not work because of the configuration panel) and then use the action as the url.

@ens-ma7 Your suggestions was great. The fix is now only a one liner and doesn't have any loops.

@imran-ebi great the suggestion work but you left one unused variable in the commit ($action), can you remove it please.

@ens-ma7 Sorry about that. I totally missed that one 😞 I have removed it now.

@ens-ma7 There was another issue identified by @jyothishnt. Have pushed the fixed for that as well.


Bloatware section will not run.

The entire bloatware section isn't working. Is there something I'm missing? I've not edited that part of the code. This is what I get when I run it. I obviously changed the username and directory.
Removing: king.com.CandyCrushSaga
Get-AppxPackage : Access is denied.
Access is denied.
At C:\Users\username\User Company, Inc\FolderIMade\Documentation\Scripts\ScriptName.ps1:282 char:9

    Get-AppxPackage -AllUsers $blt | Remove-AppxPackage

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : NotSpecified: (:) [Get-AppxPackage], UnauthorizedAccessException
FullyQualifiedErrorId : System.UnauthorizedAccessException,Microsoft.Windows.Appx.PackageManager.Commands.GetApp
xPackageCommand

Hi, did you run it as admin? Looks like the current user has no rights to execute the commands


added new message for firsttimeInDashboard

Change this PR against connectors

:robot: please make sure all the checks pass before merging @Josmorsot @padawannn


[MI-2103] Update UI components

not required as changes will be picked from https://github.com/Brightscout/mattermost-plugin-azure-devops/pull/61


ResourceExhaustedError

I feed 30 pictures with 480*528 size to the PSPNet and my GPU is GTX1080ti. However it returned the error as follow:
2018-10-18 00:33:05.626813: I tensorflow/core/common_runtime/bfc_allocator.cc:674] 11 Chunks of size 152064000 totalling 1.56GiB
2018-10-18 00:33:05.626816: I tensorflow/core/common_runtime/bfc_allocator.cc:674] 5 Chunks of size 243302400 totalling 1.13GiB
2018-10-18 00:33:05.626819: I tensorflow/core/common_runtime/bfc_allocator.cc:674] 1 Chunks of size 266727424 totalling 254.37MiB
2018-10-18 00:33:05.626823: I tensorflow/core/common_runtime/bfc_allocator.cc:674] 1 Chunks of size 334904064 totalling 319.39MiB
2018-10-18 00:33:05.626826: I tensorflow/core/common_runtime/bfc_allocator.cc:674] 3 Chunks of size 364953600 totalling 1.02GiB
2018-10-18 00:33:05.626829: I tensorflow/core/common_runtime/bfc_allocator.cc:674] 3 Chunks of size 486604800 totalling 1.36GiB
2018-10-18 00:33:05.626832: I tensorflow/core/common_runtime/bfc_allocator.cc:678] Sum Total of in-use chunks: 9.83GiB
2018-10-18 00:33:05.626837: I tensorflow/core/common_runtime/bfc_allocator.cc:680] Stats:
Limit:<PHONE_NUMBER>6
InUse:<PHONE_NUMBER>6
MaxInUse:<PHONE_NUMBER>2
NumAllocs:                   10164
MaxAllocSize:<PHONE_NUMBER>
2018-10-18 00:33:05.626970: W tensorflow/core/common_runtime/bfc_allocator.cc:279] ***************************************************************************************************x
2018-10-18 00:33:05.626989: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at conv_ops.cc:693 : Resource exhausted: OOM when allocating tensor with shape[30,320,60,66] and type float on /job:localhost/replica:0/task:0/device:GPU:0 by allocator GPU_0_bfc
Traceback (most recent call last):
  File "/home/public/anaconda3/lib/python3.6/site-packages/IPython/core/interactiveshell.py", line 2963, in run_code
    exec(code_obj, self.user_global_ns, self.user_ns)
  File "<ipython-input-5-4e46772605b9>", line 1, in <module>
    model.fit(X, Y, epochs=2)
  File "/home/public/anaconda3/lib/python3.6/site-packages/keras/engine/training.py", line 1039, in fit
    validation_steps=validation_steps)
  File "/home/public/anaconda3/lib/python3.6/site-packages/keras/engine/training_arrays.py", line 199, in fit_loop
    outs = f(ins_batch)
  File "/home/public/anaconda3/lib/python3.6/site-packages/keras/backend/tensorflow_backend.py", line 2715, in __call__
    return self._call(inputs)
  File "/home/public/anaconda3/lib/python3.6/site-packages/keras/backend/tensorflow_backend.py", line 2675, in _call
    fetched = self._callable_fn(*array_vals)
  File "/home/public/anaconda3/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1454, in __call__
    self._session._session, self._handle, args, status, None)
  File "/home/public/anaconda3/lib/python3.6/site-packages/tensorflow/python/framework/errors_impl.py", line 519, in __exit__
    c_api.TF_GetCode(self.status.status))
tensorflow.python.framework.errors_impl.ResourceExhaustedError: OOM when allocating tensor with shape[30,320,60,66] and type float on /job:localhost/replica:0/task:0/device:GPU:0 by allocator GPU_0_bfc
	 [[Node: block35_7_conv/convolution = Conv2D[T=DT_FLOAT<EMAIL_ADDRESS>data_format="NCHW", dilations=[1, 1, 1, 1], padding="SAME", strides=[1, 1, 1, 1], use_cudnn_on_gpu=true, _device="/job:localhost/replica:0/task:0/device:GPU:0"](block35_7_mixed/concat, block35_7_conv/kernel/read)]]
Hint: If you want to see a list of allocated tensors when OOM happens, add report_tensor_allocations_upon_oom to RunOptions for current allocation info.
	 [[Node: loss_1/mul/_8545 = _Recv[client_terminated=false, recv_device="/job:localhost/replica:0/task:0/device:CPU:0", send_device="/job:localhost/replica:0/task:0/device:GPU:0", send_device_incarnation=1, tensor_name="edge_22137_loss_1/mul", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:CPU:0"]()]]
Hint: If you want to see a list of allocated tensors when OOM happens, add report_tensor_allocations_upon_oom to RunOptions for current allocation info.

How can I solve this problem? Thank you!

Did you try to use smaller batch size? For example 8 or 16 images?

@qubvel Could you please tell me where I can set the model? Is it pass the para. to the model.fit（）fun. ?What's the para.'s name ?

yes, model.fit() has param batch_size, please refer to keras API

I set the batch_size to be 15, and it does work. But I find that the train seems to be divergent.
The 2/100 epoch's result:
Epoch 2/100
13/68 [====>.........................] - ETA: 2s - loss: -9.4772 - binary_accuracy: 0.3114
26/68 [==========>...................] - ETA: 1s - loss: -9.4935 - binary_accuracy: 0.3112
39/68 [================>.............] - ETA: 1s - loss: -9.3433 - binary_accuracy: 0.3087
52/68 [=====================>........] - ETA: 0s - loss: -9.2513 - binary_accuracy: 0.3052
65/68 [===========================>..] - ETA: 0s - loss: -9.1668 - binary_accuracy: 0.3040
68/68 [==============================] - 3s 37ms/step - loss: -9.1551 - binary_accuracy: 0.3038

And the 100/00 epoch's result:
Epoch 100/100
13/68 [====>.........................] - ETA: 2s - loss: -10.4923 - binary_accuracy: 0.3236
26/68 [==========>...................] - ETA: 1s - loss: -10.5134 - binary_accuracy: 0.3257
39/68 [================>.............] - ETA: 1s - loss: -10.5259 - binary_accuracy: 0.3266
52/68 [=====================>........] - ETA: 0s - loss: -10.5279 - binary_accuracy: 0.3270
65/68 [===========================>..] - ETA: 0s - loss: -10.5300 - binary_accuracy: 0.3265
68/68 [==============================] - 3s 37ms/step - loss: -10.5293 - binary_accuracy: 0.3265

The lost is almost unchanged. How can I solve this problem?

This depends on your target and loss function, try to find examples of segmentation models training, for example, visit https://kaggle.com and look for a suitable kernel.

I wonder if I select another model, it will convergent or not. So the model changes from PSPNet to FPN, but I receive this problem:
Traceback (most recent call last):
  File "/home/public/anaconda3/lib/python3.6/site-packages/IPython/core/interactiveshell.py", line 2963, in run_code
    exec(code_obj, self.user_global_ns, self.user_ns)
  File "<ipython-input-4-9709eb679a88>", line 1, in <module>
    model = FPN(backbone_name='inceptionresnetv2', input_shape=(480, 528, 3), freeze_encoder=True, classes=3)
  File "/home/public/anaconda3/lib/python3.6/site-packages/segmentation_models/fpn/model.py", line 84, in FPN
    activation=activation)
  File "/home/public/anaconda3/lib/python3.6/site-packages/segmentation_models/fpn/builder.py", line 65, in build_fpn
    stage=i)(c, m)
  File "/home/public/anaconda3/lib/python3.6/site-packages/segmentation_models/fpn/blocks.py", line 35, in layer
    x = Add()([x, up])
  File "/home/public/anaconda3/lib/python3.6/site-packages/keras/engine/base_layer.py", line 431, in __call__
    self.build(unpack_singleton(input_shapes))
  File "/home/public/anaconda3/lib/python3.6/site-packages/keras/layers/merge.py", line 91, in build
    shape)
  File "/home/public/anaconda3/lib/python3.6/site-packages/keras/layers/merge.py", line 61, in _compute_elemwise_op_output_shape
    str(shape1) + ' ' + str(shape2))
ValueError: Operands could not be broadcast together with shapes (30, 33, 256) (30, 34, 256)

My code:
import numpy as np
import os
import keras
import cv2
from segmentation_models import FPN
from segmentation_models.utils import set_trainable
from segmentation_models.backbones import get_preprocessing

# prepare data
files_y = os.listdir("/home/public/Desktop/Inception_resnet_v2/Data/training_y")
files_x = os.listdir("/home/public/Desktop/Inception_resnet_v2/Data/training_x")
files_y.sort()
files_x.sort()
num_x = len(files_x)
num_y = len(files_y)
X = np.empty((num_x, 480, 528, 3))
Y = np.empty((num_y, 480, 528, 3))
for ind, file in enumerate(files_x):
    img = cv2.imread("/home/public/Desktop/Inception_resnet_v2/Data/training_x" + '/' + file)
    X[ind, :, :, :] = img
for ind, file in enumerate(files_y):
    img = cv2.imread("/home/public/Desktop/Inception_resnet_v2/Data/training_y" + '/' + file)
    Y[ind, :, :, :] = img

# pre-process
preprocessing_fn = get_preprocessing('inceptionresnetv2')
X = preprocessing_fn(X)
Y = preprocessing_fn(Y)

# prepare model
model = FPN(backbone_name='inceptionresnetv2', input_shape=(480, 528, 3), freeze_encoder=True, classes=3)
nadam = keras.optimizers.Nadam(lr=0.001, beta_1=0.9, beta_2=0.999, epsilon=1e-08, schedule_decay=0.004)
model.compile(optimizer=nadam, loss='binary_crossentropy', metrics=['binary_accuracy'])

# pretrain model decoder
model.fit(X, Y, epochs=10000)

For FPN shapes should be divisible by 32


Refinery pods do not restart on config change

We saw an issue recently with the Helm chart for Refinery where adding some new hashing fields to the config didn't trigger a restart, and resulted in weird behavior from the cluster that forced us to manually restart the Refinery pods.
Versions
Chart: 1.3.0
Helm: ArgoCD v2.0.3+8
Kubernetes cluster: EKS 1.18.20
Refinery Version:  "v1.6.1@sha256:e742af48b2ac1eb6b0116246780eb7e4942f0251152742990def677d853a129a"
Steps to reproduce

Add a new field to the values.yml override for hashing field config
Deploy the new config
Notice that Refinery pods do not restart to consume the new config

Hey @bixu - thanks for the bug report. We'll look at this soon.

@MikeGoldsmith, I'm considering another similar config change in the next working day or so. What kind of data collection would you recommend I do, in case we see the same pathology on this maintenance event?

Hey @bixu. During my testing I've found that changes to configuration result in different restart behaviour.

Changes to the refinery config section do cause pods to restart during helm upgrade
Changes to the refinery rules section do not cause pods to restart. However, refinery live-reloads the rules configuration to rules changes should still be applied without a pod restart

I'm working on whether we should have consistent restart behaviour for both config files. Whether pods are restarted is based on the checksum value calculated from configmap.yaml on the deployment annotation changing. I'm unsure for the moment why config changes cause that trigger and rules changes do not. I'll keep investigating.

@bixu can you share which config values you changed previously and expect to change in the near future?

Hey @bixu - I've updated our docs to indicate what config changes are expected to cause pods to recycle. Please re-open if this doesn't address your query.

@bixu can you share which config values you changed previously and expect to change in the near future?

Hi @MikeGoldsmith, we had added two fields to the field list for hashing. We had concerns because we saw un-balanced memory consumption across Refinery pods immediately after the config update. Perhaps we didn't wait long enough for in-flight traces to balance across the cluster. How long should we expect to wait for the cluster to balance?

Hi @bixu
Sampler FieldList (Dynamic or EMADynamic) does not determine how traces are sharded across the cluster. The SHA1 hash of the TraceID is used to distribute traces across nodes. If you haven't changed the number of cluster nodes and the nodes have not restarted, I don't see a reason for unbalanced trace distribution.
If you've updated the FieldList, maybe you've added a high cardinality field that's generating a high number of combinations? Can you share more about what your field list was previously and was update to, and specifically what values you expect from the new fields?
Thanks

@MikeGoldsmith, really sorry about the very late reply here, I missed this last request from you.
We were moving from this rules config:
    FieldList:
      - http.method
      - http.status
      - service.name

to this:
    FieldList:
      - http.method
      - http.status
      - service.name
      - messaging.kafka.partition
      - messaging.destination
      - rpc.grpc.status_code


Why did you delete nixpkgs-esp-dev?

Completely unrelated to this repository, but I noticed your nixpkgs-esp-dev overlay repository via the Google cache. Do you still have the source code? Why did you remove it from GitHub?

I have a bad habit of removing old stuff I don't use anymore (or haven't used in a while) and I think is not that great. I still have it, I'll restore the repo.

https://github.com/mirrexagon/nixpkgs-esp-dev


Fixed column automatically closed !

Description
When previewing files, all directories in the fixed column disappear every time a file is copied or a special operation is performed, and they cannot be expanded again!
Steps To Reproduce
1.Copy a file to another directory at will.
Requirements

e.g. Fix crash that occurs when...

Files Version
<IP_ADDRESS>
Windows Version
10.0.19045.4894
User ID
9bd4eacd-e000-4666-b3d0-b408f075eaea
Log File
Uploading debug.log…

Thanks for the report, It's unclear what your issue is can you make a screen recording or better describe what you mean by fixed column.

@nanocode38 can you help us out with some steps to reproduce this issue? For example, which layout mode you're using etc.

I don't know how to send the screen recording video to GitHub, sometimes when I copy the file on my computer preview version and base version, I find that the fixed project disappears, just like the project was never fixed, the software will be fine after reboot

You can use sniping tool (Win + Shift + S) > Select video (2nd icon next to the camera one) > Drag to show the full Files window and where your dragging to > Start > show the issue > Stop > Open GitHub comment box > Ctrl + V > Wait until it doesn't say uploading > Comment

Here are error effects that look like they are not fixed, but are in fact fixed.The fixed field shows what the software looks like after it is restarted

So the issue is the pinned section items don't show?

@nanocode38 Can you answer the above question

If the issues is pinned items not showing we're tracking this in #15410. You can check there or click subscribe in the right sidebar for updates.
Please follow the steps in that issue.


Modify BiomartGeneRegionTrack parameters

Hello,
I am generating some gene tracks programmatically, and I want to modify some of the parameters from a track generated by BiomartGeneRegionTrack. Specifically, I would like to modify the color and the annotation for one Arabidopsis gene, because Biomart returns a long name for the gene symbol, "BETA-OHASE2". I would like to change it to "BOH2" if possible.
ensembl = useMart("plants_mart",host="plants.ensembl.org")
ensembl = useDataset("athaliana_eg_gene",mart=ensembl)
gene_track = BiomartGeneRegionTrack(genome = "TAIR10", chromosome = "chr5",
                                      transcriptAnnotation = "symbol",
                                      shape = "arrow",
                                      filters=list(ensembl_transcript_id="AT5G52570.1"),
                                      name = "Gene", biomart = ensembl,
                                      col.line = NULL, col= NULL, fill = "black", fontcolor.group= "black",
                                      cex.group = 1, fontface.group = 4)

This generates the track with this as symbol:
symbol(gene_track)
[1] "BETA-OHASE 2" "BETA-OHASE 2" "BETA-OHASE 2" "BETA-OHASE 2" "BETA-OHASE 2" "BETA-OHASE 2" "BETA-OHASE 2" "BETA-OHASE 2"
[9] "BETA-OHASE 2"

When I plot this track I get the long annotation:
plotTracks(gene_track,transcriptAnnotation = "symbol")

When I try to change the "symbol" on gene_track by:
symbol(gene_track) = "BOH2"
symbol(gene_track)
[1] "BOH2" "BOH2" "BOH2" "BOH2" "BOH2" "BOH2" "BOH2" "BOH2" "BOH2"

When I plot it, I still get the old long annotation, even though the "symbol" of gene_track has been successfully changed. It is interesting that the plot only takes the space for "BOH2", but the long name is still plotted:

I don't know where is this long annotation stored on the BiomartGeneRegionTrack object. Any ideas?
Also, the second issue, although less important is that when I try to change the BiomartGeneRegionTrack colors, sometimes not all of them are changed. I have to resort to collapseTranscripts = "meta" to make them show black:
plotTracks(gene_track,utr3="black",utr5="black",protein_coding="black")

But for another gene, it only works partially:
gene_track2 = BiomartGeneRegionTrack(genome = "TAIR10", chromosome = "chr4",
                                    transcriptAnnotation = "symbol",
                                    shape = "arrow",
                                    filters=list(ensembl_transcript_id="AT4G16780.1"),
                                    name = "Gene", biomart = ensembl,
                                    col.line = NULL, col= NULL, fill = "black", fontcolor.group= "black",
                                    cex.group = 1,
                                    fontface.group = 4)

plotTracks(gene_track2)

plotTracks(gene_track2,utr3="black",utr5="black",protein_coding="black")

Even when this gene only has utr5 utr3 and protein_coding features:
feature(gene_track2)
[1] "utr5"           "protein_coding" "protein_coding" "protein_coding" "protein_coding" "utr3"

Hi @eggrandio,
In the case of BiomartGeneRegionTrack you need to convert it to GeneRegionTrack to use the modified symbols:
gene_track <- as(gene_track, "GeneRegionTrack")
symbol(gene_track) <- "BOH2"
plotTracks(gene_track, transcriptAnnotation = "symbol")

The coloring issue I could not reproduce I got it correctly colored in black.
gene_track2 <- BiomartGeneRegionTrack(genome = "TAIR10", chromosome = "chr4",
                                     transcriptAnnotation = "symbol",
                                     shape = "arrow",
                                     filters=list(ensembl_transcript_id="AT4G16780.1"),
                                     name = "Gene", biomart = ensembl,
                                     col.line = NULL, col= NULL,
                                     fill = "black", fontcolor.group= "black",
                                     utr3="black",utr5="black",protein_coding="black",
                                     cex.group = 1,
                                     fontface.group = 4)

plotTracks(gene_track2)

Thanks for the quick reply! I was able to rename the gene.
I don't know what could be happening with the coloring. I have the same issue with several genes. I will use the collapseTranscripts option for now.

Interesting, I do not set collapseTranscripts and still get the black filled polygons.

No feedback, closing.


Incorrect identification of Lint/UselessAccessModifier

The Lint/UselessAccessModifier cop incorrectly marks the following as an offence, even though it is not:
class Foo < Bar
  private
  delegate :baz, to: :qux
end

The reason it's not an offence is because the delegated methods are intentionally private.

Expected behavior
Don't raise an offence.
Actual behavior
Raises Lint/UselessAccessModifier offence.
Steps to reproduce the problem
See example above.
RuboCop version
$ rubocop -V
1.59.0 (using Parser <IP_ADDRESS>, rubocop-ast 1.30.0, running on ruby 3.2.2) [arm64-darwin23]

Delegated methods aren't private by default. You need to pass private: true to get the desired behaviour. The offense looks correct to me.

You are correct, thanks for pointing that out.


User lacks permission to update Token in parent Scene

Describe the bug
Player gets an error notification when I drop tokens into the scene
To Reproduce
Steps to reproduce the behavior:

drop a new Actor into the scene
Players get an error notification

Expected behavior
No error notifications
Screenshots

Desktop (please complete the following information):

OS: macOS 12.3
Browser Safari

Any more information in the console (F12)?
Can you test if the error also occurs on other browsers?

Fixed with the update :)
Thanks


Handling "Exception: wasi proc exit"

Hi,
After this change, is an embedder expected to check the exception matches "Exception: wasi proc exit" as iwasm now does to validate if there was an error? How stable can we expect that string to be?
Thanks.

Hi, "wasi proc exit" is a normal behavior and the exception will be cleared by runtime before wasi app main function returns.
https://github.com/bytecodealliance/wasm-micro-runtime/blob/8b37048823677d9229b7458b064a515b19744c9c/core/iwasm/common/wasm_application.c#L132-L137
Please use wasm_runtime_get_exception to check whether there was exception thrown.

Hi, sorry - I meant as an embedder so not using iwasm. I think at the moment if we call a wasm function then we are required to check for an exception and then ignore it if it matches "Exception: wasi proc exit"?

Hi, yes, the "wasi proc exit" is only thrown when the wasm app is a wasi module, and it is cleared by runtime if the function to call is "_start" function and developer uses wasm_application_execute_main to call it. If developer calls other functions or calls "_start" function without using wasm_application_execute_main, normally he should ignore the "wasi proc exit" by himself.


[TTS] options support for service calls

Description:
TTS component Support now platform deepens options like voice, age or speed. They also usable for service call.
service: tts.xy_say
data:
  message: 'That is a test!'
  options:
    motion: angry
    speed: 0.1
    voice: alex
    age: 25

Todo:

[x] unittest

@pvizeli Can we get this merged so I can complete work on Polly?


Take ownership of our project on RTD

Our project (https://readthedocs.org/projects/saleor/) was initially added by someone who is not a contributor and someone we cannot get in contact with. We'd like to take ownership of the project and get control over its page on RTD.
I am the maintainer of Saleor on behalf of Mirumee Software: https://github.com/mirumee/saleor
Thanks for your work on RTD!

What is your RTD account now?

It's patrys.

Should be setup now.


Update property keys doc in branch-2.1

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/6673/
Test FAILed.

alluxio-bot, merge this please.


Status Code 404

Messages can get deleted by midjourney if they detect that the output image violates any rules.
Here is someone with a similar issue https://www.reddit.com/r/midjourney/comments/11vzshn/all_jobs_in_discord_no_longer_allowing_emoji/
However, the tool should stop retrying when a "404 Not Found" is returned. So that is something that can be fixed.

Error handling of not found messages has been adder here: https://github.com/igolaizola/bulkai/pull/28


We can't do this just to get a working webhdfs endpoint, as soon as a failover occurs, hue won't work anymore ?

We can't do this just to get a working webhdfs endpoint, as soon as a failover occurs, hue won't work anymore ?
Originally posted by @gboutry in https://github.com/TOSIT-IO/tdp-collection-extras/pull/8#discussion_r840707592

Made a clearer issue to track this: https://github.com/TOSIT-IO/tdp-collection-extras/issues/14


[Android] Remove BT from android codebase

Description:
Remove bt folders from the codebase since it's now in a separate repository
Moved things from the gps flavor to main since it's no longer needed to have a flavor

@JacobJaffe Could you do a quick smoke test and verify it's working as expected?
I tested it and seems to be working ok, but I don't know every feature the app has


Hellorust should be CC0 licensed.

Since the content of the hellorust.com (and all examples) is intended to be copied freely, it would be better licensed CC0, with basically no restrictions.
This applies only to the code in the examples; libraries in use will have their own license.
We will track here the consent of all contributors:
Please drop a comment here if you consent or disagree. Link to CC0 license. Once we gather consent following will be merged: #22

[x] @booyaa
[ ] @arkada38
[x] @tcr
[ ] @Geal

I consent to the license change!

I consent also!

I consent too

I consent too

Thank you all!


Fix #1356: make sure that paths are absolute

What is the purpose of this change? What does it change?
odo create might issue improper paths when creating components.
Was the change discussed in an issue?
fixes #1356
How to test changes?
odo create in both interactive and non-interactive mode should work properly.

@jorgemoralespou let us know if it works fine now.

:white_check_mark: odo build 1749 completed and artifacts can be found here (for commit https://github.com/redhat-developer/odo/commit/ceac24aaba by @metacosm)


Tile server broken on staging

When you view projects on staging, you immediately notice something is funky with the project thumbnails:

If you enter a project that you uploaded, you can get a gray scale version

Zooming in, however, results in a behavior where the tile server sends out random white, gray, or black tiles that don't seem proportional to the original footprint of the data at all

Starting over and going into color correction, the histogram never loads and changing any of the values results in the same behavior

You can also cause this behavior by trying to set the project to Natural color

For Landsat scenes that you ingest without uploading, you can't get the initial grayscale image, you start out with the bad tiles. Zooming out, you can see what I mean by the bad tiles feeling out of proportion with the data footprint (in this case a single Landsat scene over France).

Note about the histogram: it's a CORS issue, and the preflight options request is failing.
No idea about the other stuff

Per @notthatbreezy, if I set the Sigmoidal threshold to exactly 1 then I can start to see normal results.


feat: update yveCRV copy to suggest buying on Sushi [WEB-469]

Important changes detected  (payment related code)

Found address 0xd533a949740bb3306d119cc777fa900ba034cd52 in files app/components/Vault/index.js. This address is from token CRV
Found address 0xc5bddf9843308380375a611c18b50fb9341f502a in files app/components/Vault/index.js. This address is from vault yveCRV

Looks good, just need to add a space between "market" and "than"

Important changes detected  (payment related code)

Found address 0xd533a949740bb3306d119cc777fa900ba034cd52 in files app/components/Vault/index.js. This address is from token CRV
Found address 0xc5bddf9843308380375a611c18b50fb9341f502a in files app/components/Vault/index.js. This address is from vault yveCRV

Pushed a fix.
On Tue, Jun 29, 2021 at 6:31 PM yearn-integrations @.***>
wrote:

Important changes detected (payment related code)

Found address 0xd533a949740bb3306d119cc777fa900ba034cd52
https://etherscan.io/address/0xd533a949740bb3306d119cc777fa900ba034cd52
in files app/components/Vault/index.js. This address is from token CRV
Found address 0xc5bddf9843308380375a611c18b50fb9341f502a
https://etherscan.io/address/0xc5bddf9843308380375a611c18b50fb9341f502a
in files app/components/Vault/index.js. This address is from vault
yveCRV

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/yearn/yearn-finance/pull/384#issuecomment-870653141,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAGOQ2JDLDG2EGIRCH76ZLTVHKLVANCNFSM47P33S6A
.

Important changes detected  (payment related code)

Found address 0xd533a949740bb3306d119cc777fa900ba034cd52 in files app/components/Vault/index.js. This address is from token CRV
Found address 0xc5bddf9843308380375a611c18b50fb9341f502a in files app/components/Vault/index.js. This address is from vault yveCRV


"read: connection reset by peer" after ~6 minutes during large "zapi postpath" from S3

Repro is with cluster at zq commit 4eebb1d and using zapi commit 4de0485d as the client.
$ export ZQD_DATA_URI="s3://zq-ci-test/21-01-22.rug2"
$ export SPACE="year1"
$ zapi new -k archivestore -d $ZQD_DATA_URI $SPACE
$ zapi -s $SPACE postpath $(for file in $(aws s3 ls --recursive s3://brim-sampledata/wrccdc-year1/zeek-logs/ | grep "\.log" | awk '{ print $4 }'); do   echo s3://brim-sampledata/$file; done)
warning: s3://brim-sampledata/wrccdc-year1/zeek-logs/smtp.log: line 8934: read tcp <IP_ADDRESS>:48976-><IP_ADDRESS>:443: read: connection reset by peer
warning: s3://brim-sampledata/wrccdc-year1/zeek-logs/ssh.log: line 151931: read tcp <IP_ADDRESS>:37078-><IP_ADDRESS>:443: read: connection reset by peer
warning: s3://brim-sampledata/wrccdc-year1/zeek-logs/dhcp.log: line 9609: read tcp <IP_ADDRESS>:48612-><IP_ADDRESS>:443: read: connection reset by peer
warning: s3://brim-sampledata/wrccdc-year1/zeek-logs/weird.log: line 1390916: read tcp <IP_ADDRESS>:37184-><IP_ADDRESS>:443: read: connection reset by peer
warning: s3://brim-sampledata/wrccdc-year1/zeek-logs/http.log: line 807132: read tcp <IP_ADDRESS>:36778-><IP_ADDRESS>:443: read: connection reset by peer
warning: s3://brim-sampledata/wrccdc-year1/zeek-logs/notice.log: line 35328: read tcp <IP_ADDRESS>:48774-><IP_ADDRESS>:443: read: connection reset by peer
warning: s3://brim-sampledata/wrccdc-year1/zeek-logs/files.log: line 1438995: read tcp <IP_ADDRESS>:36736-><IP_ADDRESS>:443: read: connection reset by peer
warning: s3://brim-sampledata/wrccdc-year1/zeek-logs/x509.log: line 471145: read tcp <IP_ADDRESS>:49142-><IP_ADDRESS>:443: read: connection reset by peer
warning: s3://brim-sampledata/wrccdc-year1/zeek-logs/ssl.log: line 919998: read tcp <IP_ADDRESS>:37098-><IP_ADDRESS>:443: read: connection reset by peer
 90.9% 11.68GB/12.85GB
posted 11.68GB in 11m57.900284245s

I've repeated this several times and have found the connection reset by peer messages consistently show up just short of 6 minutes from when I started the zapi postpath.
Since the failure appears to abort the download of some log files from S3, this results in an overall incomplete import. The actual count of events in the data set is 96217189, but after the failure above the count shows:
$ time zapi -s $SPACE get -workers 1 -t 'count()'
#0:record[count:uint64]
0:[91771072;]

I can repro this every time I attempt it. Many of the same log files fail each time, though they don't fail in the same spot every time. Here's the output from another repro:
$ zapi -s $SPACE postpath $(for file in $(aws s3 ls --recursive s3://brim-sampledata/wrccdc-year1/zeek-logs/ | grep "\.log" | awk '{ print $4 }'); do   echo s3://brim-sampledata/$file; done)
warning: s3://brim-sampledata/wrccdc-year1/zeek-logs/snmp.log: line 15873: read tcp <IP_ADDRESS>:50688-><IP_ADDRESS>:443: read: connection reset by peer
warning: s3://brim-sampledata/wrccdc-year1/zeek-logs/smtp.log: line 9420: read tcp <IP_ADDRESS>:39930-><IP_ADDRESS>:443: read: connection reset by peer
warning: s3://brim-sampledata/wrccdc-year1/zeek-logs/ssh.log: line 152276: read tcp <IP_ADDRESS>:39970-><IP_ADDRESS>:443: read: connection reset by peer
warning: s3://brim-sampledata/wrccdc-year1/zeek-logs/dhcp.log: line 12081: read tcp <IP_ADDRESS>:39568-><IP_ADDRESS>:443: read: connection reset by peer
warning: s3://brim-sampledata/wrccdc-year1/zeek-logs/tunnel.log: line 10361: read tcp <IP_ADDRESS>:50812-><IP_ADDRESS>:443: read: connection reset by peer
warning: s3://brim-sampledata/wrccdc-year1/zeek-logs/weird.log: line 1390916: read tcp <IP_ADDRESS>:40094-><IP_ADDRESS>:443: read: connection reset by peer
warning: s3://brim-sampledata/wrccdc-year1/zeek-logs/http.log: line 807819: read tcp <IP_ADDRESS>:39672-><IP_ADDRESS>:443: read: connection reset by peer
warning: s3://brim-sampledata/wrccdc-year1/zeek-logs/notice.log: line 34163: read tcp <IP_ADDRESS>:39730-><IP_ADDRESS>:443: read: connection reset by peer
warning: s3://brim-sampledata/wrccdc-year1/zeek-logs/files.log: line 1438263: read tcp <IP_ADDRESS>:50370-><IP_ADDRESS>:443: read: connection reset by peer
warning: s3://brim-sampledata/wrccdc-year1/zeek-logs/x509.log: line 470916: read tcp <IP_ADDRESS>:40114-><IP_ADDRESS>:443: read: connection reset by peer
warning: s3://brim-sampledata/wrccdc-year1/zeek-logs/ssl.log: line 920216: read tcp <IP_ADDRESS>:39992-><IP_ADDRESS>:443: read: connection reset by peer
 90.9% 11.68GB/12.85GB
posted 11.68GB in 12m3.467001001s

$ time zapi -s $SPACE get -workers 1 -t 'count()'
#0:record[count:uint64]
0:[91767866;]

real	2m5.037s
user	0m0.031s
sys	0m0.032s

I did some web searches hoping to find magic numbers that might point to timeouts we're exceeding, but didn't find much. It might be a red herring, but I did find https://github.com/aws/aws-sdk-go/issues/1763 that happens to involve the the AWS SDK for Go, "high concurrency downloads", and failures after "5~6 minutes", but alas, it was unresolved. Might be unrelated. 🤷♂
I also couldn't seem to see any detailed logging during import. I deduced by watching top that the zqd with personality root seemed to be doing all the heavy lifting, but doing a kubectl logs -f on that pod showed just these two lines that correlated with the start/completion of the zapi postpath:
{"level":"info","ts":1611362757.1915123,"logger":"http.access","msg":"Request completed","request_id":"1nRpSajzZhaMu6jFNC0pBxQ96uZ","host":"localhost:9867","method":"GET","proto":"HTTP/1.1","remote_addr":"<IP_ADDRESS>:53124","request_content_length":0,"url":"/space","elapsed":0.000102775,"response_content_length":131,"status_code":200}
{"level":"info","ts":1611363475.1030416,"logger":"http.access","msg":"Request completed","request_id":"1nRpSaChR2rsEJ8j8z0oc13RWCq","host":"localhost:9867","method":"POST","proto":"HTTP/1.1","remote_addr":"<IP_ADDRESS>:53124","request_content_length":1733,"url":"/space/sp_1nRpMe6lzAJosPqRsa4BCNytq1F/log/paths","elapsed":717.833245198,"response_content_length":61244,"status_code":202}

I bet this has something to do with our reaching a request rate threshold.
Check this comment here: https://github.com/aws/aws-sdk-go/issues/1763#issuecomment-509732516
@suanziliu S3 does throttle requests once you've reached a certain request rate (and the SDK will automatically retry requests to which S3 respond with an HTTP 503 Slow Down error) , however the base request rate is quite high (at least 3,500 PUT/COPY/POST/DELETE and 5,500 GET/HEAD requests per second per prefix) and can be increased by following our best practices for optimizing S3 performance.

Verified with zq commit bdbef8b2 running in the cluster and my local zapi at the same commit.
Now I can complete 100% of the import successfully and it's never interrupted despite running for 13+ minutes.
$ time zapi -s $SPACE postpath $(for file in $(aws s3 ls --recursive s3://brim-sampledata/wrccdc-year1/zeek-logs/ | grep "\.log" | awk '{ print $4 }'); do   echo s3://brim-sampledata/$file; done)
100.0% 12.85GB/12.85GB
posted 12.85GB in 13m3.136190624s

real	13m4.359s
user	0m0.742s
sys	0m0.358s

Thanks @mattnibs!


Benchmark batch_verify() with different values of blst's N_MAX

See https://github.com/supranational/blst/blob/9f5536af2723a4c7e563660e2726196d96f4bb97/src/aggregate.c#LL40C12-L40C12
Pairing is done in batches of N_MAX, which is 8 by default.

Benchmarking with 16/32/64 didn't show significant improvements. Performance of batches of 128 was improved by 4-5%, but others didn't.


[Feature Request:] Support closing auth email & license, through ingress bash auth

Contact Details
<EMAIL_ADDRESS>Is your feature request related to a problem? Please describe.
We need to temporarily capture packets for debugging, the auth process is too complicated, and we cannot auth via email
Original Thread
No response
Describe the solution you'd like to see
Support closing auth email & license, through ingress bash auth
Provide additional context
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

@clcc2019 we plan to simplify this process (related to Ingress) significantly very soon.

This will get resolved during next release by disassociating Ingress from Authentication.

You can now use Ingress without Authentication. Just set tap.auth.enabled=false


Http 302 redirect doesn't work in Easegress filter

Describe the bug
I am developing custom filter for our SSO login and find I cannot do a 302 redirect in Easegress filter trying many ways.
As following code snippet shows:
func (f *SSOFilter) Handle(ctx context.HTTPContext) (result string) {
	ctx.Response().SetStatusCode(302)
	ctx.Response().Header().Set("Location", "https://www.google.com")
	return "ssoFiltered"
}

Easegress obect config:
kind: GlobalFilter
name: globalSSOFilter
beforePipeline:
  flow:
    - filter: SSOFilter
      jumpIf: { ssoFiltered: END }
  filters:
    - name: globalSSOFilter
      kind: SSOFilter

After accessing from Chrome web broswer.  Although the response header Location value does exist,
the return http status code is always 200, not 302 as expected.

Thanks for reporting these issues, we will investigate and fix all of them.
And also welcome you and the community to create PRs to help us fix them.

I tested this and it turns out that adding ctx.CallNextHandler("ssoFiltered") to the end of the Handle should fix the issue.
In general every filter has to call ctx.CallNextHandler(result), otherwise the BeforePipeline cannot jump to the end of the Pipeline, but the (regular) Pipeline and AfterPipeline are executed and response status code is not the code set in BeforePipeline.
We should probably try to highlight better the role of CallNextHandler in docs.

Thanks，I will try again. The filter pipeline is a little bit counterintuitive， I think ctx.CallNextHandler should be used to call next filter in pipeline，every time when break one filter whether which is global or not  and respond to client，the later filters in pipeline should not be executed.

I just found the jumpIf conf in GlobalFilter cannot work，because in following code snippet from pkg/object/globalfilter/globalfilter.go， the filter return result compare with httppipeline.LabelEND constant
but not the result we configure
func (gf *GlobalFilter) Handle(ctx context.HTTPContext, httpHandle protocol.HTTPHandler) {
	result := gf.beforeHandle(ctx)
	if result == httppipeline.LabelEND {
		return
	}
	result = httpHandle.Handle(ctx)
	if result == httppipeline.LabelEND {
		return
	}
	gf.afterHandle(ctx)
	return
}

In normal filters , following code snippet from  pkg/object/httppipeline/httppipeline.go， using the jumpIf map to fetch
value we configure
func (hp *HTTPPipeline) getNextFilterIndex(index int, result string) (int, bool) {
	....
	name, ok := filter.jumpIf[result]
	if !ok {
		return -1, false
	}
	if name == LabelEND {
		return len(hp.runningFilters), true
	}
       ....
}

Maybe it violate conformity

Good remarks, I was also wondering the same thing earlier today.. It looks like  HTTPPipeline.getNextFilterIndex doesn't find jumpIf rules correctly. But if you change the filter to
func (f *SSOFilter) Handle(ctx context.HTTPContext) (result string) {
	ctx.Response().SetStatusCode(302)
	ctx.Response().Header().Set("Location", "https://www.google.com")
	return ctx.CallNextHandler("ssoFiltered") # notice ctx.CallNextHandler
}

the jumpIf is used correctly and the test case do return status code 302, as expected.

The filter pipeline is a little bit counterintuitive， I think ctx.CallNextHandler should be used to call next filter in pipeline

I do agree with you that it is counterintuitive. I've also encountered bugs due to missing CallNextHandler. Please note that Easegress Roadmap for year 2022 contains refactoring HTTPipeline to Universal Pipeline (see Roadmap here). Counterintuitive stuff, like CallNextHandler, are definitely reconsidered, once new version comes out later this year.
Meanwhile, let's revisit documentation and add note about CallNextHandler...


Support Array.new(n) on RSpec/FactoryBot/CreateList cop

rubocop-performance's Performance/TimesMap cop autocorrects n.times into Array.new(n), so it would be nice if this cop supports autocorrection from Array.new(n) { create(:a) } to create_list(:a, n).

Before submitting the PR make sure the following are checked:

[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[ ] Updated documentation.
[x] Added an entry to the CHANGELOG.md if the new code introduces user-observable changes.
[x] The build (bundle exec rake) passes (be sure to run this locally, since it may produce updated documentation that you will need to commit).

If you have created a new cop:

[ ] Added the new cop to config/default.yml.
[ ] The cop is configured as Enabled: pending in config/default.yml.
[ ] The cop is configured as Enabled: true in .rubocop.yml.
[ ] The cop documents examples of good and bad code.
[ ] The tests assert both that bad code is reported and that good code is not reported.
[ ] Set VersionAdded in default/config.yml to the next minor version.

If you have modified an existing cop's configuration options:

[ ] Set VersionChanged in config/default.yml to the next major version.

Perhaps, but it seems that adding an entry to CHANGELOG.md is not included in the pull request.

I added a missing entry to CHANGELOG.md. Thanks!


Missing translation in js code for Angular Material mdToast

Hey !
In my toast factory, I am looking for a string 'CLOSE' to put the translation in a toast.
My problem is that it is always marked as [MISSING] when the key and value are in my translation json files !
Here is how I proceed :
function logger($log, $mdToast, gettext, gettextCatalog) {
    var close = "CLOSE";
    close = gettextCatalog.getString(close);
    close = gettext(close);

    var service = {
      showToasts: true,
      error: error
    };

    function error(message, data) {
      message = gettext(message);
      $mdToast.show(
        $mdToast
          .simple()
          .textContent(message)
          .theme('error-toast')
          .action(close) // <-- MISSING
          .highlightAction(true)
      );
      $log.error('Error: ' + message, data);
    };
    return service
}

    var close = "CLOSE";
    close = gettextCatalog.getString(close);
    close = gettext(close);

This makes no sense.
Better would be:
    function error(message, data) {
      message = gettext(message);
      $mdToast.show(
        $mdToast
          .simple()
          .textContent(message)
          .theme('error-toast')
          .action(gettextCatalog.getString("CLOSE"))
          .highlightAction(true)
      );
      $log.error('Error: ' + message, data);
    };

Ok it works, thanks, but I have a question, what is the difference between gettextCatalog.getString() and gettext() ?

All explained here: https://angular-gettext.rocketeer.be/dev-guide/annotate-js/

I already read that, but to be sure, gettext() add the string to the .pot file and gettextCatalog.getString() get the translation from the translation file, is that right ?

Yes.
Mostly you'd do something like:
$scope.something = gettext("Hello");

<span>{{something | translate}}</span>

That's the best way to do things, since it'll update the span if the language changes.
Only use gettextCatalog.getString() if you need a translated version to pass it into e.g. a library (such as $mdToast).

OK thanks, I understand now.
Good day !


Changing any form property corrupts resource file

Without any changes to form it compiles nicely, but if i change icon of form resource file gets corrupted https://stackoverflow.com/questions/45928710/resource-file-getting-corrupted-if-something-is-changed

My bad. I added strings to Form's RESX files and Visual Studio regenerate Form's RESX file when you change something. So the manually added resource files get lost when VS do this. I will move them to Project's RESX file as soon as possible.


Remove finalizers

To support sharding metrics across exporters, it would be nice to get rid of the finalizers added by each controller to their watched aqua resources. The finalizers were only needed because it isn't possible to delete a metric from the golang prometheus client without specifying all of the labels for that metric -- in other words, we had to reconstruct the entire metric (so vulnerability details, etc.) in order to delete it. Finalizers were added to give the exporters an opportunity to clear the metrics before the report is deleted.
I've since implemented the functionality needed in the prometheus client, but this change has not been released yet.
With sharded metrics, the shard owner is responsible for clearing the finalizer after it has cleared its metrics for a given report. However, even the finalizer does not handle all cases where we might miss metrics, for example, when a statefulset is updated as described by https://github.com/giantswarm/starboard-exporter/issues/48. So, I'm committing a minor sin by using an untagged version of the prometheus client in order to a. solve the issue with stale metrics and b. hopefully get us closer to caching fewer reports per instance.
Checklist

[ ] Update changelog in CHANGELOG.md.
[ ] Make sure values.yaml and values.schema.json are valid.
[ ] (Giant Swarm) If creating a release, bump the version and appVersion in Chart.yaml.

@giantswarm/team-atlas as our resident metric gurus, if one of you has a quick moment today/tomorrow to see if any of this is completely backwards I'd appreciate it. I'll merge this tomorrow


some question about your system

Q1) Please more detailed what's you cuda/cudnn/Tensorflow version that you are tested? and you GPU? is this possible with TF 1.0 BackEnd?
Q2) These scripts read jpg / xml files directly from foldes? Should be needed to drop up we own jpg/xml into your folders?
    train_image_folder <= the folder that contains the train images.

    train_annot_folder <= the folder that contains the train annotations in VOC format.

    valid_image_folder <= the folder that contains the validation images.

    valid_annot_folder <= the folder that contains the validation annotations in VOC format.

@zeynali
Q1) Sorry for not being clear in the readme. Cuda 8.0; Tensorflow 1.3; GPU K80. I ran it just fine on Tensorflow 1.0. Need 1.3 for ongoing multi-GPU code.
Q2) Yes. The jpg/xml should be organized in this manner.


http to https redirect behind AWS load balancer

I need to redirect traffic for all http traffic to https. I am using an ELB to terminate the SSL.
Since I couldn't find a way to redirect all traffic to https, I started forwarding app-by-app.
First, I used this, but that resulted in infinite redirects.
HAPROXY_0_REDIRECT_TO_HTTPS=true
Then I found this  suggestion in the wiki.
HAPROXY_0_BACKEND_HTTP_OPTIONS=  acl is_proxy_https hdr(X-Forwarded-Proto) https\n  redirect scheme https unless { ssl_fc } or is_proxy_https\n
However, it does not redirect traffic to https at all.
<IP>:9090/_haproxy_getconfig
backend hello-world_10152
  balance roundrobin
  mode http
  acl is_proxy_https hdr(X-Forwarded-Proto) https\n  redirect scheme https unless { ssl_fc } or is_proxy_https\n  option  httpchk GET /
  timeout check 10s
  server IP_PORT IP:PORT check inter 2s fall 11

(I also tried the approach using both labels.)
Any help would be greatly appreciated.

I have this problem too, using the ELB (ALB), I've tried both the stuff in the wiki and the HAPROXY_0_REDIRECT_TO_HTTPS in the app.
Anything else to try to get this to work?

Okay I managed to get this working okay I think. The issue for me is that my ALB was misconfigured and I had one target group serving listeners on port 80, 443 and 9090 with the target group having the instances as targets on port 80, 443 and 9090. To sort this I know have two target groups. Listeners on port 80 and 443 point to a target group with the hosts with marathon-lb on port 80. Listener on port 9090 points to a target group with the hosts with marathon-lb on port 9090. In the app I needed this
HAPROXY_0_BACKEND_HTTP_OPTIONS= acl is_proxy_https hdr(X-Forwarded-Proto) https\n redirect scheme https unless { ssl_fc } or is_proxy_https\n
And also the other redirect set to false
HAPROXY_0_REDIRECT_TO_HTTPS=false
It then seems to work okay

Hi @hibbert, could you please share the full configuration on you app? I'm currently facing the same issue when deploying a jenkins service from Mesosphere using the marathon-lb, using the HAPROXY_0_REDIRECT_TO_HTTPS=true results in infinite redirects.


TableCell short text

Is there a solution to short a text in a tabelcell with ... if the text is to long?

i want only a single line in the tablecell

this could be achieved using css. below class could be passed to the <TableCell Class="truncate' />
https://daily-dev-tips.com/posts/css-truncate-text-with-ellipsis/
.truncate {
  width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


irmin-test: remove the unecessary Irmin_ prefix

/cc @g2p and @zshipko as it will have an impact on the tests for the backend that you wrote.

Thanks for the warning! I have no problem updating the irmin-redis tests once this is merged.


Choosing a python version

Is it possible to choose the version of python?

@codablock Thanks for this awesome project! I'm also wondering how a specific Python version can be set, as a specific module I want to use doesn't support the latest versions of Python 🥺

I have now automated the build workflow to build 3 versions of Python, from which you then can choose via the release tag. Please read the README.md for details on how release versions are built.


Better seed data

Generates better seed data - currently creates 200 stories.

Looks like the categories are not the values that we send from the form: "Essential worker" vs "essential-worker".


Support for service namespace in swarm mode

In Docker >= 1.12, service discovery and load balancing is cool. But there is a use case which I still need while migrating out of Rancher.
In swarm mode, you can create an overlay network and attach it to a service. Then services inside the network will be discovered/load-balanced through DNS queries using service name. The service name must be unique throughout the entire swarm cluster.
What I need is a way to use the same hostname in different services. Let's say we have 2 environment, staging and production. Each of them has 2 services, backend and frontend. frontend service must be able to communicate to backend using http://backend:port/some/path/to/api. In docker swarm, I have to create 2 different services like staging-backend and production-backend. The api must be accessed by http://staging-backend:port/some/path/to/api only.
It would be great if all services connect to a single overlay network by default (service name is unique anyway) and provide a way to define namespace and hostname (must be unique throughout the cluster). Container can access service in the same namespace using hostname, and can access a service across namespace using hostname.namespace, while the unique service_name is still accessible.
This would enhance the flexibility of cluster networking in docker swarm mode. I did not use previous docker swarm before but when I learned about docker swarm mode, I thought that it is the way container orchestration should be (native and complete).
If there is any existing solution or workaround, I really would like to know. In the meantime, I guess I have to refactor the code to make it compatible with docker swarm mode.
Thanks!

Perhaps implementing --network-alias or similar would be a start; there's already an issue for tracking that; https://github.com/docker/docker/issues/24787

Thanks for pointing out! After looking through docker run command options, --network-alias is really the closest one.
Anyway, ability to resolve something like <service-name>.<namespace> or even <task-id>.<service-name>.<namespace> is something very useful.


Show MARC Processing Rules on Interface page

Could MARC Processing Rules be included on the Interface page with other config details?
Eg. Include list of these

On this screen

Minimum alternative could be
Marc processing = yes

@aaron-collier Thx for the ✋🏻


Rename master branch to main branch

git branch -m master main
git fetch origin
git branch -u origin/main main
git remote set-head origin -a


Installer gets stuck

Microsoft PowerToys version
0.41.4
Running as admin

[X] Yes

Area(s) with issue?
Installer
Steps to reproduce
I am not sure what caused this or how to reproduce the issue.
✔ Expected Behavior
Installer after the update dialog should successfully perform the update or should be able to do a clean install.
❌ Actual Behavior
Powertoys notified me to update the software, I allowed it to do it, but the installer froze during the process. I had to close the process in task manager.
I tried it after a reboot and a few times, but the same thing happened. I decided to uninstall powertoys and download the latest installer (PowerToysSetup-0.41.4-x64.exe). This one also gets stuck (it won't progress further than this):

Other Software
No response

Hi @SzabKel ,
Would you mind zipping the contents of %LocalAppData%/Microsoft/PowerToys in the maching and uploading the archive through a GitHub comment?
Some of those logs might have the answer to what is happening.
Thank you.

The files: LocalAppData-PowerToys.zip
I skipped the exe-s under the update folder.

Hi @SzabKel,
Thank you.
Couldn't find anything wrong in the logs.
Something weird is that the msi seems to think that E:\ is your root drive. Does this bring anything to mind?
Would you mind trying to:

Delete "C:\Program Files\PowerToys" manually.
Delete "%localappdata%\Temp\PowerToysBootstrappedInstaller-<IP_ADDRESS>.msi" manually.
Restarting the computer.
Run the installer again.

"C:\Program Files\PowerToys" was already empty, because I uninstalled it. It only had a single old (2021.03.20) crash log (probably different issue).
FZEditorCrashLog.txt
Deletion of the temp msi did not have any impact and I already restarted my computer 2 times and it still won't install.
E: drive is not my root, it is just a normal partition with some data on it.

Upon closer inspection, this error looks related to this previous issue: https://github.com/microsoft/PowerToys/issues/10563#issuecomment-860566239
MSI (s) (A0:40) [18:58:21:831]: Note: 1: 2205 2:  3: Error
MSI (s) (A0:40) [18:58:21:831]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1715
MSI (s) (A0:40) [18:58:21:831]: Calling SRSetRestorePoint API. dwRestorePtType: 0, dwEventType: 102, llSequenceNumber: 0, szDescription: "Installed PowerToys (Preview)".
MSI (s) (A0:64) [19:29:32:888]: RunEngine wait timed out
MSI (s) (A0:64) [19:29:32:888]: No System Restore sequence number for this installation.
MSI (s) (A0:64) [19:29:32:888]: fFatalExit=true

It looks like it's timing out at the point of creating the system restore point.

It seems the issue might be with restore point creation in your system.
To test this theory, we can try installing PowerToys without first creating the system restore point.
In order to do this, please extract the msi from the exe:
PowerToysSetup-0.41.4-x64.exe --extract_msi

After that, run the msi by passing the MSIFASTINSTALL property at 1 to disable system restore point creating for this installation:
PowerToysBootstrappedInstaller-<IP_ADDRESS>.msi MSIFASTINSTALL=1

Please let us know if this works.

It seems the issue might be with restore point creation in your system.
To test this theory, we can try installing PowerToys without first creating the system restore point.
In order to do this, please extract the msi from the exe:
PowerToysSetup-0.41.4-x64.exe --extract_msi

After that, run the msi by passing the MSIFASTINSTALL property at 1 to disable system restore point creating for this installation:
PowerToysBootstrappedInstaller-<IP_ADDRESS>.msi MSIFASTINSTALL=1

Please let us know if this works.

It works this way. Installed it promptly. Thanks.

Hi @SzabKel ,
Thanks for letting us know.
This is not a PowerToys issues or an issue we can do something about on our side.
This does mean that there may be some underlying issues with your system's restore points, however.


CDI-612 Introduce EventConsumer

accepts EventContext
there is no need to define two notifyWith() methods anymore
allows to throw checked exceptions within a callback

@cdi-spec/eg please review...

+1 from me


61 adding jupyter notebook for plotting and visualisation of dc2 and skysim simulations

This branch is meant to satisfy the requirement in my in-kind contribution of creating a plotting interface in RAIL with skysim and cosmoDC2.

To run the notebook, the user needs to have dsps, diffstar and jax installed. Maybe it would make more sense to move it into rail_dsps, what do you think?

To run the notebook, the user needs to have dsps, diffstar and jax installed. Maybe it would make more sense to move it into rail_dsps, what do you think?

@torluca It seems that we've standardized on putting all notebooks in the central rail repo rather than the repos corresponding to the packages each notebook requires. It's nice to have them in one place because users can clone just the one repo to get all the demos, rather than cloning lots of them. However, the fact that vanilla rail's default installation includes only rail_base definitely detracts from the utility of having the notebooks centralized here. Please do chime in on the discussion in #29 if you have any thoughts on this setup.

The vanilla installation is intended for something different.  (A truly vanilla installation where you add only the things you need by hand.).  The dev installation is intended for running notebooks.   On Oct 17, 2023, at 10:16 AM, Alex Malz @.***> wrote:
To run the notebook, the user needs to have dsps, diffstar and jax installed. Maybe it would make more sense to move it into rail_dsps, what do you think?
@torluca It seems that we've standardized on putting all notebooks in the central rail repo rather than the repos corresponding to the packages each notebook requires. It's nice to have them in one place because users can clone just the one repo to get all the demos, rather than cloning lots of them. However, the fact that vanilla rail's default installation includes only rail_base definitely detracts from the utility of having the notebooks centralized here. Please do chime in on the discussion in #29 if you have any thoughts on this setup.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because your review was requested.Message ID: @.***>


Kotlin Blackbox tests don't run on Github Windows Runner

Describe the bug
The Kotlin blackbox tests for windows currently don't run as part of the pipeline. This is due to the windows runner image using the  Kotlin Native compiler, instead of the Kotlin JVM compiler.
Expected behavior
Find out and fix the runner, so that it uses Kotlin JVM, so that we can reactivate the blackbox tests for windows.

@jonaslagoni is this still valid?
many issues are being closed...not enough contributors @jonaslagoni ? :eyes:
PS: I'm serving as a reminder 😁


TCX files are rejected by Garmin Connect

Hi,
I've used your tool to export my Runtastic activities in order to import them in Garmin Connect.
I used both gpx and tcx while exporting from Runtastic.
Though when I 1st uploaded tcx files in Garmin Connect they were all rejected ones after the others.
The interface was not really detailing the reason unfortunately.
In the end I have used the gpx format successfully (though it might loose the extra information that TCX holds)
This issue didn't block me (and I'm not expecting a fix), though for other users of your script, there might be checks to perform on the tcx output format to make sure it is still compatible with Garmin schema (which cant be found anymore / 404 by the way...)
Thanks again

I tried importing my activities to Connect, but it worked. Could you send my one of your tcx files that are failing?

This is one file failing on the upload:
runtastic-running-tcx.zip
Thanks

Thanks, I will investigate.


non-genus-specific hits and non-species-specific hits need links to NCBI

those links are currently disabled for negative taxids such as these
in order to enable the links obtain the link taxid by taking the negative taxid modulo int(1e8)
cc @jshoe @cdebourcy

in progress


Randomly Post Image from #screenshots-n-videos

Original message from THE_SPACEMAN#9984:

@Pickle423 @Uncle-Sagbag  Can we get a command that randomly posts an image from #screenshots-n-videos ?

The alias would be:
!screenshot !sc
Posts a random screenshot from the #screenshots-n-videos channel.

Wouldnt we have to do this manually? I mean in the fact that we would have to download all the screenshots and upload them to the server? It would just be a hassle to get new ones.

The server can loop through the channel and download every image file to the server itself. It can do this on ready.

I don't think the server can do this on_ready, it doesn't seem like nextcord is built to allow bots to go and loop through prior messages. We can set up the bot to automatically download new screenshots as they come in, however, the code for this would be really simple.

Completed, make sure to make a folder names "attachments" in the bot folder, otherwise it will error out on you.

Current iteration posts recent screenshots rather than pick from all screenshots ever. Is that intended?

Archived feature due to rare usage. Will cancel this ticket accordingly.


Dear developers, I hope you can add support for arm64 architecture Linux application display in chroot environment.

Dear developer, I am currently using your kivy to make apk, it works well on the computer, thank you for your project creation!
However, an idea has recently emerged because it is always inconvenient to always develop on a computer. I want to develop on mobile at any time. I used the linux_deploy application to deploy Ubuntu18 arm64 on my phone, and connected to the screen using X11 software, and then successfully installed kivy based on your source code. When running the example, you will be prompted "No matching FB configuration"
I don't want to use
Kivy Launcher application or pydroid3 application is used for software development because its scope of use is limited.
By referring to the documentation for installing kivy on a Raspberry Pi, it may not work properly due to differences in display drivers. I hope you can add support for Qualcomm mobile chip displays, not just the Raspberry Pi, so that you can easily develop applications.

I'm sorry, but I'm unable to parse this issue. It mentions a bunch of unrelated things: chroot, linux_deploy, pydroid3, and the pi and I don't understand the connection between them.
I'm guessing you're asking for us to support linux_deploy, but I don't think we are likely to add support for this. If you have a specific bug or very clear feature request, please open a new issue. Otherwise, for support, please ask on discord.


Not an Issue - Just a massive THANK YOU

I have set up this system with my HikVision camera's in association with Camera-ffmpeg and I've managed to get it to work flawlessly for all three of my camera's so I can use my Philips motion sensor somewhere else.
Thank you so much for this

Awesome, I’m glad that it’s working well for you!


Document valid values for AnalysisMode

See discussion here: https://github.com/dotnet/roslyn/issues/49250#issuecomment-760416810
From @mavasani:

They will eventually be documented here: https://docs.microsoft.com/en-us/dotnet/core/project-sdk/msbuild-props#analysismode

This docs page references the presets bundled in Microsoft.CodeAnalysis.NetAnalyzers. If a user goes digging into that, they'll find editorconfig files with names like 'recommended', 'none', 'default', etc:
AnalysisLevelNaming_5_recommended.editorconfig
AnalysisLevelMaintainability_5_none.editorconfig
AnalysisLevelMaintainability_5_default.editorconfig
AnalysisLevelPerformance_5_all.editorconfig
AnalysisLevelDocumentation_5_recommended.editorconfig
AnalysisLevelInteroperability_5_none.editorconfig
AnalysisLevelUsage_5_recommended.editorconfig
AnalysisLevelSecurity_5_recommended.editorconfig
AnalysisLevelMaintainability_5_recommendedededitorconfig
AnalysisLevelUsage_5_minimum.editorconfig
AnalysisLevelDocumentation_5_default.editorconfig
AnalysisLevelSecurity_5_default.editorconfig
...

It's unclear how these relate to AnalysisMode settings documented here -- are these editorconfigs procedurally generated from the source code tags (and therefore ignored no matter the value of AnalysisMode)? This code would seem to indicate so.

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

ID: 59d4dafc-2217-9a7b-4590-27faa85164cd
Version Independent ID: 64b80e80-1c15-c293-466a-918de98e96f6
Content: MSBuild properties for Microsoft.NET.Sdk - .NET
Content Source: docs/core/project-sdk/msbuild-props.md
Product: dotnet-fundamentals
GitHub Login: @gewarren
Microsoft Alias: gewarren

Thanks @stewartadam. This is a duplicate for https://github.com/dotnet/docs/issues/23904. I plan to add this documentation soon.


Animal Crossing: Population Growing PAL Support

I used the previous version of ACSE and it went without any trouble, but now, when I tried to open the same file in this new version, it tells me it isn't a valid save file.

That means it isn't the correct save size. Can you send me the file or a link to it?

Oh, now I see that the pre-release it's only for GC version. I'll be wating for the final release, thanks.

Ohhh, which version were you trying to load? Doubutsu no Mori? e+?

I meant the ACSE version, that is a pre-release, well, I'm gonna try again.

I tried it again but I keep getting this:

Your issue seems to be you're using the PAL version of Animal Crossing. If you look at the file name, you'll see "GAFP" in it. Currently, only the North American release is supported (GAFE). Would you mind sending me the file? I can try to add support in for it.

ok, thanks, here's the file:
01-GAFP-DobutsunomoriP_MURA.zip

Went ahead and pushed an update that adds support. Here's the link: https://github.com/Cuyler36/ACSE/releases/tag/0.1.1
Keep in mind that there are a lot of Acre Images missing. Let me know if you encounter any bugs, and enjoy!


Preparatory work to support using Github avatar upon user registration.

This PR has preparatory work to #14133. We changed a helper function on test_auth_backends.py so it can support receiving a user_atavar_url argument also, we extracted the avatar CSS style from settings.scss to avatar.scss which will allow us to use the avatar upload widget in portico besides settings.
Testing Plan:
Manual testing for the .SCSS changes and automated tests for .py changes.

@timabbott Those are the preparatory work you asked me to do in another PR. I figured that we didn't need the second commit that changes some id to classes in the CSS.
I was in doubt about where to put the avatar.scss in tools/webpack.assets.json, is it right in "app"? It's working fine, but I'm not sure if it's supposed to be where I put.

I merged the first commit.  For the second, you should put an import statement in static/js/bundles/app.js, just like how our our SCSS bundles are included (git grep settings.scss would have been a good way to find this).
I also wonder if we should do another round of CSS cleanup to simplify the widget-specific rules before moving this block; @Jagansivam28 what do you think?

I was thinking the same. It was a bit strange removing only those rules because one of them is also used by realm-icon but at the same time I don't think it would be good to move the realm-icon CSS realted too, because to my knowledge it's only used in settings.

@timabbott Yeah we need to do some CSS cleanup's

@clarammdantas @timabbott can we close this PR ?

I actually think there is another commit that should go here. I'm going to add it soon.

Ooops, I've deleted the commit that changed CSS files, because Jagan's work already did what was needed, and pushed. As the PR had no commits, it closed automatically I guess. But there it is the last commit of this PR.


ysp VideoPlayer plugin freezes the game

An issue that affects both mods and the vanilla game, any event/cutscene that calls the ysp VideoPlayer plugin command (in example, 'ysp.VideoPlayer.loadVideo('Bad End Credits Draft 4.webm')') freezes the game. I do not know if it is from a specific command or just the plugin in general. Both the vanilla game and GOMORI are exempt from this issue.

Initial triage:
In an isolated environment with the same nw.js version, intercepted requests for videos always get aborted. On latest nw, that bug is not present, which means this bug is rooted somewhere in the underlying runtime (Chrome 65/nw 0.29). Workaround ideas will be explored and reported back on.

Triage followup:
Without updating chromium, it's impossible for media request to succeed when using Network Request Interception, which means that the proper fix will be overriding document.createElement or PIXI's VideoBaseTexture.fromUrl method to directly access the VFS

The issue appears to be mostly resolved by 7a8c386, though I will keep this issue open until more testing is done on Preview 3.1
Please go and test the latest release (Preview 3.1) and close this issue if you consider it fixed


Document the session cache mechanism and file

Can we get a few notes added to the README about the session cache and file? The README describes the TESLA_CACHE_FILE option and that:

The cache allows programs to skip sending handshake messages to a vehicle.

This seems like a desirable thing. Can we get a bit more info? Eg is it best practice to use a cache file? Does the cache impact transaction rate limits?
Thanks!

@jbanyer please feel free to comment on the linked PR if something is unclear.

Perfect, thanks @sethterashima


Add prefix for index

Codecov Report
Base: 61.00% // Head: 60.94% // Decreases project coverage by -0.05% :warning:

Coverage data is based on head (b0fea3e) compared to base (193a116).
Patch coverage: 58.33% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #139      +/-   ##
============================================
- Coverage     61.00%   60.94%   -0.06%
- Complexity      431      432       +1
============================================
  Files            87       87
  Lines          1559     1567       +8
  Branches        155      155
============================================
+ Hits            951      955       +4
- Misses          562      566       +4
  Partials         46       46

Impacted Files
Coverage Δ

...du/address/logic/commands/DeleteClientCommand.java
100.00% <ø> (ø)

...java/seedu/address/logic/commands/EditCommand.java
97.01% <ø> (ø)

...edu/address/logic/commands/ViewMeetingCommand.java
0.00% <ø> (ø)

...dress/logic/parser/DeleteMeetingCommandParser.java
0.00% <0.00%> (ø)

...address/logic/parser/ViewMeetingCommandParser.java
0.00% <0.00%> (ø)

...ddress/logic/parser/DeleteClientCommandParser.java
100.00% <100.00%> (ø)

.../seedu/address/logic/parser/EditCommandParser.java
92.30% <100.00%> (ø)

... and 1 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Just 1 suggestion here. Do take a look.

Fixed


[Study] What i studied today

Originally planned
React tutorial

[x] Props and state in react

[x] Life cycle in react

[x] Data rendering, add, delete in component

[x] Why state immutability is critical in react?

Typescript tutorial

[x] Variable type, return type of typescript

[ ] Class in typescript

Setting

[ ] make personal repo for study and commit code

Next planned

Data update in react
typescript interface
make personal github repo for study

Good job!


[📚] Fixed Firebase SDK version override in build.gradle

Description
In the Android Firebase SDK version override, project.ext has been changed to rootProject.ext. project.ext does not produce the override described in the docs.
Note: a different solution would be to add the project.ext block to android/build.gradle instead of android/app/build.gradle.
Related Issues
FirebaseExtended/flutterfire#3554
FirebaseExtended/flutterfire#3564
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] If the pull request affects only one plugin, the PR title starts with the name of the plugin in brackets (e.g. [cloud_firestore])
[x] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
[x] All existing and new tests are passing.
[x] I updated/added relevant documentation (doc comments with ///).
[x] The analyzer (flutter analyze) does not report any problems on my PR.
[x] I read and followed the Flutter Style Guide.
[x] I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy.
[ ] I updated CHANGELOG.md to add a description of the change.
[x] I signed the CLA.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (please indicate a breaking change in CHANGELOG.md and increment major revision).
[x] No, this is not a breaking change.

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

Oh good catch! Thanks for sending a PR.

Erm just noticed this is on the our fork - could you make the PR on origin?

Erm just noticed this is on the our fork - could you make the PR on origin?

Oh, yeah, sure. Sorry about that!


Wrong documentation in registration section

https://github.com/smogg/re-promise#step-2-registration-and-use
(ns app.core
  (:require
    ...
    [re-promise]   ;; <-- add this
    ...))

Should be:
(ns app.core
  (:require
    ...
    [re-promise.core]   ;; <-- add this
    ...))

Just ran into this and would have saved some time had i read this earlier… still: many thanks for this effect handler, which came  at a time of great need.


Add examples to .npmignore

Examples folder is 172MB so it takes up a lot of space as an npm package which becomes an issue in certain environments.

Codecov Report

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

@@          Coverage Diff          @@
##           master   #152   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           5      5
  Lines         202    202
=====================================
  Hits          202    202

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 e86a902...8618d02. Read the comment docs.

Nice!


Ubuntu 18.04 - `GLIBC_2.34' not found

Hello
I'm trying to use QT on ubuntu:18.04 docker container and getting following error
/__t/Python/3.11.1/x64/bin/python3 -m pip install setuptools wheel py7zr==0.19.* aqtinstall==2.1.*
/__t/Python/3.11.1/x64/bin/python3: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /__t/Python/3.11.1/x64/bin/python3)
/__t/Python/3.11.1/x64/bin/python3: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.35' not found (required by /__t/Python/3.11.1/x64/lib/libpython3.11.so.1.0)
/__t/Python/3.11.1/x64/bin/python3: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /__t/Python/3.11.1/x64/lib/libpython3.11.so.1.0)
/__t/Python/3.11.1/x64/bin/python3: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /__t/Python/3.11.1/x64/lib/libpython3.11.so.1.0)
/__t/Python/3.11.1/x64/bin/python3: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /__t/Python/3.11.1/x64/lib/libpython3.11.so.1.0)
/__t/Python/3.11.1/x64/bin/python3: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /__t/Python/3.11.1/x64/lib/libpython3.11.so.1.0)
/__t/Python/3.11.1/x64/bin/python3: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /__t/Python/3.11.1/x64/lib/libpython3.11.so.1.0)
Error: Error: The process '/__t/Python/3.11.1/x64/bin/python3' failed with exit code 1

I compiled glibc 2.34 in /opt/glibc but not sure how to give its path to QT to use it
My pipeline code is
name: CI
on:
  push:
    branches: [ "main" ]
  pull_request:
    branches: [ "main" ]
  workflow_dispatch:
jobs:
  build:
    name: Build on Ubuntu 18.04 container
    runs-on: ubuntu-latest
    container: ubuntu:18.04
    steps:
      - name: Running on Ubuntu 18
        run: |
          set -x
          cat /etc/*release*
          apt-get -y update
          apt-get -y install sudo libc6 gcc g++ build-essential glibc-source subversion upx chrpath \
          diffstat cvs quilt cmake build-essential libssl-dev libpcsclite1 libpcsclite-dev dialog \
          libusb-1.0-0-dev mercurial libncurses-dev libcurl4-openssl-dev sshpass dos2unix libccid \
          lib32z1 python3 python3-pip python3-setuptools wget
          apt-get -y upgrade gawk bison
          wget https://ftp.gnu.org/gnu/glibc/glibc-2.34.tar.gz
          tar xzvf glibc-2.34.tar.gz
          cd glibc-2.34
          GLIBC_DIR=$(pwd)
          mkdir -p /opt/glibc
          cd /opt/glibc
          $GLIBC_DIR/configure --prefix=/opt/glibc
          make
          make install
          cd
          pip3 install -U setuptools
          ldd --version
      - name: Download Qt
        uses: jurplel/install-qt-action@v3
        with:
          aqtversion: ==2.1.*
          version: ${{ env.QT_VERSION }}
          target: desktop

Can someone help me please?

I'm not sure how much I can help here, other than to ask a few questions to clarify this issue:

Have you seen the note here about install-deps and docker: https://github.com/jurplel/install-qt-action#install-deps
Why are you trying to build GLIBC manually, instead of just using the one provided by apt? Is there a specific goal you're trying to accomplish? Often, but not always, it's a bad idea to replace core system libraries in this way.
Ubuntu 18 containers are currently deprecated, and Ubuntu 18 is very near EOL if not already past it. Can you use Ubuntu 20 or 22?

Have you seen the note here about install-deps and docker: https://github.com/jurplel/install-qt-action#install-deps
A) yes, that still fails with GLIBC error
Why are you trying to build GLIBC manually, instead of just using the one provided by apt? Is there a specific goal you're trying to accomplish? Often, but not always, it's a bad idea to replace core system libraries in this way.
A) how can I install GLIBC 2.34 using apt? I cant find a way.
Ubuntu 18 containers are currently deprecated, and Ubuntu 18 is very near EOL if not already past it. Can you use Ubuntu 20 or 22?
A) application I'm trying to compile is only supported on ubutnu 18.04 so far. hence I'm forced to use it rather then 20 or 22

closing due to inactivity

Hello. Was it possible to install glib 2.34 on ubuntu 18???


Documentation issue in installation instructions

In this page we see multiple times in step 3 that cython_install is surrounded by pipe symbols for some odd reason. It's possible that someone pulled this from a markdown table and didn't remove them. Each instance—if attempted by a user—will fail and not produce the expected result.
python3 -m pip install --upgrade --user |cython_install| pillow
sudo pip install |cython_install|
sudo pip install -U |cython_install|

You're looking at the raw doc sources. The properly generated docs are at https://kivy.org/doc/master/installation/installation-rpi.html#raspberry-pi-1-4-installation-on-raspbian-jessie-stretch-buster.


Change data handling to use html5 data-attributes

Partially done, partially still relying on local data (data-attributes are always strings) similar to what the jquery would've done.


libgd-dev cannot be compiled on newer macs

Packagefile
.package(url: "https://github.com/twostraws/SwiftGD.git", from: "2.5.0")
.product(name: "SwiftGD", package: "SwiftGD")
Dockerfile
RUN export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true
&& apt-get -q update
&& apt-get -q dist-upgrade -y
&& apt-get -q install -y
ca-certificates
tzdata
libgd-dev
&& rm -r /var/lib/apt/lists/*
I can see in the logs that libgd-dev is properly installed but building doesn't work:
#0 8.035 Building for production...
#0 9.030 remark: Incremental compilation has been disabled: it is not compatible with whole module optimizationremark: Incremental compilation has been disabled: it is not compatible with whole module optimizationremark: Incremental compilation has been disabled: it is not compatible with whole module optimizationremark: Incremental compilation has been disabled: it is not compatible with whole module optimizationremark: Incremental compilation has been disabled: it is not compatible with whole module optimization[1/918] Compiling SwiftSgml Attribute.swift
#0 14.19 remark: Incremental compilation has been disabled: it is not compatible with whole module optimization[3/920] Compiling SwiftGD Color.swift
#0 14.86 :1:10: note: in file included from :1:
#0 14.86 #include "gd.h"
#0 14.86          ^
#0 14.86 /build/.build/checkouts/SwiftGD/Sources/gd/gd.h:1:10: error: 'gd.h' file not found with  include; use "quotes" instead
#0 14.86 #include <gd.h>
#0 14.86          ^
#0 14.86 :1:10: note: in file included from :1:
#0 14.86 #include "gd.h"
#0 14.86          ^
#0 14.86 /build/.build/checkouts/SwiftGD/Sources/gd/gd.h:1:10: note: in file included from /build/.build/checkouts/SwiftGD/Sources/gd/gd.h:1:
#0 14.86 #include <gd.h>
#0 14.86          ^
etc.

.package(url: "https://github.com/twostraws/SwiftGD.git", branch: "main"),
use main branch worked for me


Some automata seem to spawn satan

During working on perfomance-testing infrastructure, I noticed that few automata (that I have personally chosen) seems to spawn satan when run with unary-operations.cc binary.
The issue: the program/library consumes excessive amount of working memory (more than 10GB).
Possible cause: The issue seem to be in complement()
Offending input automata
https://github.com/VeriFIT/mata/blob/devel/tests-performance/automata/b-hand-made-easy/aut1.mata
https://github.com/VeriFIT/mata/blob/devel/tests-performance/automata/b-param-easy/aut0.mata
https://github.com/VeriFIT/mata/blob/devel/tests-performance/automata/b-param-easy/aut1.mata
https://github.com/VeriFIT/mata/blob/devel/tests-performance/automata/b-param-hardest/aut1.mata
https://github.com/VeriFIT/mata/blob/devel/tests-performance/automata/b-param-hardest/aut2.mata
Offending binary: https://github.com/VeriFIT/mata/blob/devel/tests-performance/src/unary-operations.cc
Reproducing:

Build the unary-operations.cc
Run ./build/tests-integration/unary-operations ./tests-integration/automata/b-hand-made-easy/aut1.mata (using newest infstracture)or ./tests-performance/bin/unary-operations ./tests-performance/automata/b-hand-made-easy/aut1.mata`

This might be interesting for @vhavlena, who is optimizing complement among others.


Missing various options in Dialog Management

Describe the bug
Unable to find all the options under Dialog Management
Version
Version:  2.1.1
Electron: 8.2.4
Chrome: 80.0.3987.165
NodeJS: 12.13.0
V8: 8.0.426.27-electron.0
Browser
[ ] Chrome
OS
[ ] Windows
To Reproduce
Steps to reproduce the behavior:

Open Bot Framework Composer
Open any created bot
Click on any Dialog, for ex : Greetings
Click on the (+) node
Hover over Dialog Management

Missing options under Dialog Management :
Continue Conversation, Continue Conversation Later, Get Conversation Reference, Go to action

Thanks @abhishekkumar717, we are investigating.

@ramfattah Hello, could we please have any update on this.

Thanks @abhishekkumar717,
Using Composer mixed with PVA, I was able repro this issue. If using standalone Composer, this issue is not reproducible.
Sharing screenshots.
PVA + Composer (reproducible, Dialog management contains less options)

Only Composer (not reproducible):

@abhishekkumar717 I'm not sure if this is by design or a bug, I will discuss with the engineering team and report back.
Thanks.

@ramfattah Thanks for your response, For me it is not coming for both of the approaches neither on a PVA integrated BFC BOT nor on a BOT created on BFC. However, I am more interested in the PVA integrated BFC BOT as I am working currently on the same. If this is something which is as per design, then could you pls let me know how do I navigate back to an activity within a same dialogue without using Send to Action. Earlier  I had created   https://github.com/microsoft/BotFramework-Composer/issues/9452

@ramfattah Hello, could we please have an update on this.

Hi @abhishekkumar717,
The engineering team are on holiday and returning tomorrow. Thank you for your patience.

@ramfattah Any update on this ?

Hi @abhishekkumar717,
I attempted to exchange the scheme between PVA bot and fresh composer non PVA bot.
It appears I was only able to get the Go To Action came back under Dialog management menu.
Sharing the steps I took:

Open PVA bot project directory
Navigate and open schemas/app.uischema
Paste the following in app.uischema:"Microsoft.GotoAction": {
  "menu": {
    "label": "Go to action",
    "submenu": [
      "Dialog management"
    ]
  }
  },
  "Microsoft.ContinueConversation": {
    "menu": {
      "label": "Continue conversation",
      "submenu": [
        "Dialog management"
      ]
    }
  },
  "Microsoft.ContinueConversationLater": {
    "menu": {
      "label": "Continue conversation later",
      "submenu": [
        "Dialog management"
      ]
    }
  },
  "Microsoft.ContinueConversation": {
    "menu": {
      "label": "Continue conversation",
      "submenu": [
        "Dialog management"
      ]
    }
  },

Start Composer 2.1.2 application
Open the PVA bot in Composer
Only the Go to action came back

I will discuss with the engineers today about my findings and report back.
Thanks for your patience, @abhishekkumar717.

Closing as this by design.


Getting Niddler working in Flutter app with IntelliJ Plugin

Hi,
I tried to integrate niddler_dart into a Flutter project I'm working on in IntelliJ (Community Edition).
I'm on Flutter Channel master, 1.22.0-10.0.pre.340 and running an App in an Android eumlator.
Probably because I'm on the Flutter master, I had to make a small change the 0.9.1 sources due to an error that the abort() method from HttpClientRequest wasn't implemented in class _NiddlerHttpClientRequest. I just added an empty stub to test by adding the following lines in platform.io.niddler_dart.dart, line 491.

@override
void abort([Object exception, StackTrace stackTrace]) => () {};

I then copied from your example and added the code to my main() method.

await Chain.capture(() async {
final niddlerBuilder = NiddlerBuilder()
..bundleId = ''
..serverInfo = NiddlerServerInfo(
'', '', icon: 'dart')
..includeStackTrace = true
..port = 0; //0 to have niddler pick it's own port. Automatic discovery will make this visible
final niddler = niddlerBuilder.build()..addBlacklist(RegExp('.*/get'));
await niddler.start(waitForDebugger: true);
niddler.install();
});

I can successfully select and connect the application in the Niddler plugin in IntelliJ when it is started in the Android emulator (Pixel 2 Android 2928).
I then did some actions in the app that perform a http POST request and a response came back from the server. Unfortunately I don't see anything in the Niddler plugin ('Nothing to show').
I would appreciate your help if you have an idea where I went wrong.
Thanks in advance.

Now that Flutter 1.22 has landed we have the same problem on stable

Should be fixed in 0.10.0


Deprecated constants.

Logger: homeassistant.const
Source: helpers/deprecation.py:206
First occurred: 9:48:37 AM (7 occurrences)
Last logged: 9:48:37 AM
ENERGY_KILO_WATT_HOUR was used from openevse, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfEnergy.KILO_WATT_HOUR instead, please report it to the author of the 'openevse' custom integration
LENGTH_METERS was used from openevse, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfLength.METERS instead, please report it to the author of the 'openevse' custom integration
POWER_WATT was used from openevse, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfPower.WATT instead, please report it to the author of the 'openevse' custom integration
TEMP_CELSIUS was used from openevse, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.CELSIUS instead, please report it to the author of the 'openevse' custom integration
TIME_MINUTES was used from openevse, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTime.MINUTES instead, please report it to the author of the 'openevse' custom integration

These were updated quite a few releases ago.
What version of HA and OpenEVSE are you using?

That's interesting, HACS was not showing an update, but I was in fact several versions out of date, removing and readding the repository seems to have solved it.

HACS weirdness.


RFC: Add a HOC that prints the props of a component.

This is helpful when debugging or looking at props in a presentational
component.

Codecov Report

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

@@           Coverage Diff           @@
##           master     #636   +/-   ##
=======================================
  Coverage   88.28%   88.28%
=======================================
  Files          49       49
  Lines         367      367
=======================================
  Hits          324      324
  Misses         43       43

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 7918e23...bf3c684. Read the comment docs.

Thanks, BTW it was already discussed in issues. There is no need in creating something what can be easily achieved in few symbols using current api
i.e. withProps(console.log)

awesome! I wasn't aware of it, but yes that accomplishes what I need...

It’s described in the README
Gerb Stralko<EMAIL_ADDRESS>2018年3月29日 週四，上午10:56寫道：

awesome! I wasn't aware of it, but yes that accomplishes what I need...
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/acdlite/recompose/pull/636#issuecomment-377104824,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABng1r5et2T6p6qwqm46rC39GcHG_J6mks5tjE1fgaJpZM4S_RIH
.


Remove HTTP error interceptor, use promise transform instead

Fixes #151
To reproduce the problematic behavior:

Clone the Stormpath Angular + Express Fullstack Sample Project project

npm install

node server/server.js

Login, go to the profile page, delete your first name, then try to save the form.

Observe that you get a generic "Server Error" error, but you should be getting a specific error about givenName being required

To review this fix:

Clone this repo, switch to this branch

Run grunt dist

Copy these files into the client/vendor folder of the example project that you already cloned:

dist/stormpath-sdk-angularjs.js
dist/stormpath-sdk-angularjs.tpls.js

Repeat step 5 from the earlier reproduction situation, and you should now see the more specific error

Assert that all other flows (login, registration, email verification, password reset) are properly showing error messages when an error is encountered, e.g. bad password, invalid verification link.

I've verified that this works as advertised 👍


CrossOrigin attribute not added to scripts loaded by PageLoader

Bug report
Describe the bug
When I add the crossOrigin prop to my Head and NextScript components, I expect all scripts to have a crossOrigin attribute on them. This appears to be the case, except for scripts created by PageLoader.
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:

Add a crossOrigin prop to Head and NextScript
View attributes of any script created by the PageLoader class.

Expected behavior
A crossOrigin attribute is present on scripts created by PageLoader.
Additional context
This was solved in the original crossOrigin PR, but not in the one that was merged.

It looks like PageLoader also does not add the nonce attribute, which I believe should be happening, as well.

I added crossOrigin to everything that had a nonce so that would explain why I missed it.  I don't know what PageLoader is or how to test.  If you have a reproducible case already handy can you push a fix?

I'll fix it soon, pageloader is what next/router uses to load pages when routing using next/link for example.
What happens is:
<Link href="/about">

Will onClick call
Router.push('/about')

That in turn (in reality it does more than this, but for example purposes)
PageLoader.loadPage('/about')

What loadPage does is inject a script tag:
<script src="/_next/static/<buildid>/pages/about.js" async>

about.js holds the page bundle wrapped in a function:
__NEXT_REGISTER_PAGE('/about', () => {
  // the compiled code from pages/about.js (holding Component exports) would be on this line

  return {
    comp: module.exports
  }
})

So PageLoader will wait for that function to be called and then resolve the loadPage Promise with the component
Hopefully this explains it a bit. @jclem is right in that it doesn't currently add nonce/crossOrigin, which should be fixed

@dav-is would you be able to have a look into this? It'd be a huge help. It should be relatively easy to fix by reading the crossOrigin attribute from the script tags 🤔

With this change a crossOrigin config option sets the crossOrigin attribute on the proper tags.

@timneukens /_next/static/chunks/0 is the first one that shows up

It's coming from webpack's jsonp loader and can be changed with a config option and can be set here.
I'll add it to the PR.