Toolbar customization - Draw Instances

With this PR it is possible to add custom Controls to the Toolbar, with own actions.
Also multiple Draw Instances can be created.
Maybe it needs a few changes, but I want to talk with you about that.
Also this would be your part @codeofsumit to rewrite the sentences in the Readme, for better understanding.
Nice to know:
With that css a Toolbar with position topleft is automatically displayed in a new row if it goes out of the map border.
.leaflet-control-container > div.leaflet-top.leaflet-left {
    height: 500px;  /* map height */
    display: flex;
    flex-flow: column wrap;
}

But I don't know if this should be in the Readme.

I had to create my own version of this. Would be great if this could be merged.

@codeofsumit tests added

@codeofsumit take a look on the new code


Is this project still being maintained?

I noticed quite a few issues that should be easy to fix. Before I start creating dozens of branches and PR, I'd like to know if there is even a point in doing so.

Hi @oliversalzburg. The answer is yes. You should see progress on PRs being merged. Please submit your PRs if you have. The trivial and obvious fixes should be merged quite quickly. I'll be devoting time to clear the backlog this week. Thank you for your contribution.

Awesome. Thanks :)


Clean up hovers

Fixes https://github.com/browserslist/browsersl.ist/issues/385

Good you've taken care of #385. Came to the repo to complain about this 😄


Script editor fonts don't render sharply, also off center

Godot version:

v3.0.4
OS/device including version:

Windows 10
Issue description:

Fonts used for the script editor render with a weird, blurred edge (on all hinting modes) and also render at the top of a line rather than in the center, like so:

Compared with my external editor, vscode:

To me, vscode is clearly rendered sharper (very noticeable around curves in letters) and isn't pushed to the top of the line
Both of these are using Consolas (though the same happens with the default font for godot's code editor), with default zoom and a font size of 14, godot is using the default line size of 4 (playing with this doesn't help, the issues are present in most line sizes and font sizes), where as vscode by default calculates this based on font size
Steps to reproduce:
n/a - blank project, with any code in the in-engine editor, with any editor settings I've tried
Minimal reproduction project:

n/a

The difference is that Godot doesn't use the rgb subsamples to increase sharpness (called "ClearType" in windows for example).
I like how smooth the fonts look in Godot, but I guess that's personal preference.

See also https://github.com/godotengine/godot/issues/15688

@Zylann oh. I missed that one. thanks :smiley:

Does this get better with #19735 ?

Text is definitely much much better centered with #19735 👍

blurriness/font quality is still not as good as external editors, imo, but I lack the understanding to know exactly why or how hard it would be to fix (just so that letters rendered a bit more solidly, like my vscode image, at least as an option if others like how it is now), but the centering alone is a huge improvement imo, code in the editor just seems a little neater overall to me now 👍

@smt923 (or anyone else) Is this issue still reproducible on 3.1.1 or a daily build?

pretty good with 197b65f32

Closing as fixed then.


The spconv version

Thanks for your work first.
My question is why your codes cannot be run on the latest SPCONV version(2.3.6).
After several days of debugging, I finally found that the spconv version you use here is weird.
For example,
If you use the .indices method to get the voxel index of the feature map backbone.
In the version you provide, the order of batch dim is increased. In this way, every batch is organized separately.
it looks like (0, x, y, z), (0, x, y, z) , (1, x, y, z), (1, x, y, z) , (2, x, y, z), (2, x, y, z)
However, from 2.2 version, the return value is out of order.
it looks like (0, x, y, z), (1, x, y, z) , (1, x, y, z), (0, x, y, z) , (2, x, y, z), (1, x, y, z)
Could you please check it?
The lastest version of spconv is much faster than 2.1 on Ampere Architecture card

This out of order problem seems will lead to the loss issues, as it will start from 60 when bs=4

Hi, the used version of spconv_cu111 seems to be 2.1.25 in our environment.

Hi, I have checked the method you mentioned. However, it seems that the loss is still very high even if the order has been sorted. Could you please check it? It's very convenient to change the spconv version and check where is the problem.

Solved, I forgot you also do 1 block of spconv in the head.
And yes, they can be solved by reorder the indices


plugin-optimize: minify css and html

Closes https://github.com/pikapkg/snowpack/issues/838
Adds minify logic for both CSS & HTML, in addition to the JS minify logic that already exists.
Update docs

Merging this to get 2.11.0 out! @drwpow would still love review post-merge


Feature Suggestion: Badge Width

Curious if there was a reason to make the Badge component forced as a 27x27 circle? If not, perhaps it makes sense to change the width from 'width' to 'minWidth' of 27. This would allow longer strings and would be in line with how Bootstrap on the web handles it. My use case is that I have potentially more than single digits that I need show to a user and thus a forced width of 27 is no bueno. I can send a pull request if you'd like!

There is no minHeight for react-native. Although I've figured out a workaround by putting some horizontal padding around the text. I've pushed the update on master. You can use it if you need it urgently.

I'm not sure I was totally clear on the use case here. I'm aiming to the do the following:

Ideal Scenario:

or

How it currently handles long text:

or

I was able to solve 2 by changing the width to minWidth of 27

@zzimbler Did you try the code above? It seems to be working fine over here.

@sankhadddproy007 I didn't see a commit attached to the issue, can you point me to the new commit you did and I'll check it out tomorrow? (It's rather late here in the US and I'm headed to bed)

Here

Looks like your solution works well too :thumbsup:


CIV: Extend skip marker

Many tests needed to be skipped by bigger or smaller versions, this should simplify this operation.
Another approach to this is to get the version release in the init part of the code and use the 'skipif' builtin fixture - think this would be a better way to to this.

I'm just thinking how we are going to do when a change is introduced in for example 8.8 and 9.2. If you put >8.7 it will include 9.0 and 9.1
I guess we'll manually exclude those versions. I can't come up with a better solution. Maybe this condition should only apply inside the same major version??

I'm just thinking how we are going to do when a change is introduced in for example 8.8 and 9.2. If you put >8.7 it will include 9.0 and 9.1
I guess we'll manually exclude those versions. I can't come up with a better solution. Maybe this condition should only apply inside the same major version??

I guess you meant if we need to exclude a spesicif version in addition? -  This feature still exists in line 41. The signs < or > are an option not a mandatory.

Let's have a meeting to discuss how to do this. I think it might be a bit more complex that expected

So after the last conversation, we agreed that we have two main options. One where the > or < character apply to all versions (option 1), and a second option where they apply only inside the same major version (option 2).
Let's imagine a scenario where we have to run a test from 8.8 and from 9.2. This means  this test should be executed  on 8.8, 8.9… and 9.2, 9.3..
For option 1 we could use this marker

run_on([“>rhel8.7”, “>rhel9.1”])

for option 2 this would one way to do it

run_on([“>rhel8.7”])
exclude_on([“rhel9.0”, “rhel9.1”])

We can also imagine a second scenario were a test applies from 8.8 but doesn't apply to 9.x
Option 1

run_on([“<rhel9.0”])
exclude_on([“<rhel8.8"])

Option 2

run_on([“>rhel8.7”])

Just chose the option that you find the best, we can always change it later if we see it requires a lot of maintenance :)

Added another marker just for major versions 'major_version' - @pytest.mark.major_version(['rhel8.5', 'rhel8.6', 'rhel9.0'])
The marker will skip the versions beneath the major versions.
In my opinion, this marker needed to be separated from the other existing ones because it has a specific aim of use, unlike the 'exclude_on' marker that is more general in its range


HTML support in T2C

HTML can not be currently inserted to output as it would be interpreted as XML markup.
When encoding by hand, the gets  safely to XML but then to JSON  as well. We need JSON to contain plain markup (unescaped).
Steps needed:

encode T2C
decoded when writing to JSON

Done:


Fix some Clang warnings

I suggest squashing these two commits into one commit and adding "Fix #134" to the commit message, so that #134 is automatically closed when this commit gets merged.

Can do.

Done!

I just remembered that we have a patch at https://review.xiph.org/988/ that uses the ref parameter in od_state_get_predictor, I'll merge your patch without the OD_UNUSED line to avoid forgetting to remove it when https://review.xiph.org/988/ is merged.

So should I go ahead and remove OD_UNUSED?

it's fine, I did it myself and merged your commit: https://git.xiph.org/?p=daala.git;a=commit;h=5f131b5b353c9df4ea4264905a96758c8dfe59db . Thank you for your contribution!

Excellent! Glad I could contribute.


release: v0.14.1

Description: 概要

Changes: 変更内容

Changes

[ ] chore: twitter の表示を修正 (closes #136) (#137) @technote-space

chore: 一覧の card のデザイン調整<PHONE_NUMBER>c09defafec180eb1c6ab13e526539a)
chore: update snapshot (ab6d6cd1359d1f135c060e9bd0347cf8852018f0)

Expected Impact: 影響範囲

Operating Requirements: 動作要件

Additional context: 補足

Codecov Report

Merging #135 (ab6d6cd) into main (8dbab52) will increase coverage by 0.20%.
The diff coverage is 69.23%.

:exclamation: Current head ab6d6cd differs from pull request most recent head f2e2d6e. Consider uploading reports for the commit f2e2d6e to get more accurate results

@@            Coverage Diff             @@
##             main     #135      +/-   ##
==========================================
+ Coverage   36.16%   36.37%   +0.20%
==========================================
  Files         143      144       +1
  Lines        1131     1141      +10
  Branches      197      198       +1
==========================================
+ Hits          409      415       +6
- Misses        699      701       +2
- Partials       23       25       +2

Impacted Files
Coverage Δ

src/infra/pages/index/components/Card.stories.tsx
100.00% <ø> (ø)

src/infra/post/service/oembed/components/Tweet.tsx
100.00% <ø> (ø)

src/pages/_document.tsx
0.00% <ø> (ø)

...a/post/service/oembed/components/Tweet.stories.tsx
71.42% <50.00%> (-28.58%)
:arrow_down:

src/infra/pages/post/hooks/useTwitterWidget.ts
60.00% <60.00%> (ø)

src/infra/pages/index/components/Card.tsx
100.00% <100.00%> (ø)

src/infra/pages/post/components/Article.tsx
72.72% <100.00%> (+2.72%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


scanf: bad input at char number 16: int_of_string

What happened?

magic-perf reported an error:
(monitor.ml.Error
 ("BUG: exception raised while parsing perf output. Please report this to https://github.com/janestreet/magic-trace/issues/"
  (exn
   (Scanf.Scan_failure "scanf: bad input at char number 16: int_of_string"))
  (perf_output
   "25675/25675  5052.616414706:   jmp                           413bdab [unknown] =>          4138d60 memcpy@plt+0xffffffffff22f000"))
 ("Raised at Base__Error.raise in file \"src/error.ml\" (inlined), line 9, characters 14-30"
  "Called from Base__Error.raise_s in file \"src/error.ml\", line 10, characters 19-40"
  "Called from Async_kernel__Pipe.map.(fun) in file \"src/pipe.ml\", line 1042, characters 65-70"
  "Called from Async_kernel__Job_queue.run_jobs in file \"src/job_queue.ml\", line 167, characters 6-47"
  "Caught by monitor Monitor.protect"))

What version of perf userspace tools are you running? perf --version

5.14.9

I had this bug and it appears to be fixed on current master 9bb5f08c094de05ea79653389bf5fd300862bb4d
Probably one of the refactor commits fixed it, maybe b2f3197992c1f58369f7cc4b2ed750a9b081350a?


Headlines in markdown do not render correctly

Currently
### Headline
looks the same as
## Headline
and
#### Headline
Needs fix. Possibly also some specifications.

Outdated.


run Digits has mistake

user@user-ProLiant-DL380-Gen9:~/digits$ ./digits-devserver
Default value for caffe_root "" invalid:
caffe binary not found in PATH
==================================== Caffe =====================================
Where is caffe installed?
Suggested values:
(P*) [PATH/PYTHONPATH] <PATHS>

~/caffe
ERROR: caffe binary not found at "/home/user/caffe"
Invalid input
~/

caffe root is ok ,i dont know how to slove this proplem .
in ubuntu 14.04

now i have a new problem ,like tihs
user@user-ProLiant-DL380-Gen9:~/digits$ ./digits-devserver
Default value for caffe_root "" invalid:
caffe binary not found in PATH
==================================== Caffe =====================================
Where is caffe installed?
Suggested values:
(P*) [PATH/PYTHONPATH] <PATHS>

~/caffe
ERROR: Library at "libcaffe.so.1.0.0-rc3" does not have expected suffix "-nv". Are you using the NVIDIA/caffe fork?
Invalid input

how can i solve it ?thake you very much

Hello, have a look at Caffe build instructions or install Caffe from a .deb package using the Ubuntu install instructions

what i installed caffe is BLVC,not Nvidia. is this problem? @gheinrich

Our instructions are for nv-caffe. DIGITS should work with the latest BVLC but since we don't own the BVLC project we cannot guarantee that it works.

@gheinrich i will try to install nv-digits,think you very much !


Numerical error in HealpixNestedPolygonComputer.overlappingCells

Hi @fxpineau.  I see a problem if I run the following code against cds-healpix-java v0.30.2:
import cds.healpix.Healpix;
import cds.healpix.HealpixNestedPolygonComputer;

public class Overlap {
    public static void main(String[] args) {
        int order = 12;
        HealpixNestedPolygonComputer pc = Healpix.getNested( 12 ).newPolygonComputer();
        double[][] verts1 = new double[][] {
            { -1.5702949547333407, -0.7295093151415473 },
            { -1.5702171673769950, -0.7295093016804524 },
            { -1.5701393800214274, -0.7295092852142693 },
            { -1.5700615926667945, -0.7295092657429985 },
        };
        double[][] verts2 = new double[][] {
            { -1.5706045044233712, -0.7295105218483977 },
            { -1.5705168372776197, -0.7295105199399403 },
            { -1.5704291701320918, -0.7295105142145686 },
            { -1.5703415029870114, -0.7295105046722821 },
        };
        pc.overlappingCells( verts1 );  // OK
        pc.overlappingCells( verts2 );  // trouble
    }
}

The calculation with the second set of vertices gives me an AssertionError at cds.healpix.NewtonMethod.arcSpecialPointInEqr(NewtonMethod.java:234), or a NullPointerException later on if assertions are turned off.  This is probably some kind of edge case since this code has been in topcat for several years and I haven't noticed it before now.

Hi @mbtaylor ,
Thank you for the report.
The good news is that the rust library seems to be working well for both polygons.
See the screenshot made in Aladin:

I am going to check the differences between both libraries to fix the Java one (today or tomorrow).
fx

Fixed in commit b6880155961430bc2e97dd3d308f1d1f160703cc (if the Newton method fails, we are in a corner case
which probably does not contains "special points"; if we found a corner case having a special point we could fallback with a dichotomic appoach).

Thanks @fxpineau, I confirm that fixes my test case and the application issue I encountered that led to the report.
Will you assign a new release number/tag to this version?

Sure. I just updated the CHANGES file, the version number and added a tag.
Thank you @mbtaylor .

Thanks!


[Task]: Update doc URLs in code

Is there an existing issue for this?

[X] I have searched the existing issues

SubTasks
Update the doc urls in the codebase:

The doc urls with versions are no longer maintained and will redirect the users to the docs homepage, so the code should be updated to point the URLs to actual pages. For example, in this file.
This is the list of URLs that are still pointing to the versioned URLs.

@somangshu and @dilippitchika - As the change is in the widget, I've assigned it to you. If this doesn't fall in your pod's purview, please assign it accordingly.

@jnikhila what should the URL be changed to?

@somangshu - For the old url - https://docs.appsmith.com/v/v1.2.1/setup/docker/google-maps the new url is https://docs.appsmith.com/getting-started/setup/instance-configuration/google-maps.
For the other URLs, I'll share a spreadsheet.

This issue is still open. Can I contribute?

Greetings @Ricky004  thanks for showing interest 🎉 , This is all yours. Assigning this to you now.
Please don't forget to read the Contribution Guidelines. Would appreciate if you can open a PR within the next 2 days. let us know here

Hi @dilippitchika can you assign this to me and share the spreadsheet of the new urls which needs to be changed. i will do it as soon as you will assign

Sure @rohityadav2604. We can assign this to you. But I think it can be a little difficult to manage.
However, here is the link to see all the URLs that need to be updated in our codebase.
Let me know if you have any questions.

Question: Are all the URL's in "appsmith" repo? or they are spread across the repositories under appsmithorg?
Finding: Tried to do a spot check on few URL's, was able to find only few in "appsmith" repo.

@ayerandge - Please note that the spreadsheet contains a list of modified document URLs. Please use this spreadsheet as a reference to update URLs specifically within the appsmith repository. If you have any further queries, please feel free to ask. Thank you.

is this issue still open? I would love to contribute!

@jnikhila is the work still not complete with the above linked PR?
What is exactly pending now?

@somangshu - The list added to the comment still shows the files with the old URLs.

Hi @jnikhila , @somangshu - Is this issue still open ?  Thank you!

Hello @pkawale it's still open, do you want to pick this up?

Hi @dilippitchika , yes . I will start working on it. Thank you!

Hi @dilippitchika, @somangshu Is this issue still open for contribution? would love to work on this!

Hi  @dilippitchika and @jnikhila, I would like to work on this issue if it is still open. Please assign it to me, thanks!

Sure @Gretel8, assigning it to you.

@jnikhila Hey Nikhila, I also asked for the issue earlier, could you please tell me if I can work on it now? if so, please assign it to me!

Sure @Gretel8, assigning it to you.

Thank you! I am working on it already, if @digvijaysinghh would like to split the work with me, I do not mind collaborating.

Thanks @Gretel8. @digvijaysinghh - Would you like to collaborate?

@jnikhila @Gretel8 Thank you! I'll be happy to collaborate.

@digvijaysinghh - Great! I've assigned the ticket to you too.

@Gretel8 Hi, Please tell me something that you want me to work on! so we could work together without issues!

@digvijaysinghh I can work on the first 233 URLs listed on the spreadsheet and you can work on the rest starting at 234.

Hi @Gretel8 , I've checked and replaced all the URLs assigned by you to me from (234-467)! Shall I raise a PR?

Yes, go ahead and raise the PR. Thanks!

@jnikhila, @somangshu, @dilippitchika I have raised PR https://github.com/appsmithorg/appsmith/pull/27798, please review at your earliest convenience. Thanks!

@Gretel8 and @digvijaysinghh - Thank you for your contribution.
@somangshu - The PR is ready to merge.


ChargeTypePeriod's points collection instantiating removed from the c…

…onstructor

Description
fixed the issue with not being able to instantiate the changeofchargetransaction de serialization.
References

#0000

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


[ERROR] Exit code: 1 - javadoc: error - The code being documented uses modules but the packages defined in https://docs.oracle.com/javase/8/docs/api/ are in the unnamed module.

Platform:
win10
Architecture:
x64
Version:
jdk-12.0.1+12
Bug:
When build javadoc for language level 8, it throw such error.
Full log:
C:\jdk-12.0.1+12\bin\java.exe -Dvisualvm.id=342352993975800 -Dmaven.multiModuleProjectDirectory=D:\workspace\x8l -Duser.language=en_US -Xms128m -Xmx512m -Dfile.encoding=UTF-8 -Dmaven.home=D:\apache-maven-3.6.0 -Dclassworlds.conf=D:\apache-maven-3.6.0\bin\m2.conf -javaagent:C:\Users\xenoa\AppData\Local\JetBrains\Toolbox\apps\IDEA-JDK11\ch-0\191.7479.19\lib\idea_rt.jar=7910:C:\Users\xenoa\AppData\Local\JetBrains\Toolbox\apps\IDEA-JDK11\ch-0\191.7479.19\bin -classpath D:\apache-maven-3.6.0\boot\plexus-classworlds-2.5.2.jar org.codehaus.classworlds.Launcher -Didea.version2019.1.3 -DskipTests=true install
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.xenoamess:x8l:jar:0.47.0-SNAPSHOT
[WARNING] 'dependencies.dependency.version' for org.junit.jupiter:junit-jupiter-api:jar is either LATEST or RELEASE (both of them are being deprecated) @ line 63, column 22
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] -------------------------< com.xenoamess:x8l >--------------------------
[INFO] Building x8l 0.47.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ x8l ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ x8l ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 11 source files to D:\workspace\x8l\target\classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ x8l ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ x8l ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:3.0.0-M3:test (default-test) @ x8l ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ x8l ---
[INFO] Building jar: D:\workspace\x8l\target\x8l-0.47.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-javadoc-plugin:3.1.0:jar (default) @ x8l ---
[INFO]
Loading source files for package com.xenoamess.x8l...
Loading source files for package com.xenoamess.x8l.dealers...
Constructing Javadoc information...
Standard Doclet version 12.0.1
Building tree for all the packages and classes...
Generating D:\workspace\x8l\target\apidocs\com\xenoamess\x8l\AbstractTreeNode.html...
Generating D:\workspace\x8l\target\apidocs\com\xenoamess\x8l\CommentNode.html...
Generating D:\workspace\x8l\target\apidocs\com\xenoamess\x8l\ContentNode.html...
Generating D:\workspace\x8l\target\apidocs\com\xenoamess\x8l\TextNode.html...
Generating D:\workspace\x8l\target\apidocs\com\xenoamess\x8l\Version.html...
Generating D:\workspace\x8l\target\apidocs\com\xenoamess\x8l\X8lGrammarException.html...
Generating D:\workspace\x8l\target\apidocs\com\xenoamess\x8l\X8lTree.html...
Generating D:\workspace\x8l\target\apidocs\com\xenoamess\x8l\dealers\AbstractLanguageDealer.html...
Generating D:\workspace\x8l\target\apidocs\com\xenoamess\x8l\dealers\JsonDealer.html...
Generating D:\workspace\x8l\target\apidocs\com\xenoamess\x8l\dealers\X8lDealer.html...
Generating D:\workspace\x8l\target\apidocs\com\xenoamess\x8l\dealers\XmlDealer.html...
Generating D:\workspace\x8l\target\apidocs\com\xenoamess\x8l\package-summary.html...
Generating D:\workspace\x8l\target\apidocs\com\xenoamess\x8l\package-tree.html...
Generating D:\workspace\x8l\target\apidocs\com\xenoamess\x8l\dealers\package-summary.html...
Generating D:\workspace\x8l\target\apidocs\com\xenoamess\x8l\dealers\package-tree.html...
Generating D:\workspace\x8l\target\apidocs\constant-values.html...
Generating D:\workspace\x8l\target\apidocs\serialized-form.html...
Generating D:\workspace\x8l\target\apidocs\com\xenoamess\x8l\class-use\AbstractTreeNode.html...
Generating D:\workspace\x8l\target\apidocs\com\xenoamess\x8l\class-use\CommentNode.html...
Generating D:\workspace\x8l\target\apidocs\com\xenoamess\x8l\class-use\ContentNode.html...
Generating D:\workspace\x8l\target\apidocs\com\xenoamess\x8l\class-use\TextNode.html...
Generating D:\workspace\x8l\target\apidocs\com\xenoamess\x8l\class-use\Version.html...
Generating D:\workspace\x8l\target\apidocs\com\xenoamess\x8l\class-use\X8lGrammarException.html...
Generating D:\workspace\x8l\target\apidocs\com\xenoamess\x8l\class-use\X8lTree.html...
Generating D:\workspace\x8l\target\apidocs\com\xenoamess\x8l\dealers\class-use\AbstractLanguageDealer.html...
Generating D:\workspace\x8l\target\apidocs\com\xenoamess\x8l\dealers\class-use\JsonDealer.html...
Generating D:\workspace\x8l\target\apidocs\com\xenoamess\x8l\dealers\class-use\X8lDealer.html...
Generating D:\workspace\x8l\target\apidocs\com\xenoamess\x8l\dealers\class-use\XmlDealer.html...
Generating D:\workspace\x8l\target\apidocs\com\xenoamess\x8l\package-use.html...
Generating D:\workspace\x8l\target\apidocs\com\xenoamess\x8l\dealers\package-use.html...
Building index for all the packages and classes...
Generating D:\workspace\x8l\target\apidocs\overview-tree.html...
Generating D:\workspace\x8l\target\apidocs\deprecated-list.html...
Building index for all classes...
Generating D:\workspace\x8l\target\apidocs\index.html...
Generating D:\workspace\x8l\target\apidocs\index-all.html...
Building index for all classes...
Generating D:\workspace\x8l\target\apidocs\allclasses-index.html...
Generating D:\workspace\x8l\target\apidocs\allpackages-index.html...
Generating D:\workspace\x8l\target\apidocs\overview-summary.html...
Generating D:\workspace\x8l\target\apidocs\help-doc.html...
1 error
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  5.311 s
[INFO] Finished at: 2019-05-31T15:05:46+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.1.0:jar (default) on project x8l: MavenReportException: Error while generating Javadoc:
[ERROR] Exit code: 1 - javadoc: error - The code being documented uses modules but the packages defined in https://docs.oracle.com/javase/8/docs/api/ are in the unnamed module.
[ERROR]
[ERROR] Command line was: C:\jdk-12.0.1+12\bin\javadoc.exe -J-Duser.language=en_US @options @packages
[ERROR]
[ERROR] Refer to the generated Javadoc files in 'D:\workspace\x8l\target\apidocs' dir.
[ERROR]
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

Process finished with exit code 1

My Java Code:
x8l.zip
Maybe Related Issue:
https://bugs.openjdk.java.net/browse/JDK-8212233

This is indeed the upstream bug - we'll pick up the fix in the nightlies once we fix the git-hg scripts.


Add tgstation sql schema models and test

Implements SQLAlchemy models for the TGStation schema as a module for reuse.
Also adds a test module to validate the schema at a basic level.

Thanks for this work, will be integrating this soon this week.

I haven't forgotten about this I swear! Just been really damn busy

Thanks


Chinese Translation.

Add Chinese Translation.

Thanks a lot!

For me, the Chinese translation works in the example notebook. Just make sure to use the latest PlutoTeachingTools v0.3.0.

The menu works.  But where we dominate prefered_text(), it only shows a few languages.


Catching Device Reboots

I'd like to use this to catch devices that reboot or fall off and rejoin the network.
I'm working from the example code, and reading your docs, it seems like it might throw a connection closed event. When I reboot the chromecast via the on-device button or the official chromecast app, I get
events.js:85
      throw er; // Unhandled 'error' event
            ^
Error: read ECONNRESET
    at exports._errnoException (util.js:746:11)
    at TCP.onread (net.js:559:26)

Not getting a full traceback, and not being familiar with node's network stack or this code, I'm a little lost as to where I should be catching this error.

You should be able to catch the connection reset event in an error event handler on the client like this :
client.on('error', function(err) {
  //
});


Update SNOMED/BNF mappings

DRUG_SNOMED_BNF_20170714.xlsx

Hello,
I came across this page on google as I am working with some routine heathcare data in SCotland and am keen to apply an ATC code based definition of comorbidity to the data.
If it is necessary for you to create this file as part of your tool, I wonder if you would be consider providing these mappings as a standalone resource, maybe on github somewhere, or as a link from your openprescribing webiste?
It would be hugely helpful for me, and I am sure many other researchers working with routine data.
I appreciate that it will not be possible to do a 1 to 1 mapping between all BNF codes and ATC codes, but it gets us a good way there.
Incidentally, I tried using the NHSBSA dictionary of medicines and devices, but could only find BNF code truncs when I downloaded their XML files and ran their tool.
Thanks very much for your time.
best wishes,
David


Cart not working

Hi
I am using the woocommerce theme to build a site and the add to cart isn't working - it opens the cart to the right of the page but nothing displays?
https://jonathanh138.sg-host.com/product/silima-cleaning-lotion/
Jon

Hi Jon,
There is a JavaScript error on your page. Seems this is coming from the Cleantalk Spam Protect plugin. To investigate where the error is exactly coming from, follow these steps:

Deactivate cleantalk-spam-protect plugin.
Deactivate all other plugins.
Download and save your customized child-theme.
Install and activate default bootcommerce-child for bootScore <IP_ADDRESS> (your version) https://github.com/bootscore/bootcommerce-child/releases/download/<IP_ADDRESS>/bootcommerce-child-main.zip

Does this help?

Hi
Thanks for getting back to me so quickly - absolutely love this theme so really want to get it working.
i have tried the above and still have the same issue - i notice when i click add to basket it is doing an ajax call to add to basket and then another to get the basket - this appears to be the full basket page as opposed to just the HTML for the side bar? Thought this might help

Jon

Did you enabled the Redirect to the cart page after successful addition? If so, go to WooCommerce > Settings > Products tab and disable it. Enable AJAX add to cart buttons on archives must be enabled.

That's it!!! Thank you ever so much - sorry i didn't spot this
Jon

You`re welcome 👍


remove functions which take uncurried functions

Closes #416

Do you think exposing the uncurry functions has merit? They wouldn't be necessary for Sanctuary functions, but I do have it in my personal utilities and use it on occasion.

Do you think exposing the uncurry functions has merit?

They're certainly useful functions in some contexts, but I worry that exporting these functions would muddy our message a little. Sanctuary loves curried functions. As a bonus, Sanctuary functions also behave like uncurried functions, so these need never be uncurryied. In order for uncurrying to be necessary, the user would need to be providing a curried function not defined by def or one of the S.curry[2-5] functions to a function which requires an uncurried function. I don't think we should be in the business of helping to glue together functions which exist outside our sanctuary and which don't share our philosophy. I oppose the addition of Promise-specific functions for the same reason.

Also, you can just keep around a reference to the uncurried version of the function, before you called S.curry on it.

@davidchambers

As a bonus, Sanctuary functions also behave like uncurried functions, so these need never be uncurryied.

Worth noting that this is no longer true.


Fix local participant events being disabled before all local tracks are unpublished

Fixes #461

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


Additional Snowflake Connection Parameters

The current snowflake integration assumes a password authentication, snowflake provides additional connection methodologies such as a private_key for engineers to develop services.
-https://docs.snowflake.com/developer-guide/python-connector/python-connector-connect#using-key-pair-authentication-and-key-pair-rotation
-https://docs.snowflake.com/en/user-guide/key-pair-auth
Solution
Add other more secure connection methods to the snowflake_table_retriever class:
Private_key_file
Private_key_file_pwd

I've created a pull request to add this functionality.
https://github.com/deepset-ai/haystack-core-integrations/pull/1190


[Feature request] shortcut to voice input

The way it works now is great, however since you are using an onscreen tap system for opening assistant, can you create a second shortcut that also presses the voice input button as a last step?
I'd like to be able to just press the shortcut and start talking.

KroniK907 If you're interested and have root and tasker, I've Maguyver this in a profile that works well. I can send it to you.

jesse-erainmaker If you still have his profile or would like to point me in the right direction i would greatly appreciate it


New folder structure [Java]

First part of #558

Also we should not forget to update the docs to point to the new folders, see https://github.com/search?q=repo%3Aplayframework%2Fplayframework play-samples&type=code
Either we should open a PR or a reminder to update it later.

You need to adjust buildRoots in https://github.com/playframework/play-samples/blob/main/.github/scala-steward.conf as well

Done ✅
Thanks, Matthias! I missed it.


Can't resolve 'module' in 'node_modules/natives'

I got this error while importing s3 npm in React js project.
Error Message
Module not found: Can't resolve 'module' in 'proj_path/node_modules/natives'

this same issues is happening for node 10. For some reason, i'm seeing this as dependency output when i run yarn why graceful-fs:
=> Found<EMAIL_ADDRESS>info Has been hoisted to "graceful-fs"
info Reasons this module exists
   - Hoisted from "enhanced-resolve#graceful-fs"
   - Hoisted from "chokidar#readdirp#graceful-fs"
   - Hoisted from "uglifyjs-webpack-plugin#cacache#graceful-fs"
// slew of other packages
info Disk size without dependencies: "28MB"
info Disk size with unique dependencies: "28MB"
info Disk size with transitive dependencies: "28MB"
info Number of shared dependencies: 0
=> Found<EMAIL_ADDRESS>info This module exists because "s3" depends on it.

I'm really not sure why s3 is still referencing<EMAIL_ADDRESS>in this case. I looked into <app-root>/node_modules/s3/node_modules and graceful-fs was there when it should have been resolved from <app-root>/node_modules/graceful-fs instead.
I just tried a fresh npm init and npm install s3 that points to the public registry (we use verdaccio at work so we have a private registry as well as use yarn instead of npm), and after creating the package-lock.json file, this is the output i get:
cat package-lock.json
{
  "name": "test-npm",
  "version": "1.0.0",
  "lockfileVersion": 1,
  "requires": true,
  "dependencies": {
    "aws-sdk": {
      "version": "2.0.31",
      "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.0.31.tgz",
      "integrity": "sha1-5yzx/caQFb2f0r3z07iMFlB9Jo4=",
      "requires": {
        "xml2js": "0.2.6",
        "xmlbuilder": "0.4.2"
      }
    },
    "fd-slicer": {
      "version": "1.0.1",
      "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.0.1.tgz",
      "integrity": "sha1-i1vL2ewyfFBBv5qwI/1nUPEXfmU=",
      "requires": {
        "pend": "~1.2.0"
      }
    },
    "findit2": {
      "version": "2.2.3",
      "resolved": "https://registry.npmjs.org/findit2/-/findit2-2.2.3.tgz",
      "integrity": "sha1-WKRmaX34piBc39vzlVNri9d3pfY="
    },
    "graceful-fs": {
      "version": "3.0.11",
      "resolved": "http://registry.npmjs.org/graceful-fs/-/graceful-fs-3.0.11.tgz",
      "integrity": "sha1-dhPHeKGv6mLyXGMKCG1/Osu92Bg=",
      "requires": {
        "natives": "^1.1.0"
      }
    },
    "mime": {
      "version": "1.2.11",
      "resolved": "http://registry.npmjs.org/mime/-/mime-1.2.11.tgz",
      "integrity": "sha1-WCA+7Ybjpe8XrtK32evUfwpg3RA="
    },
    "minimist": {
      "version": "0.0.8",
      "resolved": "http://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz",
      "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0="
    },
    "mkdirp": {
      "version": "0.5.1",
      "resolved": "http://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
      "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=",
      "requires": {
        "minimist": "0.0.8"
      }
    },
    "natives": {
      "version": "1.1.6",
      "resolved": "https://registry.npmjs.org/natives/-/natives-1.1.6.tgz",
      "integrity": "sha512-6+TDFewD4yxY14ptjKaS63GVdtKiES1pTPyxn9Jb0rBqPMZ7VcCiooEhPNsr+mqHtMGxa/5c/HhcC4uPEUw/nA=="
    },
    "pend": {
      "version": "1.2.0",
      "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz",
      "integrity": "sha1-elfrVQpng/kRUzH89GY9XI4AelA="
    },
    "rimraf": {
      "version": "2.2.8",
      "resolved": "http://registry.npmjs.org/rimraf/-/rimraf-2.2.8.tgz",
      "integrity": "sha1-5Dm+Kq7jJzIZUnMPmaiSnk/FBYI="
    },
    "s3": {
      "version": "4.4.0",
      "resolved": "http://registry.npmjs.org/s3/-/s3-4.4.0.tgz",
      "integrity": "sha1-VqT3dVFae2ucjlxrGrUfkDdmnx8=",
      "requires": {
        "aws-sdk": "~2.0.31",
        "fd-slicer": "~1.0.0",
        "findit2": "~2.2.3",
        "graceful-fs": "~3.0.5",
        "mime": "~1.2.11",
        "mkdirp": "~0.5.0",
        "pend": "~1.2.0",
        "rimraf": "~2.2.8",
        "streamsink": "~1.2.0"
      }
    },
    "sax": {
      "version": "0.4.2",
      "resolved": "http://registry.npmjs.org/sax/-/sax-0.4.2.tgz",
      "integrity": "sha1-OfO2AXM9a+yXEFskKipA/Wl4rDw="
    },
    "streamsink": {
      "version": "1.2.0",
      "resolved": "https://registry.npmjs.org/streamsink/-/streamsink-1.2.0.tgz",
      "integrity": "sha1-76/unx4i01ke1949yqlcP1559zw="
    },
    "xml2js": {
      "version": "0.2.6",
      "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.2.6.tgz",
      "integrity": "sha1-0gnE5N2h/JxFIUHvQcB39a399sQ=",
      "requires": {
        "sax": "0.4.2"
      }
    },
    "xmlbuilder": {
      "version": "0.4.2",
      "resolved": "http://registry.npmjs.org/xmlbuilder/-/xmlbuilder-0.4.2.tgz",
      "integrity": "sha1-F3bWXz/brUcKCNhgTN6xxOVA/4M="
    }
  }
}

As you can see, s3 is still referencing<EMAIL_ADDRESS>    "s3": {
      "version": "4.4.0",
      "resolved": "http://registry.npmjs.org/s3/-/s3-4.4.0.tgz",
      "integrity": "sha1-VqT3dVFae2ucjlxrGrUfkDdmnx8=",
      "requires": {
        "aws-sdk": "~2.0.31",
        "fd-slicer": "~1.0.0",
        "findit2": "~2.2.3",
        "graceful-fs": "~3.0.5",
        "mime": "~1.2.11",
        "mkdirp": "~0.5.0",
        "pend": "~1.2.0",
        "rimraf": "~2.2.8",
        "streamsink": "~1.2.0"
      }
    },

if you download the resolved tar file, uncompress it, then look at the package contents, the package.json file is listing "graceful-fs": "~3.0.5", as a dependency.
This is also the case if you download the latest 4.4.0 tag from this repo, I still see "graceful-fs": "~3.0.5", as a dependency. I checked 4.0.0, 4.2.0, 4.3.0, and 4.3.1 and all of them are still reference<EMAIL_ADDRESS>instead of<EMAIL_ADDRESS>It doesn't seem like this package has actually been published since February 15, 2015. The change to upgrade<EMAIL_ADDRESS>was made in 2016. It seems like there have a been a handful of changes since<EMAIL_ADDRESS>was published that aren't in the public domain right now based on the commit history.
can someone please publish a new version of this package to get these fixes/updates into new npm version?

if you're using yarn, an interim workaround is to use the "resolutions" field:
"resolutions": {
    "graceful-fs": "4.1.15"
}

and everything seems to work. It does not seem like npm has this support without adding another package.

another solution, if you can, is to use the aws-sdk package instead - https://www.npmjs.com/package/aws-sdk. Depending on your current implementation, you'll have to do some minor changes.


fix submodule has port

should fix go-gitea/gitea#2775 and replace #108

Codecov Report

Merging #136 into master will increase coverage by 1.06%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##           master     #136      +/-   ##
==========================================
+ Coverage   33.01%   34.07%   +1.06%
==========================================
  Files          28       28
  Lines        1784     1790       +6
==========================================
+ Hits          589      610      +21
+ Misses       1118     1100      -18
- Partials       77       80       +3

Impacted Files
Coverage Δ

submodule.go
46.66% <66.66%> (+46.66%)
:arrow_up:

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 389d3c8...2627294. Read the comment docs.


Reduce log verbosity

Printing messages every minute at INFO level is too much
@reviewbybees

This pull request originates from a CloudBees employee. At CloudBees, we require that all pull requests be reviewed by other CloudBees employees before we seek to have the change accepted. If you want to learn more about our process please see this explanation.

Thank you for this pull request! Please check this document for how the Jenkins project handles pull requests.

:bee:

:bee:

@reviewbybees done

This pull request has completed our internal processes and we now respectfully request the maintainers of this repository to consider our proposal contained within this pull request for merging.


Feature/backports.csv

@reenberg, I'm "stealing" this to check how well it works. Thanks.

@ickc Any reason why you mention v20.7.0?
As noted in the code, v20.2.2 is the minimum required version for the environment markers to work, according to my test.  And then I just chose v20.6.8 as the version, since it seemed to have a few fixes to the environment markers in the version up until that.  Though it seemed to work just fine with v20.2.2.
Do you have any objections against depending on such a "new" version of setuptools?
The reason that 15-19 is needed is because running python setup.py install will fail if your version of setuptools is < v20.2.2 as it can't parse the syntax.  And thus you can't rely on it to install the required version of setuptools.  I tried briefly to look into using the setup_requires keyword, however it seems mainly to be used for distutils extensions.  But it should probably be investigated further.

I made an attempt at fixing the tests.  Now they all pass for py2 and py3.
I basically changed all the string to be unicode in py2 by adding u in front of all the strings, which should have no effect in py3(?)
I also fixed a division issue that made some tests fail in py2 due to the difference with py2 and py3 division.
And i re-added the str() around the include parameter in read_data so that the test that tries to read from True doesn't fail.
However travis-ci still fail for all py3.  make test didn't report any error here when running in a py3 virtual environment.

Ah make test doesn't run pep8.. Did not notice you had to run make testFull in order to get that.
Opps, two debug lines made it into the commit :(

Coverage remained the same at 100.0% when pulling 2c27ed87f1ba217452f5f22cd58c40bc18d8a407 on reenberg:feature/backports.csv into f7fd46f2eb582d815b25edc9bc6250bb709541ce on ickc:develop.

I added some notes on pasteurize in #23, which will be merged soon and show up in pantable/CONTRIBUTING.md at master · ickc/pantable.

Merging to another branch and I'll refactor this.


Add csv logging from daemon

fixes #359

The only thing I have not written yet is the "die after 5mb" for log file size

@Shuzhengz Should I create the file size check in this pr or not?

yeah i think it should be included in this pr, but we can also just make a new issue and deal with it later
the main concern is causing system to crash when exceed max file size, but that's pretty unlikely in modern systems

Yea, it's a very good thing to consider. I'll also check the permissions needed to create the csv file. I'll probably do it in this PR.

Looks like i need all change requesters to review. Probably a good thing

Cool, it has one review and I fixed all the requested changes, so i'm gonna merge it.


OneLogin_Saml2_Settings raises error messages containing specific terms

Instantiating OneLogin_Saml2_Settings in our application and in the case of exception we get error messages, that are not general to parse them (e.g.  'Invalid dict settings: something went wrong',).
We basically would like to have more general error messages, that are not referencing to Language specific terms or another stuff that is not interesting for a user.
Like this  we could handle the errors from Saml library and throw more user-friendly messages. Otherwise we would need to implement separately way for handling specific SAML errors, which is not desirable behaviour
The example of error raising: https://github.com/onelogin/python3-saml/blob/master/src/onelogin/saml2/settings.py#L128
Thanks!

You can always create your own dict validator and use it before using the dict on the python3-saml toolkit.


[FEAT] Adding  to a List component

Is your feature request related to a problem? Please describe.
Hello, I'm struggling to add a  component to my user's List page. Here's the approach i've tryed so far:
import {
List,
useTable,
RefreshButton,
EditButton,
ShowButton,
DeleteButton,
} from "@refinedev/antd";
export const UserList: React.FC = () => {
const { tableProps } = useTable({
initialSorter: [{ field: "last_name", order: "asc" }],
syncWithLocation: true,
});
return (
<List
headerButtons={({ defaultButtons, refreshButtonProps }) => (
<>
{defaultButtons}
<RefreshButton {...refreshButtonProps} resource="users" />
</>
)}
>
<Table
{...tableProps}
rowKey="id"
pagination={{
pageSizeOptions: ["10", "20", "50", "100", "200"],
showSizeChanger: true,
total: tableProps.pagination.total,
current: tableProps.pagination.current,
pageSize: tableProps.pagination.pageSize,
}}
>
...
);
}
Button is actually where it should have to be but, if clicked, there's no way to trigger an update of the user's list. Works flawlessly if used in Show page btw. What am I doing wrong?
Describe alternatives you've considered
No response
Additional context
No response
Describe the thing to improve
Is there a way to make it works?
Thanks in advance

This is not a place to ask questions. You can refer to our documentation and AI ChatBot if you need help. https://refine.dev/docs/


Echoing Green Application

Due November 17th at 2pm ET
See http://www.echoinggreen.org/fellowship/apply

Aaaand the deadline has passed. Next year!


DnsLookupTimeout check enabled for timeout > 0

Codecov Report

Merging #19 into master will decrease coverage by -0.07%.
The diff coverage is 0%.

@@             Coverage Diff              @@
##             master      #19      +/-   ##
============================================
- Coverage     41.73%   41.66%   -0.07%
  Complexity       93       93
============================================
  Files            40       40
  Lines           611      612       +1
  Branches         36       36
============================================
  Hits            255      255
- Misses          344      345       +1
  Partials         12       12

Impacted Files
Coverage Δ
Complexity Δ

...ak/eet/client/security/SecureEETCommunication.java
0% <ø> (ø)
0 <ø> (ø)
:x:

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 9572d76...eb85564. Read the comment docs.

Merged, thank you for your contribution!

Released as 2.2.1.


Make import quick fix configurable

I wan't to consistently import with show ...
For the first import from a specific library I always have to navigate to the created import statement at the top of the file and add show SomeName manually. Only for additional imports the update library x import option adds identifiers to the show list.
Sadly update library x import is always the last option of several. Importing is quite common while I rarely use the other fixes.

Often there are also additional less common fixes, to make the menu even longer, (like create xxx).
Using as or show isn't explicitly mentioned in the Dart style guide, but was often suggested by Dart team to be used as the preferred import style because it's the most reliable way to import.
Expected behavior:

Option to make imports with show the default (.analysis_options)

don't list Import library xxx if there is already and import for that library xxx, instead show only the Update library xxx import fix.

Update library x import should be the first option if available.

@scheglov

Actually there was a bug with the order of Quick Assists in IDEA. It was always alphabetical instead of using the order from the Analysis Server. It was fixed recently. So, now the popup looks better.

I agree that with import xxx show Y we should not propose just import xxx.
https://codereview.chromium.org/1816163002

Using .analysis_options is a big harder to do, will look at it later.

I can see us implementing this feature by having a linter rule, always_use_show, and the configuring the fixes and assists which add imports to tweak what they insert based on the enablement of that rule.


Add max_buf_size setting in the server::Builder

Similarly to client::Builder::http1_max_buf_size
I am not sure for the name, should it be http1_max_buf_size or it applies to both h1 and h2?

Changed the commit message to fit the limits and force pushed it in my branch to update the PR.

Hm, good point, it only applies to the HTTP1 buffer, so it should probably be prefixed with http1_.

I will push the name change in a minute

Thanks!


chore: rename Jeffail/benthos

The Organization name had been changed.
https://github.com/benthosdev/benthos

Thanks.

Thank you! I will fix it.

@suzuki-shunsuke Fixed. Please review.

Thanks.

Released. https://github.com/aquaproj/aqua-registry/releases/tag/v3.46.0


Experimenting - AVM simulator

Benchmark results
No metrics with a significant change found.

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Values are compared against data from master at commit 68162b67 and shown if the difference exceeds 1%.
L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
8 txs
32 txs
128 txs

l1_rollup_calldata_size_in_bytes
54,212
214,436
855,332

l1_rollup_calldata_gas
259,916
1,019,780
4,060,412

l1_rollup_execution_gas
354,102
1,139,228
4,281,813

l2_block_processing_time_in_ms
1,258 (-2%)
4,755 (-2%)
18,926 (-1%)

note_successful_decrypting_time_in_ms
218
602 (-3%)
2,157 (-4%)

note_trial_decrypting_time_in_ms
28.7 (-4%)
43.4 (-23%)
184 (-3%)

l2_block_building_time_in_ms
21,297
84,756
344,127

l2_block_rollup_simulation_time_in_ms
15,968
63,539
259,535

l2_block_public_tx_process_time_in_ms
5,303
21,139
84,344

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 16 txs.

Metric
5 blocks
10 blocks

node_history_sync_time_in_ms
16,926 (+4%)
31,605

note_history_successful_decrypting_time_in_ms
1,494 (+3%)
2,822 (+1%)

note_history_trial_decrypting_time_in_ms
206 (+11%)
271 (+13%)

node_database_size_in_bytes
18,698,320
35,848,272 (-1%)

pxe_database_size_in_bytes
29,923
59,478

Circuits stats
Stats on running time and I/O sizes collected for every circuit run across all benchmarks.

Circuit
circuit_simulation_time_in_ms
circuit_input_size_in_bytes
circuit_output_size_in_bytes

private-kernel-init
335
44,664
27,457

private-kernel-ordering
215
45,777
14,627

base-rollup
1,742
175,344
933

root-rollup
85.5 (+2%)
4,192
825

private-kernel-inner
443
73,099
27,457

public-kernel-app-logic
275
32,254
25,379

merge-rollup
8.04 (+2%)
2,712
933

Tree insertion stats
The duration to insert a fixed batch of leaves into each tree type.

Metric
0 deployed contracts
1 deployed contracts

tx_size_in_bytes
15,388
36,001

Transaction processing duration by data writes.

Metric
0 new commitments
1 new commitments

tx_pxe_processing_time_ms
577 (-1%)
1,512

Metric
0 public data writes
1 public data writes

tx_sequencer_processing_time_ms
0.0304 (-5%)
656

@dbanks12 welcome back! is this still relevant or can we close as stale?


Added directly-follow relations clean up after removing activity & re…

…named variables in dfg test

Thanks :)


[Zeppelin 2367] Hive JDBC proxy user option should be available even without kerberos

What is this PR for?
Hive JDBC proxy user option should be available generically.
What type of PR is it?
[Improvement]
What is the Jira issue?

Zeppelin 2367

How should this be tested?
Enable Shiro authentication and set zeppelin.jdbc.auth.type as SIMPLE in the interpreter setting, and observe the connection string for the Hive.
Screenshots (if appropriate)
Questions:

Does the licenses files need an update? N/A
Is there breaking changes for older versions? N/A
Does this needs documentation? N/A

Tested. LGTM.

@AhyoungRyu @felixcheung thank you for the review,  have made the suggested changes.

@AhyoungRyu, @felixcheung ping

Merging this to master and branch-0.7 if no more discussion.

From my earlier comment, I'm interested in others thought on having very Hive specific logic in the generic JDBC interpreter?
https://github.com/apache/zeppelin/pull/2229/files#r110512765

Yes, I thought of few options but this was bit con

@felixcheung any specific change that you are looking for?

Perhaps generalize this to something non-Hive specific? Like a property for userStringToAppend? Add user to JDBC URL should be common place - seems like in this case we just like a way to change the name and value of the property to add on the JDBC URL.

Sure, got it, have renamed it to "appendProxyUserToURL".

actually, I wasn't referring to the function name at all. instead of having this fairly hive specific, how about a function like this to take the user name property name and value
// Untested!
 private void appendProxyUserToURL(StringBuilder connectionUrl, String user) {
     if ("true".equalsIgnoreCase(property.getProperty("jdbc.url.set.user") {
       Integer lastIndexOfUrl = connectionUrl.indexOf("?");
       if (lastIndexOfUrl == -1) {
         lastIndexOfUrl = connectionUrl.length();
       }

       if (user != null && !user.equals("anonymous") &&
           property.getProperty("jdbc.url.user.property").length() > 1)  { // check not empty or whitespace instead
         logger.info("Using jdbc user as :" + user);
         connectionUrl.insert(lastIndexOfUrl, ";" + property.getProperty("jdbc.url.user.property") + "=" + user + ";");
       }
     }
   }

@felixcheung Sure what you have recommended does make a lot of sense, have implemented what you have suggested.

CI is green;
https://travis-ci.org/prabhjyotsingh/zeppelin/builds/225173700
https://travis-ci.org/prabhjyotsingh/zeppelin/builds/225214327

why is zeppelin.jdbc.auth.kerberos.proxy.enable removed?

My bad, while fixing the above issues, I thought this is redundant, but I forgot about the case where KERBEROS is enabled and the user does not want to use proxy behavior. Have reverted that change.

also is there a way not to hardcode hive jdbc here

Hive doesn't work with this (UserGroupInformation.createProxyUser), and since we allow user to configure multiple JDBC sources using the same interpreter setting; there can be a case where user has configured say Phoenix (requires UserGroupInformation.createProxyUser to proxy user)  and Hive (fails if UserGroupInformation.createProxyUser is used), we could introduce new parameter like {profile}.kerberos.proxy.enable but this will increase the documentation part.

@felixcheung  have removed hard coded string "hive" as well.
CI fails for; not relavent for this change.
Tests in error:
  ParagraphActionsIT.testClearOutputButton:335->AbstractZeppelinIT.clickAndWait:126 Â» ElementNotVisible

@felixcheung  ping

@felixcheung Have handled your review comments. Let me know if I missed any.

Thank you @felixcheung. Will merge this to master.


Announcement: Read this before create new issue

XXXX does not work isn't understandable.
Minimal configuration is needed that based on this

You can debug the minimal configuration via nvim -u /path/to/your/minimal/config

Sorry if there is a problem. This is a hobby project, so please help me.
If no reproducible configuration and no information is provided, close the issue.

A yaml issue template allows for fields and validations. Which means it's possible to make some information unskippable.
Example from neovim: https://github.com/neovim/neovim/blob/master/.github/ISSUE_TEMPLATE/bug_report.yml

How can the template actually be used? When opening a new issue the default field shows up


Update building-the-node-using-nix.md

The last line on how to run mainnet-node-local now points to a directory.

bors r+


Add eslint

@rchavarria is this what you had in mind for #44 ?

@rchavarria It looks like perhaps the last merge resulted in some conflicts on this PR.  I will fix as soon as I can and ping you.

@rchavarria should be set.  See what you think.  Thanks!

About config.json. Right now, I can think of a workaround, and it's to edit different lines in different pull rquests. But I'm not sure it that would work. Later, in other PR we could reorganize all exercises to match the same order as xjavascript.
About ESLint. Thanks! That is exactly what I had in mind. I was planning to use a .eslintrc file to configure it, and to lint much more aspects of the JavaScript code. But this PR is the perfect starting point.
I would merge it, but it would cause a problem to exercism users trying to solve the exercises. The new gulpfile.js needs a new dependency, gulp-eslint. That dependency is only added to the package.json file in the root directory, and it should be added to every package.json of every individual exercise. Otherwise, users won't be able to run tests. The gulp test command will fail.
Note: I'm not sure, but I think I tried to copy package.json as it's done with gulpfile.js but it didn't work. You probably need to edit each package.json file manually :cry:
This made two problems arise:

Files gulpfile.js, package.json and .eslintrc (if we decide to use it in the future) are duplicated (or kind of) in every single exercise. @kytrinyx, is there a way to include those files when exercism users fetch an exercise to avoid having them copied on each exercise folder?
Running tests with make (at development time) and running tests as an exercism user are not the same process. It seems, all exercises share the same npm installation when running it with make. That's why the make command does not fail, but running tests as a user fails.

@rchavarria Hmm... I tested some individual exercises using gulp test from within the exercise directories.  Must be it worked bc of the npm install for the xecmascript directory above it.
If I understand you correctly, changing all the package.json files in the individual exercises would fix things for now?  I could do that if @kytrinyx says it is complicated to fetch the global package.json file.
Also, I did intially set this up using .eslintrc in the global directory, but it seemed to be redundant with the option hash in the gulpfile.
Anyway, I'm happy to modify the individual package.json files for now-- just let me know.  Thanks!

Yep, go for modifying individual package.json files please.
We can address other tasks in different issues/PRs: improving lint process, duplicated files and npm installations.

@rchavarria there you go.  Thanks for catching that issue!

@rchavarria I can merge this if you like. 😃  I think I made the changes as you requested.

I looks totally fine now, thanks for the effort!!


Electrode selection in Axona raw recording

I'm trying to convert electrophysiological data from Axona to NWB using the code from the Neuroconv https://github.com/catalystneuro/neuroconv.
I'm using neuroconv  version 0.4.9 with Python 3.9 on Windows 11 in a conda environment.
I’m selecting the tetrodes to extract from the .set file setting the parameters collectMask_* to 1
In the experiment lab I know they’re recording with Axona on channels 17-32, so I'm setting collectMask_* to 1 for tetrodes 5-8. But after running the conversion and plotting the extracted signals, I don't get the correct channels (I can see it's only noise in the output).
This is the code I'm using for conversion:
from dateutil import tz
from pathlib import Path
from neuroconv.datainterfaces import AxonaRecordingInterface

interface = AxonaRecordingInterface(file_path=".../2509202301.bin", verbose=True, es_key="Ephys")

# Extract what metadata we can from the source files
metadata = interface.get_metadata()
# For data provenance we add the time zone information to the conversion
tzinfo = tz.gettz()
session_start_time = metadata["NWBFile"]["session_start_time"]
metadata["NWBFile"].update(session_start_time=session_start_time.replace(tzinfo=tzinfo))

# Choose a path for saving the nwb file and run the conversion
path_to_save_nwbfile = ".../2509202301.nwb"
nwbfile_path = f"{path_to_save_nwbfile}"
interface.run_conversion(nwbfile_path=nwbfile_path, metadata=metadata)

But after running the conversion and plotting the extracted signals, I don't get the correct channels (I can see it's only noise in the output).
This is the plot code:
from pynwb import NWBHDF5IO
import numpy as np
import matplotlib.pyplot as plt

fileobject = NWBHDF5IO('2509202301.nwb', 'r')
nwbobject = fileobject.read()

xx = nwbobject.acquisition['Ephys'].data
time = np.linspace(0,1000, 100000)

fig, ax = plt.subplots(16,1, sharex='all', sharey='all')
for i in range(16):
    ax[i].plot(time, xx[100000:200000,i])
plt.show()

And this is the plot:

If instead, I try to extract the first 32 channels (so setting  collectMask_* to 1 for tetrodes 1-8) I'm getting the correct signals in channels 17-32 (here I'm plotting only the last 16 channels).

It seems that in any case I'm extracting the first 16 channels if I select 4 tetrodes, or 32 if I'm selecting 8 tetrodes.
See: Originally posted by @CodyCBakerPhD in https://github.com/catalystneuro/neuroconv/issues/787#issuecomment-2032560528

In general, it appears as if upstream control over Axona groups/streams is not exposed as my  minimal attempt to get the RecordingExtractor results in only 16 channels (not 32) and only a single group (well, None implying only a single group anyway)
from spikeinterface.extractors import AxonaRecordingExtractor

recording = AxonaRecordingExtractor(file_path=".../2509202301.bin")

recording.channel_ids
> array(['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15'], dtype='<U64')

recording.get_channel_groups()
> None

I can share the sample data via email if needed. Thanks!

Ok thanks, we'll create a sample dataset in the next days :)

@letiziasignorelli,
any small sample recording for us to work on? :)

Hi, sorry for the late update. Here is a link with a .set + .bin test file from the lab:
https://drive.google.com/drive/folders/1h0clLnAmt0-R2TO4yP1rAJwXZW5WgrKC?usp=sharing
Thanks :)

Great thanks! I'll try to get to this soon!

@letiziasignorelli,
I can troubleshoot with those, but I just downloaded and what we would really prefer is something < 10MB (the file you sent is 100). Any chance you could do one even small to add to our test repo for after I make these fixes?

So now that I've looked at the data I've got a few questions.

I’m selecting the tetrodes to extract from the .set file setting the parameters collectMask_* to 1
In the experiment lab I know they’re recording with Axona on channels 17-32, so I'm setting collectMask_* to 1 for tetrodes 5-8. But after running the conversion and plotting the extracted signals, I don't get the correct channels (I can see it's only noise in the output).

What does this mean? How do you change collectMask_*? Is this in the axona gui? Neo relies on checking those values to decide which tetrodes to analyze. So if you put the wrong value into collectMask_* it will mess up Neo (and so SI and neuroconv) completely).
For example the sample data you gave me had
tetrode 2, tetrode 3 and tetrode 4 active. (so channels 5-8, 9-12, 13-16) active, but neo re-scales the values to be 1a, 1b, 1c, 1d, 2a, 2b, 2c,2d, 3a, 3b, 3c, 3d and spikeinterface changes to 0,1,2,3,4,5,6,7,8,9,10,11. You could make an argument that we should keep the original name, but this seems to be working fine for me. If you're lab only recorded from 16-32 then the code should automatically detect that, but if you change collectMask_* it might look at the wrong channel.
So basically could you explain exactly what you're doing and how the *.set file works so I can best understand how we can tweak the io to work.

What does this mean? How do you change collectMask_? Is this in the axona gui? Neo relies on checking those values to decide which tetrodes to analyze. So if you put the wrong value into collectMask_ it will mess up Neo (and so SI and neuroconv) completely).

The files that I shared with you are the ones that I receive directly from the lab. Since I noticed that the channels extracted after conversion weren't the correct ones, I tried to change the  collectMask_* values manually directly from the .set file (In practice I tried to set collectMask_* for tetrodes 5, 6, 7, and 8 to 1, and the rest to 0). And that was the problem I saw:

But after running the conversion and plotting the extracted signals, I don't get the correct channels (I can see it's only noise in the output).

If instead, I try to extract the first 32 channels (so setting collectMask_* to 1 for tetrodes 1-8) I'm getting the correct signals in channels 17-32

I'll try to see myself if there's something wrong when data are acquired with the axona gui in the next days and I'll also try to see if we can record a smaller sample data

Hi, I was finally able to get back to this issue and I was able to find a solution that seems to work for my data.
So the problem for me seemed to be in neo/rawio/axonarawio.py:

function _get_signal_chan_header returned always tetrode 1a,1b,1c, etc starting from 1 even if my first active tetrode was number 5. So I modified the function to have the correct tetrodes selected:

  def _get_signal_chan_header(self):

      active_tetrode_set = self.get_active_tetrode()
      num_active_tetrode = len(active_tetrode_set)

      elec_per_tetrode = 4
      letters = ["a", "b", "c", "d"]
      dtype = self.file_parameters["bin"]["data_type"]
      units = "uV"
      gain_list = self._get_channel_gain()
      offset = 0  # What is the offset?

      first_channel = (active_tetrode_set[0] - 1)*elec_per_tetrode
      sig_channels = []
      for itetr in range(num_active_tetrode):

          for ielec in range(elec_per_tetrode):
              cntr = (itetr * elec_per_tetrode) + ielec + first_channel
              ch_name = "{}{}".format(itetr + active_tetrode_set[0], letters[ielec])
              chan_id = str(cntr)
              gain = gain_list[cntr]
              stream_id = "0"
              # the sampling rate information is stored in the set header
              # and not in the bin file
              sr = self.file_parameters["set"]["sampling_rate"]
              sig_channels.append((ch_name, chan_id, sr, dtype, units, gain, offset, stream_id))

      return np.array(sig_channels, dtype=_signal_channel_dtype)

Still, when converting to NWB, or when I was trying to use ephyviewr GUI to visualize my recordings the correct channels were not displayed. It still seemed that it was displaying the first 16 channels or the first 32 (if I had 16 or 32 active channels). So my other problem was in function _get_analogsignal_chunk lines 376-378, it was still taking the first N active channels.
So I added new function:

  def get_active_channels(self):
      """
      Returns the ID numbers of the active channels as a list.
      E.g.: [20,21,22,23] for tetrode 6 active.
      """
      active_tetrodes = self.get_active_tetrode()
      active_channels = []

      for tetrode in active_tetrodes:
          chan = self._get_channel_from_tetrode(tetrode)
          active_channels.append(chan)

      return np.concatenate(active_channels)

and modified line 376-378 in _get_analogsignal_chunk like this:
def _get_analogsignal_chunk(self, block_index, seg_index, i_start, i_stop, stream_index, channel_indexes):

        bin_dict = self.file_parameters["bin"]

        # Set default values
        if i_start is None:
            i_start = 0
        if i_stop is None:
            i_stop = bin_dict["num_total_samples"]
        if channel_indexes is None:
            channel_indexes = [i for i in range(bin_dict["num_channels"])]
        elif isinstance(channel_indexes, slice):
            channel_indexes = self.get_active_channels()

And now for my Axona data it seems to work. I don't know if it's the best way to solve it, but I hope it will be helpful :)
I also added to the same drive folder a shorter test test_short for you to troubleshoot, with 32 channels active from tetrodes 5 to 12. See https://drive.google.com/drive/folders/1h0clLnAmt0-R2TO4yP1rAJwXZW5WgrKC?usp=sharing

I'll check the test_short shortly, but those actually seem like good fixes to me. Would you like to open a PR with your fixes so we can see if they work on our CI? I think giving the actual channel number is better than our current strategy of just renumbering to 1. Once you have the PR open we can edit it for style etc :)


tracing: Add decorator propagate field to enable passing the operatio…

…n via headers to be disabled
Signed-off-by: Gary Brown<EMAIL_ADDRESS>Fixes #9778
Description: Add a field to enable the decorator operation propagation (via http headers) to be disabled.
Risk Level: low
Testing: Added test to check whether the header is included in requests and responses. Existing behaviour is preserved.
Docs Changes: Additional propagate field to be documented.
Release Notes:
[Optional Fixes #Issue]
[Optional Deprecated:]

@mattklein123 Build seems to be failing following merge of https://github.com/envoyproxy/envoy/pull/9918. Any ideas - not sure why these tests didn't fail with that PR. Will try taking another look early next week, but any thoughts appreciated.

@mattklein123 Build seems to be failing following merge of #9918. Any ideas - not sure why these tests didn't fail with that PR. Will try taking another look early next week, but any thoughts appreciated.

The new tests you added need to be modified similarly to how the tests in my PR were modified. Take a look at the diff in my PR and compare to your tests and it should be pretty obvious what to change. Sorry for the trouble.

Sorry looks like there is a merge conflict now. :(
/wait

Hopefully this should fix everything now :)


1-click invite

Problem
To start a session, there are many steps:

I open the extension
I start session
I switch to Discord/Whatsapp
Send link
They copy the link
They paste the link
I accept terminal Read/Write request

this is tedious if you work with liveshare on a daily basis
Proposition:
If they are a signed in user, they are automatically added to a 'collaborators tab' in the liveshare window
next to their name, a button to invite (and if no session is live, create session & invite)
sort by last invited/collabed with
add an x button to remove collaborators
add a toggle button to share terminal Read/Write by default
Glorious Envisionned World
Fewer steps to start a session:

Open liveshare window
Invite collegue
Collegue accepts invite

I hope this helps! 🙏

"liveshare.allowGuestDebugControl": true,
"liveshare.allowGuestTaskControl": true,
"liveshare.autoShareTerminals": true,
"liveshare.guestApprovalRequired": true,
"liveshare.autoShareServers": true,
these in settings.json help a lot already 👍

Thanks for taking the time to file this issue to submit this request. Unfortunately, we’re not able to prioritize new features like this over the other current areas of focus on the team. We understand that this may be disappointing. We appreciate your input and comments on this issue till now.


Extend basic shopify api package with features

https://app.clickup.com/t/86cxc5x4v

please fix failing tests


Cannot login after install ZSH and OH My ZSH

Describe the bug

after installing zsh and oh my zsh on a remote server, I exit the server to see if I have already set zsh as default ( because when installing oh-my-zsh, I made the following choice: Do you want to change your default shell to zsh? [Y/n] Y ). However, I cannot login agin.
I'm the root user of the server, and there's no other user.
I'm 100% sure that the user name and the password is right, but after type in the password, it says "permission denied"
I set the ssh-key for both my Windows system and a Ubuntu sub system, but none of them can be recongnized.
It's kinda annoying and I don't know what to do. I've read the issue saying that add command after the ssh login line, but without the permission to login, I can do barely nothing.
To Reproduce

Install OH-my-zsh and exit
Expected behavior

i think i should be able to login again
Screenshots or recordings

it's what i received for ssh -v login:
OpenSSH_7.5p1, OpenSSL 1.0.2o  27 Mar 2018
debug1: Reading configuration data /etc/ssh_config
debug1: /etc/ssh_config line 13: Deprecated option "useroaming"
debug1: Connecting to xxxx port 22.
debug1: Connection established.
debug1: key_load_public: No such file or directory
debug1: identity file /home/mobaxterm/.ssh/id_rsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/mobaxterm/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/mobaxterm/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/mobaxterm/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/mobaxterm/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/mobaxterm/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/mobaxterm/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/mobaxterm/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_7.5
debug1: Remote protocol version 2.0, remote software version OpenSSH_7.2p2 Ubuntu-4ubuntu2.8
debug1: match: OpenSSH_7.2p2 Ubuntu-4ubuntu2.8 pat OpenSSH* compat 0x04000000
debug1: Authenticating to xxx as 'root'
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: algorithm<EMAIL_ADDRESS>debug1: kex: host key algorithm: ssh-rsa
debug1: kex: server->client cipher: aes128-ctr MAC: hmac-sha1 compression<EMAIL_ADDRESS>debug1: kex: client->server cipher: aes128-ctr MAC: hmac-sha1 compression<EMAIL_ADDRESS>debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: Server host key: xxx
debug1: Host xxx is known and matches the RSA host key.
debug1: Found key in /home/mobaxterm/.ssh/known_hosts:5
debug1: rekey after<PHONE_NUMBER> blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: rekey after<PHONE_NUMBER> blocks
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info: server-sig-algs=<rsa-sha2-256,rsa-sha2-512>
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Trying private key: /home/mobaxterm/.ssh/id_rsa
debug1: Trying private key: /home/mobaxterm/.ssh/id_dsa
debug1: Trying private key: /home/mobaxterm/.ssh/id_ecdsa
debug1: Trying private key: /home/mobaxterm/.ssh/id_ed25519
debug1: Next authentication method: password
debug1: Authentications that can continue: publickey,password

System:

OS: [e.g. Ubuntu16.04]
Zsh version [e.g. 5.6]
Terminal emulator [e.g. iTerm2]

Additional context

I'm afraid if the login shell parameter of root is messed up, you don't have another option than to reboot in recovery mode. Try a normal reboot before though, I'm not entirely sure about this but it's worth trying.

You could try this as well: https://serverfault.com/a/201158/332262.

I'm closing this as not our issue. Have a look at the information I posted.


Could you implement a new function/code to check if the item, block is valid

//set item1:meta1...
both item1 and meta1 should be valid and greater than 0? and the meta1 should be lower than 15
sorry for my poor explanations ~~
//set -1 will cause internal error so i think it's better to have another function to solve that
this isn't necessary though but i think it's better to have it for the plugin stability

Invalid format


parse_date does not work with google colab

ValueError                                Traceback (most recent call last)

/usr/local/lib/python3.6/dist-packages/kickbase_api/models/_transforms.py in parse_date(s)
      7     try:
----> 8         return datetime.strptime(s, "%Y-%m-%dT%H:%M:%S%z")
      9     except:

6 frames

ValueError: time data '2020-11-22T14:23:29Z' does not match format '%Y-%m-%dT%H:%M:%S%z'

During handling of the above exception, another exception occurred:

ValueError                                Traceback (most recent call last)

/usr/lib/python3.6/_strptime.py in _strptime(data_string, format)
    360     if not found:
    361         raise ValueError("time data %r does not match format %r" %
--> 362                          (data_string, format))
    363     if len(data_string) != found.end():
    364         raise ValueError("unconverted data remains: %s" %

ValueError: time data '2020-11-22T14:23:29Z+0000' does not match format '%Y-%m-%dT%H:%M:%S%z'

This error is thrown when i run the suggested code in google colab:
from kickbase_api.kickbase import Kickbase
kickbase = Kickbase()
user, leagues = kickbase.login("user_email", "password")

When I run it in a python script from my PC in Germany it works.

Hey, thanks for the feedback. I think this might be an issue with internationaliation. I guess the google colab is running on a differently localized OS or something. I will check it out!


Azure Files Standard limits not clearly documented

We reference back to blob, but don't seem to differentiate. For example, the IOPS limit for Files Standard is 1024 transactions/sec, but we don't list that anywhere on this page.

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

ID: 991338c0-1a61-99e1-41ea-45fd5d5fd63d
Version Independent ID: f2dd8b70-29f2-bb22-38f5-097c5eb6b797
Content: Azure Files scalability and performance targets
Content Source: articles/storage/files/storage-files-scale-targets.md
Service: storage
Sub-service: files
GitHub Login: @roygara
Microsoft Alias: rogarana

@EvanBasalik Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.


usertypes passed correctly to methods, but not to constructor

I've added stack code to allow Torch tensors to be used:
namespace sol {
    namespace stack {
        template <>
        struct getter<THFloatTensor *> {
            static THFloatTensor *get(lua_State *L, int index, record &tracking) {
                int absolute_index = lua_absindex(L, index);
                void *result = luaT_toudata(L, absolute_index, "torch.FloatTensor");
                tracking.use(1);
                return (THFloatTensor *)result;
            }
        };

        template <>
        struct pusher<THFloatTensor *> {
            static int push(lua_State *L, THFloatTensor *tensor) {
                luaT_pushudata(L, tensor, "torch.FloatTensor");
                return 1;
            }
        };
   }
}

And if I have a method that takes a THFloatTensor this works fine:
void get(THFloatTensor *tensor) {
//...
}

However, if I try to make a constructor take a THFloatTensor it fails:
    class DataLoader {
      DataLoader(THFloatTensor *storage) {
         // ...
      }
    }

    lua.new_usertype<DataLoader>("DataLoader",
                                 sol::call_constructor,
                                 sol::constructors<sol::types<THFloatTensor *>>());

when I run the code from Lua (I'm using this as a Lua library) I get:
sol: no matching function call takes this number of arguments and the specified types
stack traceback

I should add, I've gotten around this by creating an auxiliary function that has to be called after the constructor, but it would of course be better if everything can be done in the constructor.

What is "luaT_pushudata" ?

You've also forgotten to specialize sol::stack::checker to work with your userdata pointer. So when an overloaded set is called (e.g., the function call operator), the checker uses the default version on how to check whether your type matches.
Your function would also fail too if you had the safeties turned on (for at least debug builds): http://sol2.readthedocs.io/en/latest/safety.html
Out of curiosity, is there some reason the default pushers for userdata aren't enough? Why do you need to add one specifically for THFloatTenstor* ? If you just defined a new_usertype<THFloatTensor>( .... ); and used the pointer regularly this code works perfectly fine. You're not doing anything that sol2 isn't already doing for you, with no additional effort on your behalf, if that luaT_pushudata call is just setting up a metatable and associating it with some lua_newuserdata stuff.
If there isn't some compelling answer to the above question, your issue becomes easy to fix: delete the customization point you defined and the code will work.

luaT_pushdata is the function provided by Torch for dealing with their THTensor struct. The type is already defined in Torch (via a require 'torch'), so I don't want to redefine the type -- I just want to allow Sol to properly push/remove is from the stack.
I also have a checker defined:
        template <>
        struct checker<THFloatTensor *> {
            template <typename Handler>
            static bool check(lua_State* L, int index, Handler &&handler, record &tracking) {
                int absolute_index = lua_absindex(L, index);
                bool success = luaT_checkudata(L, absolute_index, "torch.FloatTensor");
                tracking.use(1);
                return success;
            }
        };

which I hadn't mentioned previously because it doesn't change the behavior.
Both the getter and pusher work for any method that isn't a constructor, which makes me suspect the stack code work correctly, but may just be handled differently in the constructor.
Thanks!

Change the checker to
        template <>
        struct checker<THFloatTensor> {
            template <typename Handler>
            static bool check(lua_State* L, int index, Handler &&handler, record &tracking) {
                int absolute_index = lua_absindex(L, index);
                bool success = luaT_checkudata(L, absolute_index, "torch.FloatTensor");
                tracking.use(1);
                return success;
            }
        };

It will then recognize things better and not crash. Note that sol2 considers THFloatTensor == THFloatTensor* == THFloatTensor&, as far as what the default checker implementation does to check objects.

Though, perhaps you won't have to change your code at all, with the new version I just pushed...
Either way, let me know how it goes: https://github.com/ThePhD/sol2/releases/tag/v2.14.12
Good luck.

Okay, it appears that I somehow didn't build correctly the previous time. What I had tried previously now works:
template <>
struct checker<THFloatTensor *> {
  template <typename Handler>
  static bool check(lua_State* L, int index, Handler &&handler, record &tracking) {
    int absolute_index = lua_absindex(L, index);
    bool success = luaT_checkudata(L, absolute_index, "torch.FloatTensor");
    tracking.use(1);
    return success;
  }
};

I tried changing it to THFloatTensor (no pointer), but it wouldn't compile.
Thanks for the help!


Failed prop type: Calling PropTypes validators directly is not supported

When using
<CircularProgressbar percentage={domain.attributes.overview.top_three} strokeWidth={16} />
I am getting the following warning
warning.js:36 Warning: Failed prop type: Calling PropTypes validators directly is not supported by the prop-types package. Use PropTypes.checkPropTypes() to call them.

Ah this is a duplicate of issue #18

yup, but thanks for reporting! will close this one.


Fix multi inputs

Fix for #5

Scripts:
from amr_verbnet_semantics.core.amr_verbnet_enhance \
    import ground_text_to_verbnet

if __name__ == '__main__':
    text = "You're in a corridor. You can see a shoe cabinet."
    ret = ground_text_to_verbnet(text, use_coreference=False, verbose=True)
    # print(json.dumps(ret, indent=2))
    print(ret['sentence_parses'][0]['amr'])
    print(ret['sentence_parses'][1]['amr'])

Output:
# ::tok You 're in a corridor . <ROOT>
# ::node	1	you	0-1
# ::node	2	be-located-at-91	2-3
# ::node	3	corridor	4-5
# ::root	2	be-located-at-91
# ::edge	be-located-at-91	ARG1	you	2	1
# ::edge	be-located-at-91	ARG2	corridor	2	3
# ::short	{1: 'y', 2: 'b', 3: 'c'}
(b / be-located-at-91
      :ARG1 (y / you)
      :ARG2 (c / corridor))

# ::tok You can see a shoe cabinet . <ROOT>
# ::node	1	you	0-1
# ::node	2	possible-01	1-2
# ::node	3	see-01	2-3
# ::node	4	shoe	4-5
# ::node	5	cabinet	5-6
# ::root	2	possible-01
# ::edge	possible-01	ARG1	see-01	2	3
# ::edge	see-01	ARG0	you	3	1
# ::edge	cabinet	mod	shoe	5	4
# ::edge	see-01	ARG1	cabinet	3	5
# ::short	{1: 'y', 2: 'p', 3: 's', 4: 's2', 5: 'c'}
(p / possible-01
      :ARG1 (s / see-01
            :ARG0 (y / you)
            :ARG1 (c / cabinet
                  :mod (s2 / shoe))))


Defer call multiple times

RxJS version:
5.4.3
Code to reproduce:
const { Observable } = require("rxjs");
let a, b, c;
a = Observable.of(1).do(() => console.log('start'));
b = Observable.merge(a, Observable.defer(() => {
  console.log('get c');
  return c;
}));
c = b.delay(1000);

b.subscribe(x => console.log('tick'));

Expected behavior:
After showing start and get c, it will show tick per second.
Actual behavior:
Showing a lot of start and get c (>100), then show tick per second as expected.
Additional information:
the flow graph is like following:
a -> b -> c(delay 1s)
     ^    |
     < -  +

After reading #2542, I know what is going on.  There are inner circular subscriptions in it.


Edit massmint item on mobile responsivity

massmint is not intented for mobile at all IMO. We can put a disclaimer there that desktop is preferred or something like that. Or?

so? close it or disclaimer?

so? close it or disclaimer?

Will create disclaimer

Here we go guys.

https://www.figma.com/file/JXNtryaNYhY0XJNArzvPQx/Handoff?type=design&node-id=1287%3A18959&mode=design&t=l9ITDxHsKHJcI9sz-1

will display everytime you enter mass mint on mobile device


Made it work for Python3. Changed default gravatar to "identicon" type

Changelog:

Now works for python3 (dunno about python2)
Has requirements.txt
Changed gravatar URL to not include the non-working URL.
Edited readme.md to include info about getting the example app to work.

Could you add the requirements file to the project please?


Tidy up requirements.

Remove support for old php versions, old doctrine versions etc.

Should this involve dropping PHP 5.6 support as well? Honestly after the long struggle Bernard survived, I believe it deserves a release supporting PHP 5.x. There are still a lot of us stuck on that version.

Yeah, same thoughts, but I'm not sure dropping PHP 5.6 support in a minor adds too much. We can't change the interfaces to have scalar type hints and return values in a minor release.

No we can't really use any new php7 features until the next major. But supporting old and eol php versions is not necessary imo.

Okay, that's a question for later, for now we keep PHP 5.6 then.


Can't access data inside relationship fields when in a preview session

I'm facing an issue where I can't access data inside relationship fields when in a preview session.
I am querying a blog post which has a relationship field for author, category etc. I'm using a GraphQL fragment (doesn't matter if it's inline or not) inside of the document field to access the author type and query fields inside of that, e.g. name. This works fine outside of a preview session, but when previewing, the document property isn't there (it's undefined if I try to access it). I seem to be getting a Proxy object under the author query, but this only seems to have the built-in properties and nothing from my document type that I'm trying to query (e.g. name).
I'm using the _previewable field both on the blog post and the author documents. I'm also querying for id everywhere possible as I think I read somewhere that this is necessary(?). I'm also using the withPrismicPreview HOC in my template.
This is the query exactly as I am doing it in the code:

This is the response outside of a preview session (same as in GraphiQL editor):

This is the response when inside a preview session (this also seems to return everything from the document, rather than just what I queried for):

Versions

gatsby-source-prismic: v4.0.1
gatsby-plugin-prismic-previews: v4.0.1
node: v14.17.1

Steps to reproduce
Set up Prismic previews, query a relationship field, start a preview session, try to access the data for the linked document.
What is expected?
I should be able to access data for relationship fields inside Primsic preview the same way I can outside of it
What is actually happening?
I can't access data for relationship fields inside Primsic preview at all

Update:
If I log out data.prismicBlogPost.data.author.document?.data.name (note the optional chaining on document), then it seems to work in the end. It looks like at some point in the preview generation lifecyle it becomes undefined before being defined again, so if you just try to access document directly then it throws and the preview doesn't work at all.

@mrseanbaines Thanks for the update. That's interesting that it shows as undefined for a single render. I will take a closer look at why this is happening for you.
In the meantime, can you test this with the latest version of the plugin (currently v4.0.3)? This is just to rule out any recent fixes as being the cause.

For some background info on the plugin:
The plugin is designed to match your static query during a preview as closely as possible. For document fields, this is done by using a Proxy to link the document field to a Prismic document in the plugin's cache. When you log a content relationship field, you will see "Proxy" and won't see the document field. It will work at runtime since the Proxy sees the call to document and returns the correct value.
During previews, the whole document will be present as a performance optimization. It won't match your query exactly (which only contains a subset of the document), but your templates will still act the same since it will only be accessing the same subset of fields.

Thanks @angeloashmore - will try out the latest version tomorrow and get back to you. Turned out not to be a huge issue after I worked out that it eventually populates the content, so just needed a few optional chainings and/or some early returns

Good to hear! In general, I would recommend always putting a null check around fields (including content relationship fields) since editors in Prismic can always save a document without filling in the field. This doesn't fix the root issue you describe, but it helps cover it up.

Hi @angeloashmore
I am experiencing the same issue on the latest version of gatsby-plugin-prismic-previews": "4.1.2"

Output is from console.log(data.author.document).
The query works fine without preview.

Should I omit output of relationship components entirely in preview sessions for the time being?

Hi @OleksandrRakovets, sorry you're seeing this error during previews. This should not be happening, of course.
I would recommend doing a boolean check for content relationship fields. This will at least stop your site from crashing for now and will help in the future if a content writer does not provide a value for that field.
I will look into this more to figure out what is happening.
@OleksandrRakovets It might be easiest to figure out the issue if I can look at your code and Prismic repository. Can you send me a private message on the Prismic community forum?
To send me a message: https://community.prismic.io/new-message?username=angeloashmore&title=GitHub Issue 422

I'm having this issue on "gatsby-plugin-prismic-previews": "^5.2.1",


Alexa node stopped listening

Anyone else have the node stopped listening the last day or 2?
After what seems like 18mths of this working great, i dont get any activity on the listening node - curious if its widespread or account specific

It's working normally here.

Thanks - Seems to be back on track here too
Hopefully it was just a 2day glitch!!

Mine seems to have gone off again, was ok till last night.
didnt do anything over night like update ext just stopped.
since ive done refresh/new alexa token/auth
rebooted HA/NR/Alexa ext
nothing at all on debug node

Fyi mine just started working again. No changes done. No up/downgrades just stopped working and started working again 2 weeks apart

Mine hasn't ben listening for over a year...  I tried re-installing multiple different versions, but can't get it to listen at all