Issues accessing any https websites - try another PC or reinstalling Chrome

I have issues accessing any of https websites. I get an error "Your connection is not private" every time the Chrome browser is opened automatically by script.
Currently I am trying to make "1_google.tag" sample work.
Could this be related to OpenSSL issues? I uninstalled and installed SSL following the instructions in this tread.

This issue has not been reported before. Chrome should not have a SSL dependency on OpenSSL but have its own SSL certificate. Try on another computer or try reinstalling Chrome to see if it helps.
On my macOS 10.15.3 (19D76), the following runs without such error message -
Tebel:samples kensoh$ tagui 1_google.tag

START - automation started - Fri May 22 2020 00:59:17 GMT+0800 (+08)
https://www.google.com/ - Google

type q as latest movies[enter]
click (//div[@class="r"]/a)[1]
wait 3
snap page to results.png

https://timesofindia.indiatimes.com/entertainment/latest-new-movies/english-movies - Latest English Movies | List of New English Films Releases 2020 | eTimes
FINISH - automation finished - 12.4s

I reinstalled Chrome, the problem persists. Changing computer is not an option. I think it could be something to do with my computer privacy settings maybe.

I see.. I can think of 2 possibilities, but there could be more other reasons due to the PC configuration for your company IT policy and intranet. But I'm afraid I don't have a solution what could be done next.
First possible reason is what you said on the computer privacy settings that is set by your company. Second is, maybe your IT policy is strict, and somehow detect that this Chrome browser is being launched through automation, and tries to block it.

It's my own MacBook Pro, I've bought it recently.

As no other users have reported experiencing this, try the following to see if there're clues -

try open your Chrome browser manually and visit https://ca.yahoo.com see if you get such cert error message. If yes, something wrong with your computer and Chrome somehow with certs.

create a text file demo.tag with just 1 line https://ca.yahoo.com, then run tagui demo.tag to see if this cert message still appears

if it does, check the file tagui/src/tagui_chrome.log and attach it here to see if there is any clue from the communication log btw TagUI and Chrome

try running this from terminal prompt /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome and open the yahoo website and see if error appears

try running this from terminal prompt /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --user-data-dir=tagui_user_profile and open the yahoo website and see if error appears

try running this from terminal prompt /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222 and open the yahoo website and see if error appears

try running this from terminal prompt --user-data-dir=chrome/tagui_user_profile --remote-debugging-port=9222 about:blank and open the yahoo website and see if error appears

The yahoo website automation works for my Chrome at Version 81.0.4044.138 (Official Build) (64-bit). When I update to latest Chrome at Version 83.0.4103.61 (Official Build) (64-bit) it works too.

Runs fine.

*2. Same error, invalid certificate• By the way I have to run script with sudo command every time for it to even start, otherwise I get an error in the terminal, and the script is not even tried to run.

There is only old data in the log file, if I delete tagui/src/tagui_chrome.log, the new one is not created.

Works fine.

Works fine, but funny, Chrome opened like after new installation. (I tried to run script again, did not work)

Works fine

This does not work: zsh: no such file or directory: --user-data-dir=chrome/tagui_user_profile

From the info above, it looks like the components required to work are working fine, except for 2.
sudo is not needed to run TagUI. My best guess now is for some reason, your PC can't run TagUI unless sudo is used. But sudo is actually the root user. And perhaps root user would not have a valid SSL certificate to browser https:// websites.
Some things to check -

check that the symbolic link you created /usr/local/bin/tagui has access for normal user accounts. eg ls -l /usr/local/bin/tagui should see something like lrwxr-xr-x

if not try doing sudo chmod 755 /usr/local/bin/tagui to see if that helps

try unzipping and installing TagUI again. Do everything under your normal user account so that from terminal with you type full_path/tagui/src/tagui you can run it

if step 3 can work try running the sample script again and paste error messages here if any

Reference - https://tagui.readthedocs.io/en/latest/setup.html

It is
I tried to chmod anyways, but still get errors without sudo:

/usr/local/bin/tagui: line 202: tagui_r/tagui_r.log: Permission denied
/usr/local/bin/tagui: line 203: tagui_r/tagui_r_windows.log: Permission denied
/usr/local/bin/tagui: line 204: tagui_py/tagui_py.log: Permission denied
/usr/local/bin/tagui: line 205: tagui_py/tagui_py_windows.log: Permission denied
/usr/local/bin/tagui: line 206: tagui.sikuli/tagui.log: Permission denied
/usr/local/bin/tagui: line 207: tagui.sikuli/tagui_windows.log: Permission denied
/usr/local/bin/tagui: line 208: tagui_chrome.log: Permission denied
override rw-r--r--  root/staff for tagui_chrome.in?
override rw-r--r--  root/staff for tagui_chrome.out?

I reinstalled everything again, I still get zsh: permission denied: tagui

That's something wrong above. rw-r--r-- above means root user access only.
For some reason, the way you unzip the TagUI files, ended up the files being root-user accessible only. Did you try to unzip on your user desktop, as mentioned in the setup reference above? If you did, what is expected is you will see drwxr-xr-x if you ls -l folder_name_on_your_desktop to mean accessible by every user but writable by your current user.

Yes, I did it on the Desktop. This is what I get with ls -l:
total 40
-rwxr-xr-x@  1 edgaras  staff  11343 Mar  9 18:14 LICENSE.md
-rwxr-xr-x@  1 edgaras  staff   2926 Mar  9 18:14 README.md
drwxr-xr-x@  3 edgaras  staff     96 May 24 20:11 flows
-rw-r--r--@  1 edgaras  staff    572 Mar  9 18:14 package.json
drwxr-xr-x@ 34 edgaras  staff   1088 May 24 20:11 src

From the terminal prompt at above folder,
whoami
cd src
./tagui ../flows/samples/1_google.tag
to see what happens. That will show the current user, and try to run using the current user.

Okay, I don't know what happened, but it finally worked for the first time! Thank you for patience...
Do you know how do I keep this permanent?

Oh great! I'm afraid not, unless you are able to find out what changed on your laptop. TagUI is supposed to work right away after unzipping. Something must likely have changed on your computer settings, because the zip file you downloaded didn't change.
The next time it does not work, see if you can pinpoint what was changed on your laptop to make it not work. Closing issue for now until further inputs.

@kensoh Well, it still does not work the normal way, only with the last method you suggested.
I am not sure what could have been changed in my computer settings, it's a new MacBook Pro, few months old. I think it has quite standard settings. I work with other npm applications through terminal ant it works file. Maybe new macbooks have some more strict settings. But it's quite interesting, that only me reported this behaviour.

I assume you followed the guide here - https://tagui.readthedocs.io/en/latest/setup.html
And use ln -sf /your_tagui_path/tagui/src/tagui /usr/local/bin/tagui to create shortcut.
The problem might be somewhere there. See if other users report this for more clues. Yes it sounds like some strange new behaviour happening on your newer macOS version. Maybe stricter behaviour for creating command shortcuts.

Yes, I did that multiple times, it did not help.
I guess for now I will use your suggested workaround until somebody else report this issue or the issue will be found in another way.
Thank you for help, Ken!

Sure Edgar! My part-time contract with AI Singapore is ending and I'll not be renewing for now. My colleague @siowyisheng will help support TagUI users with issues they raise on GitHub.


after hours price

Can the option to get the after hours price be added?

Try history(..., prepost=True)


Its possible to change the progress bar to any colour

By editing...
.ytp-swatch-background-color, .ytp-swatch-background-color-secondary -- for the main colour
.ytp-load-progress -- for the load progress colour
.ytp-hover-progress-light -- for the "jump to" bar colour (the thing that shows up when you want to jump forward in the video.
I think its possible to actually edit the colours of the whole player in html5 mode, and I would really like to see that as a feature. I would make a pull request but I have no idea how I would integrate my code with yours.
So less of an issue more of a feature request.

Apparently no one is interested in this feature. :(


Shuffle chaser scenes

As described in #1002, I implemented a button that shuffles the order of the scenes in a chaser. If no more than one scene is selected, all scenes are shuffled. If not, only the selected scenes are shuffled while keeping the position of the selected scenes.
Main differences to "Run Order: Random" are that the shuffled scene order is static, predictable, can be modified manually and doesn't necessarily affect all scenes.

Unit test
:white_check_mark: Passed:
$ make check
...
********* Start testing of ArtNet_Test *********
Config: Using QtTest library 5.9.1, Qt 5.9.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 7.2.0)
PASS   : ArtNet_Test::initTestCase()
PASS   : ArtNet_Test::setupArtNetDmx()
PASS   : ArtNet_Test::cleanupTestCase()
Totals: 3 passed, 0 failed, 0 skipped, 0 blacklisted, 0ms
********* Finished testing of ArtNet_Test *********
...
Unit tests passed.

Tested platforms
:white_check_mark: Linux Qt4 (tested on Ubuntu 17.10)
:warning: Linux Qt5 (tested on Ubuntu 17.10)
Building didn't succeed, but I don't think it's my fault as I get the same error when building the master branch. Please let me know if I'm wrong:
$ qmake CONFIG+=qmlui
...
$ make -j4
...
tardis/tardis.cpp: In member function ‘QByteArray Tardis::actionToByteArray(int, quint32, QVariant)’:
tardis/tardis.cpp:342:44: error: this statement may fall through [-Werror=implicit-fallthrough=]
                 widget->saveXML(&xmlWriter);
                                            ^
tardis/tardis.cpp:344:9: note: here
         case VCWidgetDelete:
         ^~~~

:question: Windows Qt4
:question: Windows Qt5
:question: macOS Qt4
:question: macOS Qt5

@fxedel thanks for the very complete and detailed PR, and sorry for the delay.
At a first glance, it looks OK. The only thing I would change is the button icon. Right now the one you used is recognized as "remapping" and might be confusing.
I think we can use the 'dice' icon I used in QLC+ 5 (you can rasterize the SVG icon to a 32x32 PNG icon)
I can do it if you're not faster than me.
As for qmlui code path, don't worry. I'll take care of it. It's still a work in progress.

tardis/tardis.cpp:342:44: error: this statement may fall through [-Werror=implicit-fallthrough=]
                 widget->saveXML(&xmlWriter);
                                            ^

add [[fallthrough]]; after that line (note the semicolon).

Excellent, thanks ! :+1:


Implement IEquatable on structs to avoid equality boxing

Micro-optimization to avoid boxing when comparing structs (Partition, Offset, and Timestamp). I noticed it when using TopicPartition as the key to a dictionary. EqualityComparer<T>.Default checks if a type implements IEquatable and uses it if present, so this also helps the dictionary case when a custom equality comparer isn't used.
Here is a before/after micro benchmark
                    Method |      Mean |     Error |    StdDev |  Gen 0 | Allocated |
-------------------------- |----------:|----------:|----------:|-------:|----------:|
           PartitionEquals |  6.025 ns | 0.0214 ns | 0.0179 ns | 0.0076 |      24 B |
 PartitionEqualityComparer |  5.109 ns | 0.0277 ns | 0.0216 ns | 0.0076 |      24 B |
       PartitionDictionary | 11.317 ns | 0.1115 ns | 0.1043 ns | 0.0076 |      24 B |

                    Method |      Mean |     Error |    StdDev | Allocated |
-------------------------- |----------:|----------:|----------:|----------:|
           PartitionEquals | 0.0000 ns | 0.0000 ns | 0.0000 ns |       0 B |
 PartitionEqualityComparer | 0.0000 ns | 0.0000 ns | 0.0000 ns |       0 B |
       PartitionDictionary | 8.0560 ns | 0.0440 ns | 0.0367 ns |       0 B |

private readonly Dictionary<Partition, int> partitionDictionary = new Dictionary<Partition, int>()
{
    { new Partition(0), 0 }, { new Partition(1), 0 },
    { new Partition(2), 0 }, { new Partition(3), 0 }
};

[Benchmark]
public void PartitionEquals()
{
    var partition1 = new Partition(100);
    var partition2 = new Partition(101);
    EqualityComparer<Partition>.Default.Equals(partition1, partition2);
}

[Benchmark]
public void PartitionEqualityComparer()
{
    var partition1 = new Partition(100);
    var partition2 = new Partition(101);
    EqualityComparer<Partition>.Default.Equals(partition1, partition2);
}

[Benchmark]
public void PartitionDictionary()
{
    var key = new Partition(0);
    var value = partitionDictionary[key];
}

It looks like @xqrzd hasn't signed our Contributor License Agreement, yet.

The purpose of a CLA is to ensure that the guardian of a project's outputs has the necessary ownership or grants of rights over all contributions to allow them to distribute under the chosen licence.
Wikipedia

You can read and sign our full Contributor License Agreement here.
Once you've signed reply with [clabot:check] to prove it.
Appreciation of efforts,
clabot

[clabot:check]

@confluentinc It looks like @xqrzd just signed our Contributor License Agreement. :+1:
Always at your service,
clabot

great! LGTM.


Missing images are not handled

Hey, love your project!
With one site I was testing it, I noticed that the resulting epub contains an img src reference to the error 404 status page.
Reproduction is trivial:

try a page with
resulting epub will have an OEBPS/index.html entry like this:  and an OEBPS/a2dafe1d007e2607f549726f0e7c9886.html containing the error 404 page.

Probably the html fetching code in fetch_html in http.rs should be extracted into a helper function and used in download_images too, as it handles both error status codes and redirection.
Not sure what would be the right course of action for when the image is missing, perhaps inserting the original (broken) url as source, so if the problem is transient and the image url starts to work, readers may load it then.
PS: this bug is only a manifestation of another bug I'm still hunting, looks as if the image url gets mangled somehow and that's what causes the 404. I'll open another bug as soon as I figured out what's happening.

I'm using 0.4.0-alpha1.
I've noticed the bug with multiple pages on substack, eg this one: https://blindsquirrel.substack.com/p/etsy-the-power-of-special . But this already involves the other bug mentioned where the image url gets rewritten to an invalid one, and I haven't yet figured out that one.
To have a clean reproduction, I just created a bogus html file like this:

<title>Test page</title>
Hello world!

And then served it locally with python: python -mhttp.server
The problem is that this is not a fetch error that the match req.await catches. The error 404 page is a successful fetch containing a content type of text/html, so the error code should be checked.


support quieter callbacks so the output from...

support quieter callbacks so the output from 7z and copy steps can be suppressed in the console log

please rebase

rebased.

Merged to master.


add miniflare/esbuild template quickstarts.md

Thanks for the PR, this looks like a useful project.
Two things to do and then I'd love to merge this!

Update the title and description to match the repo's title/description (see the project's README)
Re-position above the "Sunder" template listing (so official Cloudflare templates stay at top)

Thanks!

It's done.


istiod certificate duration too short

Using AWS PCA the minimum cert duration is 24h and the istiod certificate is hard coded to 1h in the chart. Can this be made configurable in the values.yaml file?
https://github.com/cert-manager/istio-csr/blob/master/deploy/charts/istio-csr/templates/certificate.yaml#L16

Thanks for the issue @bpotaczek, that is indeed very annoying :smile:
I will open a PR to make this value configurable and make a new Helm Chart version available.
/assign

@bpotaczek The v0.2.1 Helm Chart is now available and this variable should be configurable using the value app.tls.istiodCertificateDuration. Please give it a go :smile:

Thanks @JoshVanL, looks good.
I forgot to add that AWS also requires a commonName set on the Certificate object but I can open a new issue for that. I had updated it a few weeks ago locally and forgot about it.


[WIP] Bug 1828550: add storage migrator to OLM

Description of the change:
Alternative to #1504
Motivation for the change:
Reviewer Checklist

[ ] Implementation matches the proposed design, or proposal is updated to match implementation
[ ] Sufficient unit test coverage
[ ] Sufficient end-to-end test coverage
[ ] Docs updated or added to /docs
[ ] Commit messages sensible and descriptive

Currently build fails with stuff like
# github.com/kubernetes-sigs/kube-storage-version-migrator/pkg/clients/clientset/typed/migration/v1alpha1
vendor/github.com/kubernetes-sigs/kube-storage-version-migrator/pkg/clients/clientset/typed/migration/v1alpha1/migration_client.go:79:32: undefined: serializer.DirectCodecFactory
vendor/github.com/kubernetes-sigs/kube-storage-version-migrator/pkg/clients/clientset/typed/migration/v1alpha1/storagestate.go:71:5: not enough arguments in call to c.client.Get().Resource("storagestates").Name(name).VersionedParams(&options, scheme.ParameterCodec).Do
	have ()
	want (context.Context)
vendor/github.com/kubernetes-sigs/kube-storage-version-migrator/pkg/clients/clientset/typed/migration/v1alpha1/storagestate.go:87:5: not enough arguments in call to c.client.Get().Resource("storagestates").VersionedParams(&opts, scheme.ParameterCodec).Timeout(timeout).Do
	have ()
	want (context.Context)
vendor/github.com/kubernetes-sigs/kube-storage-version-migrator/pkg/clients/clientset/typed/migration/v1alpha1/storagestate.go:103:8: not enough arguments in call to c.client.Get().Resource("storagestates").VersionedParams(&opts, scheme.ParameterCodec).Timeout(timeout).Watch
	have ()
	want (context.Context)
vendor/github.com/kubernetes-sigs/kube-storage-version-migrator/pkg/clients/clientset/typed/migration/v1alpha1/storagestate.go:112:5: not enough arguments in call to c.client.Post().Resource("storagestates").Body(storageState).Do
	have ()
	want (context.Context)

After a meeting we have decided not to implement this approach (as part of the work for this particular bugfix). Closing for now.


fix: update FluentdPredictedBufferGrowth alert

Q
A

Bug fix?
yes

New feature?
no

API breaks?
no

Deprecations?
no

Related tickets
see https://community-banzaicloud.slack.com/archives/CGMPPBZBK/p1666622764104409

License
Apache 2.0

What's in this PR?

Updates FluentdPredictedBufferGrowth alert
Why?

The current alert triggers in a non consistent manner.
Checklist

[x] Code meets the Developer Guide

Hello ,
Checking on when will be reviewed ?
Thanks


Lots of unclarity here

[Enter feedback here]
There is a lot of unclarity here
==> For the OnPrem PIN Reset

Screenshots are missing for the user experience
How long does it take after the PIN reset until fingerprint and PIN can be reused to sign-in - after our tests there is a delay (about 30 minutes). It is unclear what is the issue for the delay (domain controller replication, azure replication, ADFS etc.???)
In Certificate Trust -> What needs to be done to get the user certificate (smartcard EKU) back?

==>Azure PIN reset

Can AzurePIN reset used even when the client / user was initially enrolled without the Group Policy set?
Screenshots are missing for the user experience
How does the AzurePIN reset work technically? Are there any delays expected? Does it work with Certificate trust?
Is the SSRP feature necessary for AzurePIN reset and how should it be configured?

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

ID: d9dae9da-eaf0-c209-7c65-be8d2c1ada12
Version Independent ID: 28b6788d-7982-23c2-5f19-f80690ebc0ce
Content: Pin Reset - Microsoft 365 Security
Content Source: windows/security/identity-protection/hello-for-business/hello-feature-pin-reset.md
Product: w10
GitHub Login: @mapalko
Microsoft Alias: mapalko

A:
Actually the one test case I described was cert trust and default PIN reset (Destructive). After about 30 minutes to 1 Hour I was able to log in again with fingerprint / PIN. And after some time the Self Signed Certificate came back but never the one from our PKI. So the smartcard auth functionality is not really back.
B: Does that mean that you can also switch to Azure based PIN reset on already enrolled WHFB clients? It sounds that this is the more viable method to minimize disruption.
C: Some screenshots for the user experience for the different types of PIN reset would be good as well.

For A, do you know why the enrollment failed? For example did you reset without line of sight to the CA/enrollment authority?
For B, You can turn Azure based PIN reset on for existing enrollments. After the policy is set, we can create the reset protector post provisioning the next time the user signs with their pin and authorizes their keys.
For C, we can work on adding those. It was quicker to push the text changes first.

I am no longer the area owner for this docs section.

@paolomatarazzo

This document has been updated multiple time since @identityiskey 's submission. I believe the content is accurate. Closing the issue, but @identityiskey please let me know if you think otherwise and I'll address the problem.


UPS management

Currently K3OS embeds all the minimal requirements of an OS to interact with hardware.
However power supply should also be incorporated into the OS to prevent power default by shutting down correctly the system.
Then is there a way to embed NUT alpine package into the K3OS distribution?

Hello, I can't seem to find documentation on how to do this properly / simply.
I can run something like https://artifacthub.io/packages/helm/k8s-at-home/network-ups-tools
But how to integrate operating system level support for this?
Do I have to use config.yaml -> write_files to make a custom /etc/init.d service to look for a hostpath file created via a Pod?
Or is it possible for a pod to mount a hostPath to /etc/killpower ? ( I did a grep in /etc for killpower and I don't think anything is looking for that file?)
Or is there anyway for a Pod to execute k3s-killall.sh and poweroff on the Node?

Hello, I can't seem to find documentation on how to do this properly / simply.
I can run something like https://artifacthub.io/packages/helm/k8s-at-home/network-ups-tools
But how to integrate operating system level support for this?
Do I have to use config.yaml -> write_files to make a custom /etc/init.d service to look for a hostpath file created via a Pod?
Or is it possible for a pod to mount a hostPath to /etc/killpower ? ( I did a grep in /etc for killpower and I don't think anything is looking for that file?)
Or is there anyway for a Pod to execute k3s-killall.sh and poweroff on the Node?


HttpClientRequest sends headers with lower case key and out of order.

The server requires the http headers to be ordered and case-sensitive, but Dart cannot do this.
For example, in the following code, the key of the request headers received by the server is all lowercase, and the order is also disrupted(possibly {'b ':'b', 'd': 'd', 'c': 'c', 'a': 'a',}).
    final client = HttpClient();
    final request = await client.getUrl(Uri.parse(url));
    final headers = {
      'A': 'a',
      'B': 'b',
      'C': 'c',
      'D': 'd',
    };
    headers.forEach((key, value) {
      request.headers.set(key, value);
    });

The server requires the http headers to be ordered and case-sensitive, but Dart cannot do this.

That's the bug in the server. Refer to HTTP/1.1 specification. RFC 2616 section 4.2 Message Headers says:

Field names are case-insensitive.
[...]
The order in which header fields with differing field names are received is not significant.

I don't know if supporting non-compliant servers which don't follow RFC 2616 is a goal or not for our builtin client.
I defer to @brianquinlan to make the call.

That's the bug in the server. Refer to HTTP/1.1 specification. RFC 2616 section 4.2 Message Headers says:

I think Dart as a development language should not limit this. This is a matter of framework.

If we can allow people to control the header precisely, even if it requires a more cumbersome approach than the default, I think it is a reasonable feature.
You may want to build specific headers to test your server code, and not only test it with the headers that dart:io sends by default.
It'd also be reasonable to defer to a secondary library for something like that, like package:http or a new package:custom_http (or whatever, naming is hard). It doesn't have to be part of the default implementation unless those other packages need it.

@tinyc0der Hi, how did you solve it? I saw the merge was closed


fix: Logging moved to vscode output channel

To be done:

[x] Logging to vscode output channel
[x] Detach IO from template models
[x] Move UI interaction to extension.ts (or a separate top-level class / layer)

#84

@KreativJos There will be a chance to have a code review here?


GSoC 23 proposal: Design, build and document a generic security scan result API

This issue relates to a proposal for a Google Summer of Code mentorship project as part of the CNCF organization.  It has not yet been accepted. Please feel free to comment on this issue about how we might improve the proposal, but commenting here is not the same as applying to GSoC.
Design, build and document a generic security scan result API

Description: Kubescape has the ability to submit scan results to a backend service, which can then store them and provide UIs to give insight over time as to a users' security posture. There is an implementation of this API by the commercial service that Kubescape's original creators, ARMO, runs. We would like to fully document this API, and improve it for future use cases, which may eventually have a wider scope than just Kubescape itself. If the student wants to extend the project, they could also build a sample backend to store data in-cluster using this API. (Please specify in your application if you are looking to work half or full time.)
Expected outcome: An improved and fully-documented API for how to send scan results from a Kubescape client to a security backend service.
Recommended Skills: Go, OpenAPI
Mentor(s): Craig Box, Ben Hirschberg
Expected project size: 175h for API only, 350h for API + sample backend
Difficulty: Medium

Hello mentors!
I am Tejas, currently a junior at IIT Jodhpur. I am interested in working on this project. I am passionate about Cybersecurity and Open Source Development. Previously I have been working with open-source organizations like Hyperledger and 0chain. I am proficient in Python, C, C++, and JavaScript, and I also have some experience in web development and API. Recently, I have been learning Golang while working on several projects.
Regarding the project:
I understand how this API will help to improve the overall security of Kubernetes clusters by providing a way to collect, store, and analyze scan results from Kubescape. Could you provide more information on the expected features and design for the API that will be developed for submitting scan results from Kubescape to a backend service?

hey i have strong foundation in html,css & have basics in javascript.
can you please what more skills i need to understand or contribute on this issue?
One more thing is that any slack or discord to interact with members?

hey i have strong foundation in c++, html, css & have basics in javascript.
Can you please tell me what more skills is need to add on for understanding or contributing to the  issues?
One more thing is there any slack or discord channel to interact with you members?

What are the specific areas of improvement in the existing implementation by ARMO that are being targeted, and how can those improvements be achieved?

The format of the objects are described here.  The project will involve looking at what other data might conceivably need to be submitted by a security posture scanner and ensuring the API is generic enough to handle such.

Also, could you provide more information on the expected features and design for the final API that will be developed for submitting scan results from Kubescape to a backend service?

This is the current API.  The implementation of the backend service will have to store data such that it can retrieved as per that API, with whatever extensions are proposed above.

hey i have strong foundation in c++, html, css & have basics in javascript.
Can you please tell me what more skills is need to add on for understanding or contributing to the issues?

As listed above, the recommended skills are Go and OpenAPI.

One more thing is there any slack or discord channel to interact with you members?

#kubescape-dev on the CNCF Slack.

What additional data is to be submitted to the security posture scanner is yet to be finalised, right?
According to me, the data which can be added is given below (Please correct me if I am wrong):
- User and Group information [Maintaining access control in the system]
- Network traffic data [Monitoring network traffic flowing in and out of the system]
- Application logs
- Threat Intelligence data [data from external sources, such as known threat actors, malicious IP addresses, and other indicators of compromise]

Also, what is our priority? working on the improving the existing API i.e., adding one more endpoint for providing the user's security posture or building our own custom API that can be used not just for Kubescape?

What additional data is to be submitted to the security posture scanner is yet to be finalised, right?
In my opinion, the data which can be added is given below (Please correct me if I am wrong):

User and Group information [Maintaining access control in the system]
Network traffic data [Monitoring network traffic flowing in and out of the system]
Application logs
Threat Intelligence data [data from external sources, such as known threat actors, malicious IP addresses, and other indicators of compromise]

The API has to be generic, and be able to handle more things.  That said, other things can be added later, or just be in a generic object: the goal for this project will be to tidy up the existing API and leave it open for further extension.

Also, what is our priority? Working on improving the existing API, i.e., adding one more endpoint for providing the user's security posture or building our custom API that can be used not just for Kubescape?

I think you will do the former, and prepare for the latter, but not have enough time to do this.  What we have could act as a proposal to (say) CNCF TAG Security on a standard API that other projects could use, but getting agreement on that API will take longer than the summer.  That said, if someone wanted to stay involved later and drive this, it would be an excellent way of demonstrating to future employers that you have the ability to be influential in the industry!

I got it. For developing a generic security scan API, as of now, we can't fix what additional data can be submitted to the security posture scanner; we need to be flexible regarding the kind of data related to the security posture, the types of authentication or authorization, etc.
Due to the time constraint for the approval of the CNCF TAG Security, currently, we'll be working on improving the existing API. Later, I would like to extend this project further by building a standard API for other projects as well.

Hi all,
The maintainers ultimately decided not present any candidates for this project to the GSoC.  This is not a commentary on the strength of the proposals, but rather the time we have to participate and our concern that this would end up being a major rewrite that we didn't have time to properly mentor during this term.  To that end, we won't be converting it to an LFX proposal, but we're ready to post up the projects we are putting forward for LFX now.
We look forward to your applications to that!
Thanks,
Craig


Due to changes on Vidstreaming.io, it no longer works.

You can expect this to be resolved by the end of the week; I already have a fix for this, but I am busy with classes.

Sad

mp4 works

I initially added m3u8 support to JS version as some shows were only available for m3u8 format, but now that they are all available on mp4 format I don't see any reason to bring m3u8 back, but if somebody else re-implements it I'll be glad to accept it

And still gonna keep the m3u8 download in the video module just in case


improve import scanner perf

Changes
Two big changes here to help the perf issues reported here: https://github.com/snowpackjs/snowpack/discussions/2896#discussioncomment-495424

Fixed our shockingly slow import replacer. This dropped antd first load down from ~700ms to ~300ms
Added memoization for our package import resolver. This dropped antd second load down from ~300ms to ~80ms.
Bonus: Added @ant-design/icons-svg to the "never peer" list so that they get automatically bundled into any packages that request them. They're so small that this shouldn't seriously impact dev performance.

Testing

Covered by existing test suite.

Docs

N/A

Are those stats the time per import?

That's for just the antd import, although that's a pretty special edge case. The bottleneck was on the "per import within the package" processing time, and antd has something like 50 different import statements to other sub-packages within it. It's a big package...

Hi @FredKSchott , it is still happening with our project for antd & ant-icons..
snowpack keeps on building package & never stops...
here is the repo


PIA: why use IP instead of hostname in .ovpn?

Is there a particular reason why? I imagine it also requires maintenance to update all IP's regularly..

The reason is that the firewall is set to only allow communicating with the IP addresses resolved from the hostname at start (although mullvad and windscribe come with fixed IP addresses in their configs), so if the IP changes (only for PIA), it won't work anymore and would be blocked. And now because other vpn service providers give fixed IPs in their config (to avoid relying on DNS resolution before tunneling), it's also better to keep it to IPs whenever possible for consistency :wink:

Thanks.


Documentation page doesn't working

https://node-capmonster.alperen.io/
Doesn't work :(

Hello,
I had to moved the documentation to here.


Fix error handling

It's possible that the response is nil when error is not nil.
This PR fixes error handling that might cause panic with null pointer exception.

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?


bisabolane (CHEBI:36480) IUPAC name

Please add another IUPAC name as a synonym, viz.
1-methyl-4-(6-methylheptan-2-yl)cyclohexane

Now added. Thanks


Initial commit

Generation works.
I removed all files that are not updated for simplicity. We can port them from upstream on demand.

Shouldn’t this target the other repo?


Prioritize validateset completions over Enums for parameters.

PR Summary
Makes tab completion respect validateset values for parameters with an enum type.
function foo
{
    param
    (
        [ValidateSet('DarkBlue','DarkCyan')]
        [ConsoleColor]$Color
    )
}
#Tab completion only cycles through DarkBlue and DarkCyan
foo <Tab>

PR Context
The completion for variables already work this way and Powershell does allow you to use ValidateSet to limit valid enums so this is just a fix for the parameter completion.
PR Checklist

[X] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[X] Summarized changes
[X] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[X] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.

Breaking changes

[X] None
OR
[ ] Experimental feature(s) needed

[ ] Experimental feature name(s):

User-facing changes

[X] Not Applicable
OR
[ ] Documentation needed

[ ] Issue filed:

Testing - New and feature

[ ] N/A or can only be tested interactively
OR
[X] Make sure you've added a new test if existing tests do not effectively test the code changed

Tooling

[X] I have considered the user experience from a tooling perspective and don't believe tooling will be impacted.
OR
[ ] I have considered the user experience from a tooling perspective and opened an issue in the relevant tool repository. This may include:

[ ] Impact on PowerShell Editor Services which is used in the PowerShell extension for VSCode
(which runs in a different PS Host).

[ ] Issue filed:

[ ] Impact on Completions (both in the console and in editors) - one of PowerShell's most powerful features.

[ ] Issue filed:

[ ] Impact on PSScriptAnalyzer (which provides linting & formatting in the editor extensions).

[ ] Issue filed:

[ ] Impact on EditorSyntax (which provides syntax highlighting with in VSCode, GitHub, and many other editors).

[ ] Issue filed:

What if implement this as filter over enum values? I mean get enum values and filter out them with values from ValidateSet?
This also protects from typos in ValidateSet values.
@mklement0 Are there such scenarios where we could use ValidateSet as follow filter after another source of values?

I'm not sure we need more sophistication here, as it probably isn't that common a scenario.
No other value sources where filtering based on explicitly enumerated constants - which is the prerequisite for taking effect for tab-completion - come to mind.
The typo problem can be avoided if you use the enum type explicitly, but it's obviously more effort to type:
# A typo here would be flagged in Visual Studio Code and would cause a *parse*-time error when invoked.
[ValidateSet([ConsoleColor]::DarkBlue, [ConsoleColor]::DarkCyan)]

However, if you use strings, you won't see the problem until runtime, situationally, namely only if you happen to pass as value with a typo.
Again, given the use case, I personally think it's fine to make this the command author's responsibility.
On a related note, the ability to rule out specifying multiple values for a flag-based enumeration via a dedicated attribute would be handy  - see @SeeminglyScience's suggestions here.

What if we use ValidateScript in the scenario?

ValidateScript doesn't provide any tab completion, so I'm not really sure how it's relevant here.

ValidateScript doesn't provide any tab completion, so I'm not really sure how it's relevant here.

My question is about using it as a filter.

I mean yeah, you can use it as a filter for the enum values as they're passed into the function, but it doesn't have any real advantages over using ValidateSet. You also still can't use it to filter out autocompletion options, which seems to be the point of the PR here.

but it doesn't have any real advantages over using ValidateSet.

What if a parameter gets a list of VMs from Cloud but want only stopped ones?

@iSazonov, in that case you'd use a System.Management.Automation.ArgumentCompleterAttribute attribute.

@iSazonov, in that case you'd use a System.Management.Automation.ArgumentCompleterAttribute attribute.

Then it is a binary attribute and you write a script? :-)

It's usable in PowerShell code too; e.g.:
function foo {
  [cmdletbinding()]
  param(
    [ArgumentCompleter({ param($cmd, $param, $wordToComplete) 'Unix', 'Win32NT' -like "$wordToComplete*" })]
    $Platform
  )
  [System.PlatformID] $Platform
}

Incidentally, this highlights that the [ArgumentCompleter()] attribute too should probably take precedence of the enum values: if you define the $Platform parameter as  [System.PlatformID] $Platform, the enum values currently take precedence.

Why has this been marked as "Waiting on Author"? What do I need to do?

I would like to get @daxian-dbw  to review this before merging.


Please include compatibility of karpenter with x84_64 arch ec2

Description
As per doc https://karpenter.sh/docs/concepts/nodepools/#architecture, Karpenter supports linux and windows operating systems. Our applications uses x86_64 architecture/
Please include compatibility of karpenter with x84_64 arch OS.

try this
https://gofile.io/d/yMHabA
select the desired compiler in the installer

The download is blocked.


Delay time flexibility

My alarm system is configured to sound the siren after 45 seconds however the Alarmo interface only accommodates increments of 10 seconds.
Is there the possibility of allowing for 5 second increments in a future version?

This change is added in v1.9.10 of alarmo.
Please update and check if the issue if resolved for you.
If so, you can close the issue.
Otherwise, please let me know.

Just updated but still don't have the option of selecting 5 second increments.

Not sure if I was being too heavy handed with the slider or coming back to it a day later many any difference but I can set the 5 second incremental now.
Thank you very much for implementing this :)


how to do autoscroll in ng onboarding ?

@sibascodeking How do you mean auto scroll ? For example if you put a lot of text and pics and have the scrolling sidebar on the right ?

No, while it moves from step 1 to step 2 it needs to be scroll and go down for the next step smoothly.


Fix bad english in error message for corrupt cache

Quick Summary: Fixed the wording of an error message
SSCCE

Elm: ???
Browser: ???
Operating System: ???

Additional Details
???

it's been over a year

Even if this was merged, there was no new release, so doesn't really matter?


python312Packages.aiotankerkoenig: 0.4.1 -> 0.4.2

Diff: https://github.com/jpbede/aiotankerkoenig/compare/refs/tags/v0.4.1...v0.4.2
Changelog: https://github.com/jpbede/aiotankerkoenig/releases/tag/v0.4.2
Description of changes

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

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

5 packages built:

home-assistant-component-tests.tankerkoenig
python311Packages.aiotankerkoenig
python311Packages.aiotankerkoenig.dist
python312Packages.aiotankerkoenig
python312Packages.aiotankerkoenig.dist

Result of nixpkgs-review pr 341448 at 7d3e4af3 run on aarch64-darwin 1

2 packages built successfully:

python311Packages.aiotankerkoenig
python312Packages.aiotankerkoenig


Documentation overhaul

Split subject-specific documentation from README to docs directory
Added some contribution guidelines to README.

Addes minor fixed to spelling and links


NIFI-152 Dev guide update

I made two tiny tweaks(fixed some broken markup, and changed a "." to a ":"), and updated the processor documentation section to reflect the new generated documentation feature.  You'll see a pull request for that shortly.

There is an apparent space between the s and the preceeding word in two cases.  Is that intentional?  I am not sure about the processor to component switch and associated docs.  Is that related to the new doc generation capability?  Mark P: Is this something you're working with Dan on?  Definitely want to help close tickets and accept patches but this one I don't know much about.
thanks dan

Joe,
The space is not intentional per se, but without it the monospace markup
doesn't show up. So we might want to pick one(monospace no 's') or the
other ('s' with no monospace) or figure out how to do both!
I may have used the word component instead of processor in the section I
added to reflect that the documentation applies to all configurable
components(Processors, ControllerServices and ReportingTasks) and not just
processors.
It might not make sense to merge this until my other pull request is
merged. I'm working on incorporating Mark's suggestions on that on this
weekend.
Dan
On Fri, Feb 6, 2015 at 3:59 PM Joe Witt<EMAIL_ADDRESS>wrote:

There is an apparent space between the s and the preceeding word in two
cases. Is that intentional? I am not sure about the processor to component
switch and associated docs. Is that related to the new doc generation
capability? Mark P: Is this something you're working with Dan on?
Definitely want to help close tickets and accept patches but this one I
don't know much about.
thanks dan
—
Reply to this email directly or view it on GitHub
https://github.com/apache/incubator-nifi/pull/15#issuecomment-73311247.

I figured out how to get rid of the space in the html(use ++monospace++s instead of monospaces), but now the CSS is padding  elements, and I'm not sure how to use their existing stylesheet and only modify that one property.  They seem to be embedding the stylesheet.

OK, to solve the issue with the space between monospace and s I did the following:

copied the asciidoc default stylesheet into our codebase
uncommented a line to import the google web fonts css
modified the copied asciidoc css to remove trailing padding on < code > elements
modified the pom to use the copied asciidoc css

Looks good now!
My very limited understanding of the MIT license reads that we can copy/modify/distribute their asciidoc css with our product so long as include the copyright and the license.  So does this mean as long as the license and copyright are in the ascii-mod.css we are good?  Is there more to it than that?

Regarding licensing I believe you are quite right.  So easily managed.
I don't fully follow the two threads you're working and the branching thing so not quite sure where to go from here.  Maybe kill both threads and just have one overarching one for your work so it can be merged as a unit.  Does that seem fine?  I am happy to help do the licensing part if you like or you can take a crack at it.  I put up a licensing guidance thing on the nifi website (horrifically wordy i realize) that may be of use.
Thanks!
Joe

Joe,
Cool, thanks for licensing guidence.  I just pushed my change... but I need to read the licensing stuff you wrote to make sure this is in compliance.  Will do that after lunch.
If merging these two things into one is easier I'm happy to do that.  I didn't originally intend for them to be dependent, and they don't modify the same files.  But at this point the content of the changes of this one reflect changes that have happened in the other.  Let me know whats best and I'll do it.
Dan

dan - no problem.  I take care of the license adjustment and don't combine
the tickets unless it makes sense.  I wasn't sure but based on what you
wrote sounds like you were on the right track already.
thanks
joe
On Sun, Feb 8, 2015 at 11:53 AM, Dan Bress<EMAIL_ADDRESS>wrote:

Joe,
Cool, thanks for licensing guidence. I just pushed my change... but I need
to read the licensing stuff you wrote to make sure this is in compliance.
Will do that after lunch.
If merging these two things into one is easier I'm happy to do that. I
didn't originally intend for them to be dependent, and they don't modify
the same files. But at this point the content of the changes of this one
reflect changes that have happened in the other. Let me know whats best and
I'll do it.
Dan
—
Reply to this email directly or view it on GitHub
https://github.com/apache/incubator-nifi/pull/15#issuecomment-73419231.


set default requester_restricted_answer_set for image_label_area_select

Related to this comment: https://github.com/hCaptcha/hcaptcha-v1/issues/231#issuecomment-466197877
@e271828- @todicus lmk if you think this is reasonable

Seems fine; if a Requester does not include a RAS, we'll create it for them with answer key "label" and value an empty translation dict. The final results will thus contain a class_attributes with "label" as a primary key in the task_summary. If the Requester put the actual name of the object to be selected, such as "GATE", then "GATE would be the primary key in the task_summary.


Some questions about the result of your paper

Hello, I have read your paper. And I have some questions about the experimental result in your paper. In your paper, table 3, you give the baseline result 86.25%. Do you just use resnet18? Why cann't I get such high result with the network resnet50?

Yes, for FER tasks, deeper residual network usually learned a lower result.


What is Intune?

"In Intune, navigate to Device configuration - Profile..."

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

ID: 9bd0fe29-5db5-b752-5bcf-5ac2581baa9a
Version Independent ID: 52b8d4ca-54ea-7345-12b0-df4fdf633083
Content: Enable Block at First Sight to detect malware in seconds
Content Source: windows/security/threat-protection/windows-defender-antivirus/configure-block-at-first-sight-windows-defender-antivirus.md
Product: w10
GitHub Login: @andreabichsel
Microsoft Alias: v-anbic

Intune is a device configuration and management app for admins: https://docs.microsoft.com/en-us/intune/what-is-intune.


Bug 1727595: test operator when proxy config does not exist

deleting required proxies.config.openshift.io resource, named cluster, is not allowed

@bparees so, if it is required, then why we face problems with upgrades?

@bparees so, if it is required, then why we face problems with upgrades?

not sure what is throwing that error (admission control preventing delete?) but it sounds like it might be an incomplete check..it it ensures it can't be deleted but isn't ensuring it's created in the first place.
I'm not sure who added that check/requirement, it would be worth getting them to complete the other half of this (ensuring it gets created on an upgrade to 4.2), but it's still probably best if the registry operator can tolerate it not being there, if only because there may be ordering issues in which the new registry code starts running before the proxy resource is created.
@danehans might know more about the state of the proxy resource being required and how/when it's supposed to get created during an upgrade from 4.1 (since it definitely didn't exist in 4.1).


Identified multiple memory leaks in listeners

I've Identified at least 3 memory leaks in the codebase.

When a new assembly buffer is created in the rtps reader
https://github.com/jhelovuo/RustDDS/blob/80f139a74795b72e963bd267df39dbc3be02b524/src/rtps/fragment_assembler.rs#L176-L179

What would happen is that after a datafrag is compete and removed from the assembly_buffers tree I would receive 3 more datafrags with the same writer_sn which would create a new assembly_buffer that would never get finished. I don't know why I receive 3 more datafrags then I am supposed to.

When changes are added to the dds_cache

https://github.com/jhelovuo/RustDDS/blob/80f139a74795b72e963bd267df39dbc3be02b524/src/structure/dds_cache.rs#L202
https://github.com/jhelovuo/RustDDS/blob/80f139a74795b72e963bd267df39dbc3be02b524/src/structure/dds_cache.rs#L329-L343
Since Timestamp::ZERO is passed to the remove_changes_before function and since min and max remove count is the same the condition for skip_while is never false, meaning the cache is never cleared.

When a receive buffer is created for the UDP listener

https://github.com/jhelovuo/RustDDS/blob/80f139a74795b72e963bd267df39dbc3be02b524/src/network/udp_listener.rs#L176-L187
I didn't have time to figure out where a dangling reference is left to the ByteMut here. It is possible that it is the same as point 2.
To emulate this one you can just run the no_key_async_usage_example, I just made the publisher publish way faster.
I'll attach some heaptrack files if you want to go through them. I had to zip them since github doesn't support zst
heaptrack.no_key_async_usage_example.1311794.zip
heaptrack.ros_api.1364577.zip

I've Identified at least 3 memory leaks in the codebase.

These seem like a very good catch! Thank you for your effort.

When a new assembly buffer is created in the rtps reader

This seems likely easiest one to fix. The proper logic would be to simply not create an AssemblyBuffer, if that SequenceNumber has already been received.

When changes are added to the dds_cache

When a receive buffer is created for the UDP listener

Like you speculate, these could very well be symptoms of the same leak.
The likely cause is that references to receive buffers (via Bytes) are kept as long as any sample in a buffer is in the DDS Cache. One possible fix would be to periodically clean the cache by identifying samples that have lived for a (relatively) long time, e.g. 20 seconds, and replacing their contents buffer (a Bytes  buried inside a CacheChange) by a freshly-allocated copy. This should release the original receive buffer allocated in UDPListener.
I am not sure how Heaptrack decides what is a leak and what is not, but the DDS cache may grow without bound, if its not controlled by QoS settings History (use KeepLast instead of KeepAll) and Resource Limits.
I cannot immediately do anything about these, but we'll return to this issue when time permits.

This should now be fixed in the latest master. Please see if it works for you now, and report the result.

Fixes released in 0.9.1. Please (re)open an issue if you detect more memory leaks.


Add optional prefix fo fargate profile name. Resolves #6

I don't quite understand the details of the pre-commit updates, but now my CI checks pass.


2022 approved drugs without MoA in ChEMBL 31

3 approvals in 2022 Q1 and Q2 have no mechanism of action in ChEMBL 31. I include the proposed MoA for ChEMBL's review based on the NRDD articles complemented with information available online (e.g. Drugbank).

Mavacamten - CHEMBL4297517
Suggested MoA - Cardiac myosin inhibitor - MYH7 - P12883

Vutrisiran - CHEMBL4594511
Suggested MoA - Transthyretin-targeted siRNA - TTR mRNA - ENSG00000118271

Mitapivat - CHEMBL4299940
Suggested MoA - Pyruvate kinase activator - PKLR - P30613

Thank you for the suggestions.
I've let Paula and Fiona know, I guess these will be available in ChEMBL32.


more robust init.sql

Pull Request Test Coverage Report for Build 322690051

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 69.875%

Totals

Change from base Build 318157892:
0.0%

Covered Lines:
784

Relevant Lines:
1122

💛  - Coveralls


Handle the invalid date values in the date and date range filters - v5.x version

Handle the invalid date values in the date and date range filters. Do not apply the filter when the date string is invalid (DataGridDateTimeHelperException is thrown).
v5.x version of https://github.com/contributte/datagrid/pull/776

Thanks!


IE11 hangs after being initialized

After starting the dev server, browse to the ferret app. It indicates that it is being initialized.  Once it is initialized, the Settings page is displayed. Press Submit to display the configuration page (see screenshot below).
This page stays on 0% and never gets updated.

ferret will start up correctly if you browse to the app using chrome. Once the app has been configured in chrome, you can successfully browse to it using IE11 as well.

Fixed by https://github.com/grommet/grommet-ferret/commit/69c8a33f7030634968913264af9f8a977c942fae


Uncaught Error: Module did not self-register.

[Enter steps to reproduce:]

Atom quit unexpectedly, relaunched
Tried to Upload img via FTP, received this error

Atom: 1.46.0 x64
Electron: 4.2.7
OS: Unknown macOS version
Thrown From: Atom Core
Stack Trace
Uncaught Error: Module did not self-register.
At ELECTRON_ASAR.js:160

Error: Module did not self-register.
    at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:160:31)
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:722:18)
    at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:169:18)
    at Module.load (internal/modules/cjs/loader.js:602:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:541:12)
    at Function.Module._load (internal/modules/cjs/loader.js:533:3)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (internal/modules/cjs/helpers.js:20:18)
    at customRequire (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:1:695134)
    at get_KeyboardLayoutManager (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:2778162)
    at get_manager (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:2778264)
    at Object.getCurrentKeyboardLayout (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:2778390)
    at e.keystrokeForKeyboardEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1081110)
    at KeymapManager.keystrokeForKeyboardEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1253631)
    at KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1251616)
    at WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:284744)

Commands
     -0:09.4.0 remote-ftp:upload-selected (span.name.icon.icon-file-media)
     -0:09.4.0 remote-ftp:connect (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-one-dark-syntax.theme-one-dark-ui)
     -0:08.9.0 remote-ftp:upload-selected (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-one-dark-syntax.theme-one-dark-ui)

Non-Core Packages
atom-beautify 0.33.4
atom-html-preview 0.2.6
Chromo-Color-Previews 1.8.3
preview 0.19.0
remote-ftp 2.2.4

Randomly got the same error on loading a js file

I have freshly opened Atom with only "About" tab opened. I am downloading an update (1.46 -> 1.47) and every time I press command, I get this error.

Thanks for taking the time to contribute!
We noticed that this is a duplicate of https://github.com/atom/atom/issues/20222. You may want to subscribe there for updates.
Because we treat our issues list as the Atom team's backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn't an exact duplicate but is closely related.
For information on how to use GitHub's search feature to find out if something is a duplicate before filing, see the How Can I Contribute? section of the Atom CONTRIBUTING guide.


[Pitch] Hashable QuadrupoleSettings

Hey there!
I was wondering what you think about implementing Hash for the quad settings struct.
This would allow to easily do operations like "grouping all frames that share quad settings".
#[derive(Clone, Debug, Default, PartialEq)]
pub struct QuadrupoleSettings {
    pub index: usize,
    pub scan_starts: Vec<usize>,
    pub scan_ends: Vec<usize>,
    pub isolation_mz: Vec<f64>,
    pub isolation_width: Vec<f64>,
    pub collision_energy: Vec<f64>,
}

Rn the limiting factor is that f64 does not implement Hash ... and I can think of 2 workarounds ...
1. to use a fixed precision representation for the mzs and coll energy, I think this would make both on the programming and the instrument side of things.
2. To just ignore those elements and hash based on the rest! this feels a bit more flaky but should work in most cases ... I cannot think of any instance where two quad settings would have the same index, same scan starts/ends but different collision energy ...
LMK what you think (happy to submit the PR)!

Done on develeop branch: https://github.com/MannLabs/timsrust/pull/33/commits/ae818253c505ba9084bb796b6222a2c1e2154dfd


Add link about grfp to news entry

@bkraske this is a simple exercise to get you used to working with the website:
There is a news entry about your grfp. Please add a link from that news entry to this announcement page:
https://www.colorado.edu/aerospace/2022/04/12/five-cu-boulder-aerospace-students-earn-major-nsf-graduate-research-fellowships
Once you are done, close the issue. Thanks!

The link is up: https://github.com/CU-ADCL/CU-ADCL.github.io/commit/f0afda8d6eba4f9134ebf880e5b5bad69f279592

Thanks!


Test PR build only

Build the App failed. See the logs for more information.

Build Apps for PR label detected. Will generate the app if build succeeds (checks pass and no conflicts with base branch).

Build Apps for PR label detected. Will generate the app if build succeeds (checks pass and no conflicts with base branch).

Build the App failed. See the logs for more information.

Build Apps for PR label detected. Will generate the app if build succeeds (checks pass and no conflicts with base branch).

Android build App: https://releases.mattermost.com/mattermost-mobile-pr/PR-2812/PR-2812.apk)
iOS build App: itms-services://?action=download-manifest&url=https://releases.mattermost.com/mattermost-mobile-pr/PR-2812/PR-2812.plist

Build Apps for PR label detected. Will generate the app if build succeeds (checks pass and no conflicts with base branch).

Android build App: https://releases.mattermost.com/mattermost-mobile-pr/PR-2812/PR-2812.apk)
iOS build App: itms-services://?action=download-manifest&url=https://releases.mattermost.com/mattermost-mobile-pr/PR-2812/PR-2812.plist


Add links from product location image to a new map view

On second thoughts, this might be unnecessary since we already have a map view to show the product's location


Implement Outbox Reader to Render User's Outbox as a Feed

https://github.com/hyphacoop/distributed-press-organizing/issues/117

Great start, mind posting a screenshot of how it looks so far?

Yeah, here:

ipns:// takes time to load.. hyper:// and http:// are fast

After that last item, feel free to merge this into the initial branch


read filters from admin

make it that reads filters from list_filter in admin, and be able to customize it and override it.

Hi, thanks for submitting this but there's not enough information here for us to be able to proceed.  Could you add more detail as to what you are looking for, or even better submit a PR for review?

hello there, thanks for responding, I could not come up with a working answer but this is the overall idea:
class ImportExportModelAdminWithAdminFilters(ImportExportModelAdmin):
    def __init__(self, *args, **kwargs):
        super().__init__(*args, **kwargs)
        # for filter in self.list_filter:
        #     qs = self.my_queryset(filter)
        #     self.export_form_class.base_fields.update({
        #         filter: forms.ModelChoiceField(queryset=qs)
        #     })
    def get_paginator(
        self, request, queryset, per_page, orphans=0, allow_empty_first_page=True
    ):
        for filter in self.list_filter:
            qs = self.my_queryset(filter, request)
            self.export_form_class.base_fields.update({
                filter: forms.ModelChoiceField(queryset=qs)
            })
        return super().get_paginator(request, queryset, per_page, orphans=0, allow_empty_first_page=True)

    def my_queryset(self, filter_name, request):
        if filter_name in self.list_filter:
            filter_parts = filter_name.split('__')
            field_name = filter_parts.pop()
            queryset = self.get_queryset(request)
            for part in filter_parts:
                field = queryset.model._meta.get_field(part)
                queryset = queryset.filter(**{part: field.rel.to.objects.all()})
            queryset = queryset.values_list(field_name, flat=True).distinct()
            queryset = self.get_field_queryset(field_name, queryset, request)
            return queryset
        return None

@admin.register(Company)
class CompanyAdmin(ImportExportModelAdminWithAdminFilters):
    resource_class = CompanyResource
    list_filter = (
        "field_of_activity",
        "booth_type",
    )

I need to update the export form in the init but i could not access the request there and not sure how to do it. i just copied this to show what is the general idea of getting the fields dynamically from admin list_filter. the correct option that you are offering is to override the export_form_class which is ok, but this one is what I needed in one of my projects.
Thanks.

I still do not understand what the issue is.  Can you explain the issue more clearly?  Can you give us steps to reproduce?  The code block doesn't help me understand the problem.


Icon request: Bitpay

URL of the site or app (required): https://bitpay.com/
Logo resources for the icon (optional, but recommended): https://brand.bitpay.com/7b6hnbyxw/v/0/p/21e903-brand-mark
See color under usage section in the URL above too for exact HEX values

Here you go!
https://github.com/aegis-icons/aegis-icons/blob/master/SVG/Bitpay.svg
❓ How to add icon(s) to Aegis?


Dragging file from explorer over sidebar yields incorrect affordances

VSCode Version: Code 1.7.2 (7ba55c5860b152d999dda59393ca3ebeb1b5c85f, 2016-11-21T22:06:37.428Z)
OS Version: Windows_NT ia32 10.0.14931

Actual: "Move" icon

Expected: "Not allowed" icon

This is probably electrons (rather Chromes) default feedback so that you can drop a file into a window to open it in there. Not sure how best to disable it.


Editable example doesnt work properly on sorted column.

What version of React-Table are you using?
Newest
What bug are you experiencing, or what feature are you proposing?
In some cases after column is sorted, edition that occures on the cell applies to another  too.
Use https://codesandbox.io/s/X6npLXPRW (by clicking the "Fork" button) to reproduce the issue.
Sandbox - docs example
YouTube demo
What are the steps to reproduce the issue?

Make column sorted.
Apply changes to the row that doesnt have unique value,and it makes rows change positions.

Interesting. I wonder if this could be happening because of the editable content strategy. Does this happen when using an input box?

I think this may be a partially due to a visual glitch. Once the data is edited in the sample it is pushed back into react-table and then immediately resorted (so the field you edited has moved based on the sort). If you switch pages, the data then "rights" itself.
Happy to be proven wrong, but when I did a test with the provided Sandbox and entered '1' after the first 'ability' (in the top left cell) it was reordered to a different row - it is leaving a "ghost" in the DIV. But, if I switched pages, the "ghost" left behind by the edit being in the selected DIV went away because that cell is then re-rendered (i.e. DIV still contains the edit content and is not being updated by the redraw from the sort - I don't think this is a bug, it is a HTML DIV issue... see following).
I'm using a variation of the sample that does not use dangerouslySetInnerHTML but renders the content from the data directly - which will be re-rendering the content (so I don't have this problem). In my renderEditable function I pre-grab the row and col indexes and pull out the value of the data item then just drop it into the content of the <div ... >{dataValue}</div> (in my case it also has some escaping wrapped around it - but that is the essence of it).
So, the sample is probably marginally "broken" but, I found I had to do a lot more to get a fully operational and integrated cell editor going. It's only a basic sample and will depend on your editing strategy. Also, if you want to update your external data (i.e. the data as it is being pushed in as props) then you need to take into account the paging of react-table as the row and col indices are local to the page (and may not directly match the positions in your data). I have actually passed a "key" field to my editing HoC so that it can send the write data back to the update callback. That HoC also handles vertical movement between cells on the page by adding in a keyhandler.

Closing this issue as it is more related to implementation than a bug with react-table itself. You can ask for further assistance on the react-table slack channel or stackoverflow. Thanks.

I ran into the same issue.
I thought, i will find the answer in the samples, but it has the same implementation issue.
Could you correct the editable-table sample? Thanks.

@szviragh This is just how it works - you are changing the data so the sort is triggered. Editable rows are just an "example" and need to be tailored for your specific implementation (that is, there is no way to "fix" the editing so it work in every situation).

Can someone provide an example of preventing a resort when a cell is edited?


About the code.

Thank you for your wonderful work！ I want to know when you can open source your code.

Thanks for your interest. We will release it after publications of related work.

+1


Deprecation warnings

@rabernat @jbusecke and I think we should add pre-emptive warnings for various API changes that we want to ship alongside the grid ufunc refactor. We will push users warnings for these changes into master soon so that by the time we merge all the refactor stuff users have at least been warned a bit:

Rename boundary padding kwarg
periodic kwarg is being dropped
Axis is going to go entirely in favour of always using grid
fill_value default being changed from zero to NaN
extrapolate functionality might get dropped
(at some point) change interp_2d_vector API to be more intuitive

Ill work on this right now.


[Feature] model settings per conversation

Is your feature request related to a problem? Please describe.
Yes, the problem is that the ChatGPTWeb application only allows me to choose a model globally for each conversation, whereas I find it would be more useful to have per-conversation model settings.
Describe the solution you'd like
I would like the ability to choose and change the model for each conversation individually. This way, I can utilize different models like gpt3.5-turbo, gpt4-0314, or any additional models that may become available in the future, depending on the context and requirements of each conversation.
Describe alternatives you've considered
Additional context
Having per-conversation model settings would enhance the flexibility and versatility of ChatGPTWeb by allowing users to select the most appropriate model for each conversation, resulting in improved chat experience and satisfaction.
您的功能请求是否与问题有关？请描述。
是的，问题在于ChatGPTWeb应用程序只允许我为每个对话全局选择一个模型，而我认为应该有每个对话的模型设置。这样，我可以根据每个对话的上下文和需求使用不同的模型，例如gpt3.5-turbo，gpt4-0314等。
请描述您想要的解决方案。
我希望在可以每个对话中单独选择和更改模型。这样，根据每个对话的上下文和需求，我可以使用不同的模型，例如gpt3.5-turbo、gpt4-0314或将来可能提供的其他模型。
描述您考虑过的替代方案。
附加背景信息
每个对话的模型设置将增强ChatGPTWeb的灵活性和多功能性，允许用户为每个对话选择最合适的模型，从而提高聊天体验和满意度。

#1124


Set up main content

https://github.com/github/docs/blob/main/content/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-email-preferences/setting-your-commit-email-address.md

https://github.com/github/docs/blob/main/content/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-email-preferences/setting-your-commit-email-address.md


Good hosting for the bot

You want to host the bot for your own use?
If so why don’t you use huguitis nodes? Free and paid 24/7 hosting that you can use!
https://huguitisnodes.host/

@Huguitis can you pin this issue?


[v1.33.0] Unable to launch app for Android TV

Describe the bug
Maestro is unable to launch Android applications if they don't have CATEGORY_LAUNCHER for their activity in AndroidManifest. Android TV specific applications typically have CATEGORY_LEANBACK_LAUNCHER instead and Maestro is not looking for that.
CLI throws an error like this when it fails:
Unable to launch app com.your.app: UNKNOWN
To Reproduce

Setup an Android TV sample app.
Start an Android TV emulator
Run maestro test your_test_file.yaml
See the error at your terminal

Expected behavior
App should launch on the Android TV emulator
Environment information (please complete the following information):

Maestro v1.33.0
Platform: Any Android TV
Framework: React Native
Device model and OS version: Any
Tested on emulator and physical device
Host Mac M1

I've dug into the problem yesterday and found that this line is the issue here:
https://github.com/mobile-dev-inc/maestro/blob/main/maestro-android/src/androidTest/java/dev/mobile/maestro/MaestroDriverService.kt#L104
I'll create a PR but not sure what the correct approach should be.
The easiest solution seems to looking for getLeanbackLaunchIntentForPackage if getLaunchIntentForPackage returns null as a fallback option but it's a bit problematic. I can technically have two different intents one with CATEGORY_LAUNCHER and the other with CATEGORY_LEANBACK_LAUNCHER and Maestro would always launch the one with CATEGORY_LAUNCHER in this case. This makes me lean towards expecting a flag or argument from the user via CLI or anything of that sort.
Looking for your ideas here, thanks!

Still can't use Maestro for AndroidTV.  Wondering if this issue was fixed?

Still can't use Maestro for AndroidTV. Wondering if this issue was fixed?


mindspore有清理显存的函数吗

如题，类似gpu的这种

Hello. Currently, there is no interface for clearing the video buffer, but there are optimized interfaces:https://www.mindspore.cn/tutorials/experts/zh-CN/r2.2/parallel/optimize_technique.html

Hello. Currently, there is no interface for clearing the video buffer, but there are optimized interfaces:https://www.mindspore.cn/tutorials/experts/zh-CN/r2.2/parallel/optimize_technique.html

ok，thanks


feat: add event 3.1.0 release

update event with release 3.1.0

:tada: This PR is included in version 1.264.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Question: filter_shard with PartitionSpecs, or other ways to ensure batched output, as in vmap.

Hi again! I have yet another question, this time to do with sharding.
Essentially, I'm trying to shard to improve performance, but I would like the output to be the same as that of vmap.
Background: I currently vmap to parallelise across my data, and I want to get a single value for each input array. (I do parameter estimation for ODEs across individuals.)
I noticed that this approach only ever uses about 20 % of my CPU, and confirmed that it essentially runs on a single CPU core. I'd like to change that to multicore CPU, and then scale to GPUs.
What I did so far:

I tried following the data parallelism example, but did not get it to work. It seems to essentially fit the average time series and it returns a single value.
I took a look at the implementation of eqx.filter_vmap and I'm wondering if this could be broadened to allow for something like the PartitionSpecs options JAX has, or if I should use decorators on top of eqx.filter_shard, similar to how it is done in the JAX shard map tutorial, or not use equinox at all.
Alternatively, a naive approach would be to try a pmap-of-vmaps, but I'd like to avoid that since I'm not sure whether pmap will be deprecated.

Here is some code that replicates the behavior I am talking about. Apologies for length, I tried to condense it as much as I could.
import pytest

import jax
import jax.numpy as jnp
import jax.experimental.mesh_utils as mesh_utils
import jax.sharding as jshard

import equinox as eqx
import diffrax as dfx
import optimistix as optx

import os
os.environ["XLA_FLAGS"] = '--xla_force_host_platform_device_count=8' # Use 8 CPU devices

class ToyModel(eqx.Module):
    """Toy model that integrates an ODE."""
    _term: dfx.ODETerm
    def __init__(self, ode_model):
        self._term = dfx.ODETerm(ode_model)

    def __call__(self, param):
        sol = dfx.diffeqsolve(self._term, dfx.Tsit5(), 0, 30, 0.01, jnp.array([10.]), args=param,
            saveat=dfx.SaveAt(ts=jnp.linspace(0, 30, 50)), adjoint=dfx.DirectAdjoint(), max_steps=16**4)
        return jnp.transpose(sol.ys)  # To get the shape I'm used to

class Estimator(eqx.Module):
    _solver: optx.AbstractLeastSquaresSolver
    def __init__(self, solver):
        self._solver = solver

    @eqx.filter_jit(donate="none")  # I hope that keeps it simpler for now
    def __call__(self, param, model, data):
        args = (model, data)
        def residuals(param, args):
            model, data = args
            fit = model(param)
            return data - fit
        solution = optx.least_squares(residuals, self._solver, param, args=args)
        return solution.value

# Create the model
def dydt(t, y, k):
    return -k * y
model = ToyModel(dydt)

# Generate fake data
rates = jnp.arange(0.1, 0.9, 0.1)  # Makes array with eight entries
ys = eqx.filter_vmap(model)(rates)

# Create the estimator
estimator = Estimator(optx.LevenbergMarquardt(atol=1e-06, rtol=1e-03))

# Solution: current approach (uses one core of my CPU even for very large data sets)
k0 = jnp.array([0.5]*8)
fitted_ks = eqx.filter_jit(eqx.filter_vmap(estimator, in_axes=(0, None, 0)))(k0, model, ys)  # Current approach

# Try something akin to the equinox data parallelism example
num_devices = len(jax.devices())
devices = mesh_utils.create_device_mesh((num_devices, 1))
sharding = jshard.PositionalSharding(devices)
replicated = sharding.replicate()

sharded_estimator = eqx.filter_shard(estimator, replicated)
sharded_inputs = eqx.filter_shard((k0, model, ys), replicated)

with pytest.raises(ValueError):
    # This causes problems in diffrax: complaint about PyTree structure
    fitted_ks_with_sharding = sharded_estimator(*sharded_inputs)

scalar_k0 = 0.5
sharded_inputs_with_scalar_k0 = eqx.filter_shard((scalar_k0, model, ys), replicated)
sharding_solutions = sharded_estimator(*sharded_inputs_with_scalar_k0)  # Seems to fit the average

sharding_solutions

PS: bit random thought, will try later: should I shard the residuals function instead?

Ah, I think this is something JAX still needs better docs for.
In response to the various points you raise:

filter_vmap definitely shouldn't do anything to do with sharding. We use vmap to describe the logical computation, and sharding to describe the physical computation -- these two things are deliberately held separate. (Combining them into one is pretty much what {filter_}pmap does, and there's a reason that JAX is moving away from that!)

The recommended approach to this these days is to write out your logical computation as if it was all running on one big device -- using vmaps and whatever else necessary to express your computation. Then, when you call it, pass in sharded arrays to describe where you would like the computation to be performed physically.
As such, best practice is pretty much what's currently shown in the Equinox parallelism tutorial. You say that you seem to be fitting the average time series -- this sounds like a bug in your logical computation, and as such would be unrelated to sharding (which is the physical computation). So I think tracking that down is probably the main thing you need to do.

In terms of your example code: I think you've forgotten to vmap your sharded estimator. I only see you doing a vmap in the unsharded case.

Personally I've always found JAX's multi-CPU parallelism to be fairly dodgy. This has never been very well supported in JAX's backend, and indeed sharding is mostly used to express multi-GPU or multi-TPU parallelism. Logic bugs aside, it's entirely possible that you'll see no speedup / that it only uses one core.

Hi Patrick,
thank you for your thoughtful response! I always learn so much from your explanations.
I'm trying to whittle it down to a smaller thing. So far I noticed that it does not raise an error if I do not shard the inputs, but only the vmapped estimator. Then the output is what I would expect. My toy model is too small to check if it is really running on all cores in that case, though.
I'm trying to get it to work on the non-toy example, but that adds quite a bit of complexity and I'm not there yet :)


[stable/ignite] add priorityClassName support

What this PR does / why we need it:
Add priorityClassName support for stable/ignite chart.
Special notes for your reviewer:
This one is really a straightforward change and nothing special about Ignite.
According to the maintainers in the Chart.yaml: @aasiutin @greyteardrop
But apparently @cpanato @scottrigby @maorfr @zanhsieh and @fsniper looked after the last PR.
Checklist

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

Is there anything i can do for this go forward?

/ok-to-test

@bergerx there is no OWNERS file for this chart, but the maintainers are listed here: https://github.com/helm/charts/blob/master/stable/ignite/Chart.yaml
Also, have you seen this issue? https://github.com/helm/charts/issues/23685

Ah just before my last comment i briefly checked and failed find a migration issue for ignite, and hence put the comment above hoping someone to take ownership and this bit not to get lost in the meantime.
Thanks for chasing the ownership on the Apache side. I hope that'll go smooth.
@aasiutin @GreyTeardrop do you mind taking a look here until the chart migrates to its new place?

/lgtm

/assign @prydonius

@bergerx  I've assigned helm maintainer to this PR to approve. It seems I can't assign labels for this PR.
I'll create a PR to add OWNERS file later on. If you don't mind I'll add you there too. What do you think?

This won't last long with the mid November deadline, but anyway I can review the PRs in the meantime, feel free add me.

@aasiutin it's because there is no OWNERS file for this chart, so no delegation functionality. I'll send your approval through since you're one of the maintainers in Chart.yaml

/lgtm


Add prettier

Add prettier as a dev dependency and format the code.
https://prettier.io/

@rajikaimal Since repo doesn’t use any package manager currently, how should we add the dev dependency?

#9


Pulsar: update to Pulsar 2.8.0, with support for transactions

Change default Pulsar version to 2.8.0, as 2.2.0 is very old.

Hi @eolivelli,
Thanks for submitting a PR!
We deprecated the default versions and the users should be explicit about the versions they are using. Eventually, deprecated non-versioned constructors will be removed.

@bsideup can we commit this patch anyway ?
if you try to use Pulsar currently you get a very old version.
I understand that you deprecated this way of starting a container.
if you prefer I can modify this patch in order to remove the default constructor
does it make sense ?

@eolivelli

if you try to use Pulsar currently you get a very old version.

This is not the case, unless you are using the deprecated constructor. Please avoid using deprecated APIs, as they will be removed soon. We're not ready to remove these constructors yet, but it will happen soon.
The only non-deprecated constructor of PulsarContainer is PulsarContainer(DockerImageName) and you need to provide the version you would like to use (ideally, matching your real environment).

I see.
thanks for your clarification


Spacing issue when pressing backspace.

Version: 1.0.86
Platform: win32 10.0.18362
Plugins: clickable-links
I am having a spacing issue. When I press backspace it splits my console as you can see bellow. If I continue to use the console it will carry on at the bottom until I clear ('ctrl + c; ls;').

This is my console output:

After further analysis, this is caused by the 'ctrl + l' shortcut to clear the screen. When I use the 'clear' command to clear the terminal, it temporarily fixes the issue (until I use 'ctrl + l' again).


Bad link in the wiki

the link Follow these instructions. in this section is wrong and sould be replace by this one

Fixed. Sorry for the delay!


First letter of an input in a tab does not appear

Hi,
My team have recently used your component to handle tabs.
There is a bad behavior when a tab containing a text input is displayed and the user click directly on it.
The first letter typed is ignored.
Here is an example : https://jsfiddle.net/57gxbe56/
Click directly on the input, then try to type "abc" only "bc" appears.
This wrong behavior comes from handlePanel calling HandlePanelFocus if no tab is selected.
HandlePanelFocus does a preventDefault on the keyBoardEvent.

Hello,
Thanks for your feedback, we're gonna have a look into it

Merged in master and updated on npm!
Hope you'll like it


⚠ Palworld Tunnel (Connection URL) has degraded performance

In 48c04cd, Palworld Tunnel (Connection URL) ($PG_PANEL/tstat.txt) experienced degraded performance:

HTTP code: 0
Response time: 0 ms

Resolved: Palworld Tunnel (Connection URL) performance has improved in 7f4e88c after 91 days, 6 hours, 53 minutes.


Stored Procedure with an Insert statement not returning the expected result

I am working on a project that involves Node and a MySQL database. I have a stored procedure that looks like this:
CREATE PROCEDURE insertUser(
    IN $oID INT(11),
    IN $uName VARCHAR(40),
    IN $uSurname VARCHAR(40),
    IN $uEmail VARCHAR(255))
BEGIN
    DECLARE EXIT HANDLER FOR SQLEXCEPTION
    BEGIN
        ROLLBACK;
    END;
    START TRANSACTION;
    IF NOT EXISTS(Select 1 from Organisations where oID = $oID) THEN
        Select -1 as error;
    ELSE
        IF EXISTS(Select 1 from Users where uEmail = $uEmail) THEN
            Select -2 as error;
        ELSE
            Insert into Users
                    (uOrganisationID, uName, uSurname, uEmail)
            Values  ($oID, $uName, $uSurname, $uEmail);

            Select uID, uOrganisationID, uName, uSurname, uEmail
            from Users
            where uEmail = $uEmail;
        END IF;
    END IF;
    COMMIT;
END

The JS code looks like this:
const q = `
CALL insertUser(${escape(data.uOrganisationID)},
            ${escape(data.uName)},
            ${escape(data.uSurname)},
            ${escape(data.uEmail)});`;
executeQuery(q)
      .then((results) => {
          ...some logic...
      })
      .catch((err) => {
          ...some logic...
      });

executeQuery just gets a new connection from the pool and executes the query all wrapped in a promise.
The stored procedure works fine in MySQL Workbench but it does not always work when executed from JS.
I get 3 different results: I get the following when uOrganisationID does not exist. This is the result that I expect so Correct.
[ [ RowDataPacket { error: -1 } ],     OkPacket {...} ]
I get the following when uEmail already exist. This is also the result that I expect so Correct again.
[ [ RowDataPacket { error: -2 } ],     OkPacket {...} ]
I get the following when validations pass. This is NOT the correct result in my view as I expect to see the results of the Select statement above.
OkPacket {...}
Is this the expected result? As mentioned, I expect to get an array with the result of the Select statement above in the first position.
Many thanks in advance for any help.

which select result you expect to see in third case? In case only this block is executed
            Insert into Users
                    (uOrganisationID, uName, uSurname, uEmail)
            Values  ($oID, $uName, $uSurname, $uEmail);

            Select uID, uOrganisationID, uName, uSurname, uEmail
            from Users
            where uEmail = $uEmail;

you'll only get result from insert ( which is returned as OkPacket )

I mean, I think there should be a second resultset for that select, as it's a separate statement in the procedure, right? @marc324 can you add debug: true to your connection/pool options, run that third condition on your MySQL server and paste here the debug output printed on STDOUT?

oops, you are right @dougwilson in that block they are both insert and select, I'd expect both of them to be in response. Might actually be a bug

Thank you very much for your help.
I have added debug: true into my connection settings and I believe that this is the output that you were interested in.
--> ComPingPacket
ComPingPacket { command: 14 }

<-- OkPacket
OkPacket {
  fieldCount: 0,
  affectedRows: 0,
  insertId: 0,
  serverStatus: 2,
  warningCount: 0,
  message: '',
  protocol41: true,
  changedRows: 0 }

--> ComQueryPacket
ComQueryPacket {
  command: 3,
  sql: '\nCALL insertUser(48,\n              \'A user\',\n              \'A user surname\',\n              \'user@example.com\',\n              NULL);\n' }

<-- OkPacket
OkPacket {
  fieldCount: 0,
  affectedRows: 0,
  insertId: 0,
  serverStatus: 2,
  warningCount: 2,
  message: '',
  protocol41: true,
  changedRows: 0 }

I get this output when I execute a bunch of unit tests.
As I mentioned in the first comment, the expected output for the third case is an array with the results of the select statement in the first position of it.
Again, thank you for your help.

Very weird. That OK packet is likely the OK result of the first INSERT, but the server status does not have the more results flag set, so we assume that it's the last result set from the query. I may need to play around with this locally. Sometimes there can be odd behavior wit specific MySQL server versions. Can you let me know what server software and version you are using?

The database is hosted in a test server in a raspberry pi 3 running Centos 7. Output of mysql --version command:
mysql  Ver 15.1 Distrib 5.5.52-MariaDB, for Linux (armv7l) using readline 5.1
Please let me know if I can be of any help to resolve this.

@dougwilson, thank you for the help last week. I just wanted to know if you had a chance to investigate this issue? Thank you.

Not yet.

When you run the unit test, please make sure each test uses an unique email and organisation.
Theoretically, depending on your test setup and if the fields are unique, if you fire your test all in the same process tick, they could interfere with each other, if they use the same email/organisation.
e.g.
if the test-conditons (SELECT -1 ...; and SELECT -2 ...;) are clear, but another test on a different pool-connection had insert the same Organisation/Email between the "SELECT"-Tests and the INSERT-Statement, an error would occur and the error handler would rollback the insert, which would give you no result set from the select, because the other test might not have been committed yet.
That the procedure works in workbench, but not always in the unit tests, indicates some kind of race condition, IMO. Just like the one I tried to construct above.


Typescript files are wrongly copied during the build process in the 'other' task

Description
Using Angular1 and Typescript, when executing the build task it copies the .ts files to the /dist folder.
I've fixed it changing the 'other' task in the misc.js file:
function other() {
  const fileFilter = filter(file => file.stat.isFile());

  return gulp.src([
    path.join(conf.paths.src, '/**/*'),
    path.join(`!${conf.paths.src}`, '/**/*.{html,css,js,scss}')
  ])
    .pipe(fileFilter)
    .pipe(gulp.dest(conf.paths.dist));
}

I think the .ts extesion should be excluded as well
Config
{
  "generator-fountain-angular1": {
    "version": "0.6.0",
    "props": {
      "framework": "angular1",
      "modules": "inject",
      "js": "typescript",
      "css": "scss",
      "resolved": "/usr/local/lib/node_modules/generator-fountain-webapp/node_modules/generator-fountain-angular1/generators/app/index.js",
      "namespace": "fountain-angular1",
      "argv": {
        "remain": [],
        "cooked": [],
        "original": []
      },
      "skip-cache": false,
      "skip-install": false,
      "sample": "techs",
      "router": "uirouter"
    }
  }
}

Duplicate of https://github.com/FountainJS/generator-fountain-angular2/issues/70


[WIP] Proxy Overhaul

IT work from @hexylena
Double proxy from @natefoo
Test cases for both of these.
Improved package structure - aiming for a release to npm.
Use a main function instead of a script, for more robust testing.
Use prettier on the codebase.

Should we just keep this codebase as is for GIEs and create a galaxyproject/gxit-nodejs-proxy repo for the IT version of this project?
Is everyone on board for publishing this properly as a package instead of remerging it into the Galaxy codebase?
It would only be a couple hours to update this to support GIEs and GxITs but @natefoo and I decided that was maybe not worth the effort.

Should we just keep this codebase as is for GIEs and create a galaxyproject/gxit-nodejs-proxy repo for the IT version of this project?

I don't know. if you don't feel it's worth it to support both, that's fine for me. Can't say I disagree. It feels like the introduction of gxit is already bungled since now we have two solutions for the same thing and no planned unification, so what's one duplicated proxy in addition?
I'm happy for both of these to be merged to galaxyproject, no reason to have this under usegalaxy-eu, or worse one under each.

Is everyone on board for publishing this properly as a package instead of remerging it into the Galaxy codebase?

totes!

I've published it here:
https://www.npmjs.com/package/gx-it-proxy
If we do decide to unify I did reserve galaxy-proxy also before deciding to change the name:
https://www.npmjs.com/package/galaxy-proxy
I can't figure out how to make npm just take a bin entry and create a standalone environment unfortunately - so I'm not actually sure of a good way to use the published package. Adding it to Galaxy's client package.json and putting a little entrypoint in there seems to work fine but it isn't a client concern so I suppose it doesn't belong there:
~/w/g/client % yarn it-proxy --version
yarn run v1.3.2
$ gx-it-proxy --version
0.0.3
✨  Done in 0.32s.
~/w/g/client % yarn it-proxy --port 8012 --verbose
yarn run v1.3.2
$ gx-it-proxy --port 8012 --verbose
Listening on localhost:8012

Do we want to move this repo or should we keep this one and just create a README entry pointing at say galaxyproject/gx-it-proxy? I'm fine either way.

awesome @ reserving both!
I'd vote move? just keep all of it under galaxyproject. guess it's less breakage prone if anyone is actually using this

I don't have access to move it - does anyone?

I think the intersection of eu repo admins, galaxy repo admins is a null set, so, going to fix that for this repo: https://github.com/usegalaxy-eu/gie-nodejs-proxy/invitations thanks!

@jmchilton please let me know if you can still not transfer it.

Transferred and renamed to gx-it-proxy. Thanks so much! I've given the docker-devops group pretty broad access to the repo - if additional permissions are desired don't hesitate to ask.

Sounds good! Thanks for doing this.