Strange Validation and Training Losses at epoch change

I struggled to get some mxnet models training to a good accuracy, so I took a closer look at training and validation losses of a toy model. I noticed some strange spikes between epochs, which surprised me.
I expect I'm likely doing something wrong, but I can't see what: I have tried several optimisers, with learning rates spanning several orders of magnitude. It's most plausible that I'm doing something drastically wrong, being new to mxnet.
Graphic below illustrating the phenomenon, and also code to reproduce figure:

import mxnet as mx
import numpy as np

optimizer_choice = 'adam'
learning_rate = 0.01
batch_size = 500

inputs = np.expand_dims(np.random.uniform(low=0., high=2*np.pi, size=10000), axis=1)
labels = np.sin(inputs)

eval_inputs = np.expand_dims(np.random.uniform(low=0., high=2*np.pi, size=10000), axis=1)
eval_labels = np.sin(eval_inputs)

data_iter = mx.io.NDArrayIter(data={'data':inputs}, label={'label':labels}, batch_size=batch_size, shuffle=True)
eval_data_iter = mx.io.NDArrayIter(data={'data':eval_inputs}, label={'label':eval_labels}, batch_size=batch_size, shuffle=True)

data = mx.sym.Variable('data')
label = mx.sym.Variable('label')
fc1 = mx.sym.FullyConnected(data=data, num_hidden=128)
ac1 = mx.sym.Activation(data=fc1, act_type='relu')
fc2 = mx.sym.FullyConnected(data=ac1, num_hidden=64)
ac2 = mx.sym.Activation(data=fc2, act_type='relu')
fc3 = mx.sym.FullyConnected(data=ac2, num_hidden=16)
ac3 = mx.sym.Activation(data=fc3, act_type='relu')
fc4 = mx.sym.FullyConnected(data=ac3, num_hidden=1)
ac4 = mx.sym.Activation(data=fc4, act_type='tanh')
loss = mx.symbol.LinearRegressionOutput(data=ac4, label=label)
net = mx.module.Module(symbol=loss, data_names=['data'], label_names=['label'])

train_error = []
eval_error = []
def log_error(period, log):
    def _callback(param):
        if param.nbatch % period == 0:
            name, value = param.eval_metric.get()
            log.append(value)
    return _callback

optimizer_params={'learning_rate':learning_rate}
net.fit(data_iter,
      optimizer=optimizer_choice,
      optimizer_params=optimizer_params,
      eval_data=eval_data_iter,
      eval_metric='mse',
      num_epoch=5,
      epoch_end_callback = mx.callback.do_checkpoint('test_net'),
      eval_batch_end_callback = log_error(1,eval_error),
      batch_end_callback = log_error(1,train_error)
      )

train_error = np.array(train_error)
eval_error = np.array(eval_error)
import matplotlib.pyplot as plt
plt.plot(np.arange(train_error.size),train_error, label = 'Training Error')
plt.plot(np.arange(eval_error.size), eval_error, label = 'Validation Error')
plt.legend(loc='upper right')
plt.xlabel('Batch Number')
plt.ylabel('Error')
plt.title('Optimizer: {}. Learning Rate: {}'.format(optimizer_choice,learning_rate))
plt.gca().set_ylim(bottom=0)
plt.show()

Environment info
Operating System: macOS
MXNet version: 0.11.0
Python version and distribution: Python 2.7.13

It looks like the dip happens for each epoch. Does that indicate sth?

Hi,
Because you're tracking the evaluation error after each minibatch rather than after each epoch, the variance you're seeing at the beginning of each epoch is consistent (and also appears to be) due to the fact that you're averaging accuracies over a small number of minibatches. The smaller number of accuracies you're averaging over, the more variance you'll see, and that's why you see more variance at the start of each epoch and then things level out.
Otherwise, there are no indications in the code that anything else is going on, so this seems to be what you're seeing.
In more detail, from metric.py
def update(self, labels, preds):
    """Updates the internal evaluation result.

    Parameters
    ----------
    labels : list of `NDArray`
        The labels of the data.

    preds : list of `NDArray`
        Predicted values.
    """
    labels, preds = check_label_shapes(labels, preds, True)

    for label, pred in zip(labels, preds):
        label = label.asnumpy()
        pred = pred.asnumpy()

        if len(label.shape) == 1:
            label = label.reshape(label.shape[0], 1)
        if len(pred.shape) == 1:
            pred = pred.reshape(pred.shape[0], 1)

A)        self.sum_metric += ((label - pred)**2.0).mean()
B)        self.num_inst += 1 # numpy.prod(label.shape)
Line A computes a running sum of averages and line B keeps track of the number of summands in that running sum (equal to the minibatch number in the epoch).
After each epoch, sum_metric and num_inst are reset, so your averaging starts fresh with only a few number of samples.
In general, the variance of the average of n independent and identically distributed random variables is inversely proportional to the number of random variables (the sample size). Thus as you increase the number of samples, you'll decrease the variance.
https://www.quora.com/How-is-variance-inversely-proportional-to-sample-size
https://stats.stackexchange.com/questions/160103/why-does-the-variance-decrease-when-averaging-zero-mean-gaussians
There is a related issue on convergence that I'm including just for interest, but it's unrelated to this phenomenon:
https://stats.stackexchange.com/questions/229301/why-does-the-accuracy-of-my-cnn-periodically-spike-down

Still have yet to completely go through @vishaalkapoor's very helpful post above, but I also concluded that it seems that this is not an issue with MXnet a while ago but my incorrect logging of the error. Closing the issue now.


auto-fix for two_empty_lines + closing_brace_before both fire, remove too many lines

The auto-fix for manifest_whitespace_two_empty_lines can correctly detect too many newlines inside a class and too many newlines before a closing brace, but the magical one-two punch of two newlines immediately preceding a closing brace make the combination of the two go just a little too ham:
pdk (CORRECTED): puppet-lint: there should be a single space or newline before a closing brace (manifests/resolvconf.pp:10:19)
pdk (CORRECTED): puppet-lint: there should be no two consecutive empty lines (manifests/resolvconf.pp:12:1)

Okay yes!  Good detection!  Now, what's the diff for the fix?
-  include ::resolv
-
-
-}
+  include resolv}

...oh, oh dear.
Wanna see it again?  Okay!
pdk (CORRECTED): puppet-lint: there should be a single space or newline before a closing brace (manifests/sshd.pp:42:4)
pdk (CORRECTED): puppet-lint: there should be no two consecutive empty lines (manifests/sshd.pp:44:1)

Yes!  Correct detection.  And the fix?
-  }
-
-
-}
+  }}

*cue Price-Is-Right losing horns*
There are a couple of people on my team that seem to just love closing a class body with a bunch of extra newlines and then the closing brace, so this is a thing we seem to trigger a lot.

I never figured out how I can test more than one function in a single "context"...


Add CentOS Stream build.


How to programmatically determine assignments to (members of) a variable?

I am trying to programmatically determine the arguments passed to a function call. That is: Given a function CallMe, I want to list all calls to CallMe and determine the values that are passed to it. The situation is a little more complex as this function receives a single argument which is a pointer to a structure which holds the actual arguments:
  Input = (Input*)operator_new(0x10);
  Input->SomeBuffer = CONSTANT_SYMBOL;
  Input->SomeValue = 0x12;
  Input->SomeOtherValue = 0x22431;
  CallMe(Input);

I am looking to programmatically determine that SomeBuffer was CONSTANT_SYMBOL (identified by its memory address), SomeValue was 0x12, and SomeOtherValue was 0x22431 when CallMe was called.
I know how to obtain the HighVariable that represents Input, but I have not figured out a way to obtain the values that are being assigned to its members right before the call to CallMe. These assignments always happen within the same scope as the call, i.e. it always looks very similar to the mock-up pseudocode I presented above.
I would be very happy if someone could point out a way to determine these.

Seems like a standard inlined constructor. Unfortunately there really is no simple way to programmatically get these values. The best way I can think of to do it would be to collect references from the listing to the function,  decompile all functions containing the function call, split the output into ClangLines, find the function call and get the HighVariable from the ClangLine and then assuming it has already been marked as the structure filter out the ClangLines which contain the found HighVariable, a ClangFieldToken, and an assignment. You should be able to get the assigned global value from the ClangLine.
I'm certain it isn't intended to be done this way but I don't know of any alternative. There is still a lot you would need to play with and figure out on your own from my suggestion above. If anyone has any other ideas I'd like to know because I can't find any other way of doing something like this.

Dear @astrelsky, thank you very much, ClangLines was the hint I needed. I have a working prototype for my particular case and I am now working on making it a little less fragile.
For those in search of answers, here are some keynotes:

Get a decompiler interface like so: DecompInterface decompInterface = new DecompInterface();
 decompInterface.openProgram(currentProgram);
 DecompileResults decompiled = decompInterface.decompileFunction(someFunction, 120, monitor);

For a function call happening at the address addr, you can use the following code to get the high variable that corresponds to the k-th argument that is passed to this function call.Iterator<PcodeOpAST> pCodes = decompiled.getHighFunction().getPcodeOps(addr);
HighVariable argument = null;
while (pCodes.hasNext()) {
	PcodeOpAST instruction = pCodes.next();
	if (instruction.getOpcode() == PcodeOp.CALL) {
 		argument = instruction.getInput(k).getHigh();
		break;
	}
}

Use DecompilerUtils.toLines(decompiled.getCCodeMarkup()) to get an iterator over ClangLine objects representing a line in the decompiled code of someFunction.
Use the getAllTokens() method of each ClangLine to get a list of ClangToken objects (named token).
Use token.getPcodeOp(), token.getVarnode(), and token.getHighVariable() to navigate your way around the tokens, trying to puzzle together whether this line represents a variable assignment or not.
If token.getPcodeOp() != null and token.getPcodeOp().getOpcode() == PcodeOp.STORE, then some constant value is being assigned in this line. These are the ones that interest me in my case.
If token.getPcodeOp() != null and token.getPcodeOp().getOpcode() == PcodeOp.PTRSUB, this means you are looking at a "subfield" operation (and absolutely not a pointer subtraction!). Unfortunately, you could now be looking at a constant memory address or access to a member variable of the struct you are interested in. If token.getHighVariable() is the same as the argument you determined earlier, then it is the latter.

That's all I got, and it was good enough for my case. Hence I'll close this out.

Glad you managed to figure it out. I still think it shouldn't be necessary to have to parse the clang nodes but it will hopefully get better in the future. Just keep in mind that the DecompInterface has an underlying decompiler process and needs to be disposed of. DecompInterface.dispose()

Thank you again for the reminder, I would not have noticed that I am responsible to call dispose() there.


Add some model components

The goal of this PR is to get the bare minimum modeling and immediate pre-processing and post-processing functionality into the modeling package codebase, using the functions from the other two ww modeling packages and modifying as needed.
The vignette is written such that it takes in package data meeting the minimum requirements for the input count data (in this case hospital admissions) and the input wastewater data. Then we apply pre-processing to get the additional information that the stan model needs in order to fit the model. We then pass into the model the input pmfs that need to be passed in as data, but are COVID and hospital admissions specific.
A note that this first draft of the package isn't intended to provide significant additional functionality from the modeling in https://github.com/CDCgov/wastewater-informed-covid-forecasting/tree/prod 's cfaforecastrenewalww. We want to make it as easy as possible to run the existing model, as is. The goal is to make it easier for a user to see where they would upload their data, what requirements that data must have, and where they could swap in different pmfs, parameters, and priors to fit the model to say a different pathogen or with different parameters.
Remaining new issues for N sprint (from meta issue #6). These components are out of scope for this PR

add CI infrastructure for testing #8
port over all existing model tests, add testing for package functions #9
validate input data to pre-processing/modeling functions #4
all exported functions have complete documentation with examples
updated README and updated model definition
add hospital admissions only mode functionality (ideally with the same stan model if possible) #10

@kaitejohnson this PR is getting close. I just flagged a bunch of remaining unresolved conversations that I think got hidden previously.

A few remaining questions!

Ok @dylanhmorris I moved the functions needed to produce the delay distributions for COVID into data-raw/covid_pmfs.R so they are not a part of this package function.
Also made the other aesthetic/documentation changes. Let me know if this looks okay and thanks for the thorough review!

Sorry, just caught the namespace error and added to change log!


Moved Patternfly styles to tree list component

Moved a couple Patternfly styles (list-view-pf, list-group & list-group-item) from the planner UI to the tree list component.
We will want to use these Patternfly styles in other places with the tree list. This means there are far less tree list styles to override in planner and/or elsewhere.

[test]


Get SSL failure when trying to download video from facebook.

Hi all,
I have been trying to download fb videos. When asking to see which streams are downloadable it's all good :-
[$] youtube-dl -F "https://www.facebook.com/video.php?v=785520541528967"
[facebook]<PHONE_NUMBER>28967: Downloading webpage
[info] Available formats for<PHONE_NUMBER>28967:
format code  extension  resolution note
sd           mp4        unknown
hd           mp4        unknown    (best)

But when I am actually trying to download the video in question I get the following :-
  [$] youtube-dl -v -u 'private' -p 'private' -f hd "http://www.facebook.com/video.php?v=785520541528967"       [17:15:56]
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', '-u', u'PRIVATE', '-p', u'PRIVATE', '-f', 'hd', 'http://www.facebook.com/video.php?v=785520541528967']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.02.28
[debug] Python version 2.7.9 - Linux-3.16.0-4-amd64-x86_64-with-debian-8.0
[debug] exe versions: avconv 11.3-6, avprobe 11.3-6, rtmpdump 2.4
[debug] Proxy map: {}
[facebook] Downloading login page
[facebook] Logging in
[facebook] Confirming login
[facebook]<PHONE_NUMBER>28967: Downloading webpage
[debug] Invoking downloader on u'https://fbcdn-video-h-a.akamaihd.net/hvideo-ak-xfp1/v/t43.1792-2/11044001_785526411528380_2033975173_n.mp4?efg=big_alphanumeric-sequence&rl=2046&vabr=1364&oh=big_alphanumeric_sequence=55082B9E&__gda__=big_alphanumeric_sequence'
ERROR: unable to download video data: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581)>
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1375, in process_info
    success = dl(filename, info_dict)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1350, in dl
    return fd.download(name, info)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/downloader/common.py", line 339, in download
    return self.real_download(filename, info_dict)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/downloader/http.py", line 64, in real_download
    data = self.ydl.urlopen(request)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1666, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python2.7/urllib2.py", line 431, in open
    response = self._open(req, data)
  File "/usr/lib/python2.7/urllib2.py", line 449, in _open
    '_open', req)
  File "/usr/lib/python2.7/urllib2.py", line 409, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/dist-packages/youtube_dl/utils.py", line 673, in https_open
    req, **kwargs)
  File "/usr/lib/python2.7/urllib2.py", line 1197, in do_open
    raise URLError(err)
URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581)>

Now the changes I have made is in the alphanumeric sequences which it tells/shares when the downloader is invoked, whether those are cookies or something which identifies me is not known to me hence not sharing that. Obviously username and password are also marked as 'private'. Any ideas anybody ?

It works for me, could you try the following (you can get the video url with youtube-dl 'http://www.facebook.com/video.php?v=785520541528967' -g):

Can you download it with something like curl/wget? (just run curl -o video.mp4 <video_url> or wget -O video.mp4 <video_url>.
Can you access the video url using a web browser?

I have the same issue (with a public video).  wget reports:
Connecting to fbcdn-video-i-a.akamaihd.net (fbcdn-video-i-a.akamaihd.net)|<IP_ADDRESS>|:443... connected.
ERROR: cannot verify fbcdn-video-i-a.akamaihd.net's certificate, issued by ‘CN=Cybertrust Public SureServer SV CA,O=Cybertrust Inc’:
Unable to locally verify the issuer's authority.
To connect to fbcdn-video-i-a.akamaihd.net insecurely, use `--no-check-certificate'.
Using the "--no-check-certificate" option to youtube-dl or wget works around the problem.

Yes with the --no-check-certificate workaround it works :-
[$]  youtube-dl -f hd --no-check-certificate "https://www.facebook.com/video.php?v=785520541528967"                                 [3:12:21]
[facebook]<PHONE_NUMBER>28967: Downloading webpage
[download] Destination: Jeffrey & Jomy Live in Sydney - Come and see us..-785520541528967.mp4
[download]  36.6% of 8.37MiB at 57.83KiB/s ETA 01:34

But it needs this workaround otherwise it asks for certificate each time. Both while either using wget or curl.
[$] curl -o video.mp4 https://fbcdn-video-h-a.akamaihd.net/hvideo-ak-xfp1/v/t43.1792-2/11044001_785526411528380_2033975173_n.mp4    [3:10:41]
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: http://curl.haxx.se/docs/sslcerts.html

curl performs SSL certificate verification by default, using a "bundle"
 of Certificate Authority (CA) public keys (CA certs). If the default
 bundle file isn't adequate, you can specify an alternate file
 using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
 the bundle, the certificate verification probably failed due to a
 problem with the certificate (it might be expired, or the name might
 not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
 the -k (or --insecure) option.

With wget get this :-
   [$] wget -O video.mp4 https://fbcdn-video-h-a.akamaihd.net/hvideo-ak-xfp1/v/t43.1792-2/11044001_785526411528380_2033975173_n.mp4    [3:10:55]
--2015-03-26 03:11:18--  https://fbcdn-video-h-a.akamaihd.net/hvideo-ak-xfp1/v/t43.1792-2/11044001_785526411528380_2033975173_n.mp4
Resolving fbcdn-video-h-a.akamaihd.net (fbcdn-video-h-a.akamaihd.net)... <IP_ADDRESS>
Connecting to fbcdn-video-h-a.akamaihd.net (fbcdn-video-h-a.akamaihd.net)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2015-03-26 03:11:18 ERROR 403: Forbidden.

I guess that curl, wget and python haven't been properly configured to use the certificates. Setting the SSL_CERT_FILE environment variable to the path containing the cert file may fix it (it works in FreeBSD), but someone using Debian may give you a better advice.
@shirishag75 wget seems to be correctly using the certificates, but you need to pass the full url (with all the stuff after the .mp4?).

@jaimeMF you are correct, with the full url it works. Will ask people for ssl_cert_file environment variable.

I'm closing the issue, since it's not a youtube-dl bug. You may want to look into the ca-certificates package.

I do have that installed but for some reason it doesn't work. Btw it seems even vimeo has the same issue.
[$] youtube-dl -f h264-hd "http://vimeo.com/58062990"                                                                               [6:21:10]
[vimeo] 58062990: Downloading webpage
[vimeo] 58062990: Extracting information
[vimeo] 58062990: Downloading webpage
ERROR: unable to download video data: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581)>

and without the check for the certificate :-
[$] youtube-dl -f h264-hd --no-check-certificate "http://vimeo.com/58062990"                                                        [6:21:21]
[vimeo] 58062990: Downloading webpage
[vimeo] 58062990: Extracting information
[vimeo] 58062990: Downloading webpage
[download] Destination: Spantree - Getting Started with Elasticsearch-58062990.mp4
[download] 27.5% of of 30.79MiB at 50.95KiB/s ETA 7:05

And every website that forces the use of https (like YouTube itslef) will probably fail, I'll try to reproduce the error in a virtual machine.
I would try to avoid using the --no-check-certificate option, it's insecure.

I installed debian jessie in a VM and I could only reproduce the issue if set the SSL_CERT_DIR environment variable to '' (with export SSL_CERT_DIR='').


cvat page Chinese

Ladies and gentlemen, how to make the annotation page Chinese?

@chang50961471 , could you please ask questions in our Gitter or Discord chart? https://github.com/opencv/cvat/#contact-us


SA1000 ignores 'default' in a default literal expression

Currently SA1000 is getting reported for the following C# 7.1 syntax:
var x = value == null ? default : 3;

Edit: a workaround is now implemented to simply ignore default literal expressions. The bug has a new title for providing full support for this keyword.

Under .NET Core 3.1 and StyleCopAnalyzers 1.1.118 this appears to have been resolved (probably due to the submitted PR) and can be closed.

It's still open to review cases where diagnostics should be reported. Right now diagnostics are not reported even for unexpected spacing, such as when the spaces around default are removed.

I think the current behaviour is correct. In this context, default is equivalent to a literal or a variable, so I expect SA1000 to continue to ignore it. Removing the trailing space in this example already triggers SA1003 and SA1024.
SA1000 tests should be added, though, to make sure that it doesn't regress.


Add simple GUI, minor improvments and error fixing

Hi there :-)
first of all, thanks to that wonderful piece of software! It helps us a lot.
For a little better user experience I have added a simple Tkinter form which is popping up on double click using windows or when no argument is given on cli. In case the dependencies are not fullfilled a message is shown to do so.
I have added also the possibility using this script from the command line.
In case the template directory should be changed, this now can be done at one position.
A really error was that searching and replacing of NaN values in the excel sheet, which has been replaced by the numpy constant.
It would be nice if these changes could introduce to the main project :-)
Thanks in advance and kind regards
Euvbonk

Dear Euvbonk,
I havent checked the code yet but I am generally happy to merge based on your description. I will give it a try and keep you updated.
Thanks a lot for sharing your improvements. You might have imagined that the code was never really intended for external users, but I am really happy that it was useful for you.
Cheers,
Sven

Hi Sven,
thanks for merging and I see there are many more improvements the last day. To be honest, someone else found your project and has some difficulties to ran the program.
Teaching staff needs good and user friendly tools these days which was the intention for me to give something back :-)
Kind regards
Euvbonk


[TS] Draft mangles class types

Currently, Immer never creates proxies for class instances, but we still support nesting class instances inside your immutable objects/arrays.
The issue is that we cannot distinguish plain object types from class types. (more info)
So class types end up being mangled by a mapped type.
class Foo {
    private test: any
    constructor(public bar: string) {}
}

// Error 😔
let val: Foo = {} as Draft<Foo>

I think we can close this one for now, for being impossible currently...


ARROW-446: [Python] Expand Sphinx documentation for 0.3

I am going to finish the data model section and revamp the Parquet section, so we can get this pushed out with the release announcement tomorrow. We should continue to add a lot of new documentation over the coming weeks

@xhochy I changed away from the RTD Sphinx theme -- I find the code examples, particularly string outputs, to be difficult to read. We can experiment with different themes

Sounds like this is a known issue https://github.com/rtfd/sphinx_rtd_theme/issues/166 -- if we like the RTD theme we'll need to do some customization to improve the code highlighting to improve readability

I'm going to merge as soon as the build passes so I can get the website updated for the release announcement tomorrow

Can handle more edits and improvements in follow up patches

+1

I recently favor more https://pypi.python.org/pypi/sphinx-bootstrap-theme/ (e.g. https://ryan-roemer.github.io/django-cloud-browser/ ) We could probably even customise it so that it looks more like the arrow homepage.

Sounds fine to me


ImportError: No module named gpxpy

Expected Behavior
./install.sh should install dependencies
Actual Behavior
the package gpxpy requires sudo for install
Steps to Reproduce
clone dev branch
cd PokemonGo-Bot
./install.sh
./run.sh
Error:
ImportError: No module named gpxpy
Other Information
OS:
Git Commit: (run 'git log -n 1 --pretty=format:"%H"' and paste it here)

https://pypi.python.org/packages/59/88/3dba16d7fd7b1308e1e22c57bc7c593da2cfc8bc827776d8b7380e69dbfb/gpxpy-1.1.1.tar.gz
setup.py install

Did you do pip install -r requirements.txt ?

I used the install.sh script and received the fail. then I just sudo pip installed it and it works fine.

go to the slack chatroom then in #help someone will help you setup the bot correctly
closed: NOT A BUG


Combobox display issues after upgrading to Preview7

Describe the bug
After updating to Avalonia preview7, the ComboBox control is not displaying correctly. The scrollbar becomes stuck and doesn't change when it should, and the last option is not displayed when the ComboBox is expanded for the first time.
To Reproduce
Steps to reproduce the behavior:
Create a ComboBox control.
Populate it with several options.
Scroll down in the ComboBox and notice that the scrollbar gets stuck.
Expand the ComboBox and notice that the last option is missing.
Expected behavior
The ComboBox control should display all the options correctly, and the scrollbar should move smoothly without getting stuck.
Screenshots

Desktop/Platform
OS: Windows 11
FluentAvalonia Version: 2.0.0-preview7
Avalonia Version: Preview7

Believe its the same as https://github.com/AvaloniaUI/Avalonia/issues/11017, which is probably ItemsControl related and out of my hands.


MMD 5.1 and 5.2 hang when parsing nested stong and emphasis

First of all, thank you for you work on MultiMarkdown.
While testing MMD 5.1 and 5.2, we’ve discovered a serious performance regression from 5.0.1. It can be easily reproduced by parsing documents where the following example line is repeated more than once.
**b**, _u_, __v__, *__w__*, _**x**_, ***y***, ___z___, *t __w__ t*

5.0.1 has no probelms parsing documents no matter how many times the example line is repeated.
5.1 starts getting unacceptably slow around 5 or more lines.
5.2 takes several seconds to parse 2 lines, and appears to never finish parsing documents which contain 3 or more lines.

Yeah -- I alluded to this elsewhere when commenting about the 5.2 release and changes to strong/emph parsing.  I didn't have a good example that "broke" things though.  Just a general mild slowdown.
Using your example, I was able to experiment a bit and found a way to fix the problem.  Parsing 70 lines of your example is essentially "instantaneous".
Fix pushed to develop branch.

Glad the test case was useful. Thank you!


ZDE resolves root domain when only *.contoso.net sub-domains should

So I've been exploring the possibility of joining an Active Directory domain with another Windows machine, which btw went fine with ZDEW <IP_ADDRESS>.
I have encountered an issue where a ZDE for MacOS[2] would resolve contoso.net(as per example config)[1], when addresses is only set to "*.contoso.net". It resolves the root domain(contoso.net) and tries to route the request to the overlay and eventually gets refused[3]. This is resolved by adding a root "contoso.net" into the allowedAdresses[4] of the host config, but I expected that the DNS server would not even resolve the root domain. Or if resolved, I expect it to be routed and a connection established.
[1] https://gist.github.com/nenkoru/303c8ad08d02a74947ad73b54b783ff9
[2] Version 2.47 (525)(appstore)
[3]
➜  ~ telnet contoso.net 389
Trying <IP_ADDRESS>...
telnet: connect to address <IP_ADDRESS>: Connection refused
telnet: Unable to connect to remote host

[4]
➜  ~ telnet contoso.net 389
Trying <IP_ADDRESS>...
Connected to contoso.net.
Escape character is '^]'.

upd: edited the title and slightly changed the issue

Hi and thanks for the issue.
Unfortunately I'm not sure that we can do anything about this, since the macOS resolver does not provide a way to specify a "wildcard" domain as we support with ziti-edge-tunnel. On macOS, the resolver effectively treats all domains as wildcards. A relevant excerpt from the resolver(5) man page:

The matching algorithm chooses the client with the maximum number of matching domain components.

So when the apple tunnelers process an intercept configuration with a wildcard domain such as ".centoso.net", they configure the host's resolver with the domain minus the leading ".". You can see this for yourself with scutil --dns.
Maybe there's a trick to it that I'm not aware of, but as far as I know there's no way to specify that the root domain should not be matched on macOS.

Hi and thanks for the issue.
Unfortunately I'm not sure that we can do anything about this, since the macOS resolver does not provide a way to specify a "wildcard" domain as we support with ziti-edge-tunnel. On macOS, the resolver effectively treats all domains as wildcards. A relevant excerpt from the resolver(5) man page:

The matching algorithm chooses the client with the maximum number of matching domain components.

So when the apple tunnelers process an intercept configuration with a wildcard domain such as ".centoso.net", they configure the host's resolver with the domain minus the leading ".". You can see this for yourself with scutil --dns.
Maybe there's a trick to it that I'm not aware of, but as far as I know there's no way to specify that the root domain should not be matched on macOS.

I see.
I didn't have time to test this behaviour in general with Linux installations. Do you think this could be happening in Linux too?
Also maybe it would be a good idea to mention this behaviour in a doc where allowedAddress is mentioned?

Upd: idk, but I can't reproduce the original issue. The connection is not getting refused.

Alright, can't reproduce the original issue anymore, will reopen if would find a reproducible setup.


aggregate stacks based on regex

It would be useful to be able to aggregate stacks based on (e.g.) package name.
Something like:
./heap-alloc-flames $PID -g "org.hibernate.*"
this will reduce the number of flames, making rendering quicker.

Filtering based on regex makes sense. It allows you to focus on various allocations coming from a specific package.
Aggregating in this case has the downside of losing important information.
What do you think?


Add uint[112, 144, 160, 224] for foundry test parameter types

This PR makes it possible to have tests with parameters of the following types: uint112, uint144, uint160, and uint224.
Note that this was already possible for uint256 parameters.

Would it be a lot of work to support all of the 32 uint types? I'm just wondering if we could solve this once and for all, so that if someone needs e.g. a uint120 they don't have to create another PR first.
Alternatively, we could create an issue so that we don't forget about it.

That can be done with no problem. Could you post a reference to the 32 types you're mentioning? Thanks!

Cool! The uint types go from uint8 up to uint256 in 8 bit steps, see https://docs.soliditylang.org/en/v0.8.17/types.html#integers.

Issue made: https://github.com/runtimeverification/evm-semantics/issues/1378


Make core work to embed in into enterprise

This does a few things:

Put some of the new pages into components. That seems more embed friendly.
Expose all the things in the js library. It's a lot. Maybe I should put a better abstraction into place somewhere, happy to get pointers.
 Given that we send the result of an HTTP request straight to a component, the contents of the response should be optional, right?
Handle a couple of places where, for some reason, on my system, I had inputs be undefined when the code expected them not to be.

Because I got an approval this when it was still in draft state: I intend to merge this now-ish, because the frontend changes are proving surprisingly susceptible to merge conflicts. I assume there'll still be follow-up PRs before this is completely done.


CSS Gradient Generator

Is your feature request related to a problem? Please describe.
Many web developers frequently need to create custom CSS gradients for various design elements such as backgrounds, buttons, and overlays. However, manually crafting these gradients can be time-consuming and error-prone.
Describe the solution you'd like
I propose adding a CSS Gradient Generator tool to WebDev Tools. This tool would allow developers to easily generate custom CSS gradients by selecting colors, direction, and gradient type (linear or radial) through an intuitive interface. The generated CSS code could then be copied directly for use in web projects.
Describe alternatives you've considered
One alternative is to rely on existing online gradient generators. However, integrating this feature directly into WebDev Tools would provide a seamless workflow for developers, eliminating the need to switch between multiple tools and websites.
Additional context
CSS gradients are a fundamental design element in modern web development, and having a built-in generator within WebDev Tools would enhance the platform's utility for developers of all skill levels. This feature would streamline the process of creating visually appealing gradients, saving time and effort in the development process.

It is a cool idea. Would you like to work on it?

Yes that would be great. You can assign it to me and I will start working on it.

Yes that would be great. You can assign it to me and I will start working on it.

Great

I'm planning to start working on the CSS Gradient Generator feature. Should I create a new branch for this task, or is it preferable to work directly on the main branch?
Also it would be beneficial to include instructions in the README.md file regarding whether contributors should create a new branch for their work or directly commit to the main branch. This practice ensures clarity for future contributors and maintains consistency in the project's development workflow.

I'm planning to start working on the CSS Gradient Generator feature. Should I create a new branch for this task, or is it preferable to work directly on the main branch?
Also it would be beneficial to include instructions in the README.md file regarding whether contributors should create a new branch for their work or directly commit to the main branch. This practice ensures clarity for future contributors and maintains consistency in the project's development workflow.

You should create a new branch. If you want you can add it to the README

ok thanks


Update logo and short description

Questions
Answers

Description?
Update short description and logo.

Type?
improvement

BC breaks?
no

Deprecations?
no

Fixed ticket?
Fixes https://github.com/PrestaShop/PrestaShop/issues/15858

How to test?
Please check that short description and logo are updated.

@Progi1984 PHPStan is crying there, idk why

@NeOMakinG @Progi1984 it's fixed in the PR #109 ;)

Hi is there a problem with this PR? Should a do something? ☺

@Julievrz the problem happens in this PR but you can't do much about it. Just wait for #109 to be merged and that will be ok

Ok, I'll wait, thanks @atomiix !

Thank you @Julievrz


issue after migration web API Core 1.0 to 3.1

Hi,
We have developed out application using asp.net core 1.0 for UI and Web Api with Core 1.0, and it was working fine, now we have planed to migrate Web Api to 3.1 and we have not migrated UI application. so now when we call the API from UI application i getting error like , we are not getting header values and even model values are null,
But when we try to call the api 3.1 from postman it working fine and able access the methods.
what can we the issue ?

So things work if you use Postman, but not your app? Some significant changes to routing have been made since 1.0. It sounds like it may be an issue with the code. Do you have more details or a repro to share?

We're you able to get things working? Can you provide some additional context if not?

Works fine now , changed few changes with startup.cs

Works fine now , changed few changes with startup.cs


NotFoundError: '_MklMatMul'

Please make sure that this is a bug. As per our
GitHub Policy,
we only address code/doc bugs, performance issues, feature requests and
build/installation issues on GitHub. tag:bug_template
System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
No
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
c0-deeplearning-tf2-2-4-tpu-v20201215-debian-10
Description
Google, Deep Learning Image: TensorFlow 2.4, m60 TPU, A debian-10 Linux based image with TensorFlow 2.4 pre-installed.
Location
asia (Asia Pacific), eu (European Union), us (United States)
Labels
release : m60
Creation time
Dec 16, 2020, 5:10:12 PM UTC-08:00
Family
tf2-2-4-tpu-debian-10
Encryption type
Google managed

You can collect some of this information using our environment capture
script
You can also obtain the TensorFlow version with:

TF 1.0: python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
TF 2.0: python -c "import tensorflow as tf; print(tf.version.GIT_VERSION, tf.version.VERSION)"

Describe the current behavior
After initializing the tpu - I'm using version 2.4 on the tpu as well, tf.matmul doesn't work anymore.
I'm initializing the tpu with:
def get_strategy():

    try:
        tpu = tf.distribute.cluster_resolver.TPUClusterResolver('tpu-3')
        print('Running on TPU ', tpu.master())
    except:
        tpu = None

    if tpu:
        tf.config.experimental_connect_to_cluster(tpu)
        tf.tpu.experimental.initialize_tpu_system(tpu)
        strategy = tf.distribute.TPUStrategy(tpu)

    else:
        strategy = tf.distribute.get_strategy()
        for d in tf.config.list_physical_devices():
            print(d)

    return strategy

strategy = get_strategy()

Here is the full error:
NotFoundError: '_MklMatMul' is neither a type of a primitive operation nor a name of a function registered in binary running on n-1f5a3a66-w-0. Make sure the operation or function is registered in the binary running in this process.

It works fine on the cpu before the tpu is initialized.

Reverting to 2.2 works

@CalebEverett,
In order to expedite the trouble-shooting process, could you please provide the complete code to reproduce the issue reported here and also the dataset you are using. Thanks!

Also, please go through this comment from similar issue #45317 and let us know if it helps. Thanks!

Create a GCP VM - from the console I selected a linux deeplearning image and then the debian 10 one optimized for tpu. Here is the source image: c0-deeplearning-tf2-2-4-tpu-v20201215-debian-10
Create a v3-8 tpu with version 2.4.0 of the software installed
Import tensorflow and run a tf.matmul calculation:

import tensorflow as tf
tf.matmul(tf.ones((4,4)), tf.ones((4,4)))

<tf.Tensor: shape=(4, 4), dtype=float32, numpy=
array([[4., 4., 4., 4.],
       [4., 4., 4., 4.],
       [4., 4., 4., 4.],
       [4., 4., 4., 4.]], dtype=float32)>

Initialize tpu
    try:
        tpu = tf.distribute.cluster_resolver.TPUClusterResolver('tpu-3')
        print('Running on TPU ', tpu.master())
    except:
        tpu = None

    if tpu:
        tf.config.experimental_connect_to_cluster(tpu)
        tf.tpu.experimental.initialize_tpu_system(tpu)
        strategy = tf.distribute.TPUStrategy(tpu)

    else:
        strategy = tf.distribute.get_strategy()
        for d in tf.config.list_physical_devices():
            print(d)

Running on TPU  grpc://<IP_ADDRESS>:8470
INFO:tensorflow:Initializing the TPU system: tpu-3
INFO:tensorflow:Initializing the TPU system: tpu-3
INFO:tensorflow:Clearing out eager caches
INFO:tensorflow:Clearing out eager caches
INFO:tensorflow:Finished initializing TPU system.
INFO:tensorflow:Finished initializing TPU system.
INFO:tensorflow:Found TPU system:
INFO:tensorflow:Found TPU system:
INFO:tensorflow:*** Num TPU Cores: 8
INFO:tensorflow:*** Num TPU Cores: 8
INFO:tensorflow:*** Num TPU Workers: 1
INFO:tensorflow:*** Num TPU Workers: 1
INFO:tensorflow:*** Num TPU Cores Per Worker: 8
INFO:tensorflow:*** Num TPU Cores Per Worker: 8
INFO:tensorflow:*** Available Device: _DeviceAttributes(/job:localhost/replica:0/task:0/device:CPU:0, CPU, 0, 0)
INFO:tensorflow:*** Available Device: _DeviceAttributes(/job:localhost/replica:0/task:0/device:CPU:0, CPU, 0, 0)
INFO:tensorflow:*** Available Device: _DeviceAttributes(/job:worker/replica:0/task:0/device:CPU:0, CPU, 0, 0)
INFO:tensorflow:*** Available Device: _DeviceAttributes(/job:worker/replica:0/task:0/device:CPU:0, CPU, 0, 0)
INFO:tensorflow:*** Available Device: _DeviceAttributes(/job:worker/replica:0/task:0/device:TPU:0, TPU, 0, 0)
INFO:tensorflow:*** Available Device: _DeviceAttributes(/job:worker/replica:0/task:0/device:TPU:0, TPU, 0, 0)
INFO:tensorflow:*** Available Device: _DeviceAttributes(/job:worker/replica:0/task:0/device:TPU:1, TPU, 0, 0)
INFO:tensorflow:*** Available Device: _DeviceAttributes(/job:worker/replica:0/task:0/device:TPU:1, TPU, 0, 0)
INFO:tensorflow:*** Available Device: _DeviceAttributes(/job:worker/replica:0/task:0/device:TPU:2, TPU, 0, 0)
INFO:tensorflow:*** Available Device: _DeviceAttributes(/job:worker/replica:0/task:0/device:TPU:2, TPU, 0, 0)
INFO:tensorflow:*** Available Device: _DeviceAttributes(/job:worker/replica:0/task:0/device:TPU:3, TPU, 0, 0)
INFO:tensorflow:*** Available Device: _DeviceAttributes(/job:worker/replica:0/task:0/device:TPU:3, TPU, 0, 0)
INFO:tensorflow:*** Available Device: _DeviceAttributes(/job:worker/replica:0/task:0/device:TPU:4, TPU, 0, 0)
INFO:tensorflow:*** Available Device: _DeviceAttributes(/job:worker/replica:0/task:0/device:TPU:4, TPU, 0, 0)
INFO:tensorflow:*** Available Device: _DeviceAttributes(/job:worker/replica:0/task:0/device:TPU:5, TPU, 0, 0)
INFO:tensorflow:*** Available Device: _DeviceAttributes(/job:worker/replica:0/task:0/device:TPU:5, TPU, 0, 0)
INFO:tensorflow:*** Available Device: _DeviceAttributes(/job:worker/replica:0/task:0/device:TPU:6, TPU, 0, 0)
INFO:tensorflow:*** Available Device: _DeviceAttributes(/job:worker/replica:0/task:0/device:TPU:6, TPU, 0, 0)
INFO:tensorflow:*** Available Device: _DeviceAttributes(/job:worker/replica:0/task:0/device:TPU:7, TPU, 0, 0)
INFO:tensorflow:*** Available Device: _DeviceAttributes(/job:worker/replica:0/task:0/device:TPU:7, TPU, 0, 0)
INFO:tensorflow:*** Available Device: _DeviceAttributes(/job:worker/replica:0/task:0/device:TPU_SYSTEM:0, TPU_SYSTEM, 0, 0)
INFO:tensorflow:*** Available Device: _DeviceAttributes(/job:worker/replica:0/task:0/device:TPU_SYSTEM:0, TPU_SYSTEM, 0, 0)
INFO:tensorflow:*** Available Device: _DeviceAttributes(/job:worker/replica:0/task:0/device:XLA_CPU:0, XLA_CPU, 0, 0)
INFO:tensorflow:*** Available Device: _DeviceAttributes(/job:worker/replica:0/task:0/device:XLA_CPU:0, XLA_CPU, 0, 0)

Run the tf.matmul calculation again

tf.matmul(tf.ones((4,4)), tf.ones((4,4)))

---------------------------------------------------------------------------
NotFoundError                             Traceback (most recent call last)
/opt/conda/lib/python3.7/site-packages/IPython/core/formatters.py in __call__(self, obj)
    700                 type_pprinters=self.type_printers,
    701                 deferred_pprinters=self.deferred_printers)
--> 702             printer.pretty(obj)
    703             printer.flush()
    704             return stream.getvalue()

/opt/conda/lib/python3.7/site-packages/IPython/lib/pretty.py in pretty(self, obj)
    392                         if cls is not object \
    393                                 and callable(cls.__dict__.get('__repr__')):
--> 394                             return _repr_pprint(obj, self, cycle)
    395
    396             return _default_pprint(obj, self, cycle)

/opt/conda/lib/python3.7/site-packages/IPython/lib/pretty.py in _repr_pprint(obj, p, cycle)
    698     """A pprint that just redirects to the normal repr function."""
    699     # Find newlines and replace them with p.break_()
--> 700     output = repr(obj)
    701     lines = output.splitlines()
    702     with p.group():

/opt/conda/lib/python3.7/site-packages/tensorflow/python/framework/ops.py in __repr__(self)
   1015   def __repr__(self):
   1016     return "<tf.Tensor: shape=%s, dtype=%s, numpy=%s>" % (
-> 1017         self.shape, self.dtype.name, numpy_text(self, is_repr=True))
   1018
   1019   def __len__(self):

/opt/conda/lib/python3.7/site-packages/tensorflow/python/framework/ops.py in shape(self)
   1173         # `_tensor_shape` is declared and defined in the definition of
   1174         # `EagerTensor`, in C.
-> 1175         self._tensor_shape = tensor_shape.TensorShape(self._shape_tuple())
   1176       except core._NotOkStatusException as e:
   1177         six.raise_from(core._status_to_exception(e.code, e.message), None)

NotFoundError: '_MklMatMul' is neither a type of a primitive operation nor a name of a function registered in binary running on n-1f5a3a66-w-0. Make sure the operation or function is registered in the binary running in this process.

@CalebEverett,
I was able to run the code without any issues on TF v2.4, please find the gist of it here.
Could you please try running the code in a new virtual environment and check if you are facing the same error. Thanks!

@CalebEverett,
I was able to run the code without any issues on TF v2.4, please find the gist of it here.
Could you please try running the code in a new virtual environment and check if you are facing the same error. Thanks!

That looks like its working - thank you.

That looks like its working - thank you.

@CalebEverett,
Thank you for the update. Closing the issue as it is resolved. Please feel free to re-open if necessary.

@CalebEverett,
Thank you for the update. Closing the issue as it is resolved. Please feel free to re-open if necessary.

Problem still persists and it lies in the image provided by Google Cloud itself. The solution is to always be defensive to any pre-installed tensorflow distribution and install one manually.
Quick fix is:
pip install --upgrade --force-reinstall tensorflow


⚠ Bofrost.de has degraded performance

In 4a0e919, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1517 ms

Resolved: Bofrost.de performance has improved in 80cfef3.


Update urls.py

Resolves the error
ImportError: cannot import name 'url' from 'django.conf.urls'
in urls.py after upgrading to Django 4.0

This framework is not maintained anymore. Please try using this one: https://github.com/wagnerdelima/drf-social-oauth2.


NIFI-10709: Showing log in link in the log out complete page

NIFI-10709:

Showing log in link in the log out complete page.
Fixing issue removing token when logging out from the canvas.

Reviewing


support running multiple modules simultaneously....

You can do that with the plugin extension
 tag
See its doc: Additional directories containing App Engine modules to be run.
you can put there a list of module directories (node, php, py, go whatever correct GAE v2 app directory.
      <modules><module>/YOURPATH/TO/MODULE</module></modules>


Drawer - Body scroll bar

We need to install react-remove-scroll-bar in the Drawer Component just like we have in Dropdown Menu to keep the scrollbar "without blinking" when we close the Drawer.

the drawer scrolling is not blinking (flickering) for me, but rather i can't swipe off the drawer after scrolling the content within it

This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.


chore(master): release 1.1.214

:robot: I have created a release beep boop
1.1.214 (2023-10-18)
Miscellaneous

deps: update dependency vite to v4.5.0 (a106162)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/wayofdev/keywind/releases/tag/v1.1.214 :sunflower:


Emulated Hue socket bind issue on BSD systems

Home Assistant release (hass --version):
0.34.5 and dev build
Note: This issue is not new, I have observed it for a while but just recently dug in to find the specific problem/proposed solution.
Python release (python3 --version):
Python 3.5.2
Component/platform:
emulated_hue
Description of problem:
On *BSD systems (like FreeBSD and FreeNAS), I found that HA does not process or respond to  SSDP requests.  Specifically, this results in HA not working when having an Echo devices perform device discovery (no HA devices are discovered).  I tracked the problem down to   https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/emulated_hue/upnp.py#L119 and found that changing from:
 ssdp_socket.bind(("<IP_ADDRESS>", 1900))

to:
 ssdp_socket.bind((self.host_ip_addr, 1900))

will fix SSDP as expected (on *BSD systems).  What I do not know for sure, is how that change would affect all supported OS platforms.  What I found is that BSD behaves uniquely in this manner due to how it (silently) doesn't want you to bind directly to the multicast address.  The good news is that even though it appears you are changing the binding to be for a unicast address instead, it still honors multicast (along with unicast) requests due to line 116.
Brief testing looks like Mac and Windows still work with the proposed change, but would like that to be validated by others (test env may have been contaminated do to many other networking "solutions" that were attempted).
Expected:
SSDP requests are processed and HA responds to them.
Problem-relevant configuration.yaml entries and steps to reproduce:
emulated_hue:
  exposed_domains:
    - scene
    - script
    - switch
    - light
    - cover
    - lock

Install HA on a BSD system
Enable emulated_hue
Try to have the Echo discover HA entities to control via emulated_hue
Watch UDP traffic and see that HA does nothing with the SSDP requests

Traceback (if applicable):
No exceptions are thrown, and I confirmed the socket never gets or replies to SSDP requests with the existing implementation.
Additional info:
For those folks looking to run HA in a jail on FreeBSD/FreeNAS, this is indeed related.  The good news is that the suggested fix is one piece that is needed to get HA working inside a BSD jail.  But, it is only one piece of the puzzle - other steps must be taken to properly handle the UDP multicast traffic. Hint:
# SSDP (multicast) traffic to hass jail
rdr on $ext_if proto udp to <IP_ADDRESS> port 1900 -> 192.168.1.?? port 1900

@mgbowen, let me know if you have comments (I see you initially contributed this capability).


fix(client): svelte-kit base config file missing

Fix the "[WARNING] Cannot find base config file "./.svelte-kit/tsconfig.json" [tsconfig.json]" error by adding "prepare": "svelte-kit sync" in the client package.json.

closing because it made more problems than it solved may come back to this later


Changes to settings.py to handle list[Path]

Summary of Changes
Modify settings. py validation
Using a loop to find if the list [path] configuration file exists
Checklist

[ X] I have read the "Guidelines" section of the contributing guide. Don't lie! 😉
[X ] My PR is on a custom branch and is not named main.

Properly tested with tests/core/calculators/vasp/test_vasp.py tests/core/recipes/vasp_recipes/mocked/test_vasp_recipes.py
tests/core/calculators/espresso/test_espresso.py

Can one of the admins verify this patch?


Issues using API with a user interface

I've discovered two issues when trying to use the v.2.2 API to manage network data directly within a user interface (UI) app (as opposed to having the UI keep a separate copy of the data).
First the following sequence of function calls, which simulates a File | Open command followed by a File | New command,  will crash the program:
EN_open(...);
EN_close();
EN_init(...);

Initializing the various element counts (Nnodes, Ntanks, Nlinks, etc.) to 0 in initpointers() of project.c seems to fix the problem.
Second, there appears to be no way for the UI to access the Report file after an analysis has been made (to display a Status Report) without first using EN_close to release the file handle and thereby cause all network data to be lost. One possible solution is to add a EN_copyreport function that copies the current contents of the Report file to another file, keeping the original Report file opened afterwards. Other ideas are welcome.

@LRossman so the issue is that the UI code needs to open the report file but can't because the engine still has it open?
Runs can happen any number of times after the project is open. Each time the project is run the solver generates a report and binary file. So why not open/close the report/binary files independent from the rest of the project?

Thanks @michaeltryby . If I understand correctly, you suggest keeping the report file closed until it needs to be re-opened for EN_writeline, EN_report, and the start of a hydraulic/quality analysis (to capture status messages). Then it gets closed again when the aforementioned actions are completed so that toolkit apps can gain access to it. This sounds better than  an EN_copyreport function. I will try to implement it.

After looking over what is involved to keep opening and closing the report file before and after various toolkit operations, I've concluded that it's simpler (and safer) to go with a EN_copyreport function. It adds just a single self-contained function that doesn't change any existing code and keeps the ground rules simpler for API clients to understand. Namely, the contents of the report file can't be accessed by clients while a project is open. If access is required, they can use EN_copyreport to copy its current contents to another file and EN_clearreport to clear its contents.

The issues identified have been resolved in the latest version of dev.


Licence

Hello @hardbyte,
Awesome project. To gain traction though, it needs to have a licence attached so developers can know whether its safe to use the code.
Thanks!

Good point. Done https://github.com/hardbyte/qabot/blob/main/LICENSE


create cache folder if nonexistant

Fix for #16

Adding some unittests for cache.py
Logic to ensure if the folder path doesn't exist will create the folder before trying to save the cache file

Thanks, lgtm, would you mind pushing resolving the conflicts and pushing again, just setup travis as our ci.

Thanks, Sounds good! I'll submit a new fix in a bit.


how to Enable and Disable gps in android using python/kivy.

how to turn gps ON and OFF .
if gps is off it shows old coordinates or coordinates get from network but we need exact coordinates . please share the code to enable gps .
thanks

You'll need an additional library like Plyer: https://github.com/kivy/plyer

How can i turn on gps in android ?

Please read the documentation provided with Plyer: https://github.com/kivy/plyer/tree/master/examples/gps

You request permissions via the buildozer.spec :
#
# Android specific
#

# (list) Permissions
android.permissions = INTERNET,ACCESS_FINE_LOCATION,ACCESS_COARSE_LOCATION

And at at runtime.

Permission give access to gps .. but not enable gps on device , if the. Gps of device is off then it shows old coordinates .
But we need to enable gps and access currwnt location

On Android, you don't turn on the GPS, you request permission to receive a location from it. It's the user that grant you the permission (or not) and it is the user that turns their the GPS. You don't turn on the GPS for them.
https://developer.android.com/training/permissions/requesting


Dump in LOAD_WORKSHEET_COND_FORMAT

If "lv_area" is not in a regular format like 'A1:A2', a short dump occurs in method SET_RANGE of ZCL_EXCEL_STYLE_CONDITIONAL.
This variable is set in LOAD_WORKSHEET_COND_FORMAT, line 96.
Example values for which the dump occurs:
BB24
J72:J997;J5;J13;J20;J27;J35;J43;J49;J55;J61;J67;J70
For example 1 I attached a demo file.
Please fix either "zcl_excel_common=>convert_range2column_a_row", which handles the "lv_area" variable, or add a handling in "lo_style_conditional->set_range" if "ip_stop_column" and "-row" are empty. As a workaround, I added ZCX_EXCEL to the exceptions of SET_RANGE.
ABAP2XLSX_Bug.xlsx
Thanks and Regards
Daniel

Hi Daniel,
would be great if you could contribute the fix yourself. Simply fork the project here on GitHub, commit the changes to that repository and create a pull request.
Best regards
Gregor

Unfortunately I can't reproduce the issue with the latest version of abap2xlsx. As it was a long time ago, maybe the issue has been fixed.
Here is the result of program ZDEMO_EXCEL37 if the input is the file above "ABAP2XLSX_Bug.xlsx": 37- Read template and output.xlsx
Could you confirm whether it's fine for you or not?
Thank you.

Hi sandraros,
I can't reproduce it, too, as method SET_RANGE of ZCL_EXCEL_STYLE_CONDITIONAL is not even run through anymore displaying the demo file with the report you mentioned.
Hence I will close this issue.
Regards
Daniel

Too bad that the method is not even executed. If you have time to find a scenario how to reproduce, then we can reopen the issue and investigate for a solution. By the way, we did recent fixes to propagate all unhandled exceptions, so maybe it's difficult to reproduce anyway. Thanks.


Some views are shown as tables

System information:

Operating system (distribution) and version win10
DBeaver version 7.2.5

Connection specification:

Database name and version firebird 2.5

Describe the problem you're observing:
Some views (where UNION ALL is used) are shown as tables:
ibexpert:

isql:

dbeaver:

Other issue about incorrect sorting of table catalogue https://github.com/dbeaver/dbeaver/issues/8181

It seems to be 32-bit specific issue

Fixed.

Fixed.

verified

verified

in  which version it will be fixed?

in  which version it will be fixed?

@teklstudio Hello.
Fixed in 7.3.4.
Will be available here at 2020-02-01

@teklstudio Hello.
Fixed in 7.3.4.
Will be available here at 2020-02-01

@teklstudio Hello.
Fixed in 7.3.4.
Will be available here at 2020-02-01

I have just downloaded <IP_ADDRESS>101211823 from early access, but bug is still there... will be implemented later?

@teklstudio Hello.
Fixed in 7.3.4.
Will be available here at 2020-02-01

I have just downloaded <IP_ADDRESS>101211823 from early access, but bug is still there... will be implemented later?

@teklstudio Hello. Have you tested new versions? Is bug still there?

yes, I have bug...
my version is
<EMAIL_ADDRESS>and view are between tables:
<EMAIL_ADDRESS>best regards
Peter
From: Anastasiya<EMAIL_ADDRESS>Sent: Saturday, February 20, 2021 1:27 PM
To: dbeaver/dbeaver<EMAIL_ADDRESS>Cc: Peter Turčan<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [dbeaver/dbeaver] Some views are shown as tables (#10492)
@teklstudiohttps://github.com/teklstudio Hello. Have you tested new versions? Is bug still there?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/dbeaver/dbeaver/issues/10492#issuecomment-782626894, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEFPKD2SXSWSRGC2Z327MYDS76TBJANCNFSM4UCGMIWA.

@teklstudio Hello. Have you tested new versions? Is bug still there?

again :) yes. I have version <IP_ADDRESS>102151746
andviews are still between tables...

Can you please show result of this query
SELECT * FROM RDB$RELATIONS WHERE RDB$RELATION_NAME='SIZELIST1'
Because this is the system table from which we read all the data about tables and views.

Can you please show result of this query
SELECT * FROM RDB$RELATIONS WHERE RDB$RELATION_NAME='SIZELIST1'
Because this is the system table from which we read all the data about tables and views.

here it is uploaded:
https://ibb.co/0fktkNk

Another fix has been introduced, I hope it will work.

@akilovich greatm and in which version it will be available?

@teklstudio It will be available in 21.0.1, the first 21.0.1 EA containing the fix will be built somewhere in the next week, I'll let you know.

@teklstudio The EA version with the fix is out.

@akilovich - works great! thank you

Hooray!


app optimization

here are some features , that can increase app optimization :
accessibility : by implementing accessibility we can achieve two goals  :

no need of requesting permission for screenshot (media projection).

can setup gestures on navigation buttons (like when user repeatedly press navigation button ( home , recent ))

dummy Activity :

an dummy activity like that of lens .
by using that we can make app interactive and user feels smoothness and does not feel like just searching on google or like through photos .

by setting up gestures we can set up an listener to it , and launch service on required.


Make commands chainable

In ref to these comments. Needs to be done before "go to line" command in https://github.com/gchp/iota/issues/122

Yeah, this would be nice.
The current command system needs an overhaul. I don't think the current implementation will support much more that it already does. Needs to be re-thought!
Do you have any suggestions on how we could make it work?

I started on an implementation at the chained_cmds branch, although it has a lot of bugs right now. Basically parsing the command as a slice and returns a vec of Commands to exec.


Library not posting source_id when leads are created

Hi there - I don't believe the source_id is being posted to the Base v2 API. I can't find it in the lead model either

+1. Seeing the same behavior on update as well.

#24

I just ran into the same thing. The source_idattribute gets cleaned up during sanitization because it is not included in the OPTS_KEYS_TO_PERSIST set. I guess with  #24 I created a duplicate of this ticket then.

Should be ok in version 1.2.3, closing.


Improve Native Federation Compatibility

Ongoing Native Federation Improvements.
See https://github.com/the-guild-org/federation

I think we're at the point where we can say it's done.


Added topics to Julia workshop

I added the topics to be covered in the workshop.

Due to time constraints I will merge this.


NPC Agression Timer to auto turn off in certain areas

Is your feature request related to a problem? Please describe.
In lots of places NPC agression is not relevant and the lines are a bit of an eyesore.
Describe the solution you'd like
Plugin to not show lines for the aforementioned places such as: Minigames, skilling guilds, lots of banks. I have also heard that monsters never lose agression in the wilderness, but can't confirm that.
Describe alternatives you've considered
Plugin to only activate & show lines when in combat. My personal ideal fix would to do this in addition to the suggestion in the former question.

If Always active is off, it will only ever show when there is a listed NPC in view distance.


Fixed implementation of WorkflowExecutionUtils#getInstanceCloseEvent that previously could get into infinite loop after a timeout

What was changed:
Execution flow in WorkflowExecutionUtils#getInstanceCloseEvent has been fixed to don't allow falling into an infinite continue cycle described in Issue #471.
Closes issue:
Issue #471

Would be nice to also add a test, but it looks like it's not going to be easy, so LGTM.


Conflicting event handlers

There are two related issues here, one minor and one major:

The minor one is that the BrowserStateMixin defines event handlers with names that follow too strictly :grinning: React's conventions, such as _handleFocus, _handleMouseEnter and so on. That's good, but it clashes with any such functions we may already have in our own components. Suggestion: maybe prefix Radium's handlers with a Radium-specific prefix?

The major one is that, if I'm not doing something wrong, this same mixin prevents the use of my own event handlers (if declared before {...this.getBrowserStateEvents()}) or Radium's handlers (if declared after {...this.getBrowserStateEvents()})

You are correct on both counts!
In most of our usage, individual components have been relatively generic + haven't included their own listeners that conflict with Radium (only ones passed down as props), so this never really occurred to me.
I'm thinking one solution will solve both of these issues. We can rename the event listeners to something Radium namespaced: RadiumMouseEnter, then if you need to use your own handlers on the same events, you can just do this:
<button
  {...this.getBrowserStateEvents()}
  onMouseEnter={this.handleMouseEnter}
/>

handleMouseEnter: function () {
  this.RadiumMouseEnter();

  // Do whatever your listener should do.
}

It's not transparent, but I think it's clean enough to document this as an edge case with a workaround.

That would be great, thanks!


Please open a v3.0.0-dev branch for breaking changes

A few of the issues opened here (#30, #29) require a change in the name of some functions, which would break the current version.
I guess this would mean that we also need to separate the documentation website in v2 and v3, with a section for breaking changes for new, incoming users.
Lastly, should we put a deprecation warning on the current functions so users looking into upgrading to v3 are ready for the change?
PS: Amazing library. I intend to contribute a lot here starting mid-March. Currently building a massive trophy database backend using this. Flawless work.

Other thoughts on a potential v3:

Transitioning from dts-cli to microbundle
Transitioning from Docusaurus to VitePress

I have recently built https://github.com/RetroAchievements/retroachievements-api-js, where I had great success with both of these. This library originally began as a fork of psn-api.

I am happy to create a v3.0.0 canary branch for breaking changes, however, I'm inclined to believe that as soon as those changes are in we should just ship 3.0.0. This would render the creation of such a branch as a moot point.

Not my library so none of my business how you run it, but I think we still have a bunch of good features we could add that could be ported to 2.x.x, like universal game search from #88. I don't think we have any big changes yet that justify going to 3.0.0 right away? Maybe you could provide some clarification here about the 2 things you mentioned, as I trust you know more about them.
I've created my own singleton component that handles the entire connection management process behind the scenes and reconnects and refreshes when necessary, which I think could be a great addition to this library as well. We can discuss this better halfway through March, as I'm currently laser-focused on creating my backend. Maybe I can even bring some other upgrades I'm yet to discover by then.

I think we still have a bunch of good features we could add that could be ported to 2.x.x

My perception is these function renames would not be earth-shattering changes, especially if a deprecation notice lands in 2.x.x. Of course I am happy to minimize breaking changes as much as possible. The best path forward might be to rename the functions themselves, then re-export them under the old names with a @deprecated tag. Then all references to the old names would be scrubbed from the documentation. New library consumers will use the new names, while existing library consumers will see an annoying strike through the old name in VSCode.

Maybe you could provide some clarification here about the 2 things you mentioned, as I trust you know more about them.

microbundle is generally better maintained than dts-cli and I've seen a ~45% reduction in bundle sizes using it over dts-cli.
Docusaurus is kind of a pain to work with; I've found VitePress to generally be a faster and more productive docs site generator.

The best path forward might be to rename the functions themselves, then re-export them under the old names with a @deprecated tag. Then all references to the old names would be scrubbed from the documentation. New library consumers will use the new names, while existing library consumers will see an annoying strike through the old name in VSCode.

Yeah, this sounds like the perfect solution to me!

microbundle is generally better maintained than dts-cli and I've seen a ~45% reduction in bundle sizes using it over dts-cli.
Docusaurus is kind of a pain to work with; I've found VitePress to generally be a faster and more productive docs site generator.

Alright man, looks exciting. Looking forward to getting to work on this with you soon. :)

Looking forward to getting to work on this with you soon. :)

Likewise!

PS: I forgot to suggest this, but one of the ideas I had for 3.0.0 is removing entirely the need to pass the authorization as a parameter to functions, also being able to set a set user to fetch data from (that is not the same as the logged-in user, as I know some people are afraid of using this with their actual gaming account, doing something wrong, getting rate limited or even banned from PSN for API abuse).

I would definitely be open to suggestions on this. One reason it currently works this way is to keep the functions pure so dead code elimination can work properly when someone imports the library. By keeping everything pure, if someone only uses two functions from psn-api, those will be the only two functions that make it into their build.

I would definitely be open to suggestions on this. One reason it currently works this way is to keep the functions pure so dead code elimination can work properly when someone imports the library. By keeping everything pure, if someone only uses two functions from psn-api, those will be the only two functions that make it into their build.

Oh, that's cool, you had tree shaking in mind when you did it this way.

One potential approach could be to have some kind of authorized client class, where authorization is handled in the constructor. Then users could decide if they want better DX for slightly larger bundle sizes.

Yeah that sounds like a good compromise, that way users can opt for smaller bundle sizes or DX comfort.


Configuration files are not reloaded on save in vscode

Have the following derp.toml:

rust-s3 = { version = "0.33", default-features = false, features = ["sync", "sync-rustls-tls"] }

Try to save it and observe that it expands the array:

rust-s3 = { version = "0.33", default-features = false, features = [
    "sync",
    "sync-rustls-tls",
] }

Add a config file .taplo.toml to prevent this:

include = ["*.toml"]

[formatting]
column_width = 120
array_auto_expand = false

Try saving derp.toml again and face the same expansion.
Reload vscode window and save it again to see the config applied.

Not picking up config file changes is counter-intuitive and very hard to understand. I went as far as compiling the extension myself to find it working after that.

This looks like a duplicate of #282.


Add autocorrect for Lint/BlockAlignment cop

References https://github.com/bbatsov/rubocop/issues/743.

I think this should be closed. Auto-correct exists but with an issue: #1573.


Camera support

Hello!
This project looks great! Do you have any plans to support Sony/Canon/Nikon cameras in future, or do you know of any blockers for this?
Thanks : )

Sorry for replying so late.
Of course, I'd like to support all of the major products as much as libgphoto2 does, but it takes lots of effort to fill the gap between the vendor-specific extensions for the PTP standard, and it's kind of difficult to be done by only myself.
If you have any specific camera that you want the library to support, please let me know just in case, and I'll perhaps implement the vendor-specific implementation for that when I have enough time.
And I'd appreciate it if you'd consider supporting my project by committing to the library or becoming my GitHub Sponsors.

Hi
Just found this project, and I'm very interrested !
Do "standard PTP" commands allows to retrieve pictures stored in the camera ?
So, if the user takes a picture from the camera, it can then be retrieved directly in the browser ?

If you have any specific camera that you want the library to support, please let me know just in case, and I'll perhaps implement the vendor-specific implementation for that when I have enough time.

We would love to see Canon EOS cameras supported. If I have understood correctly, they all have similar (identical?) PTP protocol implementation. We would like to take photo from camera and get that photo as image.

And I'd appreciate it if you'd consider supporting my project by committing to the library or becoming my GitHub Sponsors.

To support your project, we just sponsored you. Thanks for all the hard work you have already done.

Also, If you could write out simple instructions how the support should be added (just the basic idea), that would help others to contribute.

@Adesin-fr

Do "standard PTP" commands allows to retrieve pictures stored in the camera ? So, if the user takes a picture from the camera, it can then be retrieved directly in the browser ?

The PTP specification also mentions how to represent “objects” (an arbitrary data structure for representing images and videos) in camera storage and retrieve them from a host device (mostly the browser).
So if the camera precisely complies with the standard, you can download any pictures in the camera by using methods such as [TethrPTPUSB.takePhoto], [TethrPTPUSB.getStorages], and [TethrPTPUSB.getObject]. Unfortunately, most cameras seem to adapt their own protocols, so you might still have to implement some vendor-specific codes anyway.

@savikko

We would love to see Canon EOS cameras (5D, 7D, 600D etc) supported. If I have understood correctly, they all have similar (identical?) PTP protocol implementation. We would like to take photo and get that photo as image.

Also, do you have any requests for the specific model? Though I guess every model from Canon has similar vendor-specific extensions to PTP standards, I just wanted to know which model you want to be supported.

Also, do you have any requests for the specific model? Though I guess every model from Canon has similar vendor-specific extensions to PTP standards, I just wanted to know which model you want to be supported.

Thanks for the instructions for supporting new camera, I somehow missed the document earlier.
(btw, link is missing first h letter so link is not clickable currently :) )
Anyways, we can use multiple models here, but I now have here on "development lab" the 600D so that would be easiest to support that as a first model (so I can test everything by myself).


Disable Express x-powered-by Header

Resolves #247 by disabling the x-powered-by header

I'm unsure if this is an Enhancement or just Maintenance, let me know what you think


docs: broken format displayed under JWT reference

Description:
Link to v0.6.0 docs: https://gateway.envoyproxy.io/v0.6.0/api/extension_types/#jwt.
Link to latest docs: https://gateway.envoyproxy.io/latest/api/extension_types/#jwt.

Reference:
https://github.com/envoyproxy/gateway/blob/73fbd62999d570dc6c60dc92d82878e2a9f352e1/site/content/en/latest/api/extension_types.md?plain=1#L895-L896
Repro steps:
A newline result in the docs site to add additional columns on providers field under JWT references.
Code:
https://github.com/envoyproxy/gateway/blob/73fbd62999d570dc6c60dc92d82878e2a9f352e1/api/v1alpha1/jwt_types.go#L9-L13.

Note: If there are privacy concerns, sanitize the data prior to
sharing.

Environment:
v0.6.0 and latest
Logs:

Include the access logs and the Envoy logs.

@ardikabs would you like to send a fix?

sure @zirain .


File size validation is bugged for multiple file select in latest version

When selecting multiple files it would appear that only the first one is validated for size.
Im attaching a demo where if I select a file exceeding maxFileSize its not added to plainFiles and error is produced. However if my first file in multi selection is smaller than maxFileSize the whole bunch is added and no error is produced.
Sandbox
Demo
https://user-images.githubusercontent.com/77397783/181311011-5213edfa-ad02-403a-a64b-6dbfd61b67f0.mov

Perhaps worth mentioning that version 1.0.0 doesnt appear to have this issue.

Thanks for reporting it, I can check it in few days, maybe someone else can take a look @MrKampla @GitKokoszka.

Yesterday, we released version 1.5.1 containing a fix for this issue. Closing the thread.


No unchanged relevant lines lost coverage.
Overall coverage increased (+0.8%) to 88.438%

Totals

Change from base Build 173:
0.8%

Covered Lines:
333

Relevant Lines:
345

💛  - Coveralls


Merge tests/drivers/adc/adc_api and adc_dma in a single test

Tests adc_api and adc_dma being very similar, this PR integrates the DMA test in adc_api test to avoid duplicated code.
Also adds overlays for many STM32 boards.
This PR depends on #69543 for all STM32 tests to pass.
Fixes #68690

I haven't been able to test the change on Kinetis boards.
@hakehuang I think you added the two Kinetis boards on adc_dma test, do you think you could test this PR to see if this still works?
DNM until these tests are passed

On the last commit, should you update test .yaml then ?

Correct, I forgot to update the list. Done now!

kinetis testing fails
bb*** Booting Zephyr OS build v3.6.0-220-g50dbae9b2c32 ***
Running TESTSUITE adc_basic
===================================================================
START - test_adc_asynchronous_call
Assertion failed at WEST_TOPDIR/zephyr/tests/drivers/adc/adc_api/src/test_adc.c:188: test_task_asynchronous_call: (ret not equal to 0)
k_poll failed with error -11
FAIL - test_adc_asynchronous_call in 1.015 seconds
===================================================================
START - test_adc_invalid_request

it hangs here

it hangs here

Thanks for your test. I didn't notice that Kinetis SoCs used a counter. It's added now, along with the sample interval.
I've checked the compilation but could you test again on frdm_k64f and frdm_k82f?

Thanks for your test. I didn't notice that Kinetis SoCs used a counter. It's added now, along with the sample interval.
I've checked the compilation but could you test again on frdm_k64f and frdm_k82f?

the drivers.adc.dma_nxp_kinetis case is ok, but I meet problem with the drivers.adc, it fails on both boards.

the drivers.adc.dma_nxp_kinetis case is ok, but I meet problem with the drivers.adc, it fails on both boards.

I finally got my hand on a frdm_k64f board and was able to test and fix the issue. I've tested both with and without DMA and it works. Feel free to confirm if you want.

I finally got my hand on a frdm_k64f board and was able to test and fix the issue. I've tested both with and without DMA and it works. Feel free to confirm if you want.

now it works for me.

@gautierg-st Please rebase


Updated G602 device with the correct USB id

Updated the G602 device id with the correct id found on the libratbag Wiki and the output I see from lsusb and usbguard --list-devices

I'm pretty sure c537 is a receiver, not the actual mouse. @FFY00?
we should have a CI test that just greps for the known receiver IDs and complains where they're added to a .device file :)

The current ID is correct. The ID you are using is the ID of the receiver. Since Linux 5.2 the device ID will be exported to the userspace. There might be other devices with the same receiver.


Added delete dataset endpoint.

Description
Please provide a meaningful description of what this change will do, or is for. Bonus points for including links to
related issues, other PRs, or technical references.
Note that by not including a description, you are asking reviewers to do extra work to understand the context of this
change, which may lead to your PR taking much longer to review, or result in it not being reviewed at all.
Type of Change

[ ] Bug Fix
[ \x] New Feature
[ ] Breaking Change
[ ] Refactor
[ ] Documentation
[ ] Other (please describe)

Checklist

[ ] I have read the contributing guidelines
[ ] Existing issues have been referenced (where applicable)
[ ] I have verified this change is not present in other open pull requests
[ ] Functionality is documented
[ ] All code style checks pass
[ ] New code contribution is covered by automated tests
[ ] All new and existing tests pass

Codecov Report
Attention: 14 lines in your changes are missing coverage. Please review.

Comparison is base (0a472f9) 14.95% compared to head (35d65c8) 14.87%.

Files
Patch %
Lines

cmd/controller/app/database/mongodb/dataset.go
0.00%
14 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #475      +/-   ##
==========================================
- Coverage   14.95%   14.87%   -0.08%
==========================================
  Files          49       49
  Lines        2735     2749      +14
==========================================
  Hits          409      409
- Misses       2299     2313      +14
  Partials       27       27

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


Remove legacy buildkite infra configs from Compatible and Develop git branches

Infra code in the following repository locations is roughly 2 years old and is no longer in use. This issue ticket is to track remove this unused code from the compatible and develop repository branches.
https://github.com/MinaProtocol/mina/tree/develop/automation/terraform/buildkite
https://github.com/MinaProtocol/mina/tree/compatible/automation/terraform/buildkite

This item is completed.


[IZPACK-1285] UserInputPanel: Fields not rendered after activating panel the first time

This issue concerns https://izpack.atlassian.net/browse/IZPACK-1285 has been introduced with https://izpack.atlassian.net/browse/IZPACK-1284:
Some panels are not rendered correctly after being activated the first time, there are missing fields which appear after pressing Next and Previous subsequentially.
Apologises. Fix will be released soon.

IzPack project » izpack #873 UNSTABLE
Looks like there's a problem with this pull request
(what's this?)


(chore) Up latest Ergo dev

Signed-off-by: Jerome Simeon<EMAIL_ADDRESS>

Coverage remained the same at 95.312% when pulling a16f63d2c8f723211d9bf688c7117dbf9502ee94 on jeromesimeon:js-fix-latest-ergo into ec32d757e621290d5f49968d8f9508a85adb7fd6 on accordproject:master.


rsync is always seeing all the files as newer

I am missing something here. Does the ESP32 need to have an RTC for this to work?

Alright this is not happening all the time. I'm keeping this open and will post more info if I discover a pattern.

@tionebrr , what file system are you using? FAT or LittleFS?

@AltoRetrato , FAT.

Okay, my problem went away after upgrading to the new MicroPython 1.13 release. Before, I was using an 1.12-based nightly build from August in order to get uasyncio support. Looks like it had a somewhat incorrect filesystem implementation.
Since you didn’t tell us the version of MicroPython you were using, maybe you’re seeing the same effect.

Okay.
I'm not using micropython these time so I think I'll close the issue.
Thanks for the feedbacks @scy .


Customizing hostname for jupyterhub companion

How do you change the hostname for a jupyterhub companion?
Let's say you have:

a binderhub at XX.XXX.XXX.XX
a jupyterhub at YY.YYY.YYY.YY

How do you make it so a domain:

example.com points to YY.YYY.YYY.YY
and have the binderhub correctly redirect to it?

I believe this is exposed via helm chart configuration...the clearest way to see it's use is by checking out the mybinder.org helm chart: https://github.com/jupyterhub/mybinder.org-deploy/blob/master/config/prod.yaml#L17
It is annoyingly not documented well though...the Binder deployment docs are more "alpha" whereas the service itself is "beta" :-)

Fair enough. Got it to work


FAILURE: Build failed with an exception.

`
JafirdeMac-mini:app-master jafir$ react-native run-android
JS server already running.
Running /Users/jafir/Documents/androidSdk//platform-tools/adb -s emulator-5554 reverse tcp:8081 tcp:8081
Building and installing the app on the device (cd android && ./gradlew installDebug)...
FAILURE: Build failed with an exception.

Where:
Build file '/Users/jafir/Downloads/app-master/android/app/build.gradle' line: 101

What went wrong:
A problem occurred evaluating project ':app'.

Could not find property 'MYAPP_RELEASE_STORE_FILE' on SigningConfig_Decorated{name=release, storeFile=null, storePassword=null, keyAlias=null, keyPa
ssword=null, storeType=null}.

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED
Total time: 5.954 secs
Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/android-setup.html
(node:31468) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): TypeError: Cannot read property 'message' of undefined
(node:31468) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will te
rminate the Node.js process with a non-zero exit code.
`
模拟器也运行好了，貌似是签名问题


Prevent plugin to use audio permission

Describe the bug
Don't know if a bug or not,
I just want the camera functionality not the video, but on android it keeps informing to allow audio permission.
Expected behavior
Just do not want to show the audio permission on first install.
Desktop (please complete the following information):

OS: Android
Version 10

Smartphone (please complete the following information):

Device: Samsung A50
OS: Android
Browser stock browser
Version 10

I think we can remove Manifest.permission.RECORD_AUDIO from CameraPreview.java to prevent audio permission request

Thanks, that did the trick. 👍

Manifest.permission.RECORD_AUDIO still has not been removed from CameraPreview.java and installed the plugin version 1.2.0 causes the problem as described in this ticket.
Here is the PR to fix this https://github.com/capacitor-community/camera-preview/pull/100

In v1.2.1 the Manifest.permission.RECORD_AUDIO is completely removed thus not being requested causing the plugin to fail when recording video (Android)

This permission should not be always requested when the plugin starts. This was the initial implementation and I think that this bug has been introduced when the video support has been added to this plugin so I reverted it back. My assumption that this RECORD_AUDIO permission should be requested only when the plugin is going to start for video recording.

It seems that this ticket can be closed as the required change has been merged and included into the latest release

closing since the change was merged and released


New plugin

A feature to add a new empty plugin from visual studio would be useful.

Eventually you can add Blank plugin (the one you can create from UE Editor that is a plugin with a blank module) from VS right clicking on the game project (or alternatively from the Plugins folder if already exists)

Doesn't suite you?

Oh, sorry, didn't see that. Thank you! :)


Bug fix in locations model

If selecting lat/lon then also select * otherwise we lose all other location data

Can you send the Locations_model changes as a separate PR from your develop branch? I've already pushed the AdminController changes.

Yeah I’m not sure why the other code was added as I had synced to master. I’ll refork and add it separately.


Prefer JS over TS in extension resolve

this fixes an issue when next.js is loading packages using typescript that compile their typescript code in-line with their .ts files.
e.g.
./
./a.ts => ./a.js
./b.ts => ./b.js

which would result in
./
./a.js
./a.ts
./b.js
./b.ts

Stats from current PR

Default Server Mode

General

zeit/next.js canary
lifeiscontent/next.js patch-1
Change

buildDuration
13.8s
13.7s
-49ms

nodeModulesSize
48.9 MB
48.9 MB
✓

Client Bundles (main, webpack, commons)

zeit/next.js canary
lifeiscontent/next.js patch-1
Change

main-HASH.js gzip
5.13 kB
5.13 kB
✓

webpack-HASH.js gzip
746 B
746 B
✓

4952ddcd88e7..54d3.js gzip
4.68 kB
4.68 kB
✓

commons.HASH.js gzip
4.06 kB
4.06 kB
✓

de003c3a9d30..4cf7.js gzip
13.7 kB
13.7 kB
✓

framework.HASH.js gzip
39.1 kB
39.1 kB
✓

Overall change
67.5 kB
67.5 kB
✓

Client Bundles (main, webpack, commons) Modern

zeit/next.js canary
lifeiscontent/next.js patch-1
Change

main-HASH.module.js gzip
4.19 kB
4.19 kB
✓

webpack-HASH..dule.js gzip
746 B
746 B
✓

4952ddcd88e7..dule.js gzip
5.56 kB
5.56 kB
✓

de003c3a9d30..dule.js gzip
12.5 kB
12.5 kB
✓

framework.HA..dule.js gzip
39.1 kB
39.1 kB
✓

Overall change
62.1 kB
62.1 kB
✓

Legacy Client Bundles (polyfills)

zeit/next.js canary
lifeiscontent/next.js patch-1
Change

polyfills-HASH.js gzip
4.76 kB
4.76 kB
✓

Overall change
4.76 kB
4.76 kB
✓

Client Pages

zeit/next.js canary
lifeiscontent/next.js patch-1
Change

_app.js gzip
1.33 kB
1.33 kB
✓

_error.js gzip
4.07 kB
4.07 kB
✓

hooks.js gzip
779 B
779 B
✓

index.js gzip
222 B
222 B
✓

link.js gzip
2.9 kB
2.9 kB
✓

routerDirect.js gzip
283 B
283 B
✓

withRouter.js gzip
282 B
282 B
✓

Overall change
9.87 kB
9.87 kB
✓

Client Pages Modern

zeit/next.js canary
lifeiscontent/next.js patch-1
Change

_app.module.js gzip
757 B
757 B
✓

_error.module.js gzip
3.06 kB
3.06 kB
✓

hooks.module.js gzip
371 B
371 B
✓

index.module.js gzip
212 B
212 B
✓

link.module.js gzip
2.47 kB
2.47 kB
✓

routerDirect..dule.js gzip
273 B
273 B
✓

withRouter.m..dule.js gzip
272 B
272 B
✓

Overall change
7.41 kB
7.41 kB
✓

Client Build Manifests

zeit/next.js canary
lifeiscontent/next.js patch-1
Change

_buildManifest.js gzip
61 B
61 B
✓

_buildManife..dule.js gzip
61 B
61 B
✓

Overall change
122 B
122 B
✓

Rendered Page Sizes

zeit/next.js canary
lifeiscontent/next.js patch-1
Change

index.html gzip
1.02 kB
1.02 kB
✓

link.html gzip
1.03 kB
1.03 kB
✓

withRouter.html gzip
1.02 kB
1.02 kB
✓

Overall change
3.07 kB
3.07 kB
✓

Serverless Mode

General

zeit/next.js canary
lifeiscontent/next.js patch-1
Change

buildDuration
14.3s
14s
-291ms

nodeModulesSize
48.9 MB
48.9 MB
✓

Client Bundles (main, webpack, commons)

zeit/next.js canary
lifeiscontent/next.js patch-1
Change

main-HASH.js gzip
5.13 kB
5.13 kB
✓

webpack-HASH.js gzip
746 B
746 B
✓

4952ddcd88e7..54d3.js gzip
4.68 kB
4.68 kB
✓

commons.HASH.js gzip
4.06 kB
4.06 kB
✓

de003c3a9d30..4cf7.js gzip
13.7 kB
13.7 kB
✓

framework.HASH.js gzip
39.1 kB
39.1 kB
✓

Overall change
67.5 kB
67.5 kB
✓

Client Bundles (main, webpack, commons) Modern

zeit/next.js canary
lifeiscontent/next.js patch-1
Change

main-HASH.module.js gzip
4.19 kB
4.19 kB
✓

webpack-HASH..dule.js gzip
746 B
746 B
✓

4952ddcd88e7..dule.js gzip
5.56 kB
5.56 kB
✓

de003c3a9d30..dule.js gzip
12.5 kB
12.5 kB
✓

framework.HA..dule.js gzip
39.1 kB
39.1 kB
✓

Overall change
62.1 kB
62.1 kB
✓

Legacy Client Bundles (polyfills)

zeit/next.js canary
lifeiscontent/next.js patch-1
Change

polyfills-HASH.js gzip
4.76 kB
4.76 kB
✓

Overall change
4.76 kB
4.76 kB
✓

Client Pages

zeit/next.js canary
lifeiscontent/next.js patch-1
Change

_app.js gzip
1.33 kB
1.33 kB
✓

_error.js gzip
4.07 kB
4.07 kB
✓

hooks.js gzip
779 B
779 B
✓

index.js gzip
222 B
222 B
✓

link.js gzip
2.9 kB
2.9 kB
✓

routerDirect.js gzip
283 B
283 B
✓

withRouter.js gzip
282 B
282 B
✓

Overall change
9.87 kB
9.87 kB
✓

Client Pages Modern

zeit/next.js canary
lifeiscontent/next.js patch-1
Change

_app.module.js gzip
757 B
757 B
✓

_error.module.js gzip
3.06 kB
3.06 kB
✓

hooks.module.js gzip
371 B
371 B
✓

index.module.js gzip
212 B
212 B
✓

link.module.js gzip
2.47 kB
2.47 kB
✓

routerDirect..dule.js gzip
273 B
273 B
✓

withRouter.m..dule.js gzip
272 B
272 B
✓

Overall change
7.41 kB
7.41 kB
✓

Client Build Manifests

zeit/next.js canary
lifeiscontent/next.js patch-1
Change

_buildManifest.js gzip
61 B
61 B
✓

_buildManife..dule.js gzip
61 B
61 B
✓

Overall change
122 B
122 B
✓

Serverless bundles

zeit/next.js canary
lifeiscontent/next.js patch-1
Change

_error.js gzip
77.8 kB
77.8 kB
✓

hooks.html gzip
1.06 kB
1.06 kB
✓

index.js gzip
78 kB
78 kB
✓

link.js gzip
80.4 kB
80.4 kB
✓

routerDirect.js gzip
78.1 kB
78.1 kB
✓

withRouter.js gzip
78.1 kB
78.1 kB
✓

Overall change
393 kB
393 kB
✓

Commit: 3a8b967270b7f3d5a33e01756753968e678da913

That sounds like a bug in the particular package (wrong publish). Also note that next does not compile node_modules, meaning you’re customizing webpack config to achieve that. Changing this will make resolving in typescript projects slower.

@timneutkens every other framework (gatsby/create-react-app) resolves node_modules via JS not TS.
Also, within the typescript ecosystem its pretty common to compile your JS files along side your TS.
just because you don't happen to use a node_module which does this doesn't make it not valid.
once its a node_module, (after compilation/published) it would seem pretty weird to consume TS.

@timneutkens also for the record, this wouldn't be an issue (for me) if styled-jsx worked in typescript alone, but since it doesn't I have to use babel to run the babel transforms to get the UI Kit I'm building to work correctly in different projects.

Did a bunch more investigation into this and it seems that the TS compiler prefers .js files too so let's mirror that behavior, could you open a new PR and add tests for this behavior in test/integration/typescript.
I'll have to close this one as it's fork has disappeared and I can't do a checkout for it.


Move Windows CI from CirrusCI to GitHub Actions

CirrusCI no longer offers unlimited free CI to open source projects so, we need to move as we use a lot of CI resources and quickly exhaust what we get from Cirrus for free.
Due to some complications with moving over the existing CirrusCI workflow, this is a "partial move". In Cirrus, we were using Windows Containers for all CI. We can't do that in GitHub Actions as Windows Containers aren't supported.
Getting an environment set up that supported LLDB has been difficult so, as a stepping stone, this commit gets us set up with running tests in LLDB.

So it appears that debug runtime builds hang on GH when running the tests. Eventually, they appear to hang. Some program here or there. But when cancelled, we get in a bit more output, it appears. Its weird. It isn't happening on Cirrus. Not sure if it is the number of CPUs or what.


Deprecate HTTPS SSL/TLS weak ciphers in Cloud v4

Go ahead and publish it. :+1:
On September 14, 2020 10:48:38 AM GMT+02:00, Mark van Ments<EMAIL_ADDRESS>wrote:

@MarkvanMents approved this pull request.
Hi @pommi
I've changed the structure a bit to keep the day of the announcement as
today, otherwise new release notes will get lost underneath if we say
that it is an announcement for December. I think it is clear.
Can this be published now, or do I need to wait.
Thanks, Mark.


Fix wrong port on kubernetes service

Rename a field to make it more obvious.
Fix some comments and other minor artifacts.

Verified by hitting the service on 443, and by hitting the master on 8080,
6443, and 7080.
Fixes #4216

@saad-ali

LGTM. Worth running E2E?

Why default port this way instead of relying on default of flag?  And why
doesn't 0 disable a port?
On Feb 6, 2015 11:36 PM, "Saad Ali"<EMAIL_ADDRESS>wrote:

LGTM. Worth running E2E?
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/pull/4233#issuecomment-73354083
.

@erictune I was not trying to fix this logic overall.  This fixes a bug that exists today and (I think) makes the existing behavior a bit more self-documenting.  I followed the existing patterns.  I would welcome some cleanup here, but that was not the goal of this PR.

@erictune If you give the green flag, I'll merge this PR.

LGTM.

Will this become part of a new 0.9.x release or 0.10.x?

Probably not 0.9, maybe 0.10.  Is it urgent, or could you build off head?
On Feb 10, 2015 4:11 AM, "Paulo Pires"<EMAIL_ADDRESS>wrote:

Will this become part of a new 0.9.x release or 0.10.x?
--
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/pull/4233#issuecomment-73689469
.

Built and delivered but ofc it's easier to just follow releases. I'd say
this is enough for a minor release, say 0.10.2, is it not?
On Tue, Feb 10, 2015 at 3:47 PM, Tim Hockin<EMAIL_ADDRESS>wrote:

Probably not 0.9, maybe 0.10. Is it urgent, or could you build off head?
On Feb 10, 2015 4:11 AM, "Paulo Pires"<EMAIL_ADDRESS>wrote:

Will this become part of a new 0.9.x release or 0.10.x?
--
Reply to this email directly or view it on GitHub
<
https://github.com/GoogleCloudPlatform/kubernetes/pull/4233#issuecomment-73689469
.

—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/pull/4233#issuecomment-73722280
.

--
Paulo Pires