conv2d_transpose param tensor shapes differ from conv2d shapes

System information

Have I written custom code: yes
OS Platform and Distribution: Ubuntu 16.04
Mobile device: Not tested
TensorFlow installed from: binary
TensorFlow version: 1.13 and 1.12
Python version: 3.7.3 and 3.6.8
Bazel version:
GCC/Compiler version:
CUDA/cuDNN version: 10.0/7.3.1
GPU model and memory: Nvidia, driver 418.56, 11178MiB

Describe the current behavior
The kernel tensor for conv2d and conv2d_transpose layers (in contrib.layers) behave differently. The number of outputs determines the number of featuremaps/filters and is at the last position (X,X,X,here) while for conv2d_transpose layers it is (X,X,here,X) as the following code example will show. Is this behaviour wanted? Because when building in model where the input_dimensions and out_put_dimensions differ I need to manually transpose the last 2 dimensions in Order for the model to be trainable.
Describe the expected behavior
The expected Behaviour would be that the output number for conv2d_layers is at the same position as for usual conv2d_layers.
This problem is independent of the data_format and saving/loading procedures.
Code to reproduce the issue
This is a small code snippet for reproduction. Please set the breakpoint at the last print(...) and evaluate the shapes-dictionary. You will see that conv2d layer 'conv1' has the kernel shape
(3, 3, 1, 32), indicating that 1 is the depth/number of channels for the input.
32 is the number of filters/outputs/feature maps.
If you look at the conv2d_transposed layer 'up1' the number of outputs is set to 16 but the kernel shape is (3,3,16,32) indicating that the input dimensions are 16 even though they are 32 from the conv2d layer 'conv3' preceding it. I believe that this shape should instead be (3,3,32,16) because the number of outputs for the conv2d_transposed layer is set to 16.
import tensorflow as tf
import tensorflow.contrib.layers as layers

from tensorflow.examples.tutorials.mnist import input_data
mnist = input_data.read_data_sets("/tmp/data/", one_hot=True)
train_X = mnist.train.images
train_Y = mnist.train.labels
test_X = mnist.test.images

def shapes_of_built_model(layer_names):
    layer_names_and_shapes = {}
    for name in layer_names:
        layer_names_and_shapes[name] = tf.get_collection(tf.GraphKeys.GLOBAL_VARIABLES, scope=name)[0].shape
    return layer_names_and_shapes

def model(inputs_):
    # Encoder
    conv1 = layers.conv2d(inputs_, num_outputs=32, kernel_size=(3, 3), scope='conv1')
    conv_str2 = layers.conv2d(conv1, num_outputs=32, kernel_size=(3, 3), stride=2, scope='conv_str2')
    conv2 = layers.conv2d(conv_str2, num_outputs=32, kernel_size=(3, 3), scope='conv2')
    encoded = layers.conv2d(conv2, num_outputs=32, kernel_size=(3, 3), stride=2, scope='encoding')

    conv3 = layers.conv2d(encoded, num_outputs=32, kernel_size=(3, 3), scope='conv3')
    upsample1 = layers.conv2d_transpose(conv3, num_outputs=16, kernel_size=3, stride=2, scope='up1')
    upsample2 = layers.conv2d_transpose(upsample1, num_outputs=32, kernel_size=3,  stride=2, scope='up2')
    logits = layers.conv2d(upsample2, num_outputs=1, kernel_size=(3, 3),  scope='logits', padding='SAME')
    decoded = tf.sigmoid(logits, name='reconstruct')
    return decoded

with tf.name_scope('Input'):
    x = tf.placeholder(tf.float32, shape=[None, 28, 28, 1], name='X')
    y = tf.placeholder(tf.float32, shape=[None, 28, 28, 1], name='Y')

output_logits = model(x)

with tf.variable_scope('Train'):
    with tf.variable_scope('Loss'):
        loss = tf.reduce_mean(tf.nn.softmax_cross_entropy_with_logits(labels=y, logits=output_logits), name='loss')
    tf.summary.scalar('loss', loss)
    with tf.variable_scope('Optimizer'):
        optimizer = tf.train.AdamOptimizer(learning_rate=0.05, name='Adam-op')
        optimizer = optimizer.minimize(loss)
    with tf.variable_scope('Accuracy'):
        correct_prediction = tf.equal(tf.argmax(output_logits, 1), tf.argmax(y, 1), name='correct_pred')
        accuracy = tf.reduce_mean(tf.cast(correct_prediction, tf.float32), name='accuracy')
    tf.summary.scalar('accuracy', accuracy)
    with tf.variable_scope('Prediction'):
        cls_prediction = tf.argmax(output_logits, axis=1, name='predictions')

init = tf.global_variables_initializer()
merged = tf.summary.merge_all()
sess = tf.InteractiveSession()
sess.run(init)

names = ['conv1', 'conv_str2', 'conv2', 'encoding', 'conv3', 'up1', 'up2']
shapes = shapes_of_built_model(names)
print('set breakpoint here')

@kassemyu I executed the code and got the following error,
ValueError: Variable conv1/weights already exists, disallowed. Did you mean to set reuse=True or reuse=tf.AUTO_REUSE in VarScope? Originally defined at: Thanks!

Hey @gadagashwini thank you for the quick reply. I do not encounter this error and did not set anything additionally. When I run the supplied code-snippet in pycharm's debugging mode I get to evaluate the shapes-dictionary as described.

@kassemyu Will it be possible to execute the code in Colab and attache it here? Thanks!

Hi @gadagashwini, I will give it a try and keep you informed.

I just tried it in Colab (new Python 3 notebook) and it worked with the following snippet:
The shapes that are outputted are as described in the original description of the problem.
After the first run Colab seems to cache in the graph because if a second run is attempted I get the same error message you mentioned before 'ValueError: Variable conv1/weights already exists...'
But for the first run in a new python 3 notebook it should all be fine.
Thanks!
import tensorflow as tf
import tensorflow.contrib.layers as layers

from tensorflow.examples.tutorials.mnist import input_data
mnist = input_data.read_data_sets("/tmp/data/", one_hot=True)
train_X = mnist.train.images
train_Y = mnist.train.labels
test_X = mnist.test.images

def shapes_of_built_model(layer_names):
    layer_names_and_shapes = {}
    for name in layer_names:
        layer_names_and_shapes[name] = tf.get_collection(tf.GraphKeys.GLOBAL_VARIABLES, scope=name)[0].shape
    return layer_names_and_shapes

def model(inputs_):
    # Encoder
    conv1 = layers.conv2d(inputs_, num_outputs=32, kernel_size=(3, 3), scope='conv1')
    conv_str2 = layers.conv2d(conv1, num_outputs=32, kernel_size=(3, 3), stride=2, scope='conv_str2')
    conv2 = layers.conv2d(conv_str2, num_outputs=32, kernel_size=(3, 3), scope='conv2')
    encoded = layers.conv2d(conv2, num_outputs=32, kernel_size=(3, 3), stride=2, scope='encoding')

    conv3 = layers.conv2d(encoded, num_outputs=32, kernel_size=(3, 3), scope='conv3')
    upsample1 = layers.conv2d_transpose(conv3, num_outputs=16, kernel_size=3, stride=2, scope='up1')
    upsample2 = layers.conv2d_transpose(upsample1, num_outputs=32, kernel_size=3,  stride=2, scope='up2')
    logits = layers.conv2d(upsample2, num_outputs=1, kernel_size=(3, 3),  scope='logits', padding='SAME')
    decoded = tf.sigmoid(logits, name='reconstruct')
    return decoded

with tf.name_scope('Input'):
    x = tf.placeholder(tf.float32, shape=[None, 28, 28, 1], name='X')
    y = tf.placeholder(tf.float32, shape=[None, 28, 28, 1], name='Y')

output_logits = model(x)

with tf.variable_scope('Train'):
    with tf.variable_scope('Loss'):
        loss = tf.reduce_mean(tf.nn.softmax_cross_entropy_with_logits(labels=y, logits=output_logits), name='loss')
    tf.summary.scalar('loss', loss)
    with tf.variable_scope('Optimizer'):
        optimizer = tf.train.AdamOptimizer(learning_rate=0.05, name='Adam-op')
        optimizer = optimizer.minimize(loss)
    with tf.variable_scope('Accuracy'):
        correct_prediction = tf.equal(tf.argmax(output_logits, 1), tf.argmax(y, 1), name='correct_pred')
        accuracy = tf.reduce_mean(tf.cast(correct_prediction, tf.float32), name='accuracy')
    tf.summary.scalar('accuracy', accuracy)
    with tf.variable_scope('Prediction'):
        cls_prediction = tf.argmax(output_logits, axis=1, name='predictions')

init = tf.global_variables_initializer()
merged = tf.summary.merge_all()
sess = tf.InteractiveSession()
sess.run(init)

names = ['conv1', 'conv_str2', 'conv2', 'encoding', 'conv3', 'up1', 'up2']
shapes = shapes_of_built_model(names)
print('conv1 shape: ' + str(shapes['conv1']))
print('up1 shape: ' + str(shapes['up1']))
print('up2 shape: ' + str(shapes['up2']))

@kassemyu Yes you are right. For first, I could able to reproduce the issue and second run i got the error. Please see the gist here. Thanks!

Hey, thanks for the quick reply.
Glad it is now reproducible. @ymodak, do you have any idea why the shapes of transposed layers behave like this?
Thanks in advance.

Apologies for the delay in response. contrib module is deprecated. Can you please try the example  using tf.keras.layers with latest tf-nightly build? Thanks!

Hey, thanks for the input!
I will give it a try and tell you about the results.

Hey, I read the documentation of various layers and it seems to be intended for conv_2d layers and conv2d_transpose layers to have different kernels (i.e. the last dimensions being swapped, also for keras layers)
Is there a particular reason for it?

Hey @tanzhenyu ,
could you please give me your opinion on the so far described problem?
Thank you very much in advance and thanks @ymodak for adding an expert.
I am very grateful for this opportunity.

I also ran into this issue while writing a custom Wrapper object that takes both Conv2D and Conv2DTranspose. I checked the tensorflow source code and was surprised to see it always assumes the output depth is at self.kernel[-1]. For example, the kernel initializers will compute fanout variable to be [-1], when it should be [-2] for Conv2DTranspose. This isn't a problem for Glorot, since it just averages fanout/fanin, but for others, it will be initializing incorrectly.
I don't know any other places in the main source code that this will be incorrect, personally. Though, I did see the Wrapper objects (e.g. WeightNormalization layer), also make this assumption.

Contrib layers have been deprecated and removed from 2.x. Please take a look at the builtin Conv2D layers: https://www.tensorflow.org/api_docs/python/tf/keras/layers/Conv2D

@karmel The main issue is that the code is assuming output depth at self.kernel[-1] when it is actually [-2] for Conv2DTranspose. So fanout kernel initializer is being computed incorrectly for Conv2DTranspose specifically.
I was just mentioning that the Wrapper objects also have the bug, but since those are deprecated, no need to worry about that. But the bug persists in the builtin Conv2DTranspose layer (and maybe other parts of the code, as I said before).

@kassemyu  Closing this issue as of now since it was the intended behavior. Please feel free to re-open the issue if you have any concern.Thanks!


Switch between month counts

Hi, I was wondering if it is possible to switch between month counts after a calendar has been initialized.
I'd like to responsively show 1-3 calendars on mobile, tablet, desktop. I could initialize them differently based on the width of the window on load, but was hoping to do it as the window is resized. Is this something that is possible within the current project? Or would it be best to just delete the existing calendar and reinitialize?
var calendar = new Kalendae({
months: 3,
mode:'range',
});
calendar.settings.months = 1;
calendar.draw();

In theory changing the settings.months value and redrawing should work, but I've never tried it so I don't know for certain.  There's no other specific provision for that.
You could have the calendar draw the maximum months and then use css media queries to hide the other months. Again tho, I've never tried it, so I don't know how well it will work.

The draw() function doesn't redraw the calendar. And the arrows are owned by the edge months on the range of all months rendered, the media query becomes very clumsy.


create a universal in-n-out client

[x] Create a unified client for reading/writing from all the clients, starting with PG and GoogleCalendar
[x] Refactor Google Calendar codebase

Note: restricted this to writing only for now


Request Aborted when parsing

Everything get called but at last there is an error "request aborted":
var multiparty = require('multiparty');
var http = require('http');
var util = require('util');

http.createServer(function(req, res) {

  if (req.url === '/upload' && req.method === 'POST') {
    // parse a file upload
    var count = 0;
    var form = new multiparty.Form();

    console.log('This is called 1!');

    // Errors may be emitted
    // Note that if you are listening to 'part' events, the same error may be
    // emitted from the `form` and the `part`.
    form.on('error', function(err) {
      console.log('Error parsing form: ' + err.stack);
    });

    // form.on('file', function(err, files) {
    //   console.log('files: %@', files);
    //   count++;
    // });

    // Parts are emitted when parsing the form
    form.on('part', function(part) {
      // You *must* act on the part by reading it
      // NOTE: if you want to ignore it, just call "part.resume()"

      console.log('This is called 2!');

      if (!part.filename) {
        // filename is not defined when this is a field and not a file
        console.log('got field named ' + part.name);
        // ignore field's content
        part.resume();
      }

      if (part.filename) {
        // filename is defined when this is a file
        count++;
        console.log('got file named ' + part.name);
        // ignore file's content here
        console.log('Byte Offset: ' + part.byteOffset);
        part.resume();
      }

      part.on('error', function(err) {
        console.log('error here!');
      });
    });

    // Close emitted after form parsed
    form.on('close', function() {
      console.log('Upload completed!');
      // res.setHeader('text/plain');
      // res.end('Received ' + count + ' files');
      console.log('Received ' + count + ' files');
    });

    form.parse(req);
    // form.parse(req, function(err, fields, files) {
    //   res.writeHead(200, {'content-type': 'text/plain'});
    //   res.write('received upload:\n\n');
    //   res.end(util.inspect({fields: fields, files: files}));
    //   // console.log('fields: %@', fields);
    //   // console.log('files: %@', files);
    // });
  }

}).listen(8080);

In my console:
(Debug msgs all printed)
Error parsing form: Error: Request aborted
    at IncomingMessage.onReqAborted (/Users/Melinda/Desktop/test/node_modules/multiparty/index.js:183:17)
    at emitNone (events.js:86:13)
    at IncomingMessage.emit (events.js:185:7)
    at abortIncoming (_http_server.js:280:11)
    at Socket.socketOnEnd (_http_server.js:431:7)
    at emitNone (events.js:91:20)
    at Socket.emit (events.js:185:7)
    at endReadableNT (_stream_readable.js:975:12)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickCallback (internal/process/next_tick.js:98:9)

I was told not to use any callback in form.parse() in a previous post. But it seems like there is an error when parsing?

That error has nothing to do with not using a callback, it means your request was aborted by the client. That is an error, and of course the client can abort at any time, even after you read parts of the request.


Updated webdriverio

This version of webdriver is currently supported and installed by our SemVer string.
^4.0.4 will resolve and install the same versions as ^4.2.0

@MarshallOfSound oh yea. Sorry about that.


document

defform for

report
report->text
print-text
label

and explain how to build the reporting-machinery.

順便拿掉 README 的圖片跟更新 example 的圖片

done by 3d630291006f598f08f6e85515abda9e7648dda9


⚠ Bofrost.fr has degraded performance

In 8f50e67, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1046 ms

Resolved: Bofrost.fr performance has improved in e770a8d after 13 minutes.


libtracefs: 1.4.1 -> 1.4.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/libtracefs/versions.
meta.description for libtracefs is: "Linux kernel trace file system library"
meta.homepage for libtracefs is: "https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/"
meta.changelog for libtracefs is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.4.2 in filename of file in /nix/store/fyk0g6rccsy5svk1li99xwwm1xmscars-libtracefs-1.4.2

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)

3 package rebuild(s)

First fifty rebuilds by attrpath
kernelshark
libtracefs
trace-cmd

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/fyk0g6rccsy5svk1li99xwwm1xmscars-libtracefs-1.4.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A libtracefs https://github.com/r-ryantm/nixpkgs/archive/bf0ae516b00e35e50f5fecab420a877f9c68bead.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/fyk0g6rccsy5svk1li99xwwm1xmscars-libtracefs-1.4.2
ls -la /nix/store/fyk0g6rccsy5svk1li99xwwm1xmscars-libtracefs-1.4.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

3 packages built:

kernelshark
libtracefs
trace-cmd

Maintainer pings
cc @wentasah for testing.

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

3 packages built:

kernelshark
libtracefs
trace-cmd


Add setting for environment variables to send to Swift

Something like this @stevapple?

I think this could close #266 and I'll continue the remaining work based on #294


enhance CI E2E test

CI E2E test:

Full huggingface BF16 training accuracy
Full huggingface FP16 training accuracy
16 timm_models BF16 training accuracy
16 torchbench BF16 training accuracy

Nightly E2E test:

Full huggingface accuracy
Full torchbench BF16 training accuracy
Full timm_models FP16 training accuracy

Hi @mengfei25 @fengyuan14 there are a lot hf model accuracy failures caused by eager 2 run differ, please help to double check it.

Hi @mengfei25 @fengyuan14 there are a lot hf model accuracy failures caused by eager 2 run differ https://github.com/intel/torch-xpu-ops/actions/runs/9075104236/job/24935078688?pr=216, please help to double check it.

oneDNN patch missed

CI UT: 44 min
CI E2E: 1h 43 min


python310Packages.k-diffusion: 0.0.14 -> 0.0.16

Diff: https://github.com/crowsonkb/k-diffusion/compare/v0.0.14...v0.0.16
Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

2 packages marked as broken and skipped:

python311Packages.k-diffusion
python311Packages.k-diffusion.dist

4 packages built:

python310Packages.k-diffusion
python310Packages.k-diffusion.dist
tts
tts.dist


add OpenShift Hive 1.0.0 - upstream

Signed-off-by: Greg Sheremeta<EMAIL_ADDRESS>Thanks submitting your Operator. Please check below list before you create your Pull Request.

Flat operator directory structure is obsolete from 23-rd of October 2019, only nested directory structure will be accepted.

New Submissions

[x] Does your operator have nested directory structure?
[no] Have you selected the Project Community Operator Submissions in your PR on the right-hand menu bar?
I don't know what this means. I don't see a right-hand menu bar.
[x] Are you familiar with our contribution guidelines?
[x] Have you packaged and deployed your Operator for Operator Framework?

[x] Is your submission signed?

Your submission should not

[x] Modify more than one operator
[x] Modify an Operator you don't own
[x] Rename an operator - please remove and add with a different name instead
[x] Submit operators to both upstream-community-operators and community-operators at once
[x] Modify any files outside the above mentioned folders
[x] Contain more than one commit. Please squash your commits.

Operator Description must contain (in order)

[x] Description about the managed Application and where to find more information
[x] Features and capabilities of your Operator and how to use it
[x] Any manual steps about potential pre-requisites for using your Operator

Operator Metadata should contain

[x] Human readable name and 1-liner description about your Operator
[x] Valid category name1
[x] One of the pre-defined capability levels2
[no] Links to the maintainer, source code and documentation
I didn't put links. There is only one thing called 'OpenShift Hive'. If I need to add a link somewhere, let me know.
[x] Example templates for all Custom Resource Definitions intended to be used
the User Guide has them. Is that good enough?
https://github.com/openshift/hive/blob/master/docs/using-hive.md
[no] A quadratic logo
waiting on a logo from graphic design

--
1 If you feel your Operator does not fit any of the pre-defined categories, file a PR against this repo and explain your need
2 For more information see here

activating new tests

Hi @gregsheremeta, hive-package.yaml doesn't have a valid filename.

Ok thanks! What should it be? I'll post a fix asap

@gregsheremeta hive.package.yaml should work.

great. assuming that's the only change needed to merge ... pushing now

success!


_config.yml not included after clone from nbdev_template

Description
I'm following the steps in the tutorial and find that the Build lib step fails with the following error:
$ nbdev_build_lib
Traceback (most recent call last):
  File "/usr/local/anaconda3/bin/nbdev_build_lib", line 8, in <module>
    sys.exit(nbdev_build_lib())
  File "/usr/local/anaconda3/lib/python3.7/site-packages/fastscript/core.py", line 73, in _f
    func(**args.__dict__)
  File "/usr/local/anaconda3/lib/python3.7/site-packages/nbdev/cli.py", line 20, in nbdev_build_lib
    notebook2script(fname=fname)
  File "/usr/local/anaconda3/lib/python3.7/site-packages/nbdev/export.py", line 364, in notebook2script
    update_baseurl()
  File "/usr/local/anaconda3/lib/python3.7/site-packages/nbdev/export.py", line 351, in update_baseurl
    with open(fname, 'r') as f: code = f.read()
FileNotFoundError: [Errno 2] No such file or directory: '/Users/lewtun/git/ds-lectures/docs/_config.yml'

For some reason, the _config.yml file is not generated when using nbdev_template - see here for an example of the contents of docs/ after creating the repo.
Steps to reproduce the problem

Create a repo using nbdev_template
Clone the repo
Configure settings.ini
Run nbdev_install_git_hooks (this works)
Run nbdev_build_lib

Steps to fix the problem
Include _config.yml in the repo template. Adding this locally solved the problem for me.

+1 with the same issue. I created my nbdev repo yesterday as well.

I also experienced the same issue.

The new version of nbdev (cloned from Github) seems to fix this, probably it is not on pypi yet.

Let me check when the last release was done, but I'll do one today if the fix is not on PyPi. It is on master, so closing this issue.

@sgugger - I hit basically the same issue today on a repo created by nbdev_new.  Maybe that template didn't get updated?


504 response can't be deserialized to ErrorResponse

Sometimes iRacing returns 504 Gateway Time-out with an HTML response
I have added spaces after < to prevent it from being rendered.
< !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
< HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
< TITLE>ERROR: The request could not be satisfied< /TITLE>
< /HEAD>< BODY>
< H1>504 ERROR< /H1>
< H2>The request could not be satisfied.< /H2>
< HR noshade size="1px">
CloudFront attempted to establish a connection with the origin, but either the attempt failed or the origin closed the connection.
We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner.
< BR clear="all">
If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation.
< BR clear="all">
< HR noshade size="1px">
< PRE>
Generated by cloudfront (CloudFront)
Request ID: eSHdZe3nj2sm7o-Jg8cdkzntk-xMUR8lISRFnLBAI12OTMPaM4cnTg==
< /PRE>
< ADDRESS>
< /ADDRESS>
< /BODY>< /HTML>

When HandleUnsuccessfulResponse tries to parse this, the deserialization to ErrorResponse fails with this exception:
{"'<' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0."}
So maybe add an extra check like this or with a custom exception according to the existing exception pattern:
if (httpResponse.StatusCode == HttpStatusCode.GatewayTimeout)
{
	errorDescription = "504 Gateway Timeout: The request could not be satisfied.";
	exception = new HttpRequestException(errorDescription);
}

I'm seeing this right now, but am able to authenticate and get data from an application I have running in Python where I just encode the password and hit the /auth endpoint to login.
Using the same credentials and the same network gateway works in Python but fails in C# with aydsko-iracingdata.  My project is using the NuGet v2403.1.0.
I have tried different account credentials as well as a different gateway and again it always works with the Python system so I don't think its iRacing blacklisting or rate-limiting my IP or account.

I am getting 503 responses now too, so they will also need custom handling.
< !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
< HTML>< HEAD>< META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
< TITLE>ERROR: The request could not be satisfied< /TITLE>
< /HEAD>< BODY>
< H1>503 Service Unavailable ERROR< /H1>
< H2>The request could not be satisfied.< /H2>
< HR noshade size="1px">
We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner.
< BR clear="all">
If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation.
< BR clear="all">
< HR noshade size="1px">
< PRE>
Generated by cloudfront (CloudFront) HTTP3 Server
Request ID: thZz1p8cMMTfh2mZuubpXbNQui57HEL6xgRTwu8OaeoyhmqD_TLrpw==
< /PRE>
< ADDRESS>
< /ADDRESS>
< /BODY>< /HTML>

I can't explain why the Python library would succeed where mine wouldn't, @Robertsmania. If you've got more logging or troubleshooting information perhaps open a new issue so we can investigate.

No worries! Cheers for the clarification, @Robertsmania.


syntax error: unexpected end of json input

All it says, I've also tried zipping it like wiki suggested, that doesn't work either

Nevermind, I just saved again and tried that one and it worked, idk what happened the first time

Strange, could have been that the saving/loading process was interrupted somehow. Glad it worked out in the end!


float INA226::getCurrent() does not handle negative values properly

@FrankTmmrmn
See begin of discussion in Pull Request #6
Essence of the problem

in my application - NiMh battery analyzer the current is positive when a load is connected but i don't get a negative number when I am charging.

update: development branch created

@FrankTmmrmn

Pushed a fix to the development branch. Can you please verify if the values are shown correctly in your application?
added a line with units to INA226_demo_2.ino to make them explicit in the Serial Output.
commented the "ID lines in setup()" so the output of Serial Plotter is improved. See below.
note the POWER and POWER2 line are pretty close (but that is only a positive current test).
BusVoltage changed between ~5.0 V and ~0.5V and all reacted as should.

Notice that the delta has some relative larger bumps
The cause is that POWER uses less bits than the POWER2 calculation.
For small values this gives a relative larger DELTA.
Might just need some more averaging...

@FrankTmmrmn
Can you verify if the develop branch works?

Hi Rob
I have compiled and loaded the code INA226_demo_2
here is the output of the serial monitor
POWER2 = busVoltage x current
BUS CURRENT POWER POWER2 DELTA
26.692 761.300 659.20 20321.00 19661.80
26.681 760.000 684.20 20277.75 19593.55
26.674 762.500 676.70 20338.74 19662.04
26.695 760.000 626.70 20288.20 19661.50
26.660 762.500 569.20 20328.25 19759.05
26.656 760.000 599.20 20258.75 19659.55
26.651 761.300 631.70 20289.60 19657.90
26.647 758.800 594.20 20220.12 19625.92
26.644 760.000 589.20 20249.25 19660.05
26.666 760.000 606.70 20266.35 19659.65
26.747<PHONE_NUMBER>.30 15280.85 13105.55
switch to charging
27.066 6494.900 1590.00 175792.57 174202.57
27.102 6496.100 1557.50 176060.54 174503.04
27.087 6493.600 1625.00 175895.39 174270.39
27.090 6494.900 1590.00 175946.84 174356.84
27.096 6493.600 1625.00 175952.20 174327.20
27.125 6496.100 1560.00 176206.71 174646.71
27.102 6493.600 1625.00 175992.79 174367.79
kind regards
Op zo 8 aug. 2021 om 13:00 schreef Rob Tillaart @.***>:

@FrankTmmrmn https://github.com/FrankTmmrmn
Can you verify if the develop branch works?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/RobTillaart/INA226/issues/7#issuecomment-894779762,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVDRHO6JIUM2JR4IZZ7IZ4TT3ZPTZANCNFSM5BXDBFZA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.

--
Kind regards
Frank Temmerman
e: @.***
m: +32 (0)496 161 169
Skype: frank_temmerman
http://www.eftico.com

mmm does not look like solved.

Are you sure you have downloaded the develop branch?
https://github.com/RobTillaart/INA226/tree/develop

I notice the header of the INA226_demo_2.ino sketch looks not updated as I added mW and mA etc.
This could indicate you

Do you have multimeter values for current, to see what the actual values are?
That would allow me to do some reverse reasoning that might help finding the cause.

Do you have a sketch of your hardware setup, so I might be able to recreate it (when time permits)

Rob
cpp has the contents of the header file
frank
Op ma 9 aug. 2021 om 12:48 schreef Rob Tillaart @.***>:

mmm does not look like solved.

Are you sure you have downloaded the develop branch?
https://github.com/RobTillaart/INA226/tree/develop

I notice the header of the INA226_demo_2.ino sketch looks not updated
as I added mW and mA etc.
This could indicate you

Do you have multimeter values for current, to see what the actual
values are?
That would allow me to do some reverse reasoning that might help
finding the cause.
2.
Do you have a sketch of your hardware setup, so I might be able to
recreate it (when time permits)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/RobTillaart/INA226/issues/7#issuecomment-895124252,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVDRHO3HJCLMTOT4W6XNGFDT36W6PANCNFSM5BXDBFZA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.

--
Kind regards
Frank Temmerman
e: @.***
m: +32 (0)496 161 169
Skype: frank_temmerman
http://www.eftico.com

sorry my mistake its only in the comment section that you mention the .h
file twice
seems to be working fine now Rob.
this is the output of the serial monitor
startup in charging mode
POWER2 = busVoltage x current
V mA mW mW mW
BUS CURRENT POWER POWER2 DELTA
27.081 -493.700 270.30 -13370.01 -13640.31
27.081 -493.700 270.30 -13370.01 -13640.31
27.081 -493.700 272.80 -13370.01 -13642.81
27.081 -493.700 275.30 -13370.01 -13645.31
27.061 -432.500 5151.40 -11703.99 -16855.39
switch to load 1
26.712<PHONE_NUMBER>.80 15226.12 13103.33
26.710<PHONE_NUMBER>.30 15224.70 13109.40
26.706<PHONE_NUMBER>.80 15222.56 13109.76
26.705<PHONE_NUMBER>.30 15221.85 13106.55
26.702<PHONE_NUMBER>.30 15220.42 13110.12
switch to load 2
26.342 751.300 144.20 19791.12 19646.92
26.341 751.300 139.20 19790.18 19650.98
26.341 751.300 139.20 19790.18 19650.98
26.341 751.300 129.20 19790.18 19660.98
26.341 751.300 131.70 19790.18 19658.48
26.341 751.300 139.20 19790.18 19650.98
switch to load 3
26.082 1113.800 2845.60 29050.69 26205.09
26.082 1115.000 2858.10 29081.99 26223.89
26.082 1113.800 2850.60 29050.69 26200.09
26.082 1113.800 2843.10 29050.69 26207.59
26.081 1113.800 2840.60 29049.29 26208.69
26.081 1115.000 2853.10 29080.59 26227.50
switch to charging mode
26.870 -496.200 222.80 -13332.89 -13555.69
26.870 -496.200 232.80 -13332.89 -13565.69
26.870 -496.200 225.30 -13332.89 -13558.19
26.870 -496.200 225.30 -13332.89 -13558.19
26.870 -496.200 225.30 -13332.89 -13558.19
26.870 -496.200 237.80 -13332.89 -13570.69
Op ma 9 aug. 2021 om 15:13 schreef Frank Temmerman @.***>:

Rob
cpp has the contents of the header file
frank
Op ma 9 aug. 2021 om 12:48 schreef Rob Tillaart @.***

:

mmm does not look like solved.

Are you sure you have downloaded the develop branch?
https://github.com/RobTillaart/INA226/tree/develop

I notice the header of the INA226_demo_2.ino sketch looks not updated
as I added mW and mA etc.
This could indicate you

Do you have multimeter values for current, to see what the actual
values are?
That would allow me to do some reverse reasoning that might help
finding the cause.
2.
Do you have a sketch of your hardware setup, so I might be able to
recreate it (when time permits)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/RobTillaart/INA226/issues/7#issuecomment-895124252,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVDRHO3HJCLMTOT4W6XNGFDT36W6PANCNFSM5BXDBFZA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.

--
Kind regards
Frank Temmerman
e: @.***
m: +32 (0)496 161 169
Skype: frank_temmerman
http://www.eftico.com

--
Kind regards
Frank Temmerman
e: @.***
m: +32 (0)496 161 169
Skype: frank_temmerman
http://www.eftico.com

It looks quite a bit better as the current is charging / draining dependent.
I will merge it into the master as it is an improvement for sure.
In my tests the POWER and POWER2 were always (~) equal in size.
Any idea why it isn't in your test runs?

Merged into master.
If there are no more questions / problems you can close this issue.

No idea at the moment Rob
I didn't check any of the returned values with a calibrated meter, I will
have to dig deeper in the different commands and the setup of the INA in
general. First step was to get values out of the sensor and display them on
the LCD and store everything on a SD card.
I will look at it later, if i find something i will let you know
gr
Frank
Op ma 9 aug. 2021 om 16:35 schreef Rob Tillaart @.***>:

It looks quite a bit better as the current is charging / draining
dependent.
I will merge it into the master as it is an improvement for sure.
In my tests the POWER and POWER2 were always (~) equal in size.
Any idea why it isn't in your test runs?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/RobTillaart/INA226/issues/7#issuecomment-895277714,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVDRHO23HTWT7WT2YBR33QTT37RUXANCNFSM5BXDBFZA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.

--
Kind regards
Frank Temmerman
e: @.***
m: +32 (0)496 161 169
Skype: frank_temmerman
http://www.eftico.com

OK, thanks again for pointing out the bug.
For now I will close this issue and just create a new one if needed, or reopen this if it seems related.


I can't resolve "Failed: list indices must be integers or slices, not str". What should I do?

I want to solve this so that I can debug python code with debugpy.
Step in, step out, etc. are disabled when I place the cursor over them.
What should I do?
Operating environment

Windows 11 Home 24H2
use Scoop
Python 3.13.1

project_name.sublime-project

{
	"folders":
	[
		{
			"path": ".",
		}
	],
	"debugger_configurations":
	[
        {
            "name": "Python Debugger: Attach remote debug.",
            "type": "python",
            "request": "attach",
            "connect": {
                "host": "localhost",
                "port": 5678
            }
        },
        {
            "name" : "Python Debugger: Attach using process Id",
            "type" : "python",
            "request" : "attach",
            "selector": "source.python | text.html.python",
            "debugServer": 5678,
            "processId": "3108",
            "pathMappings": [{
                "localRoot": "${workspaceFolder}",
                "remoteRoot": "."
            }]
        },
        {
            "name": "Python Debugger: Current File",
            "type": "sublime",
            "platform": "windows",
            "request": "launch",
            "selector": "source.python | text.html.python",
            "program": "\\${file}",
            "console": "integratedTerminal",
        },
	],
}

I solved it myself. Thank you.

This is the resolved configuration file

You can use debugpy from Sublime Debugger on Windows11/ WSL2.

We are currently consulting with maintainers.

@takkii hello. Could you write what should I add to the project file to fix this error?
{
	"folders": [
		{
			"path": ".",
		},
	],
	"debugger_configurations": [
		{
			"name": "Python",
			"type": "python",
			"request": "launch",
			"program": "${project_path}/main.py"
		}
	],
}

hello. Could you write, please, what should I add to the project file to fix this error?

Thank you for your message.
I'm using SublimeText on Windows.
I don't have a UNIX environment right now so I'm using WSL.
"type": "python", → "type": "sublime",
"request": "launch"
For launch, it's better not to set type to python.
When you start, the following message will be displayed, but launch will work.

linked_packages is empty no packages will be symlinked for debugging purposes.

{
	"folders":
	[
		{
			"path": ".",
		}
	],
	"debugger_configurations":
	[
	{
            "name": "Python Debugger: Current File",
            "type": "sublime",
            //"platform": "windows",
            "request": "launch",
            "selector": "source.python | text.html.python",
            "program": "\\${file}",
            "console": "integratedTerminal",
	}
	],
},

This should be fixed just make sure you have the latest version from package control

@daveleroy

This should be fixed just make sure you have the latest version from package control

I confirm it. I've installed the stable 4188 and updated the Debugger:

Tools > Debugger > Open

It is even works work this project configuration that I did not change:
{
	"folders": [
		{
			"path": ".",
		},
	],
	"debugger_configurations": [
		{
			"name": "Python",
			"type": "python",
			"request": "launch",
			"program": "${project_path}/main.py"
		}
	],
}

I can set a breakpoint by RMB:

I run the debugging and it stops on breakpoints. Locals and Watch. It is great! Thank you very much!

@daveleroy can I use this debugger for CMake (C, C++) and Node.js (JavaScript)?

@8Observer8

You can choose not to explicitly specify debugpy or configure a config file, but I don't recommend it.


Web worker onmessage signature is weird.

TypeScript Version:  3.3.0-dev.201xxxxx

Search Terms:
Web worker onmessage signature doesn't match. Check out the code or the playground link below.
Code
const worker = new Worker('./somewhere.js')

function cb(_this: Worker, ev: MessageEvent) { }

const cb2 = function (_this, cv) { }

const cb3 = function (_this: Worker, cv: MessageEvent) { }

const cb4 = function (this: Worker, cv: MessageEvent) { }

worker.onmessage = cb // error
worker.onmessage = cb2 // error
worker.onmessage = cb3 // error
worker.onmessage = cb4 // This works but I can't bind cb4 to any other context

const whateverObj = {}
worker.onmessage = cb4.bind(whateverObj) // this won't work because 'this' inside cb4 refers to its first param

Expected behavior:
All the errors above don't make any sense to me. Can anyone explain why I have to define my callback function with the first param to be a 'this' keyword.
Actual behavior:
Playground Link:
https://www.typescriptlang.org/play/index.html#src=
const worker %3D new Worker('.%2Fsomewhere.js')

function cb(_this%3A Worker%2C ev%3A MessageEvent) { }

const cb2 %3D function (_this%2C cv) { }

const cb3 %3D function (_this%3A Worker%2C cv%3A MessageEvent) { }

const cb4 %3D function (this%3A Worker%2C cv%3A MessageEvent) { }

worker.onmessage %3D cb %2F%2F error
worker.onmessage %3D cb2 %2F%2F error
worker.onmessage %3D cb3 %2F%2F error
worker.onmessage %3D cb4 %2F%2F This works but I can't bind cb4 to any other context

const whateverObj %3D {}
worker.onmessage %3D cb4.bind(whateverObj) %2F%2F this won't work because 'this' inside cb4 refers to its first param

Related Issues:

A this parameter defines the type of this within the body of the function - it's not a real parameter - it's a typesystem hint.


Display the msg to the user at the login page according the error during login

I have setup the MESSAG.TAGS setting in the Settings.py file
Check msg.html in order to display the msg and also see the view class in order to know how to use the messaging feature
''' Command
from django.contrib import messages
def someFunction(request):
messages.error(request,"Your Credential is incorrect ")

Changes implemented via the PR


Missing samples of MessageBar component

there are some samples in the Microsoft Fluent UI components demo page which are not implemented in the Component.razor page.
https://developer.microsoft.com/de-de/fluentui#/controls/web/messagebar

@msynk  I am working on this issue, please move it to InProgress to avoid replication. I don't know how to do that


use docker.version() to get the server version

Older versions of the docker daemon don't report the server version in
the docker.info() response.
Signed-off-by: Petros Angelatos<EMAIL_ADDRESS>@Page-

LGTM


IOS Crash

MAX Module Version
4.1.7
React Native Version
0.70.2
Device/Platform Info
IOS
Current Behavior
Hi,
When I build my app with your SDK 4.1.7 my app crash at launch with this error
TypeError: undefined is not a function, js engine: hermes
And nothing is loaded.
I downgrade to 4.1.5 and everything is working again
Expected Behavior
No response
How to Reproduce
.
Additional Info
No response

Same for me. Calling AppLovinMAX.setConsentFlowEnabled or AppLovinMAX.setPrivacyPolicyUrl seems to generate this error. (TypeError: undefined is not a function)

We will push a new React Native plugin this week which will resolve the issue.

Any update on this?

@dpyeates - could you downgrade to v 4.1.5 in the meantime?

We just pushed v5.0.0 which should address most issues. However, there will be a migration needed. Please refer to our release notes here.


Epic: Publish Modern web tooling module

User story
As an aspiring web developer, I want to learn about modern web tooling, so I can make my workflow more efficient and powerful, and work effectively on a modern web dev team.
This is an Epic to track all the work involved in publishing our "Understanding modern web tooling" module (see the document spec here).

Hi @chrisdavidmills , @atopal - Please add in the Acceptance Criteria for this Epic. Thanks!

I think this is on @chrisdavidmills, but happy to review


removed license plate for cc0 and pdm

Fixes

Fixes #1135 by @annatuma
Description

Removes license plate for CC0 and PDM from information section and changed license to public domain
Checklist

[x] My pull request has a descriptive title (not a vague title like Update index.md).
[x] My pull request targets the default branch of the repository (main or master).
[x] My commit messages follow best practices.
[x] My code follows the established code style of the repository.
[ ] I added tests for the changes I made (if applicable).
[ ] I added or updated documentation (if applicable).
[x] I tried running the project locally and verified that there are no
visible errors.

Developer Certificate of Origin

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

Thanks @rochisha0! I made some small adjustments you can review, but this was a big help. Thanks!


Problems building Go application with client-go

Problem Description
I am not being able to compile my application due to client-go.
I am working on a different scheduler for Kubernetes. These are my main dependencies:
Dependencies

k8sApi "k8s.io/api/core/v1"
k8sSchedulerApi "k8s.io/kubernetes/pkg/scheduler/apis/extender/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/client-go/kubernetes"
"k8s.io/client-go/rest"

Compilation Error

k8s.io/client-go/transport
..\k8s.io\client-go\transport\round_trippers.go:70:11: cannot convert klog.V(9) (type klog.Verbose) >to type bool
..\k8s.io\client-go\transport\round_trippers.go:72:11: cannot convert klog.V(8) (type klog.Verbose) >to type bool
..\k8s.io\client-go\transport\round_trippers.go:74:11: cannot convert klog.V(7) (type klog.Verbose) >to type bool
..\k8s.io\client-go\transport\round_trippers.go:76:11: cannot convert klog.V(6) (type klog.Verbose) >to type bool

I tried to use go.mod but I had no success, unable to sync packages:

go: finding k8s.io/kubernetes/pkg latest
go: finding k8s.io/kubernetes/pkg/scheduler/apis latest
go: finding k8s.io/kubernetes/pkg/scheduler/apis/extender latest
go: finding k8s.io/kubernetes/pkg/scheduler latest
go<EMAIL_ADDRESS>requires
<EMAIL_ADDRESS>reading k8s.io/api/go.mod at revision v0.0.0: unknown revision v0.0.0

go.mod:

go 1.13

require (
	golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d // indirect
	golang.org/x/time v0.0.0-20191024005414-555d28b269f0 // indirect
	k8s.io/api v0.17.3
	k8s.io/apimachinery v0.17.3
	k8s.io/client-go v11.0.0+incompatible
	k8s.io/utils v0.0.0-20200124190032-861946025e34 // indirect
)

Any way to make it work with or without go.mod? How it is supposed to write the Dockerfile?

I found the similar issue building the repo's master example for
vendor/k8s.io/client-go/rest/request.go:598:31: not enough arguments in call to watch.NewStreamWatcher         have (*versioned.Decoder)         want (watch.Decoder, watch.Reporter)

I found the similar issue building the repo's master example for
vendor/k8s.io/client-go/rest/request.go:598:31: not enough arguments in call to watch.NewStreamWatcher have (*versioned.Decoder) want (watch.Decoder, watch.Reporter)
I also receive the same error.

Fixed @sbhardwaj-mt's and mine error by using the following go.mod:
go 1.14

require (
	k8s.io/api v0.0.0-20200214081623-ecbd4af0fc33
	k8s.io/apimachinery v0.0.0-20200214081019-7490b3ed6e92
	k8s.io/client-go v0.0.0-20200214082307-e38a84523341
	k8s.io/code-generator v0.0.0-20200214080538-dc8f3adce97c
	k8s.io/klog v1.0.0
)

replace (
	golang.org/x/sys => golang.org/x/sys v0.0.0-20190813064441-fde4db37ae7a // pinned to release-branch.go1.13
	golang.org/x/tools => golang.org/x/tools v0.0.0-20190821162956-65e3620a7ae7 // pinned to release-branch.go1.13
	k8s.io/api => k8s.io/api v0.0.0-20200214081623-ecbd4af0fc33
	k8s.io/apimachinery => k8s.io/apimachinery v0.0.0-20200214081019-7490b3ed6e92
	k8s.io/client-go => k8s.io/client-go v0.0.0-20200214082307-e38a84523341
	k8s.io/code-generator => k8s.io/code-generator v0.0.0-20200214080538-dc8f3adce97c
)

It might not resolve your issue but can you try to replace k8s.io/client-go v11.0.0+incompatible with k8s.io/client-go v0.17.0 in your go.mod file?

I'm having similar issues with dependencies unfortunately:
build github.com/EwanValentine/hypermap/api: cannot load github.com/googleapis/gnostic/OpenAPIv2: module github.com/googleapis/gnostic@latest found (v0.4.1), but does not contain package github.com/googleapis/gnostic/OpenAPIv2

Here's my go.mod file:
module github.com/EwanValentine/hypermap/api

go 1.13

replace (
	golang.org/x/sys => golang.org/x/sys v0.0.0-20190813064441-fde4db37ae7a // pinned to release-branch.go1.13
	golang.org/x/tools => golang.org/x/tools v0.0.0-20190821162956-65e3620a7ae7 // pinned to release-branch.go1.13
	k8s.io/api => k8s.io/api v0.0.0-20200214081623-ecbd4af0fc33
	k8s.io/apimachinery => k8s.io/apimachinery v0.0.0-20200214081019-7490b3ed6e92
	k8s.io/client-go => k8s.io/client-go v0.17.0
	k8s.io/code-generator => k8s.io/code-generator v0.0.0-20200214080538-dc8f3adce97c
)

require (
	github.com/99designs/gqlgen v0.11.3
	github.com/googleapis/gnostic v0.4.1 // indirect
	github.com/imdario/mergo v0.3.8 // indirect
	github.com/json-iterator/go v1.1.9 // indirect
	github.com/rs/cors v1.7.0
	github.com/stripe/stripe-go v70.5.0+incompatible
	github.com/vektah/gqlparser/v2 v2.0.1
	golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d // indirect
	golang.org/x/time v0.0.0-20191024005414-555d28b269f0 // indirect
	k8s.io/api v0.17.0
	k8s.io/apimachinery v0.17.0
	k8s.io/client-go v0.17.0
)

Sorry for the noise but I've just resolved this by doing:
replace (
	github.com/googleapis/gnostic => github.com/googleapis/gnostic v0.3.1
        ...
)

It might not resolve your issue but can you try to replace k8s.io/client-go v11.0.0+incompatible with k8s.io/client-go v0.17.0 in your go.mod file?

yes, works for me.
I wonder why go mod uses v11.0.0 version at first when initiating?

This is still a problem, and being forced to use replace is not a good solution.
I would guess that the proxy is selecting the highest semver available to it, which means since the valid major version is now v0, it's always going to prefer to select v12.

I have the same problem.

same problem

Related issue is that go get k8s.io/client-go@latest resolves to v11.0.0+incompatible not v0.18.2. Should I break this off as a separate discussion?

Related issue is that go get k8s.io/client-go@latest resolves to v11.0.0+incompatible not v0.18.2. Should I break this off as a separate discussion?

Unfortunately, that is not possible to resolve. k8s.io/client-go had major versions tagged prior to the introduction of go modules. go modules require any major version X >= 2 rename the module to k8s.io/client-go/v<X>.
Go considers tags >= 2.x.x which contain a go.mod file invalid and won't include them when resolving @latest, so until the k8s.io/client-go module is renamed with version suffixes, go get must indicate specific versions (e.g. go get<EMAIL_ADDRESS>

This is really painful for upgrades, and the selected version scheme conflicts with minimum version selection in nuanced and complex ways. Is there any plan to improve things, or are you indicating that it is not yet painful enough to justify investment?
Spitballing alternatives:

Move to semver such that compatibility guarantees are provided:

from: v0.18.2
or: v18.2.0
This was initially one of the proposed versioning schemes, but was turned down.
This could conflict with old releases like v11.0.0, but since nothing lower than v0.15.8 has been released this year, it seems moot.

Move to a new import path prefix, either a new domain or a new folder:

from: k8s.io/api
to: k8s.dev/api
or: k8s.io/x/api

Move to a prohibitively large major, and keep rolling:

from: v0.18.2
to: v99.18.2
This has the same effect of a new folder, since k8s.io/api/v99 is the import path.

/remove-lifecycle stale

/remove-lifecycle stale

same problem

This module has a major issue with its version tags that confuse Golang:
Latest version tag is supposed to be v0.20.4, but there are also tags of v1.. through v12.0.0 (dated Jun 20, 2019)
This breaks basic module versioning as of GO 1.11.  If you don't select a version for v2 or greater that it will only pull the highest major of 0 or 1.  Which as of today is v1.5.2 which contains a go.mod that retracts all previous module versions including v1.5.2.  I have no idea if that works or not, but since I'm still having trouble just using the module without an explicit replace directive in my go.mod, I suspect it's not.
I created a similar issue in one of my repos and the only way to deal with it was to delete the version tags for the higher versions.  Otherwise, everyone has to manually run the replace, and they won't pick up changes on an update.  That's a major pain and makes it difficult to stay current for security fixes.
I appreciate that some people may have hard coded those old version tags, but IMHO, they need to be removed.  They have been causing problems for over a year.

using go1.16 (which honors the retract directives we just added), go get k8s.io/client-go@latest will resolve to the latest unretracted version, and works as expected:
go version
go version go1.16 darwin/amd64

go mod init myexample
go: creating new go.mod: module myexample

go get k8s.io/client-go
go get: added k8s.io/client-go v0.20.4

Deleting the old tags has all the downsides of disrupting builds of older clients, and wouldn't remove cached versions of those versions held by things like the module proxy.
Explicitly specifying the version you want with go get k8s.io/client-go@$version or using go1.16+ to go get k8s.io/client-go@latest is the current recommendation.

The reporter of this issue in particular is encountering problems because it is trying to depend on k8s.io/kubernetes as a library, which is not recommended or supported.
For more general go get issues, https://github.com/kubernetes/client-go/blob/master/INSTALL.md has been updated to give more specific guidance for using a particular version, and for resolving the most common issues encountered.

Here is a workaround that could help, especially if you are using Kubernetes 1.14 : https://github.com/kubernetes/client-go/issues/741#issuecomment-807368949


Re-add some discontinued? checks for casks

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

[x] Have you successfully run brew typecheck with your changes locally?
[x] Have you successfully run brew tests with your changes locally?

Follow-up to https://github.com/Homebrew/brew/pull/16292
Since discontinued will be around an un-deprecated until 4.3.0, let's continue to check for it in brew audit and brew livecheck for now.

Okay looks like I'm hitting a CI issue because node@18 deprecated itself 28 minutes ago for CI 😭

Thanks @Rylan12 and @Bo98!


Unhandled Rejection 0x265 are hit

Describe the bug

In recent OCE incidents, we found many instances of unhandled rejection that is 0x265 (in summaryManager.stop)
Example Logs
from sessionId 4ff50f44-5d03-4c3e-aeca-6e8c1585c5f8
these are the events that happened right before assert failed

Event_Time
Data_eventName
Data_message_string

2021-12-29 17:45:40.4220000
UnhandledRejection
0x265

2021-12-29 17:45:40.4120000
fluid:telemetry:SummaryManager:EndingSummarizer

2021-12-29 17:45:40.3960000
fluid:telemetry:Container:ContainerWarning
0x25d

2021-12-29 17:45:40.3940000
fluid:telemetry:SummaryManager:SummarizerException
0x25d

2021-12-29 17:45:40.3930000
fluid:telemetry:Summarizer:Running:UnexpectedSummarizeError

2021-12-29 17:45:40.3870000
fluid:telemetry:SummaryManager:RunningSummarizer_cancel
0x25d

2021-12-29 17:45:40.3850000
fluid:telemetry:Container:ContainerClose

2021-12-29 17:45:40.3840000
fluid:telemetry:ContainerRuntimeDisposed

2021-12-29 17:45:40.3810000
fluid:telemetry:Container:ConnectionStateChange_Disconnected

2021-12-29 17:45:40.3800000
fluid:telemetry:Container:noWaitOnDisconnected

2021-12-29 17:45:40.3770000
fluid:telemetry:Summarizer:WrapError

2021-12-29 17:45:40.3740000
fluid:telemetry:Summarizer:StoppingSummarizer

2021-12-29 17:45:40.3700000
fluid:telemetry:Container:connectedStateRejected

2021-12-29 17:45:40.3700000
fluid:telemetry:DeltaManager:ReadConnectionTransition

2021-12-29 17:45:10.3060000
fluid:telemetry:Summarizer:Running:UnexpectedSummarizeError

2021-12-29 17:45:10.2930000
fluid:telemetry:Container:connectedStateRejected

2021-12-29 17:45:10.2930000
fluid:telemetry:DeltaManager:ReadConnectionTransition

2021-12-29 17:40:09.8140000
fluid:telemetry:Summarizer:Running:Summarize_end
summaryAck

SummaryManager.stop is apparently being called while SummaryManager is already in a stopped/not-started state. My guess is that we call stop() first via the "disconnected" event handler (note that these asserts all seem to coincide with a Container disconnect) and then, without checking SummaryManager.state, in the catch handler in SummaryManager.startSummarization. 2 possible solutions: 1. check the state in the catch handler before calling stop(); 2. check the state in stop() and, instead of asserting, do nothing if we're already in a stopped/stopping state. There's no reason why we couldn't do both. My preference is to add a state check to the catch handler first to confirm that that's the source of the assert.


Add a specific verion for the image gcr.io/kaniko-project/executor

Changes

Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:

[ ] Includes tests (if functionality changed/added)
[ ] Includes docs (if user facing)
[ ] Commit messages follow commit message best practices

See the contribution guide
for more details.
Release Notes

release-note

/assign @vdemeester

/ok-to-test

@houshengbo can you rebase against master ?

sure.

Thanks @houshengbo !
/lgtm
/meow


Matlab files with one function without "end" keyword are missing "return" statement in Python

As the title says, when converting .m file that contain a single function without the "end" keyword, smop skips to print "return" statement that contains output variables.
Best regards

The issue also happens with multiple functions in a file not finished with the "end" keyword.


Move net/ReadBuffer and net/WriteBuffer to buffered package, and rename

Resolves issue #1105

Thanks @Perelandric

@SeanTAllen  My pleasure, though I just realized that I forgot the changelog entry :blush: . I'll do another PR in a little bit.

...I guess the current Renamed net/Buffer to net/ReadBuffer could just be tweaked.


Automatic generated doc using docstring

We need to remove the current doc and use the automatic generate doc API to generate it.

The Julia theme is broken.


Add additional explanation about define:vars directive

Description (required)
I added additional information about define:vars directive on two pages:

https://docs.astro.build/en/basics/astro-syntax/#dynamic-tags

The define:vars directive does not work with dynamic tags and I have seen some issues related to that on the main repository so I think it should be clarified.

https://docs.astro.build/en/reference/directives-reference/#isinline

The statement was not exact since, as stated in #3165: using define:vars on <style /> tag does not automatically apply the is:inline directive.
Related issues & labels (optional)

Closes #6477.
Suggested label: improve-documentation

First-time contributor to Astro Docs?
ar_phi
(I'm not often connected... but I should get an email when mentioned if needed.)

Hello! Thank you for opening your first PR to Astro’s Docs! 🎉
Here’s what will happen next:

Our GitHub bots will run to check your changes.
If they spot any broken links you will see some error messages on this PR.
Don’t hesitate to ask any questions if you’re not sure what these mean!

In a few minutes, you’ll be able to see a preview of your changes on Vercel 🥳

One or more of our maintainers will take a look and may ask you to make changes.
We try to be responsive, but don’t worry if this takes a few days.

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

en
basics/astro-syntax.mdx
Source changed, localizations will be marked as outdated.

en
reference/directives-reference.mdx
Source changed, localizations will be marked as outdated.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.


Example for React projects

Hello,
Can you add an example for React projects? Your code isn't working for these purposes, at least for me.
Thanks.

see: https://github.com/rndme/download/pull/117/files
Closed by:

#117
#118


ERROR: from vtpack import _C

ImportError: cannot import name '_C' from 'vtpack'
where is the _C in the vtpack?

You need follow the instructions at https://github.com/StevenGrove/vtpack#build-from-source to build the project.


However, they won't pass in Travis until decocare and dexcom_reader are released to pypi. I can change the dependency_links for them until then.
To test locally:
$ git clone --branch python3 git@github.com:StephenBrown2/dexcom_reader.git
$ git clone --branch python3 git@github.com:StephenBrown2/decocare.git
$ git clone --branch python3 git@github.com:StephenBrown2/openaps.git
$ pyenv virtualenv 3.5.3 openaps-py3
$ pyenv activate openaps-py3
$ for repo in dexcom_reader decocare; do pip install -e .; done
$ pip install -e '.[testing]'
$ make test

Failing test is related to not-yet-existent decocare dependency, so looks like we'll need to merge and publish that first.


Breaks chat and follow option in nodebb when enabled

Breaks chat and follow option in nodebb when the reddcoin plugin is enabled. Also its changing my theme from persona to lavender in the user profile section when this plugin is enabled. Any solutions?
Was a nice plugin. I had to disable it to make my chat and follow option working.

What version of nodebb are you running?
When did it stop working for you?

I am running 0.9.3 version.It breaks the chat and follow option if i enable the plugin and change my profile section to lavender theme, i think

Thanks for the feed back.
I haven't tested yet on 0.9.3. Let me get it into my dev cycle

@reddink Its a nice plugin. Waiting for the fix.

Just noticed nodebb has released version 1.0
Need to catch up with versions.
Do you have a plan to update in the short term?

Yes, I'll update it soon. But i think there are no major difference in the api of 1.0.0 and 0.9.4.

Sorry for the long delay on this,
Dev cycle has come around :)
I am in the process of testing scenarios.
Just as a heads up, I upgraded my local nodebb to v1.1.0 with the lavender theme
One issue I found was the version compatibility plugin was set to v0.9.0
I have made an update for compatibility v1.0.0 and updated the release of the plugin to v0.1.5
If you're able, could you update the plugin and provide feedback.
Seems to be working ok (on my system)


refactor: update blas/ext/base/dnansumkbn2 to follow current project conventions

Resolves #1485 .
Description

What is the purpose of this pull request?

This pull request:
update blas/ext/base/dnansumkbn2 to follow current project conventions
Related Issues
#788, #1152

Does this pull request have any related issues?

This pull request:

progresses #1152
fixes #1485

Questions

Any questions for reviewers of this pull request?

No.
Other

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

No.
Checklist

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

[x] Read, understood, and followed the contributing guidelines.

@stdlib-js/reviewers

@kumarsuraj212003 Thanks for your PR! There were a few errors in the manifest.json, so please to make sure going forward to test out your changes with the make commands for running C benchmarks, examples, and tests.

@Planeshifter Thank you for the suggestion; I will make sure to run tests locally. Your advice is appreciated.


UI design

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

@FranklinMonro please fix the description of the issue raised based on the issue template provided. Clear and concise descriptions will help a lot. :)


What file do you modify for the arguments?

Hi @adamthole I was wondering what file or files I have to modify to put all this in

Hi @czadikem,
You don't need to modify any of those files to use the required arguments.  Not needing to modify the files is the entire reason I used command line arguments.  They are command line arguments that you will put in when you call PyPotter.py.  For example:
python3 PyPotter.py http://<IP_ADDRESS>:8080/?action=stream https://mydomain.duckdns.org:8123 your_api_token
I hope that answers your question.


Require verification of all emails

Two elements to this:

On initial signup, after user provides username/password/email, they should have to click a link in an email before their account is activated. This feature is already part of django-registration-redux; we just need to use it.
Anytime a user changes email, the old email remains in effect until the new email is confirmed by the user clicking on a link in an email. We may need a new email_pending field for this to work.

Part #1 is working so far.


Server-side redirect

vite-ssr currently lacks any reasonable option to perform a server-side redirect.
Even though response object is passed in context, one can't use it like:
export default viteSSR(App, { routes }, ({ response }) => {
  // Simplified version
  // In real code, that could be injected/provided as a consumable hook for Vue pages
  response.setHeader("location", "/foo")
  response.statusCode = 302
  response.end()
})

because vite-ssr will always try to end it itself:
https://github.com/frandiox/vite-ssr/blob/d758af9fc102700aa666ac92d5efa6fa55da67a7/src/dev/server.ts#L103-L107
Suggestions:

at the very least, wrap the 3 last 3 lines like:

  if (!response.writableEnded) {
     const html = buildHtmlDocument(template, htmlParts)
     response.setHeader('Content-Type', 'text/html')
     response.end(html)
  }

or rather, allow to inject status, statusText, headers and body not only from options.getRenderContext but also from viteSSR.

Ideally, both vite-ssr/vue and vite-ssr/react integration should simply provide redirect functions which will work both in SSR and on client side, similar to how Nuxt works.

@IlyaSemenov Can you have a look at this? https://github.com/frandiox/vite-ssr/pull/59
It's only implemented for Vue but I'd like to get some feedback to see if that's enough for general use-cases.
The redirect function can be used from the main hook or from any component. In components, it can be injected with a new useContext() hook. I think the same should be possible in React.

@frandiox Since you came up with a relatively deep refactoring I believe it's worth it to take one step more and 'generalise' it to to support arbitrary status and/or text (non-Vue-rendered) responses. One particular use case I have in mind is rendering HTML with Vue but returning it with status 404 in SSR requests against URLs like /show-item/:id where item with given id doesn't exist.

Implemented in #59 🎉
Thanks for all the help!


[Feature Request] How to access to theme colors?

Existing Component
Yes
Component Name
All
Description
It's not clear how to access to theme colors?
For example, I want to set a DIV with light-black background. How I supposed to do that?
Thanks!

Also typography classes (such as text-smaller) don't work for me.
what i am doing wrong?

You are not doing anything wrong. We may have made a mistake putting Color and Typography in the Components section when they really belong to the Guide section.
Element doesn't have built-in color classes or typography classes. Color and Typography actually are suggestions on how pages using Element look best.
Sorry about the confusion. We'll remove Color and Typography from Components.

Ok, got it.
But actually, it would be great to have color and text classes or SCSS variables.
I would say, it is essential, isn't it?

I wanted to share this solution, though it's very specific to the Vue webpack template (for those using vue-cli). This works great for me.
First, you'll want to use the Element theme CLI command to generate theme files, as described here.
Once you have your element-variables.scss file (you can throw away all the other dozens of files it creates), edit build/utils.js and change the loader for SCSS:
    scss: generateLoaders('sass').concat({
      loader: 'sass-resources-loader',
      options: {
        resources: [
          path.resolve(
            __dirname,
            '../src/assets/styles/element-variables.scss'
          ),
          path.resolve(__dirname, '../src/assets/styles/main.scss'),
        ],
      },
    }),

This assumes I'm putting my styles in src/assets/styles of course. I've also added my own main.scss file that contains variables and classes I'd like to be available throughout the Vue app in the <style> block.
Also be sure to install the node-sass, sass-loader, and sass-resources-loader as dev dependencies in your project if they aren't already.
Let me know if this works, or if I've forgotten a step! It's been awhile since I set it up.

@ffxsam I take the same approach albeit using nuxt.js as is shown here. Standardized color & text classes that are explicitly stated in the components section would be a nice addition though.


🔥 for new users

When a new user joins OC for the first time, they already get a 🔥 because they haven't seen any of them yet. Why not add one more that links out to a new users how-to help page introducing the main features? And/or embed a video walkthrough. This could also be good for users who do certain actions, like create their first Collective, make their first Contribution, etc, which would be specifically about what someone in the moment needs to know.

My vote is if we decide to add this, we probably need to add a dedicated modal for this. I would love to see something similar to the experience users have after creating a new collective. We show a modal which lets the user to add admins and setup their social accounts etc. 😄

In the same way we could show a modal welcoming them and add the links to the docs (how-to) and stuff there.
The 🔥 notifications could be not seen unless the user clicks on the icon (and I think this warrants something that is a bit more front and center) and also it's a bit problematic as we have to keep track if it's a new user and show this notification at the top of the notification stack and after the user view it probably reset it back to the place it belongs. 🤔
Anyways I am open to suggestions. 😄
cc: @Betree @opencollective/design

taking this work over to #4829


Crashes instantly on linux

When I try to start godot 3.2.3 on my pc wich is running Pop OS 20.10 it instantly sends me back to the login screen and kills all applications. My hard drive should be fine and the system shouldnt be damaged. I tried launching it directly from popü shop, but I also downloaded it from the internet with no change in results.
my specs: r7 240 2gb ddr3, i3 2100, 4x2gb ddr3 1333 mhz
The pc crashed back to the login screen instantly after opening the application. Thermals of my pc are fine and non of my system components should be damaged. My pc works fine even under max load.
I will update this after further testing.
update 1: I threw a windows drive into that same pc. The 3.2.3 version of godot works for windows on that same pc
update 2: Everything just got a lot wierder. I open godot 3.2.3 from the official website and from the Pop Shop on a different mashine running the same os with any issues. On my main pc I started godot succesfully on windows. But then I also tried to start Godot via steam. (also 3.2.3 I checked) and it worked fine. So I only get this issue where my pc crashes back to the login screen when I start godot on my current installation of Pop Os 20.10 on my main pc and if it is the version from the pop shop or the official website. It doesnt have trouble launching via steam even though its the exact same version of godot

Do you get a crash when running other 3D applications like Blender, 3D games and so on? This is likely a bug in the AMD graphics driver. You could try finding an updated graphics driver, but doing so on a non-LTS Ubuntu-based distribution might not be easy.

No I dont have any issues running any other application. I started minecraft just to make sure. Also this accurs directly after starting godot not after loading the project. I never saw the project selection screen in godot. I have used godot a lot on that same installation on that same computer and the same driver. The only thing that changed is the version of godot.

The only thing that changed is the version of godot as far is I know.

What was the previous working version you had?
Is this a Godot package provided by PopOS? Can you try the official download instead? https://godotengine.org/download/

I have tried the official download already with the same result. I havent used godot in a while so the last working version is 3.2.1

Did you retry 3.2.1 on your current system? I'd like to make sure if there's a regression in Godot or something broke in your system.

i tried 3.2.1 on my system. I got exactly the same crash as with 3.2.3 even though I know 3.2.1 should work. On my windows drive I didnt have any problems and on the other ciomputer also running Pop OS 20.10 I didnt have any issues. The only common denominator is my linux install. I might have a slightly damaged hard drive. I will use the "repair filesystem" feature of my disks application and then try to repair my linux install or reinstall linux competely. I will then try to start godot.

My hard drive and my install of linux are fine. When I tried to start godot on the live usb I got the same crash back to login screen. I dont know anymore but starting it via steam seems to work so Im just gonna dot that

I dont know anymore but starting it via steam seems to work so Im just gonna dot that

That means there's something in your local config which triggers a crash, either in ~/.local/share/godot, ~/.config/godot or ~/.cache/godot.
Deleting them to force recreating your config should fix the issue. However it would be useful to try to narrow down what file actually triggers the issue so that we can fix it, so you could rename them one after the other, testing Godot in between, to see which folder is problematic. If it's ~/.config/godot/, it might be related to something in your editor_settings-3.tres for example.

I'll close this as nobody else has been able to reproduce this recently. Please comment (with the issue template filled) if you can still reproduce this.


Missing an .env.example in the frontend folder

The readme.md in the frontend folder asks to copy the file ".env.example" and replace it with ".env"
But ".env.example" file does not exist in /frontend

@MatiasMinchaca done: https://github.com/AilynMS/ailyn-monitoring-system/commit/d205c78648b1b170a8b70edcb1896d4f96195b64


object relations only go 1 layer deep

this causes some objects to not get imported like the sidesticks "YOKE_RIGHT"
my PR does not have this issue 😉

Thank you very much for the hint!


Section in docs about vim plugins.

You didn't give me edit privileges in my own project smh.

Do you still want me to fix the mistakes?


germination GO:0009565 Many issues

Term Name 	germination
Synonym 	GO:0009565.
Definition 	The physiological and developmental changes
by a seed, pollen grain, spore or zygote that occur
after release from dormancy encompassing events prior
to and including the first visible indications of growth.
Pollen grain is a type of spore. Therefore the
definition should change to
The physiological and developmental changes by a seed,
spore or zygote that occur after release from dormancy
encompassing events prior to and including the first
visible indications of growth.
OR  a more appropriate one.
The process where a seed, spore, or zygote begins to
sprout, grow, or develop, usually after it has been
dormant for a time while waiting for the right growing
conditions.
Refinement of structures..
#  germination (GO:0009844)
* [i] pollen germination (GO:0009846)
* [i] seed germination (GO:0009845)
* [i] spore germination (GO:0009847)
change to
#  germination (GO:0009844)
* [i] spore germination (GO:0009847)
* [i] gametophyte germination (new)
* [i] microgametophyte germination (new) ;
synonym: male gametophyte germination
* [i] pollen germination (GO:0009846)
* [i] sporophyte germination (new)
* [i] seed germination (GO:0009845)
Also * [i] spore germination (GO:0009847)--> is a
generic term. The spore could be gametophytic
(n)/sporophytic (2n).
____________________
TPR violations
# post-embryonic development (GO:0009791)
* [i] germination (GO:0009844)
[i] pollen germination (GO:0009846)
pollen germination is NOT an instance of post-embryonic
development.
# cell differentiation (GO:0030154)
* [i] germination (GO:0009844)
[i] pollen germination (GO:0009846)
Pollen germination is NOT an instance of cell
differentiation.
TO avoid all these violations my suggestion is to keep
the "germination" under physiological processes
(GO:0007582) ONLY.
# [p] biological_process (GO:0008150)
* [i] physiological processes (GO:0007582)
[i] germination (GO:0009844)
Reported by: jaiswalp
Original Ticket: "geneontology/ontology-requests/1460":https://sourceforge.net/p/geneontology/ontology-requests/1460

thanks www.movied.org


Trying to use to connect to O365 dev trial acct - get Bad Request

Not sure if an issue or I just need help in troubleshooting...
[24-Aug-2017 05:15:56 UTC] PHP Fatal error:  Uncaught exception 'League\OAuth2\Client\Provider\Exception\IdentityProviderException' with message 'Bad Request' in /home/(user)/vendor/stevenmaguire/oauth2-microsoft/src/Provider/Microsoft.php:79
Stack trace:
#0 /home/(user)/vendor/league/oauth2-client/src/Provider/AbstractProvider.php(613): Stevenmaguire\OAuth2\Client\Provider\Microsoft->checkResponse(Object(GuzzleHttp\Psr7\Response), Array)
#1 /home/(user)/vendor/league/oauth2-client/src/Provider/AbstractProvider.php(528): League\OAuth2\Client\Provider\AbstractProvider->getParsedResponse(Object(GuzzleHttp\Psr7\Request))
#2 /home/(user)/public_html/oauth-test/test.php(62): League\OAuth2\Client\Provider\AbstractProvider->getAccessToken('authorization_c...', Array)
#3 {main}
thrown in /home/(user)/vendor/stevenmaguire/oauth2-microsoft/src/Provider/Microsoft.php on line 79
What is happening is that I launch my PHP, it redirects to MS for login.  I login, and it redirects me back to my page with additional query string info.  At that point I get the error above.

Please share more of the code that is interacting with the package.

@brian2github @stevenmaguire Same problem for me, code like that one, any solution? thanks

I'm trying to Connect to Microsoft Dynamics 365 web services using OAuth, have tried this code and can't get it to work yet, has anyone been successful in connecting and using the Web API?

@jcrumpOS On this list  this one is not working for me,and for what i have read,for anyone. Use Azure Active Directory Oauth from this list  , that one worked for me like a charm :) , hope this will help u

@oabreu is on the right track. Microsoft is a large organization and they offer several APIs and Authorization flows. Consider trying the other Microsoft specific oauth2 libraries.

Thanks, I've tried that and get the same message:
Fatal error: Uncaught exception 'League\OAuth2\Client\Provider\Exception\IdentityProviderException' with message 'Unauthorized'

@jcrumpOS have you attempted your auth flow using the azure specific oauth2 library?
https://github.com/thenetworg/oauth2-azure

Thanks, yes it's working now.


added test suite for audit log

Note that there is also a corresponding PR in enterprise.

http://jenkins01.arangodb.biz:8080/view/PR/job/arangodb-matrix-pr/97/


Create social metadata

This PR creates the metadata for rendering social images.
Fixes #17.

Checked on test ✅ merging now.


What is the difference between *_true.txt and *_true_pred.txt

Thanks for your attention. These files are the logs of experimental results so that they are irrelevant and you could ignore them.

where can i use the PMD,the get_proxy_loss in MMD.py?  but the train.py uses the get_gradual_loss in ours.py


Add sleep before retring bulk index

If the process has failed we should give it a chance to recover before
we try again. This adds a 5 second sleep between retries.
This is a modification to https://github.com/patientslikeme/es_dump_restore/pull/21 as retrying immediately does not give the ES server a chance to recover.

Good call, thanks!  Perhaps at some point we'll want to make this configurable, but 5 seconds seems like a very reasonable default.

This is now released as version 2.2.1.


Content download speed regression in Kolibri 0.16

Tracking upstream issue:

https://github.com/learningequality/kolibri/issues/10848

Joana reports that she has not been able to download a content pack once in the last three days. Bumping up priority to unbreak now.

@dbnicholson @dylanmccall between you, can you figure out how we can work around this download speed regression for Ladybug? Particularly now that we download all channels' metadata during onboarding, and my reading of https://github.com/endlessm/kolibri-explore-plugin/issues/549 is that the intention is to also eagerly download 500MB of thumbnails, this is a real issue. (I'm just a guy but, is it straightforward to revert the change that switched to chunked downloads? Or bump up the chunk size?)

In #549 I'm just about done with background downloading and it worked fine in my testing. However, your point is completely valid.
The most straightforward thing to do would be to copy the file transfer code from 0.16.0a12 (last release before the range requests were landed), and then wire up our own download manager and task in the explore plugin. It should be pretty mechanical.
I updated my download test script to compare 0.15.12, 0.16.0a12 and 0.16.0a15 and 0.16.0a12 matched the 0.15.12 performance:
Min 0.15 time 7.535127711016685 seconds
Min 0.16.0a12 time 7.166952276020311 seconds
Min 0.16.0a15 time 55.26884927297942 seconds

https://github.com/endlessm/kolibri-explore-plugin/pull/638

Perfect, has been merged and I kicked off a new release of the plugin.

Ladybird 6.16-347

Verified Failed:
It fails to proceed the download after you select a content pack.
Only a white screen is shown with no progress bar.
Test packages: Ladybird 6.16-347 & Windows <IP_ADDRESS>

Yes, as Vanessa says, the application now shows a white screen right after Kolibri starts. In the logs I see a browser console error "get_download_status is not a function":
06-20 11:57:28.646  3699  3699 E EKWebConsole: TypeError: external_kolibriCoreAppGlobal_urls_default(...).kolibri:kolibri_explore_plugin:get_download_status is not a function -- Source: http://<IP_ADDRESS>:45249/static/kolibri.core.default_frontend/kolibri.core.default_frontend-0.16.0a15.js
06-20 11:57:28.647  3699  3699 I EndlessKey: mMainWebView loading finished http://<IP_ADDRESS>:45249/en/explore/#/
06-20 11:57:28.647  3699  3699 I PythonActivity: displayMainWebView

Oh but most important is this traceback error that happens before ModuleNotFoundError: No module named 'kolibri_explore_plugin.vendor:
06-20 11:57:22.755  3699  3909 W org.endlessos.Key: root: Tried to import module api_urls from kolibri_explore_plugin but an error was raised
06-20 11:57:22.759  3699  3909 E org.endlessos.Key: root: No module named 'kolibri_explore_plugin.vendor'
06-20 11:57:22.759  3699  3909 E org.endlessos.Key: Traceback (most recent call last):
06-20 11:57:22.759  3699  3909 E org.endlessos.Key:   File "/home/jenkins/workspace/kolibri-installer-android/src/kolibri/plugins/__init__.py", line 256, in _return_module
06-20 11:57:22.759  3699  3909 E org.endlessos.Key:   File "/home/jenkins/workspace/kolibri-installer-android/_cache/.local/share/python-for-android/build/other_builds/python3-liblzma/x86_64__ndk_target_21/python3/Lib/importlib/__init__.py", line 127, in import_module
06-20 11:57:22.759  3699  3909 E org.endlessos.Key:   File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
06-20 11:57:22.759  3699  3909 E org.endlessos.Key:   File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
06-20 11:57:22.759  3699  3909 E org.endlessos.Key:   File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
06-20 11:57:22.759  3699  3909 E org.endlessos.Key:   File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
06-20 11:57:22.759  3699  3909 E org.endlessos.Key:   File "<frozen importlib._bootstrap_external>", line 850, in exec_module
06-20 11:57:22.759  3699  3909 E org.endlessos.Key:   File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
06-20 11:57:22.759  3699  3909 E org.endlessos.Key:   File "/home/jenkins/workspace/kolibri-installer-android/_cache/.local/share/python-for-android/build/python-installs/kolibri/x86_64/kolibri_explore_plugin/api_urls.py", line 5, in <module>
06-20 11:57:22.759  3699  3909 E org.endlessos.Key:   File "/home/jenkins/workspace/kolibri-installer-android/_cache/.local/share/python-for-android/build/python-installs/kolibri/x86_64/kolibri_explore_plugin/collectionviews.py", line 24, in <module>
06-20 11:57:22.759  3699  3909 E org.endlessos.Key:   File "/home/jenkins/workspace/kolibri-installer-android/_cache/.local/share/python-for-android/build/python-installs/kolibri/x86_64/kolibri_explore_plugin/tasks.py", line 21, in <module>
06-20 11:57:22.759  3699  3909 E org.endlessos.Key: ModuleNotFoundError: No module named 'kolibri_explore_plugin.vendor'

A hotfix has been merged: https://github.com/endlessm/kolibri-explore-plugin/pull/646
Deploying.

Deployed:

kolibri-explore-plugin v6.17.0
Android internal testers: Ladybird 6.17-348
Windows alpha test flight: v6.17.0


Better client detection for kprobes

Depending on the load and when we started instrumenting a process we may not find metadata from accept4/sys_connect when we form our request events. In this case we would assume that the event was a server event.
In the past this was the only thing we could do, when we used a socket filter to track events. However, since we've switched to tracking tcp_send and tcp_recv, we actually have a pretty good idea if an event is client or server, even if we never saw the connect/accept. For example, if we see the HTTP 1.1 response text on a receive, we must be running a client request. Conversely, if we saw the HTTP 1.1 response on a send, we are likely doing a server request.
This PR adds additional information passed to some of the inner functions, which deal with handling the request lifecycle. We pass along the send or receive context, so that we can make a better assessment what the event type is, in case we don't have accept/connect metadata.
Closes https://github.com/grafana/beyla/issues/679

Codecov Report
Attention: Patch coverage is 0% with 15 lines in your changes are missing coverage. Please review.

Project coverage is 39.39%. Comparing base (6ebf48a) to head (d01d645).

Files
Patch %
Lines

pkg/internal/export/debug/debug.go
0.00%
15 Missing :warning:

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #688       +/-   ##
===========================================
- Coverage   77.21%   39.39%   -37.82%
===========================================
  Files          97       94        -3
  Lines        8008     7806      -202
===========================================
- Hits         6183     3075     -3108
- Misses       1480     4550     +3070
+ Partials      345      181      -164

Flag
Coverage Δ

integration-test
?

unittests
39.39% <0.00%> (-0.02%)
:arrow_down:

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

It seems that our HTTP2 code for kprobes is having instruction limit issues on 5.15. I dropped the iterations limit to 4, but I'm worried it won't work in all cases. I opened an issue to fix this here https://github.com/grafana/beyla/issues/695, since this PR was about incorrectly detecting some client spans as server spans.

@grcevski Cilium has been updated to 0.13.2, don't forget to update bpf2go and rerun the generation (it changes the naming of the generated files)

@grcevski Cilium has been updated to 0.13.2, don't forget to update bpf2go and rerun the generation (it changes the naming of the generated files)

Awesome, thank you!


[Impeller] Cube map texture contents cannot be set in the OpenGL ES backend.

This is apparent in Play/TheImpeller/OpenGLES showcase.

cc @bdero

I dug into this a bit and the full cubemap is getting allocated device-side with all zero data. I tried to switch it out with glTexSubImage2D, which should also work, but am running into GL_INVALID_VALUE errors for some reason.
gl.TexSubImage2D(texture_target,         // target
                         0u,                     // LOD level
                         0,                      // xoffset
                         0,                      // yoffset
                         size.width,             // width
                         size.height,            // height
                         data->external_format,  // format
                         data->type,             // type
                         tex_data                // data
        );

The level, width/height, and offsets look fine, so not sure why it's happening.


Styling/2x2 table

Resolves #1382
Depends on https://github.com/VEuPathDB/web-components/pull/410
I made a few other adjustments to the Mosaic Viz UX while doing this work. Those include:

Adding a container with a table icon in the Table and the RxC's Statistics tabs so the "Please select all required parameters." prompt isn't just "floating"

Removing the "Please select all required parameters." prompt from 2x2's Statistics tab since it's currently disabled

Below is a screenshot of the newly-styled Table component for improved legibility.

Screenshot shows current styling with percentages included and with increased spacing.


[Bug]: Terminate batch compilation and report an error

ODC version
odc433
OB version

What happened?

What did you expect to happen?
No error reported when terminating batch compilation
How can we reproduce it (as minimally and precisely as possible)?
Terminate batch compilation
Anything else we need to know?
No response

failure to reproduce