Has anyone figured out how to use this with a non-ejected create-react-app?

Due to the webpack config mod, it would seem that this needs to be done on an ejected CRA (create-react-app) based project. This is rather unfortunate especially since Storybook itself prides itself on working with CRA out of the box.
Any chance you know of a way to work around this?

Instead of loading in markdown, load in a js file exporting a string?

I forgot that storybook has its own web pack config. I went ahead and added
the raw-loader there.
On Thu, Aug 10, 2017 at 2:16 PM Norbert de Langen<EMAIL_ADDRESS>wrote:

Instead of loading in markdown, load in a js file exporting a string?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tuchk4/storybook-readme/issues/29#issuecomment-321675634,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABE4LN3GLwg6onXGmWDwEAr1SXtvSN0ks5sW3McgaJpZM4OzCbb
.


[Bugfix] Check floating overflow for select and insert

What type of PR is this：

[x] bug
[ ] feature
[ ] enhancement
[ ] refactor
[ ] others

Which issues of this PR fixes ：

Fixes #6275.
Problem Summary：

As for the double and float literal, the value will be INF, if the literal exceeds its range.
When double and float literal cast to int, it doesn't check whether the double value exceeds the target range.

Behaviour Modification

Operation
Example
Before
After

Insert overflow tinyint/smallint/int/bigint/largeint with FloatLiteral
insert into t1 values(3e39)
Insert NULL.
Throw error.

Insert overflow float with FloatLiteral
insert into t1 values(3e39)
Insert INF.
Throw error.

Insert overflow double with FloatLiteral
insert into t1 values(3e310)
Insert INF.
Throw error.

Select overflow tinyint/smallint/int/bigint/largeint with FloatLiteral
select cast(3e39 as int)
Output NULL.
Output NULL

Select overflow float with FloatLiteral
select cast(3e39 as float)
Output INF
Throw error

Select overflow double with FloatLiteral
select cast(3e310 as double)
Output INF
Throw error

[FE PR Coverage check]
:disappointed: fail : 28 / 37 (75.68%)
file detail

path
covered line
new line
coverage

:large_blue_circle:
com/starrocks/analysis/FloatLiteral.java
25
34
73.53%

:large_blue_circle:
com/starrocks/catalog/Type.java
3
3
100.00%

@Mergifyio backport branch-2.3

run starrocks_fe_unittest

[FE PR Coverage check]
:heart_eyes: pass : 30 / 37 (81.08%)
file detail

path
covered line
new line
coverage

:large_blue_circle:
com/starrocks/analysis/FloatLiteral.java
27
34
79.41%

:large_blue_circle:
com/starrocks/catalog/Type.java
3
3
100.00%

run starrocks_fe_unittest

run starrocks_fe_unittest

run starrocks_fe_unittest

run starrocks_clang-format

run all

run starrocks_fe_unittest

[FE PR Coverage check]
:heart_eyes: pass : 30 / 37 (81.08%)
file detail

path
covered line
new line
coverage

:large_blue_circle:
com/starrocks/analysis/FloatLiteral.java
27
34
79.41%

:large_blue_circle:
com/starrocks/catalog/Type.java
3
3
100.00%


Karpentern VM's not Spinning up due to OS and data disks should be encrypted with a customer-managed key

I have a kubernetes cluster running on k8s version 1.29
Recently deployed self managed karpenter v0.5.4 , and running into below issue
OS and data disks should be encrypted with a customer-managed key
Can someone please suggest what varibles to passed in karpenter-values.yaml to resolve this ?

Thanks for writing an issue!!!!
Can you please provide more details of the existing AKS experience and what is expected of parity with karpenter?

Disk encryption is currently not supported, see https://github.com/Azure/karpenter-provider-azure/issues/268, let's track it there (and feel free to add your vote and/or use case there)


Content translation on the fly, on demand

Originally by nkasioum (@kasioumis) on 2012-04-16
The user should be able to translate dynamic content of the repository (record content, user messages, notes etc) on the fly and on demand.
Google translate is a well established multilingual translation engine and offers tools (http://translate.google.com/translate_tools) that could be used for this purpose.

What about restricted records?
Anyway modern browsers offer page translation. Do we need it inside Invenio core?

@jirikuncar the beauty of this branch was to carefully tag the snippets that needed translation (mainly from the metadata of the records). In this way you can have your site natively translated to e.g. Italian, and have the detailed record translated on the fly by Google in Italian.
However I don´t know if that implementation supported not exposing restricted records.

@kaplun do you have a backup of that branch that can be ported to 2.x?

The feature was implemented for BlogForever project needs; we can revive it when we shall revive porting BlogForever specific developments to latest Invenio 2.x.


Amazing Problem/Bug

DynamicSurroundings-1.11.2-<IP_ADDRESS>.jar, forge 2282. NO any sounds until i change any resource pack. Even no click button sounds. It happened after the latest version.
Thanks!

When you minimize the window Dynamic Surroundings will mute the sound.  You can disable this by setting "Mute when Background" to false.
As for the resource pack thing that is strange.  Can you post a link to your client log when the problem happens?

oh okay, that's nice.  And ah, when i install dynamic surroundings mod into my modpack, and when the game starts there is no any sound. No even main menu click sounds. But if i change any resource pack (i use 7 resource packs in my modpack) then all sound system comes back. And it happened after the latest version of dynamic surroundings, i was using second latest version(updated at 7 april).
And here is the logs:
fml-client-latest.txt
latest.txt
closed game on from main menu when no hear sound

and you can try installing my modpack here, it would be perfect if you find the bug via giving it a try.

sorry, you can not try my modpack because i didn't update it to new version, because of this bug :D

Does the <IP_ADDRESS> version of DS work with your pack?

okay let me try.

yes it works.

i was already using that version, then after update this bug happened.

I think this is the culprit:
[15:30:04] [Client thread/INFO]: [STDERR]: java.lang.RuntimeException: java.nio.charset.MalformedInputException: Input length = 1
[15:30:04] [Client thread/INFO]: [STDERR]: 	at org.lwjgl.MemoryUtil.decodeImpl(MemoryUtil.java:336)
[15:30:04] [Client thread/INFO]: [STDERR]: 	at org.lwjgl.MemoryUtil.decode(MemoryUtil.java:305)
[15:30:04] [Client thread/INFO]: [STDERR]: 	at org.lwjgl.MemoryUtil.decodeUTF8(MemoryUtil.java:294)
[15:30:04] [Client thread/INFO]: [STDERR]: 	at org.lwjgl.openal.ALC10.alcGetString(ALC10.java:157)
[15:30:04] [Client thread/INFO]: [STDERR]: 	at org.blockartistry.mod.DynSurround.client.sound.SoundEngine.configureSound(SoundEngine.java:161)
[15:30:04] [Client thread/INFO]: [STDERR]: 	at org.blockartistry.mod.DynSurround.client.sound.SoundEngine.onSoundSetup(SoundEngine.java:141)

Dynamic Surroundings is trying to get the name of your default sound device and apparently LWJGL is having some heartburn over it.  I am going to make a quick patch for this and make a private JAR for you  to test for me if that's all right.

okay, i'm waiting. Thanks!

You can find the test jar here: https://github.com/OreCruncher/DynamicSurroundings/releases/tag/v<IP_ADDRESS>TEST

trying

btw, you wrote 1.10.2 in release name :)

Oops!  I built the wrong version. ;)  Let me make a 1.11.x real quick

oh, then i shouldn't try it? ok waiting.

No, it wouldn't work.  There are enough differences between 1.10.2 and 1.11.x to make it break.  Not sure why they decided to change some method names to cause problems.

ok waiting :D

Added a 1.11.x to the release entry.

ok downloading and trying

i don't understand github.com upload speed, it gives me 150kb/sec to download any file..

okay it works. thanks! i can use this version as official, right? can i update my modpack finally? :D

I will see about making an official release a little later today.  There are some other things I want to look at before I publish a JAR.  It's possible that this would be a final, but can't rule it out.

hmm... okay i can wait, get luck with!

@kenijey Posted a v<IP_ADDRESS> version that has this fix.  Let me know how it goes.

yes it works. thanks!


Any updates?

This plugin is exactly what I am looking for. Any further development on this?

I haven't really updated recently no. Is there something specific you're looking for?


fix: remove cleanup & add rerender

Closes #1648
Description
There is a cleanup in the range-slider test code. We think that cleanup should be removed since it is now in the library.
New behavior
remove cleanup and add rerender
Is this a breaking change (Yes/No):
No

Thanks!


Add .peek() function to Optional.

I have been annoyed that there is no .peek() function for a long time! .peek() is a function which accepts a function as argument which causes no side effect, unlike map. Quite useful for logging and similar.
I have borrowed the peek name from Scala, but I am open for other suggestions.

I see. I guess it's safer than mapping with an identity function and .peek() is prettier for your logging use case.
Only issue I can see is that it breaks from the Java Optionals API so now I really should write some proper docs!
Thanks a lot for the PR. I'll push a release with this ASAP


A crash while attaching multiple pictures in the conversation.

Applozic SDK version: 4.3.0
Xcode version: xCode 9
iOS version: 11.0.3
video:
https://www.dropbox.com/s/7xcul5qbh6r6jgw/59edb3fb7803c11659022ea9.mp4?dl=0

Can you share the crash log? that will help us a lot

http://crashes.to/s/cf55143dbcb

It's happening due to "Privacy Violation". Add the below key-value text in the info.plist file:
<key>NSCameraUsageDescription</key>
<string>Allow Camera</string>
<key>NSContactsUsageDescription</key>
<string>Allow Contacts</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>Allow location sharing!!</string>
<key>NSMicrophoneUsageDescription</key>
<string>Allow MicroPhone</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>Allow Photos</string>

already added...

Then it should work, I don't think there could be any other reason. Can you share a sample app where we can reproduce the issue?

Hi @osama-taha
Add this new permission requirement in info.plist file:
NSPhotoLibraryAddUsageDescription
Allow write access

Thanks, I will check it out and let you know.


CHICKEN REPL always compiles geiser.scm on boot

Seems to have been introduced by #68.  Opening the REPL with C-c C-z does pause Emacs for a few seconds while geiser.scm is compiled as indicated in the debug messages buffer.  Does this need to happen every time?

Yes, this is the case.
You can disable this behaviour by setting geiser-chicken-compile-geiser-p to nil, but you may experience other performance issues as a result of running interpreted code.
The reason is that compile-file isn't clever enough to check for a cached .so and loading the same library on other systems is advised against. There's no strictly simple way to avoid this if we're going to support MELPA-updating of Geiser without an Emacs reload.

Caching should be relatively simple to do though. Create a file containing the checksum of geiser.scm if it doesn't exist yet. If it does exist, compare the checksum of geiser.scm with the checksum inside that file. If they don't match up, compile geiser.scm.
Or even simpler, if you assume that only MELPA-style updates are done (and people editing the file manually will recompile it, too), they will result in a new directory every time, so just checking for an empty file's existence and creating it if it doesn't exist yet would be enough.

Well, it wasn't quite so simple, but...


Activate formatResult when user hasn't typed yet

I'm trying to add new item dynamically from FormatResult & FormatNoMatches via select2. It runs well, but there is 1 problem. I want to show 'add new item' row when user hasn't typed the input yet, so user wouldn't be confused to add new item when they click the dropdown.
Here is my code:
$(".select2-single").select2({
    createSearchChoice:function(term, data) {
      data_modal=term;
      term = $.trim(term);
      var Dterm = term.charAt(0) + term.substr(1);
      if ($(data).filter(function() {
          return (this.text.localeCompare(Dterm) === 0);
      }).length === 0) {
          return {id:term, text: Dterm, isNew: true};
      }
    },
    formatResult: function(term) {
      if (term.isNew){
        return "+ "+term.text;
      }
      else {
        return term.text;
      }
    },
    formatResultCssClass: function (data, container) {
      if(data.isNew){
        return "select-2";
      }
    },
    formatNoMatches: function(term) {
      return "
+ Add New
";
    }
  });

does anything have a reference or advice regarding this problem? thank you

In Select2 v4, this can be handled with tagging.  You may use insertTag to place the "create new" option at the end of the results list, rather than the beginning, to avoid confusion.


fix: ignore PMs that have already ended.

Also some refactoring to ensure jobIds are only constructed in one place.
TIS21-TODO

Superceeded by https://github.com/Health-Education-England/tis-trainee-notifications/commit/5543d0660b8c3f4e77d3a61a60a03ce84bc3c53f


Not available from Debian 12 "bookworm" repo

Describe the bug
azure-cli depends on libffi7 and libssl1.1 which are not present in Debian 12 ("bookworm").
You should be relying on dpkg-shlibdeps to do the work of collecting up all your shared library dependencies and generating the shlibs:Depends substvar which you should reference in the Depends field in debian/control.
See dpkg-shlibdeps(1), deb-substvars(5), Debian Policy Manual section 8.6.1 Shared libraries: Generating dependencies on shared libraries
Related command
apt install azure-cli
Errors
The following packages have unmet dependencies:
 azure-cli : Depends: libffi7 (>= 3.3~20180313) but it is not installable
             Depends: libssl1.1 (>= 1.1.1) but it is not installable

Issue script & Debug output
N/A
Expected behavior
Package should be installable on Debian 12 "bookworm"
Environment Summary
N/A
Additional context
No response

Thank you for opening this issue, we will look into it.

Based on #25750 I assumed the package was now built for Debian 12 "bookworm" and present in deb https://packages.microsoft.com/debian/12/prod bookworm main.
However I now see that I can only see 2.53.0-1~bullseye from the Debian 11 "bullseye" repo, and there is no azure-cli package in the bookworm repo.

Scrolling up in that issue a bit I see this comment https://github.com/Azure/azure-cli/issues/25750#issuecomment-1605940173
I suggest leaving this issue open until the package is uploaded to the bookworm repository--that will avoid future confusion/duplicate issues being filed which has already happened a few times. :)

We've released the CLI for Debian 12.
Apparently, this is a config error, please check your repo settings and remove the bullseye repo.

Thank you. I forgot azure-cli is in its own repos/azure-cli repo and I hadn't changed that over to use the `bookworm1 suite. :facepalm:


VM null safe SDK complete

This Epic contain issues for Null safe SDK to complete

@franklinyow looks like this one is complete?

Closing


chore(docs): correction of data type of loop index

Description
Problem*
Resolves  #3315
Summary*
This PR replaces u64 for field in the description of the loop index i.
Documentation*
Check one:

[x] No documentation needed.
[ ] Documentation included in this PR.
[ ] [Exceptional Case] Documentation to be submitted in a separate PR.

PR Checklist*

[x] I have tested the changes locally.
[x] I have formatted the changes with Prettier and/or cargo fmt on default settings.

Closing this - it is part of a separate issue.


404 on pygments website after BB migration

(Original issue 623 created by techtonik on 2010-12-16T13:27:07.051650+00:00)
The page http://pygments.org/download/ contains broken links to http://www.pocoo.org/projects/pygments/browser and changelog. There may be others.

(Original issue was assigned to birkenfeld)
(Original issue 623 last updated on 2010-12-21T12:21:15.021246+00:00)
(Issue automaticaly closed due to status in Bitbucket: resolved)

(Original comment by tshatch on 2010-12-21T06:42:16.079439+00:00)
Assigning to Georg, I don't have access to that system.

(Original comment by birkenfeld on 2010-12-21T12:21:15.011783+00:00)
Should be fixed now.


Fix link to anthropic-bedrock-python

Add // to the beginning of the destination URL.

Thanks for catching & fix this! Due to some automations, we'll be releasing this in a separate PR shortly.


fixed eps for dbscan when clustering micro clusters?

Hi! I was reading the code and came across this:
file DenStream.py, line 130: dbscan = DBSCAN(eps=0.3, algorithm='brute')
I'm trying to understand the algorithm so here are my questions:

why setting a fixed DBSCAN eps param? shouldn't it vary according to every problem/data set?
if fixed, why 0.3 instead of another value?

Reading the MOA (Java framework) DenStream implementation, I found the following: a constant is multiplied to the original parametrized 'epsilon' to get the value of the DBSCAN epsilon ...

https://github.com/Waikato/moa/blob/master/moa/src/main/java/moa/clusterers/denstream/WithDBSCAN.java

Hi @onofricamila! Thank you for your remark. This was a university project for me and I had no intention of maintaining the repository when I published it. Feel free to submit a PR though.


Escape some quotes in environment.sh

Thank you! We're not really using that method anymore, which is probably why it fell out of date.


unpacking npm tar file

Is there a way to download and unpack the compressed tar file? or do I need to use a thrid party library to handle that?

Hello!
Yes - there is. It's downloading and providing access to the resources with in the tar file. If you need something custom with downloaded resources I recommend to take a look to this code:
https://github.com/OrienteerBAP/JNPM/blob/e90988b97a4ff4f0674dd14fd45253dd52f5e173/maven/src/main/java/org/orienteer/maven/jnpm/JNPMMojo.java#L180-L182

ok cool thanks. That seems to do what I want based on the Installation strategy I pick. I guess I need to learn more about the reactivex api. the traversals and observables are conceptually weird to me.


ConvenienceBuilder::createVersionActionItem -> without versionCode

I would like to have the version info without versionCode.
I could provide a method (PR):

new method like "createVersionActionItemWithoutVersionCode"
or
old method with added parameter like "boolean includeVersionCode"

Would do you prefer - and do you support this?

Old method with parameter for sure! I just got home so will be able to make
the change myself if that's easier

It's up to you - what you prefer. :)
I'm just starting to work with your lib....sorry for the many questions.

Don't worry about the questions - you're giving me great ideas. I appreciate it!


Not enough Keyboard accessibility capabilities

If I have a user that mostly uses keyboard or can only use keyboard or other device that functions like a keyboard, then this is not functional enough for them.  Tabbing into it does nothing without Spacbar or Enter.  If the list has the search box they can type and filter the list hitting Enter or Tab (Tab needs hit twice, when one tab should go to the next input) to select it.  I can do something to show the list on focus, but if the list has no search box they can't type letters to jump to those entries like a standard select, so they are limited to scrolling up and down with the arrow keys that won't work well for visually impaired.  This makes me have to show the Search Box at all times...even small boxes like Male/Female.
Might want to model this after the old Bootstrap Combobox library a little there.  The developer gave up on it, but I've been heavily modifying it to work for my company.  It has the search box as part of the main control and when you tab into it you are in the text input of it.  Their arrow changes to the X to clear, so easier to click and doesn't render the bottom border jagged.  Its main downfall is taking the name away from the select and putting it on the text input making it harder to read values, and it has events to update the value(One of my modifications since JavaScript value changes doesn't trigger anything) and list instead of triggering change to do both like this does.

So I'm going to largely call this a duplicate of https://github.com/select2/select2/issues/3472 since the issue is mostly around Select2 dropdowns and the keyboard accessibility issues there.


Position cannot be changed

Looks like the default value for position cannot be changed - the code sets it to null, then checks to see if it's empty before setting it to the default of Center.
Would it make sense to allow the caller to define a position? Like:
var position = options.position,
instead of
var position = null,
This may not make sense for some of the alignments, but for a "ltr" alignment, it would be nice to be able to position on one of the corners.

this issue has been solved in this pull request #10

Closing since this was solved in a separate pull request


Fix truncateFilter for string shorter than numberOfCharacters

truncateFilter will be crashed if string is shorter than numberOfCharacters.
I changed it so that it returns string unchanged in such a case.

@tnantoka thanks for fixing this!


INSTALL.md line up badges

Hi, thanks for your contribution.
I'm not sure this change makes sense to me. In that document, it seems the badges are meant to show the kinds of things you can make with the library. These aren't, in fact, badges for the library itself. (Well, two of them are but one is not.)
Some explanatory text could make it clearer that these are meant to be examples.

Ok. It is not that important change for me.


Thin Provisioning Simple Policy

feat(weighted-scoring): add new crate for weighted scores
This crate be used when for scoring a particular thing (eg: pool) according to particular criteria
with different weights.
Example, we may want to weight score a pool based on certain criteria: it's number of replicas,
free space and over commitment.
Signed-off-by: Tiago Castro<EMAIL_ADDRESS>
feat(thin/policy): adds an initial policy for thin provisioned volumes
Pool of that don't have at least a min free space are filtered out of the candidates.
This space is determined via two configurable min_free_space_slack_percent params.
Also use weights to determine which pools are the "best" candidates for replica placement.
Different weights are given to number of existing pool replicas, free space and over commitment.
The pool with the best weighted score is the candidate!
Signed-off-by: Tiago Castro<EMAIL_ADDRESS>
test(thin): add simple thin policy testing
Signed-off-by: Tiago Castro<EMAIL_ADDRESS>

bors merge


Ability for multi provider and custom value

Hi,
We are using cloudflare as CDN and and Proxy benefits but our DNS management is done with route53
eg:
route53:
test.exapmle.com  > test.example.com.cdn.cloudflare.net
cloudflare:
test.example.com > elb
is there a way to configure this?

@dorsegal I might be mistaken but I am afraid there is no out-of-the-box way to do this with ExternalDNS only.  Maybe @linki have some thoughts regarding this.
However there are some dirty solutions which come to my mind:

Make ExternalDNS use cloudflare as a DNS provider. Run ingress-controller which populates the ingress loadbalancer field with ELB/ALB. This way all resources are accessible through cloudflare created DNS records
Create a dedicated namespace, which stores only dummy ingress objects, with a custom LoadBalancer field mapping from route53 record to corresponding cloudflare record. For example:

Real ingress object:

apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  creationTimestamp: 2017-03-16T15:12:21Z
...
spec:
  rules:
  - host:  test.example.com.cdn.cloudflare.net
    http:
      paths:
      - backend:
          serviceName: myservice
          servicePort: web
status:
  loadBalancer:
    ingress:
    - hostname: aws-7860-lb-7weweq3n9dgs-1644420839.eu-central-1.elb.amazonaws.com

Dummy ingress object:
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  creationTimestamp: 2017-03-16T15:12:21Z
  namespace: route53-cloudflare-proxy
...
status:
  loadBalancer:
    ingress:
    - hostname: test.example.com.cdn.cloudflare.net

Run another instance of External DNS which only manages this dedicated namespace and uses Route53 as DNS provider

@ideahitme  thanks for the replay but I think this way too messy to accomplish our needs.
If I may I would like to suggest 2 feature requests and let me know what you think

Be able to have externalDNS on the same namespace working with 2 different cloud provider and the option to choose with annotation
external-dns.alpha.kubernetes.io/selector: this should be equals to the --txt-owner-id value

Specify value for the DNS record. right now the default value is the ELB (aws). It would be nice if  it was possible to change it with annotation as well.
external-dns.alpha.kubernetes.io/value: www.example.com


Refactor data management

❗  This pull request introduces heavy refactoring of the existing workflows. If you wish to keep the original workflow and do not wish to change your environment, please use one of the older commits.

TL;DR: We have new wiki pages, read them! https://github.com/kasnerz/factgenie/wiki

With this pull request, factgenie is getting much more user-friendly and close to being ready for public deployment 🎉
There are many changes which are mostly related to:

documentation: We now have a Github wiki with pages for each of the factgenie features. The guides are more detailed than the original README.
data management: We now have a way to manage datasets in the app. It is based on the configuration file in factgenie/loaders/datasets.yml. This configuration file can be edited either manually or through the Data management page in the web interface.
data upload: We have 4 "base classes" which can handle simple datasets without requiring the user to write their own class. These include plain text files, JSONL files, CSV files and a set of HTML pages. See the wiki page for more details.
datasets: We now have a representative set of example datasets (#4, see also the wiki page).

This pull request:

resolves #1 (although the wiki is managed separately, but its current state is based on the pull request)
resolves #2
resolves  #4
resolves #29
resolves #38
resolves #39
resolves #55

LGTM! Thanks


Socket Invalid Argument...

Hello, I am using the proxy in an automation tool I wrote for my client.  He had to setup a new pc and has been having trouble starting the tool.  This is a fresh install of Windows 10 rel 1809. I was able to capture a log of the error he is experiencing and have included it and a sample of the code below.  Has anyone experienced this issue? I have been unable to reproduce this issue, so I'm hoping that someone has experienced a similar situation.  Thanks in advance.
Error Log (sanitized):
System.AggregateException: One or more errors occurred. ---> System.Net.Sockets.SocketException: An invalid argument was supplied    at System.Net.Sockets.Socket..ctor(AddressFamily addressFamily, SocketType socketType, ProtocolType protocolType)    at System.Net.Sockets.TcpListener..ctor(IPAddress localaddr, Int32 port)    at Titanium.Web.Proxy.ProxyServer.listen(ProxyEndPoint endPoint)    at Titanium.Web.Proxy.ProxyServer.Start()    at AutomatedGrabber.Core.Infrastructure.AutomatedGrabberTransparentHttpObserver.StartProxy() in C:\Users\larryb\Documents\Projects\AutomatedGrabber\AutomatedGrabber.Core\Infrastructure\AutomatedGrabberTransparentHttpObserver.cs:line 106    at AutomatedGrabber.Core.Infrastructure.AutomatedGrabberTransparentHttpObserver.GetObservationsInternal() in C:\Users\larryb\Documents\Projects\AutomatedGrabber\AutomatedGrabber.Core\Infrastructure\AutomatedGrabberTransparentHttpObserver.cs:line 36    at AutomatedGrabber.Core.Infrastructure.BaseTransparentHttpObserver.<GetObservations>d__2.MoveNext() in C:\Users\larryb\Documents\Projects\AutomatedGrabber\AutomatedGrabber.Core\Infrastructure\BaseTransparentHttpObserver.cs:line 21    --- End of inner exception stack trace ---    at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)    at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification)
at System.Threading.Tasks.Task1.get_Result()    at AutomatedGrabber.Core.Infrastructure.AutomatedGrabberApiClient.Logon() in C:\Users\larryb\Documents\Projects\AutomatedGrabber\AutomatedGrabber.Core\Infrastructure\AutomatedGrabberApiClient.cs:line 50 ---> (Inner Exception #0) System.Net.Sockets.SocketException (0x80004005): An invalid argument was supplied    at System.Net.Sockets.Socket..ctor(AddressFamily addressFamily, SocketType socketType, ProtocolType protocolType)    at System.Net.Sockets.TcpListener..ctor(IPAddress localaddr, Int32 port)    at Titanium.Web.Proxy.ProxyServer.listen(ProxyEndPoint endPoint)    at Titanium.Web.Proxy.ProxyServer.Start()    at AutomatedGrabber.Core.Infrastructure.AutomatedGrabberTransparentHttpObserver.StartProxy() in C:\Users\larryb\Documents\Projects\AutomatedGrabber\AutomatedGrabber.Core\Infrastructure\AutomatedGrabberTransparentHttpObserver.cs:line 106    at AutomatedGrabber.Core.Infrastructure.AutomatedGrabberTransparentHttpObserver.GetObservationsInternal() in C:\Users\larryb\Documents\Projects\AutomatedGrabber\AutomatedGrabber.Core\Infrastructure\AutomatedGrabberTransparentHttpObserver.cs:line 36    at AutomatedGrabber.Core.Infrastructure.BaseTransparentHttpObserver.<GetObservations>d__2.MoveNext() in C:\Users\larryb\Documents\Projects\AutomatedGrabber\AutomatedGrabber.Core\Infrastructure\BaseTransparentHttpObserver.cs:line 21<---
Code In Question (sanitized):
public AutomatedGrabberTransparentHttpObserver()
        {
            _proxyServer = new ProxyServer();
            _observedValues = new ConcurrentBag<ObservedValue>();
            _secondsToWait = (int)TimeSpan.FromMinutes(10).TotalSeconds;

            InitProxy();
        }

private void InitProxy()
        {
            _proxyServer.ForwardToUpstreamGateway = true;
            var endpoint = new ExplicitProxyEndPoint(IPAddress.Any, 8000);
            _proxyServer.AddEndPoint(endpoint);

            _proxyServer.BeforeResponse += ProxyServerOnBeforeResponse;
            _proxyServer.ExceptionFunc += exception => Console.WriteLine(exception.Message);
            endpoint.BeforeTunnelConnectRequest += EndpointOnBeforeTunnelConnectRequest;
        }

protected override Task<IEnumerable<ObservedValue>> GetObservationsInternal()
        {
            StartProxy();

            _observationComplete = false;
            var timedOut = false;
            var startTime = DateTime.Now;

            while (!_observationComplete && !timedOut)
            {
                _observationComplete = ValidateObservationComplete();
                Task.Delay(TimeSpan.FromMilliseconds(100));
                var timeDiff = DateTime.Now.Subtract(startTime);
                if (timeDiff.TotalSeconds >= _secondsToWait)
                {
                    timedOut = true;
                }
            }

            StopProxy();

            if (_observationComplete)
            {
                var toReturn = _observedValues.ToArray();
                return Task.FromResult<IEnumerable<ObservedValue>>(toReturn);
            }

            if (timedOut)
            {
                var exception = new HeaderTimeoutException();
                return Task.FromException<IEnumerable<ObservedValue>>(exception);
            }

            return Task.FromResult(Enumerable.Empty<ObservedValue>());
        }

private void StartProxy()
        {
            var endpoint = _proxyServer.ProxyEndPoints.OfType<ExplicitProxyEndPoint>().FirstOrDefault();

            _proxyServer.Start();

            if (endpoint != null)
            {
                _proxyServer.SetAsSystemHttpsProxy(endpoint);
            }
        }

Are you perhaps calling StartProxy multiple times, trying to bind to same port and IP twice or more? Please provide a full project to reproduce this issue perhaps by uploading it as a zip file or as a repository.
https://stackoverflow.com/questions/19874725/system-net-sockets-socketeexception-an-invalid-argument-was-supplied-error-code

Sorry, I am just getting back to this.  It appears to have been a misleading error.  The error was definitely happening, but I believe something on his pc was causing it to block the initial socket creation and leaving things in a weird state where the code believed the socket was open even though the system was blocking all traffic.  Then the second time that error would occur.  He switched to a different computer and it worked fine.  Who knows.

Strange. Does it still happen? May I close this issue?


fixed header=list (to create a MultiIndex) for read_excel

This is a very simple fix to allow passing a list go the header argument of read_excel so that it creates a MultiIndex for columns. Given what is said in issue #4679, I am not really sure it is supposed to work, but with this fix, it works for my files. One thing discussed in issue #4679, which I did not do anything about (and thus probably still does not work) is if the header cells are merged, but my opinion is that this should be a separate issue, as it is already useful to be able to read files with the header duplicated (the files I receive are usually like this).  If this PR is accepted (at least in spirit), the docstring for read_excel should probably be updated to reflect the "new" capability and the changelog updated, but I wanted to check first what you think.
As a side note, I am not entirely sure that _trim_excel_header is a good thing to do anyway, but that is another debate entirely.

needs tests

@gdementen can you rebase this. What are all of the changes in index.pyx for?

First, sorry for letting this rot for so long.
I have since then realized that for my use cases, the code this PR changes (_trim_excel_header) should be removed altogether rather than changed. I have postponed proposing to do that because this code was probably put there for a reason and thus removing it will break backward compatibility for someone somewhere even though this seems like a more sensible way to do things (it makes the behavior the same than for csv files). If I knew what the use case this code is meant to handle, I would probably add an option for this, but I don't.
The hashtable.pyx changes are completely unrelated. I simply forgot to create a branch for my changes before sending the pull request... I will close this PR and create two separate ones.


Enable C++ 2020 compatibility

This change enables building with C++ 2020 without using any c++20 concepts and remaining compatible with C++2017. It also attempts to make the least number of changes.

Thanks for opening a PR. Most of these changes don't make sense from the coding perspective though. Those types that you are making explicit should be comparable already, why would it be incompatible with C++ 2020?


POWERTOYS BUGS

2020-10-27.txt
2020-10-27.txt

ℹ Computer information

PowerToys version:
PowerToy Utility:
Running PowerToys as Admin:
Windows build number: [run "winver"]

📝 Provide detailed reproduction steps (if any)

…
…
…

✔ Expected result
What is the expected result of the above steps?
❌ Actual result
What is the actual result of the above steps?
📷 Screenshots
Are there any useful screenshots? WinKey+Shift+S and then just paste them directly into the form

PowerToys version: <IP_ADDRESS>
Please provide more information about your OS

@shottydan
do you have an nVidia card?

ciao Enrico... sono Daniele, e ti ringrazio per la pronta risposta.
Non ho Nvidia, ma ho risolto il problema installando la versione 0.23 ed
ora va benissimo.
Se vuoi fare prove, a casa ho una 1600GTX 3GB, e probabilmente ho la
versione 0.23 anche a casa...
Grazie ancora e buona giornata.
;-Dan
mob/whtsp 347 82 32 035
Buona giornata
Il giorno mar 27 ott 2020 alle ore 13:27 Enrico Giordani <
<EMAIL_ADDRESS>ha scritto:

@shottydan https://github.com/shottydan
do you have an nVidia card?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/PowerToys/issues/7573#issuecomment-717209218,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIFRQOPSA5NBY3DO52JWG5TSM24ETANCNFSM4TAUGP3A
.

Hi Enrico ... I'm Daniele, and I thank you for your prompt reply.
I don't have Nvidia, but I solved the problem by installing version 0.23 and
now it's fine.
If you want to test, I have a 1600GTX 3GB at home, and I probably have the
version 0.23 even at home ...
Thanks again and have a nice day.

this is the second one we've seen:
System.BadImageFormatException: Could not load file or assembly 'PowerToysInterop, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null'. Tentativo di caricare un programma con un formato non corretto.
Source: Microsoft.PowerToys.Settings.UI.Lib
TargetAssembly: Microsoft.PowerToys.Settings.UI.Lib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null
TargetModule: Microsoft.PowerToys.Settings.UI.Lib.dll
TargetSite: System.String GetProductVersion()
at Microsoft.PowerToys.Settings.UI.Lib.Utilities.Helper.GetProductVersion()
at Wox.Infrastructure.Storage.StoragePowerToysVersionInfo..ctor(String associatedFilePath, Int32 type)
at Wox.Infrastructure.Storage.BinaryStorage`1.TryLoad(T defaultData)
at Wox.Infrastructure.Image.ImageLoader.Initialize(Theme theme)
at PowerLauncher.App.<>c__DisplayClass15_0.b__0()
at Wox.Infrastructure.Stopwatch.Normal(String message, Action action)
at PowerLauncher.App.OnStartup(Object sender, StartupEventArgs e)
at System.Windows.Application.OnStartup(StartupEventArgs e)
at System.Windows.Application.<.ctor>b__1_0(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

#7552  is same issue


added provided configuration based on nebula extra-configurations plugin

This allows to add provided compile dependencies that aren't outgoing dependencies.
There is a nebula extra-configurations-plugin which is incompatible with java6.
Like the rest of nebula-plugins obviously :(

This looks really good.
The complexity of the solution makes me wondering even more why this is not built into gradle.

Thank you!!!
I'll merge this PR, then we can continue the discussion on the main project.
(Also the question around the variable dependency).

 I also moved the arquillian classes and services descriptor.
I can push that change too, if you want.

Sure! That would be great!

Please note that I just added a commit to my branch to fix the javadoc classpath of the arquillian extension.


In some cases, Gorm's default snakelike plural name rule doesn't work.

Your Question
In some cases, Gorm's default snakelike plural name rule doesn't work.
The document you expected this should be explained
I have defined a structure named meta. The table in the database is named metas. When using meta to query, it is the meta
table that is operated, resulting in an error: "the data table does not exist.". I didn't modify the default configuration of Gorm. When I used the example of the official website to test, I defined a structure named product, which can accurately operate the products table.
Expected answer
Without any configuration, according to the official documents, I think the table name should be the serpentine plural of the structure name. Based on this, the data table operated by the meta structure should be metas instead of meta

Hello @Liuism
GORM using https://github.com/jinzhu/inflection/ go generate plural name, maybe you can upgrade & config the inflection to fix the issue.
GORM itself won't change due to the compatibility reason.


Can't select "ACME account details"

I can't select "ACME account details" to put in the credentials for Sectigo. It's greyed out.

Here the log:

Platform:

OS: Windows Server 2019, German
Version: <IP_ADDRESS>0, 64-bit, pluggable

With an older version of win-acme (<IP_ADDRESS>4, 64-bit, pluggable) it works like normal.

I didn't realize people were using the menu for that purpose. If you set up your first renewal, it will direct you to set up the account. Does that work for you?

It was the first set up and it didn't work. I only put the URLs for the sectigo-Servers into settings.json and then I start wacs. Normally I get the menu entry to put the account details in.
The older version, which works correctly, I used on another server.

What I mean is that you can just go through the steps for "Create new certificate" and it will give you same questions (i.e. EAB key) at some point in the process.

OK, I will give it a try. But not today, tomorrow :-)

Jepp, it works. Thanks!


Add Flux Logo to readme.md

Why?
Why not?

I uploaded it to our official sources. Please use the following link:
https://teslacdn.net/files/logo/flux_logo.png


mdc-select item not initialized from bound value

Version
@aurelia-mdc-web/select: 1.1.6
View
<mdc-select label="Status"
            value.bind="_selectedStatus"
            outlined="true"
>
    <mdc-list>
        <mdc-list-item repeat.for="status of _availableStatuses" value.bind="status">
            <span>${status}</span>
        </mdc-list-item>
    </mdc-list>
</mdc-select>

ViewModel
activate(
    params: any,
    routeConfig: RouteConfig,
    navInstruction: NavigationInstruction
) {
    this._selectedStatus = "passed";
}

Actual Screenshot

Expected

Version 1.1.6 does not need explicit mdc-list element. Please remove that or upgrade to v2 of the bridge.

I cannot reproduce the issue in the gist
https://gist.dumber.app/?gist=4fb62077f5564275f96253b8e708314a

It works when _availableStatuses is already initialized. But not when its lazy loaded like...
´´´typescript
const loadAsync = new Promise((resolve, reject) => {
window.setTimeout(() => {
resolve( ["Katze", "passed", "Maus"]);
}, 2000)
});
loadAsync.then((value:string[]) => {
this._availableStatuses = value;
});

Unfortunately, I cannot edit your Gist because of rate limit hit.

In this scenario both bindings are updated at the same time. There's no guaranteed order, so, most likely, the value reaches the select earlier. You need to use the task queue to enforce the order

I've updated the gist for async load, no issue

But shouldn't it work like that? https://gist.dumber.app/?gist=8204b93b878e0f8ad4f027ace68d06d9

This cannot work. After activate the widget's value is set but there are no items to match that value with.

But this is the way I used to implement that the Aurelia way using regular select elements.
I've updated https://gist.dumber.app/?gist=8204b93b878e0f8ad4f027ace68d06d9 by
<select value.bind="_selectedStatus">
     <option repeat.for="status of _availableStatuses" value.bind="status">${status}</option>
</select>

Aurelia treats native select in a special way, unlike non-native MDC widget. I'll see if I can do anything about it

Hopefully this will be sufficient. I've modified the binding observer to monitor mdc-list-item mutations.
It will wait for options before trying to pass the current value to the element.
But once options has been set at least once any subsequent options changes will pull the value from the element, possibly overwriting the current value if it is not present in the current list.

But once options has been set at least once any subsequent options changes will pull the value from the element, possibly overwriting the current value if it is not present in the current list.

Doesn't sound wrong to me.
Thanks. I really apprecriate your passion.


[SPARK-33156][INFRA][3.0] Upgrade GithubAction image from 18.04 to 20.04

What changes were proposed in this pull request?
This PR aims to upgrade Github Action runner image from Ubuntu 18.04 (LTS) to Ubuntu 20.04 (LTS).
Why are the changes needed?
ubuntu-latest in GitHub Action is still Ubuntu 18.04 (LTS).

https://github.com/actions/virtual-environments#available-environments

This upgrade will prepare AmbLab Jenkins upgrade.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Pass the Github Action in this PR.

Test build #130546 has started for PR 30231 at commit daf634e.

Test build #130546 has finished for PR 30231 at commit daf634e.

This patch fails build dependency tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/130546/
Test FAILed.

We can ignore the above Jenkins failure.
This is a preparation for AmbLab Jenkins OS upgrade, @shaneknapp , @HyukjinKwon , @maropu .

Thank you, @HyukjinKwon . Ya, we need to verify the GitHub Action success in this PR.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35145/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/35145/

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/35145/
Test FAILed.

Merged to branch-3.0. Thanks!


Update getobjectsbyobjectId API to use 1.6 from 1.6-internal

Since the older code didn't incorporate the new generated files,The generated files have been included as a result of that and due to the following change
https://github.com/Azure/azure-rest-api-specs/pull/1103

Description

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] I have read the contribution guidelines.
[x] The pull request does not introduce breaking changes.

General Guidelines

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

SDK Generation Guidelines

[x] If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
[x] The generate.cmd file for the SDK has been updated with the version of AutoRest, as well as a link to the swagger spec, used to generate the code.
[x] The project.json and AssemblyInfo.cs files have been updated with the new version of the SDK.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

@darshanhs90,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

@azuresdkci add to whitelist

@azuresdkci test this please


Fixing test, and added a new test

This PR detects the error mentioned in #720 (but does not fix it). The test case was wrong.

Then I assume the test is not passing and if so it should be set to pending

Or fixed - since it's critical.

Yeah but you merged without fixing, so pending is the minimum.


internal/config: Get rid of *string/string distinction

We already ignore this for some config options, so let's just get rid of it.

This is blocked on #334 for the spec update


Feature request: Help buttons on each window

Can we have a help button (question mark in the status bar?) on each window that takes you to the relevant i.e. context-sensitive Wiki page?

I'm not sure I follow. There's a question mark in the ribbon bar on the main window. But most of the rest of the windows don't really have status bars to put help icons on.

I think I meant title bar. A tiny question mark the size of the minimise/maximise buttons.

It looks that way but there's historical reasons they are like that. In 0.6.x the Console.py file refers to the text command inputs and processing. Whereas the Terminal.py refers to the GUI window. If you launch without a GUI, you'd have access to Console but not to the terminal window. In 0.7.0 the console was moved inside the Kernel and the commands were registered in the kernel. This also includes registering help commands for the added commands which can include help commands within the console directly.
Terminal just refers to the little gui window there to access the Console. The terminology is needlessly confusing but not mismatched. I'll look if ? on the title bars is allowed by wxpython. I wouldn't be very hopeful. OSX might have them but windows doesn't seem to have anything to put in their title bar like that.

Doesn't look hopeful, though I could add help, to the ones that already have menu bars pretty easily. Bufferview, CameraInterface, Job Preview. A number of other ones have a right click menu. Namely rasterwizard, keymap, controller (just a weird secret menu), and jobspooler.
Might be plausible to have F1 send any of them to a proper page, but it wouldn't be clear that's what's going on. Also, it would be wx.Python's help so it would theoretically port over to other OSes. I'm not sure if it's not automatically bound or something. There's some OS things where binding the particular help or whatever function does a fairly uniform thing even between OSes.

Okay, it's still stuck in the tree recode. Though I could port it out of there if that branch doesn't come back together. But, I can add keybinds to F1 which call a console command of webhelp. Then webhelp provides registered webpages of help. Each window would then be able to launch help with F1. I added it to Preferences to check. There's some minor focus issue, but it also allows webhelp to be accessed otherways. I put it in the gui but in theory it should go somewhere in core. Since it's actually unrelated.
webhelp
----------
Webhelp Registered:
1: help            https://github.com/meerk40t/meerk40t/wiki
2: main            https://github.com/meerk40t/meerk40t
3: issues          https://github.com/meerk40t/meerk40t/issues
----------

Then port in the bind for most the windows to call that command. Then you could get window-context webhelp. Though it would be with F1 rather than some more obvious visual cue. And the Wiki pages aren't really that helpful currently, and they'd be semi-hardcoded. Though with the way the plugins work these could be modified or added by plugins.

Moved it to core since it didn't actually rely on any gui functionality. And even if you switched the gui or had no gui, you might well still want webhelp. But, it's pretty easy to move that over to 0.7.0 even if the current tree work doesn't fully pan out or needs aborting. Since it's just a little plugin and I registered it in main.py

My experience is with Qt / PyQt, and mainly for text-based apps rather than vector/raster graphics apps. I have never used wxPython for GUI - so I have no ideas of its capabilities or issues. But thanks for looking at this so fast,.


Remove whitelist and alias function from the code

https://github.com/muchdogesec/dogesec_commons/issues/9

only requires for the updated txt2stix and dogesec_commons to be updated in requirements

@fqrious not sure this is correct
celery-1      |   File "/usr/src/app/stixify/urls.py", line 22, in <module>
celery-1      |     from dogesec_commons.stixifier.views import ProfileView, ExtractorsView, WhitelistsView, AliasesView
celery-1      | ImportError: cannot import name 'WhitelistsView' from 'dogesec_commons.stixifier.views' (/usr/local/lib/python3.12/site-packages/dogesec_commons/stixifier/views.py)

my changes are here
https://github.com/muchdogesec/stixify/tree/updating-dogesec-commons


Demo Site is down

your demo page is not available.
If the URL has changed, please open a pull request at
https://github.com/Kickball/awesome-selfhosted or create an issue. Thank you!
https://github.com/Kickball/awesome-selfhosted/issues/1767

ping @etsy

Unfortunately the demopage was removed from awesome-selfhosted due to inactivity. You can add this url at any time should it become active again.
Thanks for your understanding!
https://github.com/awesome-selfhosted/awesome-selfhosted
https://github.com/awesome-selfhosted/awesome-selfhosted/issues/1767
https://github.com/awesome-selfhosted/awesome-selfhosted/pull/1838

Not clear why this was closed, the demo URL in the project description is still dead. The most recent build also appears to have failed, and the project hasn't been touched in some time. Is it dead?
@kiwiz @coykitten


Warning "Redundant SAM-constructor" and Error "Unable to start Activity ComponentInfo"

I followed the tutorial until the step 15.
Just so you know, I adapted the tutorial to a personal project I'm working on for my studies.
When I try to run my app on AndroidStudio, I get the error "
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.flyintoazeroth/com.example.flyintoazeroth.ChooseTrip}: java.lang.RuntimeException: Cannot create an instance of class com.example.flyintoazeroth.TripViewModel" .
In my MainActivity (here called "ChooseTrip"), I get a warning on the "Observer {words -> words?.let {adapter.setWords(it) }" section.
The observer is blackened and AndroidStudio tells me that "Observer" is a redundant SAM-constructor.
I'm not that great in programming at the moment, especially in Kotlin and the use of Room.
If anyone has any idea about why this might be an issue, I'll be grateful.

Issue not applicable. The codelab was refactored meanwhile.


Rack Timeout support

Hello,
We're using https://github.com/heroku/rack-timeout
They seem to have rollbar support, where each timeout is grouped by URL, any ideas on how we could do something similar with sentry/raven?

Would love to support it. We'd add something to the integrations folder.

Coming soon to a release near you, or you can just drop #538 into your config/initializers to get it now.

I've upgraded to 2.0.1, configured sentry
Raven.configure do |config|
  config.dsn =<EMAIL_ADDRESS>  config.environments = ['development', 'staging', 'production']
end

(notice I'm testing with development locally now) and logs shows raven is ready to catch error, then in a controller I've put a sleep to trigger the timeout and I get
source=rack-timeout id=dccc6823b700f7a210faf7eb23d21d82 timeout=5000ms service=1000ms state=active
source=rack-timeout id=dccc6823b700f7a210faf7eb23d21d82 timeout=5000ms service=2005ms state=active
source=rack-timeout id=dccc6823b700f7a210faf7eb23d21d82 timeout=5000ms service=3005ms state=active
source=rack-timeout id=dccc6823b700f7a210faf7eb23d21d82 timeout=5000ms service=4000ms state=active
source=rack-timeout id=dccc6823b700f7a210faf7eb23d21d82 timeout=5000ms service=5004ms state=active
source=rack-timeout id=dccc6823b700f7a210faf7eb23d21d82 timeout=5000ms service=5004ms state=timed_out
Completed 500 Internal Server Error in 4894ms (ActiveRecord: 0.0ms)

Rack::Timeout::RequestTimeoutException - Request ran for longer than 5000ms:
  app/controllers/pages_controller.rb:7:in `test'
  actionpack (4.1.13) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
  actionpack (4.1.13) lib/abstract_controller/base.rb:189:in `process_action'
  actionpack (4.1.13) lib/action_controller/metal/rendering.rb:10:in `process_action'
  actionpack (4.1.13) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
  activesupport (4.1.13) lib/active_support/callbacks.rb:82:in `run_callbacks'
  actionpack (4.1.13) lib/abstract_controller/callbacks.rb:19:in `process_action'
  actionpack (4.1.13) lib/action_controller/metal/rescue.rb:29:in `process_action'
  actionpack (4.1.13) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
  activesupport (4.1.13) lib/active_support/notifications.rb:159:in `block in instrument'
  activesupport (4.1.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
  activesupport (4.1.13) lib/active_support/notifications.rb:159:in `instrument'
  actionpack (4.1.13) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
  actionpack (4.1.13) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
  activerecord (4.1.13) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
  actionpack (4.1.13) lib/abstract_controller/base.rb:136:in `process'
  actionview (4.1.13) lib/action_view/rendering.rb:30:in `process'
  actionpack (4.1.13) lib/action_controller/metal.rb:196:in `dispatch'
  actionpack (4.1.13) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
  actionpack (4.1.13) lib/action_controller/metal.rb:232:in `block in action'
  actionpack (4.1.13) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
  actionpack (4.1.13) lib/action_dispatch/routing/route_set.rb:50:in `call'
  actionpack (4.1.13) lib/action_dispatch/journey/router.rb:73:in `block in call'
  actionpack (4.1.13) lib/action_dispatch/journey/router.rb:59:in `call'
  actionpack (4.1.13) lib/action_dispatch/routing/route_set.rb:692:in `call'
  rack (1.5.5) lib/rack/etag.rb:23:in `call'
  rack (1.5.5) lib/rack/conditionalget.rb:25:in `call'
  rack (1.5.5) lib/rack/head.rb:11:in `call'
  actionpack (4.1.13) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
  lib/middleware/raw_parser_middleware.rb:12:in `call'
  actionpack (4.1.13) lib/action_dispatch/middleware/flash.rb:254:in `call'
  rack (1.5.5) lib/rack/session/abstract/id.rb:225:in `context'
  rack (1.5.5) lib/rack/session/abstract/id.rb:220:in `call'
  actionpack (4.1.13) lib/action_dispatch/middleware/cookies.rb:562:in `call'
  activerecord (4.1.13) lib/active_record/query_cache.rb:36:in `call'
  activerecord (4.1.13) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
  activerecord (4.1.13) lib/active_record/migration.rb:380:in `call'
  actionpack (4.1.13) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
  activesupport (4.1.13) lib/active_support/callbacks.rb:82:in `run_callbacks'
  actionpack (4.1.13) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
  actionpack (4.1.13) lib/action_dispatch/middleware/reloader.rb:73:in `call'
  actionpack (4.1.13) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
  better_errors (2.1.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
  better_errors (2.1.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
  better_errors (2.1.1) lib/better_errors/middleware.rb:57:in `call'
  actionpack (4.1.13) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
  actionpack (4.1.13) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
  railties (4.1.13) lib/rails/rack/logger.rb:38:in `call_app'
  railties (4.1.13) lib/rails/rack/logger.rb:20:in `block in call'
  activesupport (4.1.13) lib/active_support/tagged_logging.rb:68:in `block in tagged'
  activesupport (4.1.13) lib/active_support/tagged_logging.rb:26:in `tagged'
  activesupport (4.1.13) lib/active_support/tagged_logging.rb:68:in `tagged'
  railties (4.1.13) lib/rails/rack/logger.rb:20:in `call'
  actionpack (4.1.13) lib/action_dispatch/middleware/request_id.rb:21:in `call'
  rack (1.5.5) lib/rack/runtime.rb:17:in `call'
  rack-timeout (0.4.2) lib/rack/timeout/core.rb:122:in `block in call'
  rack-timeout (0.4.2) lib/rack/timeout/support/timeout.rb:19:in `timeout'
  rack-timeout (0.4.2) lib/rack/timeout/core.rb:121:in `call'
  activesupport (4.1.13) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
  rack (1.5.5) lib/rack/lock.rb:17:in `call'
  actionpack (4.1.13) lib/action_dispatch/middleware/static.rb:84:in `call'
  rack (1.5.5) lib/rack/sendfile.rb:112:in `call'
  sentry-raven (2.0.1) lib/raven/integrations/rack.rb:50:in `call'
  hirefire-resource (0.3.8) lib/hirefire/middleware.rb:38:in `call'
  railties (4.1.13) lib/rails/engine.rb:514:in `call'
  railties (4.1.13) lib/rails/application.rb:144:in `call'
  rack (1.5.5) lib/rack/content_length.rb:14:in `call'
  puma (2.14.0) lib/puma/server.rb:541:in `handle_request'
  puma (2.14.0) lib/puma/server.rb:388:in `process_client'
  puma (2.14.0) lib/puma/server.rb:270:in `block in run'
  puma (2.14.0) lib/puma/thread_pool.rb:106:in `block in spawn_thread'

source=rack-timeout id=dccc6823b700f7a210faf7eb23d21d82 timeout=5000ms service=5008ms state=completed

but raven doesn't catch any error, any idea?


[Information] Requires Python 3.2-3.5 . Maybe 3.5 recommended.

If you have Python 2 only, you need to modify the scripts for the HTTP server.
Include it into readme if you want. Cheers!
...
More: import numpy as np throws error if your Python 3 is too new.
From official document, you need python 3.2 - 3.5 to have numpy working.
...
More in installing pip (python plugins):
pip install numpy (<- If you're using Python 3.6, try downgrade it or download non-official versions)
...
(From guide https://www.solarianprogrammer.com/2016/09/17/install-opencv-3-with-python-3-on-windows/)
pip install opencv_python‑3.2.0‑cp35‑cp35m‑win32.whl
pip install opencv_python‑3.2.0‑cp35‑cp35m‑win_amd64.whl
...
pip install PIL (<- Not tested)
pip install Pillow (<- OK)
...
Python Chainer is so tricky to install...
Step1: Install "Microsoft Visual C++ Build Tools". Uninstall "Visual Studio 2015" if you have it.
Step2: Install "Nvidia CUDA"
Step3: Register and download "NVIDIA Deep Learning SDK"
Step4: pip install chainer --no-cache-dir -vvvv (<- Do this AT LAST!)
If you failed to perform the following steps, you will see this message. Uninstall chainer and install it again.
 Running command python setup.py egg_info
    Options: {'profile': False, 'annotate': False, 'linetrace': False, 'no_cuda': False}
    Include directories: ['C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v8.0\\include']
    Library directories: ['C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v8.0\\bin', 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v8.0\\lib\\x64']
    Microsoft Visual C++ 14.0 is required.
From official document, you need python 3.2 - 3.5 to have numpy working.

I'm wondering how to install OpenCV for python 3.5. Pip seems not available.

Thanks for comments.
I ll update install guide later.
I used anaconda and conda install -c menpo opencv3 for openCV
( not normal alittle bit... ? )

Thanks. I'm looking forward to your guidance.

Updated progress. Now downloading the 1.2G CUDA + 12GB VS2015 for Win 10 64...

Update: Reinstalled chainer for multiple times with valid CUDA_PATH (CUDA 8.0 + VS 2015 installed), same error pops out. Not sure why is happens with even os.path.exists(os.environ["CUDA_PATH"]) returns true.
Will try @liamjones solution mentioned in issue #7 .

@RikaSugisawa You can use prebuilt cv2 for Python3 here
(Thanks @solring in #9 )

Finally managed to open the server. This topic may be closed.
Created a pull request for readme,
Since it is kinda long so please decide where to put the information.

thanks for your a pull request


I think the addon is broken again

The host server takes time to load and again no longer showing search via desktop client.

I confirm that there are some problems with the server. For example, I cannot change the metadata language.
In Stremio I get the error "ERR_OPENING_MEDIA". Only default settings work.
I tried not to click the “install” button, but instead copied the link address, replacing “stremio” with “http”. When I enter this link in the browser, I get a 504 error, and not the contents of the json file.
For example, with Torrentio there is no such problem.

Hello, I'm already aware of this problem, unfortunately I don't have a computer, until I can buy another one I won't be able to solve this.


Wire shutdown

wire: create shutdown message type #179
BOLT #2

Parameters are defined according to shutdown in BOLT #2
Implementation is as per the standards given
UT is work in progress

Codecov Report

Merging #185 (9c4bf2f) into main (a95e7d5) will decrease coverage by 0.29%.
The diff coverage is 28.57%.

@@            Coverage Diff             @@
##             main     #185      +/-   ##
==========================================
- Coverage   93.70%   93.41%   -0.30%
==========================================
  Files         178      179       +1
  Lines        4672     4693      +21
  Branches      547      547
==========================================
+ Hits         4378     4384       +6
- Misses        162      177      +15
  Partials      132      132

Impacted Files
Coverage Δ

packages/wire/lib/messages/ShutdownMessage.ts
26.31% <26.31%> (ø)

packages/wire/lib/MessageFactory.ts
68.57% <50.00%> (-1.13%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a95e7d5...9c4bf2f. Read the comment docs.


Make sure 'order' kwarg will not crash the 'astype' method in dask

This PR allows the order kwarg to be passed in to the dask astype method without triggering an error.
Our friends over at zarr have found a small bug in dask. While the numpy astype method allows the user to use an order keyword argument (docs here), the corresponding dask astype method produces an error
Why I think we should do this:

It's not always as obvious as telling the user to edit the line in their code that uses astype, since it's often used very indirectly. Here's one example: https://github.com/zarr-developers/zarr-python/issues/962#issuecomment-1040545707
It reflects better on dask not to have odd errors popping up, even if this PR won't completely solve the issue being discussed over at zarr https://github.com/zarr-developers/zarr-python/issues/962

[x] Closes https://github.com/dask/dask/issues/9318
[x] Tests added / passed
[x] Passes pre-commit run --all-files

Additional links: related to issue https://github.com/zarr-developers/zarr-python/issues/962

Note: I'm pretty sure that this change allows the order kwarg to be propagated through the rest of the code. I can't quite test that for certain, because of https://github.com/dask/dask/issues/9316
I can write a simple test that checks an error is not raised when the order kwarg is given, so I'll do that.

Question: should we remove the XFAIL test, since we are never planning to work on that bug?
(Obviously, if someone opens an issue saying it's causing them an actual problem, we'll look into it more - but that does seem unlikely to happen.)

Question: should we remove the XFAIL test, since we are never planning to work on that bug?

Seems to me that since the test is already written there is not much value to deleting it. But I don't feel strongly either way.


Return closed channel if oom notification fails

When working with Go channels you must not set it to nil or else the
channel will block forever.  It will not panic reading from a nil chan
but it blocks.  The correct way to do this is to create the channel then
close it as the correct results to the caller will be returned.
Fixes #11764
Signed-off-by: Michael Crosby<EMAIL_ADDRESS>

I couldn't reproduce the error, but code LGTM

@tiborvass you can reproduce via:
unmount your memory cgroup
outside:
umount /sys/fs/cgroup/memory
dind:
umount /cgroup/memory

nice LGTM, you so speedy, but lets wait on janky ;)

Tested after cherry-picking this on top of RC3, and it indeed resolves the issue.

Nice fix!


'NoneType' object error when trying to start webmacs

Describe the bug
When I try to start webmacs I get errors like: 'NoneType' object has no attribute 'windowFlags'
or 'NoneType' object has no attribute 'current_webview'
if I add a url behind the command.
Steps To Reproduce
Steps to reproduce the behavior:

install webmacs
try to start it

Metadata

system: "x86_64-linux"
host os: Linux 5.10.52, NixOS, 21.05.2329.348bc5de8bc (Okapi)
multi-user?: no
sandbox: yes
version: nix-env (Nix) 2.3.15
channels(black): "nixos-21.05.2329.348bc5de8bc"
channels(root): "nixos-21.05.2329.348bc5de8bc, unstable-21.05pre287596.ae1c8ede09b"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.10.52, NixOS, 21.05.2329.348bc5de8bc (Okapi)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.15`
 - channels(black): `"nixos-21.05.2329.348bc5de8bc"`
 - channels(root): `"nixos-21.05.2329.348bc5de8bc, unstable-21.05pre287596.ae1c8ede09b"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Ok that happend, when I tried to open webmacs without url and then probably not killed it correctly and tried to run it again, if I have no process open and open it with a url then it works.
With a init.py file or because I had it open already, and it saved the last open url it doesn't require a url anymore, but with the first start without url it doesn't open a window.
So I guess this bug is mostly fixed, except you want to fix the first open issue that you have to use a url at least once to open the programm.


feat: Add 1inch visualization supoprt

Polygon DevX [Americas] Hackathon Submission
Problem Statement Visualization ($5000)
Support

Add visualization support for both 1inch fusion and rarible

Community

Create a registry smart contract that route to various EIP-6865 implementation of different protocols
Create a smart contract that is compliant with EIP-6865 for 1inch fusion
Innovation

Now as you are more familiar with wizard-sdk and the EIP-712 visualization concept, propose the best way to solve this widespread issue (it can be one of the 2 already existing ones, the SDK or on-chain visualization EIP, just make sure to defend your idea)

Solution
DoraHacks Submission here

1inch wizard sdk implementation in this Pull request
1InchEIP712Visualizer here

Innovation
The transaction signature is crucial in preventing undesired situations for Ethereum users. It is of utmost importance that the authorization message provides users with a complete understanding of the implications that such authorization may have on their assets. To achieve this, on-chain visualization ERC-6865 messages (as opposed to off-chain solutions) is a better way to solve the issue.
From a security perspective, carrying out this message generation on-chain adds a layer of security and trust for both users and decentralized applications (dapps) that integrate these DeFi protocols.
It is highly beneficial for each protocol's development team to take responsibility for this implementation. This ensures greater accuracy in the generated information and eliminates two significant risk vectors:
Possible errors arising from third parties when implementing the functionality.
The potential for malicious dapps to issue messages with false information.
This empowers users who research the protocols they wish to interact with, as they can have confidence that the generation of messages for transaction signing has undergone audits and testing.

Thanks for the hackathon bounty submission, we will check the submission this week.
Can you please fix the failing tests? Thanks

I will do it

Hey @a6-dou, sorry for the test issue. It was a small bug that went un-noticed. Thank you!🙌


In 'Test Company', Documents Page gives Package error (By Sumit)

goto documents Page.
type any company name.
gives package expire message

Not able to ReProduce


Fix ETS mappings rabbitmq core collector

Fix metric mappings to ETS tables
In RabbitMQ v3.7.x, the following mappings were not valid and would
result in crashes when a produce/consumer would connect to RabbitMQ:

connection_metrics

connection_recv_count, recv_count
connection_send_count, send_count

channel_queue_metrics

channel_queue_get, get
channel_queue_get_no_ack, get_no_ack
channel_queue_deliver, deliver
channel_queue_deliver_no_ack, deliver_no_ack
channel_queue_redeliver, redeliver
channel_queue_ack, ack
channel_queue_get_empty, get_empty

The following metric was mapped incorrectly:

connection_churn_metrics

7, queue_deleted

There is more line churn in this commit than necessary. I was
re-formatting all metrics as I was going over all mappings. This
confirms that I've checked that all mappings are accurate.
I've tested manually against current v3.7.x branch via make run-broker
as well as rabbitmq:3.7.9 Docker image:
make distclean

make otp-21.2.5-build-context

  make /usr/local/bin/elixir
  apt update && apt install zip
  make ezs
  ^D

make docker_build DOCKER_BASE_IMAGE=rabbitmq:3.7.9-management
docker run -it -p 5672:5672 -p 15672:15672 deadtrickster/rabbitmq_prometheus:3.7

cd ~/github.com/rabbitmq/rabbitmq-perf-test
make run ARGS="-x 1 -y 1 -r 1"

curl localhost:15672/api/metrics
# NO CRASHES!

Fixes #75
cc @dcorbacho

Awesome! version will be <IP_ADDRESS>?

Yes, <IP_ADDRESS> makes sense to me 👍🏻

Before you cut a new release, let me share the Docker image which I've built locally. Maybe someone in #75 can confirm the fix before shipping.

Thank you, Gerhard :-)

@deadtrickster there is another PR like this one coming soon. Found other typos and incorrect descriptions. Going over everything like a🕵🏻♀

I didn't have time to PR this yet, but considering the amount of changes, it's safer to ask if it's worth putting one together: https://github.com/rabbitmq/rabbitmq-prometheus/commit/0057f07d1e870e9b2f000ad25865a89b09938c04#diff-fa0286c717bf744481489229d1e4ab5e. Notice that metric names have changed as well, as well as descriptions. Still want the PR?

PRs are always welcome!


Optimized ICML generation

Codecov Report

Merging #200 (318e72c) into master (eb5c69e) will increase coverage by 0.14%.
The diff coverage is 82.45%.

@@             Coverage Diff              @@
##             master     #200      +/-   ##
============================================
+ Coverage     30.30%   30.45%   +0.14%
- Complexity     2644     2671      +27
============================================
  Files           114      114
  Lines          8189     8231      +42
============================================
+ Hits           2482     2507      +25
- Misses         5707     5724      +17

Impacted Files
Coverage Δ

retailcrm/lib/RetailcrmCatalog.php
65.31% <80.00%> (+0.59%)
:arrow_up:

retailcrm/lib/RetailcrmIcml.php
86.25% <82.69%> (-12.68%)
:arrow_down:

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


Test ANIb matrices - Issue 102

This would close issue #102.
Adds parsing of the BLASTN TSV output files following the approach in pyani branch version_0_2 (although rewritten to parse the file line by line, rather than loading it all into memory using pandas).
Adds a private command line function to log the ANIb output to the database, and calls this from snakemake.
Validates all the matrices match those from pyani v0.2 (added earlier in #108).
Type of change

[ ] Bug fix (non-breaking change that fixes an issue)
[x] New feature (non-breaking change that adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality not to work as expected)
[ ] This change requires a documentation update
[ ] This is a documentation update

Action Checklist

[x] Work on a single issue/concept (if there are multiple separate issues to address, please use a separate pull request for each)
[ ] Fork the pyani-plus repository under your own account (please allow write access for repository maintainers)
[x] Set up an appropriate development environment (please see CONTRIBUTING.md for this repository)
[x] Create a new branch with a short, descriptive name
[x] Work on this branch

[x] style guidelines have been followed (please see CONTRIBUTING.md for this repository)
[x] new code is commented, especially in hard-to-understand areas
[ ] corresponding changes to documentation have been made
[x] tests for the change have been added that demonstrate the fix or feature works

[x] Test locally with pytest-plus -v non-passing code will not be merged
[x] Rebase against origin/master
[x] Check changes with linting/formatting tools before submission (please see CONTRIBUTING.md for this repository)
[x] Commit branch
[x] Submit pull request, describing the content and intent of the pull request
[x] Request a code review
[x] Continue the discussion at Pull requests section in the pyan-plus repository

I'm going to rebase this on top of #120.


nil pointer exception in workflow controller

Summary
What happened/what you expected to happen?
A step failed and instead of retrying the step like Argo usually does, it stopped there with the following message
runtime error: invalid memory address or nil pointer dereference. It started since we upgraded Argo from v2.10 to v2.11.6
Diagnostics
What Kubernetes provider are you using?
$ k version
Client Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.2", GitCommit:"f5743093fd1c663cb0cbc89748f730662345d44d", GitTreeState:"clean", BuildDate:"2020-09-16T21:51:49Z", GoVersion:"go1.15.2", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"15+", GitVersion:"v1.15.11-eks-065dce", GitCommit:"065dcecfcd2a91bd68a17ee0b5e895088430bd05", GitTreeState:"clean", BuildDate:"2020-07-16T01:44:47Z", GoVersion:"go1.12.17", Compiler:"gc", Platform:"linux/amd64"}

What version of Argo Workflows are you running?
$ argo version
argo: latest+5eebce9.dirty
  BuildDate: 2020-10-19T20:59:29Z
  GitCommit: 5eebce9af4409da9de536f189877542dd88692e0
  GitTreeState: dirty
  GitTag: v2.11.6
  GoVersion: go1.15.3
  Compiler: gc
  Platform: darwin/amd64

$ kdp -n argo workflow-controller-859896b4fc-7cks9|grep -m 1 Image
    Image:         argoproj/workflow-controller:v2.11.6

Here are the logs of the workflow controller
time="2020-10-25T04:14:44Z" level=error msg="Recovered from panic" namespace=marketing r="runtime error: invalid memory address or nil pointer dereference"
stack="goroutine 434 [running]:\nruntime/debug.Stack(0xc00b4df9b9, 0x17d5fa0, 0x2986ba0)\n\t/usr/local/go/src/runtime/debug/stack.go:24
+0x9d\ngithub.com/argoproj/argo/workflow/controller.*wfOperationCtx).operate.func2(0xc000671ce0)\n\t/go/src/github.com/argoproj/argo/workflow/controller/operator.go:172
+0xc4\npanic(0x17d5fa0, 0x2986ba0)\n\t/usr/local/go/src/runtime/panic.go:679
+0x1b2\ngithub.com/argoproj/argo/workflow/controller.(*wfOperationCtx).processNodeRetries(0xc000671ce0, 0xc001adb380, 0xc0023be500, 0x0, 0x0, 0xc0007b25a0, 0xc000f895d8,
0x0, 0x0, 0x2264656465656363, ...)\n\t/go/src/github.com/argoproj/argo/workflow/controller/operator.go:714
+0x582\ngithub.com/argoproj/argo/workflow/controller.(*wfOperationCtx).executeTemplate(0xc000671ce0, 0xc0013ca380, 0x6a, 0x1c75480, 0xc0007e1970, 0xc000659080, 0xc000f087e0,
0x3, 0x4, 0x0, ...)\n\t/go/src/github.com/argoproj/argo/workflow/controller/operator.go:1593
+0xca9\ngithub.com/argoproj/argo/workflow/controller.(*wfOperationCtx).executeStepGroup(0xc000671ce0,
0xc000269500, 0xf, 0x4, 0xc0023894d0, 0x26, 0xc000f8aa10, 0x0)\n\t/go/src/github.com/argoproj/argo/workflow/controller/steps.go:233
+0x11ea\ngithub.com/argoproj/argo/workflow/controller.(*wfOperationCtx).executeSteps(0xc000671ce0,
0xc001938db0, 0x23, 0xc000659080, 0xc0023885d0, 0x29, 0xc00016aa00, 0x1c75480, 0xc0006beb00, 0xc0005cd6c8,
...)\n\t/go/src/github.com/argoproj/argo/workflow/controller/steps.go:91
+0x474\ngithub.com/argoproj/argo/workflow/controller.(*wfOperationCtx).executeTemplate(0xc000671ce0, 0xc001938db0,
0x23, 0x1c75480, 0xc0006beb00, 0xc000658a80, 0x0, 0x0, 0x0, 0x0, ...)\n\t/go/src/github.com/argoproj/argo/workflow/controller/operator.go:1645
+0x205f\ngithub.com/argoproj/argo/workflow/controller.(*wfOperationCtx).operate(0xc000671ce0)\n\t/go/src/github.com/argoproj/argo/workflow/controller/operator.go:315
+0xf43\ngithub.com/argoproj/argo/workflow/controller.(*WorkflowController).processNextItem(0xc00015a000, 0x0)\n\t/go/src/github.com/argoproj/argo/workflow/controller/controller.go:514
+0x72b\ngithub.com/argoproj/argo/workflow/controller.(*WorkflowController).runWorker(0xc00015a000)\n\t/go/src/github.com/argoproj/argo/workflow/controller/controller.go:430
+0x2b\nk8s.io/apimachinery/pkg/util/wait.JitterUntil.func1(0xc0018c62f0)\n\t/go/pkg/mod/k8s.io/apimachinery@v0.17.8/pkg/util/wait/wait.go:152
+0x5e\nk8s.io/apimachinery/pkg/util/wait.JitterUntil(0xc0018c62f0, 0x3b9aca00, 0x0, 0x1, 0xc0006c4360)\n\t/go/pkg/mod/k8s.io/apimachinery@v0.17.8/pkg/util/wait/wait.go:153
+0xf8\nk8s.io/apimachinery/
pkg/util/wait.Until(0xc0018c62f0, 0x3b9aca00, 0xc0006c4360)\n\t/go/pkg/mod/k8s.io/apimachinery@v0.17.8/pkg/util/wait/wait.go:88
+0x4d\ncreated by github.com/argoproj/argo/workflow/controller.*WorkflowController).Run\n\t/go/src/github.com/argoproj/argo/workflow/controller/controller.go:202
+0x9cd\n" workflow=marketing-spend-all-jobs-zjzmv
time="2020-10-25T04:14:44Z" level=info msg="Updated phase Running -> Error" namespace=marketing workflow=marketing-spend-all-jobs-zjzmv
time="2020-10-25T04:14:44Z" level=info msg="Updated message  -> runtime error: invalid memory address or nil pointer dereference" namespace=marketing workflow=marketing-spend-all-jobs-zjzmv

I can see that our last failed workflows are marked with that same exception:
$ argo list|awk '/Error/ {print $1}'|xargs -I XX argo get XX|grep Message
Message:             runtime error: invalid memory address or nil pointer dereference
Message:             runtime error: invalid memory address or nil pointer dereference
Message:             runtime error: invalid memory address or nil pointer dereference

Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.

#4376 should be the fix, but can you add a workflow to reproduce to verify?

The workflow we have is really dependent on what we do so I would need some time to build a fake one. But what I can tell you is that we have that section in the workflow which seems to match your fix:
...
name: run-get-reports-job
      outputs: {}
retryStrategy:
        backoff:
          duration: 5m
        limit: 5
...

Also I hope you'll add some tests @simster7 to use that code with workflows that have or not a retry strategy etc...

V2.10 to v2.11 upgrade could cause this issue. We have refactored IntStr in v2.11.

@simster7 I finally got one that you can test
apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
  generateName: nil-pointer-exception-
spec:
  entrypoint: entry
  templates:
  - name: entry
    steps:
    - - name: step1
        template: working
    - - name: step2
        template: failing

  - name: working
    container:
      image: alpine:latest
      command: [sh, -c]
      args: ["echo OK"]

  - name: failing
    retryStrategy:
      limit: 5
      backoff:
        duration: 5m
    container:
      image: alpine:latest
      command: [sh, -c]
      args: ["echo intentional failure; exit 1"]

Name:                nil-pointer-exception-pl64v
Namespace:           argo
ServiceAccount:      default
Status:              Error
Message:             runtime error: invalid memory address or nil pointer dereference
Conditions:
 Completed           True
Created:             Mon Oct 26 10:38:57 -0400 (8 seconds ago)
Started:             Mon Oct 26 10:38:57 -0400 (8 seconds ago)
Finished:            Mon Oct 26 10:39:05 -0400 (now)
Duration:            8 seconds
ResourcesDuration:   4s*(1 cpu),4s*(100Mi memory)

STEP                            TEMPLATE  PODNAME                                 DURATION  MESSAGE
 ⚠ nil-pointer-exception-pl64v  entry                                                       Workflow operation error
 ├---✔ step1                    working   nil-pointer-exception-pl64v-3219032554  3s
 └---✖ step2(0)                 failing   nil-pointer-exception-pl64v-2628947329  3s        failed with exit code 1

Thanks @cscetbon, I confirmed the fix works


Simplify records in TypeOK

Blocked by #401 Precise type checking for records
Closes #723
Add record sets to the type-defining sets and simplify membership tests against them.

Records are one place where I'd be careful, probably to the point of not implementing this simplification at all. The problem with current type inference w.r.t. records, is that it overapproximates record types.
A record, the value of which is r = [a |-> 5] can be typed [a: Int, b: Int], and "pass" the check r \in [a: Int, b: Int] with this rule.
I think this simplification should be postponed until after variant-type support is implemented.

Records are one place where I'd be careful, probably to the point of not implementing this simplification at all. [...]
I think this simplification should be postponed until after variant-type support is implemented.

@Kukovec Aaaah, I read about records, but given how we currently type them, I assumed that [a |-> 5] \in [a: Int, b: Int] holds. My bad. I will close this and we can revisit it after #401.


Added Container Apps Workload Profiled #1947

1947
PR Checklist

[x] I have added example(s) inside the [./examples/] folder
[x] I have added the example(s) to the integration test list for normal (~30 minutes) or long runner >30 minutes
[x] I have checked the coding conventions as per the wiki
[x] I have checked to ensure there aren't other open Pull Requests for the same update/change?

Description

Does this introduce a breaking change

[x] YES
[ ] NO

Testing

@arnaudlh let me know if i can help to speed up the reviewing of any PRs, happy to get involved to help move the library along.

@arnaudlh this PR now contains a breaking change because there is a breaking change in version 3.82.0 of terraform-provider-azurerm
How should it be handled?

👍

👍 We need this feature

its working on my fork if you need it before its pulled in.


Configure role per database

Hi,
first of all thank you for ldap2pg, great tool.
I have a question for which I cannot find the answer in the docs or in any of issues. What I want to do is something like this:
alter { role } in database { database } set session authorization  b;
The reason is that roles shall switch session authorization automatically and I want to avoid having them issuing "set role" manually.
Is something like this possible?
Best regards
Daniel

ldap2pg handle global role configuration, not per database.

Duplicate of #572 . Please reopen if I'm wrong.


Suggestion: fallback weight calculation and armor configs/datapacks

Hi there! Cool mod, I just want to share my two cents as a modpack dev.
Armor weight mods are often designed with a simple "more armor points means more weight" system, which has its pros and cons, like it's simple to implement but it eliminates the possibility of expensive but tough and light armor like dragon leather armor or something.
There are a lot of modpack devs / server devs dedicated to making mods are compatible by creating configuration or datapacks. It'd be very helpful for users if the mod allows configuring a list consists of entries like magistuarmory:armet=1. Perhaps you could even encourage people to share their configuratios for mods on Github's Discussion forum.
In summary, I believe the mod would be perfect if it had a fallback weight calculation (1 armor = ? weight) that automatically added weight to all armor items, as well as customizable weight configs instead of allowing only modders to set their items' weight.

This is a pretty sound idea, andIi was planning on doing some work on it later this week anyways. I'll let you know if I get it done.

@No3371
I finally got around to it this afternoon, and now it's done! I'll update the documentation soon, but the example one in the source code will be pretty easy to understand.

Neat! That's pretty fast. I'll give it a try after some mods blocking my pack from launching resolved their compatibility issue.

Hi, my server failed t launch with the new version, unfortunately with my limited knowledge about MC modding I can't even guess what's wrong:
MC 1.19.2
Fabric API 0.14.19
[19:31:19] [main/WARN]: Failed to load datapacks, can't proceed with server load. You can either fix your datapacks or reset to vanilla with --safeMode
java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: net/minecraft/class_7923
        at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:396) ~[?:?]
        at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2073) ~[?:?]
        at net.minecraft.server.Main.main(Main.java:194) [server-intermediary.jar:?]
        at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:462) [fabric-loader-0.14.19.jar:?]
        at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) [fabric-loader-0.14.19.jar:?]
        at net.fabricmc.loader.impl.launch.knot.KnotServer.main(KnotServer.java:23) [fabric-loader-0.14.19.jar:?]
        at net.fabricmc.loader.impl.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:69) [fabric-loader-0.14.19.jar:?]
        at net.fabricmc.installer.ServerLauncher.main(ServerLauncher.java:69) [fabric-server-mc.1.19.2-loader.0.14.19-launcher.0.11.2.jar:0.11.2]
Caused by: java.lang.NoClassDefFoundError: net/minecraft/class_7923
        at an.opensauce.armourweight.api.ServerResourceListener.reload(ServerResourceListener.java:70) ~[Armour%20Weight%201.4.jar:?]
        at net.minecraft.resource.SynchronousResourceReloader.method_29490(SynchronousResourceReloader.java:15) ~[server-intermediary.jar:?]
        at java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:787) ~[?:?]
        at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?]
        at net.minecraft.resource.SimpleResourceReload.method_18365(SimpleResourceReload.java:69) ~[server-intermediary.jar:?]
        at net.minecraft.util.Util.waitAndApply(Util.java:958) ~[server-intermediary.jar:?]
        at net.minecraft.util.Util.waitAndApply(Util.java:946) ~[server-intermediary.jar:?]
        at net.minecraft.server.Main.main(Main.java:156) ~[server-intermediary.jar:?]
        ... 5 more
Caused by: java.lang.ClassNotFoundException: net.minecraft.class_7923
        at jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) ~[?:?]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
        at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:226) ~[fabric-loader-0.14.19.jar:?]
        at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:112) ~[fabric-loader-0.14.19.jar:?]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
        at an.opensauce.armourweight.api.ServerResourceListener.reload(ServerResourceListener.java:70) ~[Armour%20Weight%201.4.jar:?]
        at net.minecraft.resource.SynchronousResourceReloader.method_29490(SynchronousResourceReloader.java:15) ~[server-intermediary.jar:?]
        at java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:787) ~[?:?]
        at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?]
        at net.minecraft.resource.SimpleResourceReload.method_18365(SimpleResourceReload.java:69) ~[server-intermediary.jar:?]
        at net.minecraft.util.Util.waitAndApply(Util.java:958) ~[server-intermediary.jar:?]
        at net.minecraft.util.Util.waitAndApply(Util.java:946) ~[server-intermediary.jar:?]
        at net.minecraft.server.Main.main(Main.java:156) ~[server-intermediary.jar:?]
        ... 5 more

Hi, my server failed t launch with the new version, unfortunately with my limited knowledge about MC modding I can't even guess what's wrong:
MC 1.19.2 Fabric API 0.14.19
[19:31:19] [main/WARN]: Failed to load datapacks, can't proceed with server load. You can either fix your datapacks or reset to vanilla with --safeMode
java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: net/minecraft/class_7923
        at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:396) ~[?:?]
        at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2073) ~[?:?]
        at net.minecraft.server.Main.main(Main.java:194) [server-intermediary.jar:?]
        at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:462) [fabric-loader-0.14.19.jar:?]
        at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) [fabric-loader-0.14.19.jar:?]
        at net.fabricmc.loader.impl.launch.knot.KnotServer.main(KnotServer.java:23) [fabric-loader-0.14.19.jar:?]
        at net.fabricmc.loader.impl.launch.server.FabricServerLauncher.main(FabricServerLauncher.java:69) [fabric-loader-0.14.19.jar:?]
        at net.fabricmc.installer.ServerLauncher.main(ServerLauncher.java:69) [fabric-server-mc.1.19.2-loader.0.14.19-launcher.0.11.2.jar:0.11.2]
Caused by: java.lang.NoClassDefFoundError: net/minecraft/class_7923
        at an.opensauce.armourweight.api.ServerResourceListener.reload(ServerResourceListener.java:70) ~[Armour%20Weight%201.4.jar:?]
        at net.minecraft.resource.SynchronousResourceReloader.method_29490(SynchronousResourceReloader.java:15) ~[server-intermediary.jar:?]
        at java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:787) ~[?:?]
        at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?]
        at net.minecraft.resource.SimpleResourceReload.method_18365(SimpleResourceReload.java:69) ~[server-intermediary.jar:?]
        at net.minecraft.util.Util.waitAndApply(Util.java:958) ~[server-intermediary.jar:?]
        at net.minecraft.util.Util.waitAndApply(Util.java:946) ~[server-intermediary.jar:?]
        at net.minecraft.server.Main.main(Main.java:156) ~[server-intermediary.jar:?]
        ... 5 more
Caused by: java.lang.ClassNotFoundException: net.minecraft.class_7923
        at jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) ~[?:?]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
        at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass(KnotClassDelegate.java:226) ~[fabric-loader-0.14.19.jar:?]
        at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:112) ~[fabric-loader-0.14.19.jar:?]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
        at an.opensauce.armourweight.api.ServerResourceListener.reload(ServerResourceListener.java:70) ~[Armour%20Weight%201.4.jar:?]
        at net.minecraft.resource.SynchronousResourceReloader.method_29490(SynchronousResourceReloader.java:15) ~[server-intermediary.jar:?]
        at java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:787) ~[?:?]
        at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?]
        at net.minecraft.resource.SimpleResourceReload.method_18365(SimpleResourceReload.java:69) ~[server-intermediary.jar:?]
        at net.minecraft.util.Util.waitAndApply(Util.java:958) ~[server-intermediary.jar:?]
        at net.minecraft.util.Util.waitAndApply(Util.java:946) ~[server-intermediary.jar:?]
        at net.minecraft.server.Main.main(Main.java:156) ~[server-intermediary.jar:?]
        ... 5 more

this is a bug with minecraft's 1.19.3+ changes itself, and i'm pretty sure i know why this is happening

apart from 1.19.4+'s breaking changes, this issue is mostly solved with 1.5 and the upcoming 1.6 and it's fallback weights and datapack integration.


File Dialog doesnt implement the Send Bound

File Dialog doesnt implement the Send Bound. this is not a bug but limiting the use of FileDialog.
Not beeing Send means that it can not be used in a Mutex or across multiple threads.
I found this restriction unnecessaryly strict and changed it.
this only required a few trait bounds to be changed, nothing else in the source code.
please feel free to merge this request.

Thanks for implementing.
Could you please fix the cargo warnings?
Then I'll merge the PR :)

thanks! I changed it. cargo check seems ok now.

Thank you!
The changes will be included with v0.6.0.


Rename themes-used to list-themes

Is your feature request related to a problem?
I recommend following the naming convention for Prompt commands,
Describe the solution you'd like
Consider naming the themes-used command as list-themes to conform with Prompt command naming convention.
Describe alternatives you've considered
n/a
Additional context
It would be awesome to see this command in DNN Platform.  😉

Same, same, same!  :D  Thanks, David!


Shell/Dashboard: Main viewlet icons are draggable and can crash the app

The main Viewlet on the left (with ConnectionViewlet, TaskHistoryViewlet, Extensions icons etc) can have its icons dragged. When they are dragged and dropped to a random area, it can crash the app.
Here's the example crash stacktrace when I dragged the ConnectionViewlet icon onto some Object Explorer object -
[uncaught exception]: TypeError: Cannot read property 'getParent' of undefined
console.(anonymous function) @ C:\Users\adbist\Desktop\SQL_Tools\sqlopsstudio\node_modules\zone.js\dist\zone-node.js:2251
onError @ index.js:39
(anonymous) @ index.js:121
ZoneDelegate.invokeTask @ C:\Users\adbist\Desktop\SQL_Tools\sqlopsstudio\node_modules\zone.js\dist\zone-node.js:421
Zone.runTask @ C:\Users\adbist\Desktop\SQL_Tools\sqlopsstudio\node_modules\zone.js\dist\zone-node.js:188
ZoneTask.invokeTask @ C:\Users\adbist\Desktop\SQL_Tools\sqlopsstudio\node_modules\zone.js\dist\zone-node.js:496
ZoneTask.invoke @ C:\Users\adbist\Desktop\SQL_Tools\sqlopsstudio\node_modules\zone.js\dist\zone-node.js:485
emitOne @ events.js:96
emit @ events.js:191
window.onerror @ C:\Users\adbist\Desktop\SQL_Tools\sqlopsstudio\.build\electron\resources\electron.asar\renderer\init.js:135
C:\Users\adbist\Desktop\SQL_Tools\sqlopsstudio\node_modules\zone.js\dist\zone-node.js:2251 TypeError: Cannot read property 'getParent' of undefined
    at ServerTreeDragAndDrop.drop (Users/adbist/Desktop/SQL_Tools/sqlopsstudio/out/sql/parts/objectExplorer/viewlet/dragAndDropController.js:93)
    at TreeView.onDrop (Users/adbist/Desktop/SQL_Tools/sqlopsstudio/out/vs/base/parts/tree/browser/treeView.js:1194)
    at HTMLDivElement.<anonymous> (Users/adbist/Desktop/SQL_Tools/sqlopsstudio/out/vs/base/parts/tree/browser/treeView.js:400)

@abist I couldn't repro this.  Are there any more specific repro steps.

@abist thanks for the video.  That helped me repro.