Update comments that still referred to RowReceiver

Codecov Report

Merging #5125 into master will decrease coverage by 0.03%.
The diff coverage is 0%.

@@             Coverage Diff              @@
##             master    #5125      +/-   ##
============================================
- Coverage     82.39%   82.35%   -0.04%
+ Complexity    11001    10997       -4
============================================
  Files          1331     1331
  Lines         45048    45048
  Branches       5661     5661
============================================
- Hits          37116    37098      -18
- Misses         5278     5292      +14
- Partials       2654     2658       +4

Impacted Files
Coverage Δ
Complexity Δ

...rate/operation/collect/ShardCollectorProvider.java
79.41% <ø> (ø)
7 <0> (ø)
:x:

...transport/executionphases/ExecutionPhasesTask.java
91.66% <ø> (-0.93%)
24 <0> (ø)

...ort/executionphases/InterceptingBatchConsumer.java
78.78% <0%> (ø)
10 <0> (ø)
:x:

...n/java/io/crate/exceptions/JobKilledException.java
0% <0%> (-66.67%)
0% <0%> (-1%)

...o/crate/analyze/SafeExpressionToStringVisitor.java
83.33% <0%> (-16.67%)
7% <0%> (-1%)

...crate/executor/transport/TransportShardAction.java
77.5% <0%> (-12.5%)
8% <0%> (-1%)

...eration/collect/collectors/CompositeCollector.java
81.57% <0%> (-10.53%)
7% <0%> (-2%)

...va/io/crate/protocols/postgres/types/JsonType.java
77.41% <0%> (-6.46%)
8% <0%> (-1%)

.../java/io/crate/blob/TransportDeleteBlobAction.java
75% <0%> (-5%)
5% <0%> (-1%)

...rc/main/java/io/crate/analyze/UnboundAnalyzer.java
70% <0%> (-5%)
2% <0%> (ø)

... and 17 more

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 957c031...7f2de3a. Read the comment docs.


added image editor

Why have you deleted you project's description?
Add it

I added the project description in another pull request .


feat: fixed for the issue (#427)

1. Description

1.1. Checklist

[ ] The title of my PR starts with a Conventional Commit prefix (fix:, feat:, docs: etc).
[ ] I have read the Contributor Guide and followed the process outlined for submitting PRs.
[ ] I have updated/added tests for ALL new/updated/fixed functionality.
[ ] I have updated/added relevant documentation in docs and added dartdoc comments with ///.
[ ] I have updated/added relevant examples in examples.

1.2. Breaking Change

[ ] Yes, this is a breaking change.
[ ] No, this is not a breaking change.

1.3. Related Issues

Codecov Report

Merging #437 (a5d842b) into main (94199af) will increase coverage by 9.37%.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##             main     #437      +/-   ##
==========================================
+ Coverage   72.20%   81.57%   +9.37%
==========================================
  Files         156        3     -153
  Lines        1475       38    -1437
==========================================
- Hits         1065       31    -1034
+ Misses        410        7     -403

see 153 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Bump version for publish

This PR just bumps the version so we can do a publish with the recent changes (in particular @frangio's fix!).  Basically in asking for review on this I'm just saying, hey, this is a good time to do a publish, right? :)
...and then hopefully we should be able to leave this alone until Solidity 0.6.0 hits...

A release sounds good, but I'm not sure who has permissions to publish the package.

Fortunately, I already got those permissions earlier!  Just didn't have permission to commit until now.  :)

(So, to be clear, that's an approval then? :) )

Actually, the version in package-lock.json still needs to be updated. Consider using npm version for bumping since it takes care of that automatically.

I see, I was unaware, will do!

OK, lockfile is updated, merging!  Let's get this thing released! :)


Hide watermark for non-drd viewers

Closes #1867
Definition of Done

[x] corresponds to the design principles
[x] corresponds to the code standards
[x] passes Continuous Integration checks
[x] available as feature branch on GitHub

[x] contains the cleaned up commit history
[x] commit messages satisfy our commit message guidelines
[x] a single commit closes the issue via Closes #issuenr

Is there a reason why we can't simply re-use the changes of https://github.com/camunda/camunda-modeler/commit/b1102b4e43db10aa56923816b929f826345c1c67?

I want to make it resilient to CSS class changes. If we make sure to never display the watermark, we don't have to hide it via display: none with proper selector.
It has to stay the old way for other modelers, though, because logo is not added there via a module but rather via Viewer's code.


Discrepancy between dates parsed from CVS and XLSX

Hi everyone,
I have loaded a CSV file which has a cell with this value "07/02/11 19:08", and the resulting cell stored in the parsed sheet is this:

Apparently, the default format is "m/d/yy" and  new Date().getTimezoneOffset() gives me 300 minutes. The timezone offset is something I can manually deal with, so there is no problem with it. What I want is to parse my file using the format "d/m/yy h:mm" for dates, but when I set the options for XLSX.read to { cellNF: true, dateNF: 'd/m/yy h:mm'} I get the following parsed cell:

So, as you can see, the day and month are still swapped.
Then I saved my CSV file in MS Excel as XLSX, without touching the date cells.
Without { cellNF: true, dateNF: 'd/m/yy h:mm'} I get this:

That is actually what I needed and no timezone offset is added, lets see what happens when I include { cellNF: true, dateNF: 'd/m/yy h:mm'} in the XLSX.parse function:

Well, it is not following the format I specified, but still the month and day are correct and no offset is added again.
So, can someone please explain to me what is happening here?
It would be awesome if I could just read the raw string values of the cells, and reject all cells that do not match the "d/m/yy h:mm" format, but I have read the docs and I could not find any hint of an option like that.
I don't know if these are the expected outputs, but I will really appreciate some hint of what can I do, since I was considering using another parser just for CSVs.
Thanks a lot for your time!

Excel generally stores those numbers you see in the v field, and the library has to jump through some hoops to deduce the original date.  The numbers themselves are relative to the timezone of the author (the 0 does not correspond to a specific absolute date!) but the files don't actually store the author's timezone!  So there's a bit of dark magic involved and it is currently not locale aware.
The proper solution is a proper localization mechanism for the formatter library https://github.com/sheetjs/ssf -- in quite a few places it assumes en_US locale.
So to first order: if you set your machine regional settings to US English, do you see consistent behavior?

Hi @reviewher,
I have set my regional settings to US English:  window.navigator.languages gives me:  ["en", "es-ES", "es"]   ;   and window.navigator.language: "en-US".
But the outputs remains the same. I have to remark that I only have trouble with CSV files, since those are plan text files, is there an option to turn off the parsing of values and just get the raw text?
Thanks in advance!

At some level, the date mechanism is determined by the browser support.  If you really want to see something wild, try this in chrome:
new Date("How is this a date 1") // Mon Jan 01 2001
new Date("12 Marks") // Mon March 12 2001

What was the original string that gave you the result of "13/1/16 0:00:00" ?

@SheetJSDev  This one: "13/01/16" That is January 13th, 2016


wording errors in the document

Sandcastle example: https://cesium.com/learn/cesiumjs-learn/cesiumjs-imagery/
Browser: All
Operating System: All

https://cesium.com/learn/cesiumjs-learn/cesiumjs-imagery/
在 "更多图像提供商" 中搜索:
错误的单词: "TileCoordiantesImageryProvider" 改成 "TileCoordinatesImageryProvider"
Search in "More Imagery Providers"
Wrong word: "TileCoordinatesImageryProvider" changed to "TileCoordinatesImageryProvider"

Thanks for the report, @danchaotaiyang!

The document has been corrected. Thanks @danchaotaiyang!
Let us know if you find other errors.

The document has been corrected. Thanks @danchaotaiyang! Let us know if you find other errors.

Yes, I will


Move settings page

I will merge this with the 3.0.10 branch once we release, so we can get a test binary.

I will approve it once we merge 3.0.10 to master.


Configure TravisCI

Configure TravisCI to use Maven3 as build and test tool

Done! :+1: :white_check_mark:


Crashes on startup for simple Flutter apps

I'm regularly getting crashes like the following on startup:
11-07 22:48:20.926 23429 23447 F libc    : Fatal signal 11 (SIGSEGV), code 128, fault addr 0x0 in tid 23447 (ui_thread)
I haven't noticed a particular pattern to it.

Is there a stack?  That looks like a null pointer dereference.

I haven't seen a stack, no. Agreed that it looks like a null deref.

Just got this, happened after a hot reload:
11-07 23:26:31.169 23574 23592 F libc    : Fatal signal 11 (SIGSEGV), code 128, fault addr 0x0 in tid 23592 (Thread-3)

I was running with a several-day-old debug android build, and got the same again, this time just out of the blue (I wasn't doing anything with the app, it was just running on the phone next to me):
11-07 23:46:09.412 25437 25455 F libc    : Fatal signal 11 (SIGSEGV), code 128, fault addr 0x0 in tid 25455 (Thread-3)
No stack (I thought maybe a debug build would show one, but no).

Could be OOMs maybe?

(In which case https://github.com/flutter/flutter/issues/6500 is about how this is hard to diagnose currently.)

heap.global.used.max was at 31MB when it crashed just now.

The last few have been crashes while the app is up. Just now I got a crash on startup with this message (no libc crash log entry):
11-08 00:53:09.063 29226 29248 W flutter : LEAK: 20 RenderObject

So it looks like I get "LEAK: 12 RenderObject" (or 20, like above) when the code being run is bogus somehow. It finished the file sync, then tries to launch the app and immediately crashes without a stack.

Might not be OOM, I later took the heap to 47MB without issue.

ui_thread could be dart vm.  Could you update with flutter version and device info?

Tip of tree everything as of yesterday, and my Nexus 6.

Haven't seen this so much anymore.

I have exactly the same error on a low end Android 7.0 device ( 1GRAM, QuadCore 1.3GHz). First it was only when the flutter app downloaded a large file, now it sometimes happens even at launch.
Is there some Flutter minimum requirement ?
I never had this error on my regular "medium end" devices, but my client buy some of these (https://www.archos.com/fr/products/tablets/platinum/archos_101platinum3g/index.html), only to use my Flutter app, and the app keeps crashing. What kind of info can I add here to help find the reason of this crash.

@rxlabz I recommend opening a new bug, I suspect your crash is unrelated to this old one?
The device type as well as a stacktrace or tombstone from the android crash (or playstore logs) would help us to fix!  Very happy to look with that information.

Thanks @eseidelGoogle. I think that I "miraculously" found a workaround to my problem.
=> my app needs to download files. If I use the http readBytes() and file.writeAsBytes(bytes), app crashes on some devices when the user try to download large files ( 150Mo ), but seems to work if I use HttpClientResponse.pipe( new File('my file.mp4').openWrite() ). Does it sounds plausible ?
Do you think it worth a new issue with more details ?


Added targetline plugin

Adds chartist-plugin-targetline plugin. As discussed in #235 and available at https://github.com/htwyford/chartist-plugin-targetline

Cool stuff :-)


Does this not support monitoring of node ?

My rbac files lookes like below:
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: {{ .Release.Name }}
rules:

apiGroups: [""]
resources: ["pods", "pods/log", "events", "nodes"]
verbs: ["get", "watch", "list"]

apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: {{ .Release.Name }}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: {{ .Release.Name }}
subjects:

kind: ServiceAccount
name: {{ .Release.Name }}
namespace: {{ .Release.Namespace }}

But one of node was Ready,SchedulingDisabled , but no alert fired. Is this expected or need some other configuration ?

I want to monitor node when Node Condition is ready but status is false.

@abahmed Any idea ?

Thank you @amandpay for raising this
Currently we don't support node monitoring, but we can work on supporting it soon

Hi @abahmed any specific ETA for this ?

@amandpay will work on it ASAP and it's expected to be landed within one week from now

Thanks @abahmed.
It would be great if we can add alert for ImagePullBackOff also in the new release itself.

Today i observed , i had a pod with termination grace period 60 sec and a sleep with PreStop of 30 secs , so pod was in terminating state for 30 secs due to sleep , i got alert for this
Any way to avoid such alerts during deployments ?

Hello @amandpay
I think this maybe related to this issue (https://github.com/abahmed/kwatch/issues/323), currently working on fixing it

Hey @abahmed , any update on this ?

@amandpay
Released on v0.10.0 🎉

@abahmed  Is this working , my node was in NotReady state for 5 mins as kubelet was not running but no alerts receive ?

@amandpay Can you share logs of kwatch?

@amandpay Can you share logs of kwatch?

Hi @abahmed  , any updates here


Update the version of antirsi

This is the current (and presumably last?) version that can be downloaded without the Mac App Store.

In that case, we need to remove it.

Why remove it instead of merge this commit?

Because it is only available on the Mac App Store, and we don’t accept those apps. We’re not going to have an app that is perpetually outdated when there is an up-to-date version somewhere else. That is both a bad experience and potentially dangerous.

That's too bad. This is the last free version of the app as the version in the App store became a payed app. I also think the free version looks better.


gitlab: fix smtp setting

fixes #50163
Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
N/A macOS
N/A other Linux distributions

[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
N/A Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
N/A Tested execution of all binary files (usually in ./result/bin/)
N/A Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

cc @lheckemann @flokli @krav @fpletz

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: gitlab
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on aarch64-linux (full log)
Attempted: gitlab
Partial log (click to expand)
/nix/store/8inpzli40myq31khb8dpd65qap8wmaf7-gitlab-11.4.4/share/gitlab/bin/parallel-rsync-repos: interpreter directive changed from "/usr/bin/env bash" to "/nix/store/dsyc1z7ck08ga7l0b1jcxx35wj69qcii-bash-4.4-p23/bin/bash"
/nix/store/8inpzli40myq31khb8dpd65qap8wmaf7-gitlab-11.4.4/share/gitlab/bin/mail_room: interpreter directive changed from "/bin/sh" to "/nix/store/dsyc1z7ck08ga7l0b1jcxx35wj69qcii-bash-4.4-p23/bin/sh"
/nix/store/8inpzli40myq31khb8dpd65qap8wmaf7-gitlab-11.4.4/share/gitlab/bin/daemon_with_pidfile: interpreter directive changed from "/usr/bin/env ruby" to "/nix/store/53n9axmp5h00zqhb7a88y2wkmk1jdwh5-wrapped-ruby-gitlab-env-11.4.4/bin/ruby"
/nix/store/8inpzli40myq31khb8dpd65qap8wmaf7-gitlab-11.4.4/share/gitlab/bin/check: interpreter directive changed from "/bin/sh" to "/nix/store/dsyc1z7ck08ga7l0b1jcxx35wj69qcii-bash-4.4-p23/bin/sh"
/nix/store/8inpzli40myq31khb8dpd65qap8wmaf7-gitlab-11.4.4/share/gitlab/bin/changelog: interpreter directive changed from "/usr/bin/env ruby" to "/nix/store/53n9axmp5h00zqhb7a88y2wkmk1jdwh5-wrapped-ruby-gitlab-env-11.4.4/bin/ruby"
/nix/store/8inpzli40myq31khb8dpd65qap8wmaf7-gitlab-11.4.4/share/gitlab/bin/bundle: interpreter directive changed from "/usr/bin/env ruby" to "/nix/store/53n9axmp5h00zqhb7a88y2wkmk1jdwh5-wrapped-ruby-gitlab-env-11.4.4/bin/ruby"
/nix/store/8inpzli40myq31khb8dpd65qap8wmaf7-gitlab-11.4.4/share/gitlab/bin/background_jobs: interpreter directive changed from "/bin/sh" to "/nix/store/dsyc1z7ck08ga7l0b1jcxx35wj69qcii-bash-4.4-p23/bin/sh"
/nix/store/8inpzli40myq31khb8dpd65qap8wmaf7-gitlab-11.4.4/share/gitlab/Rakefile: interpreter directive changed from "/usr/bin/env rake" to "/nix/store/955vcqyhnd1dp7s8cj5szy73w0cxzipv-gitlab-env-11.4.4/bin/rake"
checking for references to /build in /nix/store/8inpzli40myq31khb8dpd65qap8wmaf7-gitlab-11.4.4...
/nix/store/8inpzli40myq31khb8dpd65qap8wmaf7-gitlab-11.4.4

Success on x86_64-linux (full log)
Attempted: gitlab
Partial log (click to expand)
copying path '/nix/store/z459q9p7yd3n35nvly2g788qhdgn9jap-ruby2.5.3-rspec_profiling-0.0.5' from 'https://cache.nixos.org'...
copying path '/nix/store/dq4xfxzh50p9arw19bwvpa4hffpdixqw-ruby2.5.3-warden-1.2.7' from 'https://cache.nixos.org'...
copying path '/nix/store/7awdys3a0hzxybn769pzk1zqkw2abxnh-ruby2.5.3-webpack-rails-0.9.11' from 'https://cache.nixos.org'...
copying path '/nix/store/ffa7qr700dwpk22kl0bwcyqp627kip21-ruby2.5.3-devise-4.4.3' from 'https://cache.nixos.org'...
copying path '/nix/store/mrrp9kr13jxv11sy105pndqb21hybg16-ruby2.5.3-devise-two-factor-3.0.0' from 'https://cache.nixos.org'...
copying path '/nix/store/gjbz4fdrwhjvwf963vga5jnxa0ckdmza-gitlab-env-11.4.4' from 'https://cache.nixos.org'...
cannot link '/nix/store/.links/0fabijz3i86js5dxmrj6ijk8np0pc94kqh8b3wizahyfv8d5hz5k' to '/nix/store/gjbz4fdrwhjvwf963vga5jnxa0ckdmza-gitlab-env-11.4.4/lib/ruby/gems/2.5.0/cache/grape-path-helpers-1.0.6.gem': No space left on device
copying path '/nix/store/8fz6pq5yfqsd3n1ng7jwjx93r534p8y0-wrapped-ruby-gitlab-env-11.4.4' from 'https://cache.nixos.org'...
copying path '/nix/store/pzwxys37crpv01hc62kv3q8fwa2n0kf4-gitlab-11.4.4' from 'https://cache.nixos.org'...
/nix/store/pzwxys37crpv01hc62kv3q8fwa2n0kf4-gitlab-11.4.4

@GrahamcOfBorg test gitlab

No attempt on x86_64-linux (full log)
The following builds were skipped because they don't evaluate on x86_64-linux: tests.gitlab
Partial log (click to expand)
error: while evaluating 'recursiveUpdate' at /var/lib/gc-of-borg/.nix-test-rs/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/rbvermaa-spot/lib/attrsets.nix:415:26, called from /var/lib/gc-of-borg/.nix-test-rs/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/rbvermaa-spot/lib/attrsets.nix:148:28:
while evaluating 'recursiveUpdateUntil' at /var/lib/gc-of-borg/.nix-test-rs/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/rbvermaa-spot/lib/attrsets.nix:384:37, called from /var/lib/gc-of-borg/.nix-test-rs/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/rbvermaa-spot/lib/attrsets.nix:416:5:
while evaluating 'zipAttrsWith' at /var/lib/gc-of-borg/.nix-test-rs/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/rbvermaa-spot/lib/attrsets.nix:347:21, called from /var/lib/gc-of-borg/.nix-test-rs/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/rbvermaa-spot/lib/attrsets.nix:394:8:
while evaluating 'zipAttrsWithNames' at /var/lib/gc-of-borg/.nix-test-rs/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/rbvermaa-spot/lib/attrsets.nix:332:33, called from /var/lib/gc-of-borg/.nix-test-rs/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/rbvermaa-spot/lib/attrsets.nix:347:27:
while evaluating anonymous function at /var/lib/gc-of-borg/.nix-test-rs/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/rbvermaa-spot/lib/lists.nix:113:41, called from /var/lib/gc-of-borg/.nix-test-rs/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/rbvermaa-spot/lib/attrsets.nix:347:46:
while evaluating the attribute 'gitlab' at /var/lib/gc-of-borg/.nix-test-rs/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/rbvermaa-spot/nixos/tests/all-tests.nix:80:3:
while evaluating 'handleTest' at /var/lib/gc-of-borg/.nix-test-rs/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/rbvermaa-spot/nixos/tests/all-tests.nix:17:22, called from /var/lib/gc-of-borg/.nix-test-rs/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/rbvermaa-spot/nixos/tests/all-tests.nix:80:12:
while evaluating 'discoverTests' at /var/lib/gc-of-borg/.nix-test-rs/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/rbvermaa-spot/nixos/tests/all-tests.nix:13:19, called from /var/lib/gc-of-borg/.nix-test-rs/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/rbvermaa-spot/nixos/tests/all-tests.nix:18:5:
access to path '/nix/store/1sc4szycfkaf94s0kg6x63cf52nfldk2-rbvermaa-spot' is forbidden in restricted mode

No attempt on aarch64-linux (full log)
The following builds were skipped because they don't evaluate on aarch64-linux: tests.gitlab
Partial log (click to expand)
Cannot nix-instantiate `tests.gitlab' because:
error: while evaluating 'recursiveUpdate' at /var/lib/gc-of-borg/nix-test-rs-12/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-12/lib/attrsets.nix:415:26, called from /var/lib/gc-of-borg/nix-test-rs-12/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-12/lib/attrsets.nix:148:28:
while evaluating 'recursiveUpdateUntil' at /var/lib/gc-of-borg/nix-test-rs-12/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-12/lib/attrsets.nix:384:37, called from /var/lib/gc-of-borg/nix-test-rs-12/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-12/lib/attrsets.nix:416:5:
while evaluating 'zipAttrsWith' at /var/lib/gc-of-borg/nix-test-rs-12/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-12/lib/attrsets.nix:347:21, called from /var/lib/gc-of-borg/nix-test-rs-12/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-12/lib/attrsets.nix:394:8:
while evaluating 'zipAttrsWithNames' at /var/lib/gc-of-borg/nix-test-rs-12/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-12/lib/attrsets.nix:332:33, called from /var/lib/gc-of-borg/nix-test-rs-12/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-12/lib/attrsets.nix:347:27:
while evaluating the attribute 'gitlab' at /var/lib/gc-of-borg/nix-test-rs-12/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-12/nixos/tests/all-tests.nix:80:3:
while evaluating 'handleTest' at /var/lib/gc-of-borg/nix-test-rs-12/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-12/nixos/tests/all-tests.nix:17:22, called from /var/lib/gc-of-borg/nix-test-rs-12/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-12/nixos/tests/all-tests.nix:80:12:
while evaluating 'discoverTests' at /var/lib/gc-of-borg/nix-test-rs-12/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-12/nixos/tests/all-tests.nix:13:19, called from /var/lib/gc-of-borg/nix-test-rs-12/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-12/nixos/tests/all-tests.nix:18:5:
access to path '/nix/store/943h4xvsgw3gi2qsnqrfaazlrjfgqzbw-grahamc-aarch64-community-12' is forbidden in restricted mode

@lheckemann can you backport to 18.09 as well?

9bf8b0d06b7

Thanks!


[Feature request] Isn't the Router a must-have for most projects?

@roneyrao Thanks for your feedback!
I agree with you, now react-router-dom has dominant share in the world but there are several other options like tanstack/router, vite-plugin-ssr etc...
But I just thought combine react-router-dom + redux-first-history is great setup as a Redux stack templete.
I'll work for next my free time!

@roneyrao Now I added React Router built-in.
Hopefully that filled your needs!


fix tokenizerfast missing attr

PR types

Bug Fixes
PR changes

Models
Description

问题：使用LLamaTokenizerFast出现问题
复现代码
from paddlenlp.transformers import LlamaTokenizerFast
tokenizer = LlamaTokenizerFast.from_pretrained('meta-llama/Llama-2-13b')
output = tokenizer._decode([0, 3, 2, 1])

结果：
Traceback (most recent call last):
  File "test_tokenizer.py", line 6, in <module>
    output = tokenizer._decode([0, 3, 2, 1])
  File "/workspace/mnt/PaddleNLP/paddlenlp/transformers/tokenizer_utils_fast.py", line 653, in _decode
    else self.clean_up_tokenization_spaces
AttributeError: 'LlamaTokenizerFast' object has no attribute 'clean_up_tokenization_spaces'

修复参考链接：https://github.com/huggingface/transformers/blob/e5d14f39ad82475f238cad41279a5d61ac5db287/src/transformers/tokenization_utils_base.py/#L1616

 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.


[BUG]: Using values([]) in a query creates invalid syntax

What version of drizzle-orm are you using?
0.23.10
Describe the Bug
Given this query:
      console.log(
        db
          .insert(table)
          .values([])
          .onConflictDoNothing({
            target: [table.id],
          })
          .toSQL()
      );

values([]) generates "", which generates SQL like
insert into "table" ("id") values  on conflict ("parentValNameId","refValNameId") do nothing

Which is invalid. Unfortunately TS is limited in saying that a type must be a "non-empty array" but maybe postgres will accept () as values?

Would be great for the query to not fire. Ran into the same thing. I guess the best course of action is to convert to an NEA and conditionally fire the insert.

Related to https://github.com/drizzle-team/drizzle-orm/issues/464


Rock/Stick bounding boxes

The bounding boxes of sticks and rocks when placed into the world are a full block, when they could be the size of themselves.

Gonna add the hitboxes sooner or later.

^^^

Stalled for the time being until other issues are resolved.

This shouldnt be too hard, I'll look into it.

Alright, pretty much fixed.


How To Make Characters Go Out Of The Screen

Describe your problem here.
How to make pop out of the screen like this :
https://youtu.be/z8aEaWbFPo8?t=135
heres a sreenshot

can anyone send some code where i put it?
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No i didnt change any yet (so far)

https://github.com/MoldyGH/VsDave

make a new window that's borderless and transparent, then render the pixels of the dad character
in other words: https://github.com/MoldyGH/VsDave

make a new window that's borderless and transparent, then render the pixels of the dad character
in other words: https://github.com/MoldyGH/VsDave

how though?


[Scheduled Maintenance] Forum maintenance

Additional context
Updating phpBB (the forum software) to 3.3.13 (from 3.3.12).
Also updating the following languages: French (to 4.12.0), German (to 3.3.12), Spanish (to 3.3.12) and Turkish (to 1.3.12).
Also updating the following themes: Crayon Blue, Bluedark, Green, Orange and Red (all to 3.3.12).

Updated phpBB (the forum software) to 3.3.13 (from 3.3.12).
Updated the following languages: French (to 4.12.0), German (to 3.3.12), Spanish (to 3.3.12) and Turkish (to 1.3.12).
Updated the following themes: Crayon Blue, Bluedark, Green, Orange and Red (all to 3.3.12).


Application functions do not appear in the context menu.

Microsoft PowerToys version
0.85
Installation method
PowerToys auto-update
Running as admin
None
Area(s) with issue?
File Locksmith, File Explorer: Preview Pane, File Explorer: Thumbnail preview, PowerRename, System tray interaction
Steps to reproduce

✔ Expected Behavior
No response
❌ Actual Behavior
Application functions do not appear in the context menu. Not in particular Rename, Unlock.
Other Software
No response

/bugreport


not working on cordova 4.3.0

any updates ?

I found the solution!
just run the command with cordova and not with phonegap and it works like a charm!


Initial arangodb 3.0 support / hack

Thanks it seems that this is due to changes related to Arango V3.0. pyArango has not been tested on V3.0 yet. I need to run extensive tests before accepting any modifications, I don't what people to running on 2.x to update pyArango and suddenly have their code broken.

This PR might break things in 2.x arangodb, but makes it possible to connect to arangodb 3.0, select database, collection and create/fetch documents. You can execute AQL queries as well, what's probably the best way to communicate with arangodb from python for now. Creating edge documents will not work at this moment as it seems that API URL has changed for this operation in 3.0.
It's probably not a good idea to accept this PR, but maybe it'll inspire someone to tinker with pyArango and port it.

Ok, I've created a new branch "arangoV3" for V3.0. We can centralize all the modifications there and when it is done I'll make it the new master.

That's good news. I believe commit 3d297ed shouldn't break V2 compatibility and it's probably trivial to replace fd9416c with something universal as well.
After this a fix for document.py#L231 (links() method) that changes self.collection.documentsURL and POST data accoring to a new V3 API would make most of pyArango functionality work fine with V3.
Before that you should really inform ArangoDB staff to put some kind of notice on Official python tutorial that pyArango is V3 incompatible at this moment.

Thanks, I've noticed them. I've also merged your modifications into the new branch.

@srozb I've updated pyArango. It should now work with V3.


Bug? Continuous collision detection does not work after bodies are created

edit: the real situation was different, than what i am describing here. it is not a  bug with planck, see mein next post.
Hi,
i have two dynamic bodies.
The first one is my player, it is initialized like this: world.createBody({bullet: true});
The second one is created without the bullet-property.
When i apply a strong force to my player object, targeting the second body, the player just goes through it.
But when i first touch the second body slightly with my player body, and then apply the strong velocity, everything works as expected and the second body is thrown away.
i have tried to initialize the second body with
world.createBody({
  allowSleep: false,
  awake: true,
});

but this has not changed anything.
After both bodies have touched once, it seems that the CCD works always, but not right after initialization.
Am i doing something wrong, or is this a bug?

Thanks for reporting this, could you please share a testbed example to reproduce it?

i will try to create one tonight

ok, i have investigated it further more. the problem is different from that what i was describing in my first post and its not a bug with planck.
Basically, i have a "spawn" protection, which disables the collisions for other entities till the player-body leaves the spawn.
(the spawn is just a tiny body with static:true,isSensor:true)
Unfortunately, in my case, the "end-contact" just resolves, after the player has crossed the other entity, so nothing happened.
How would you do this with planck?
https://piqnt.com/space/6UXKCe38p
in my real project, i have an update-loop, that checks for each player in spawn, and turns on the collision, once the player has no contacts (m_contactList==null), in order to prevent, that collision is turned on, when two bodies are inside of each other.
But that is also just called completely after the timestep and therefore does not work.

Ah yes, you need to call refilter() after changing contact filtering:
bf.setFilterMaskBits(filter | 1);
bf.refilter();

Also you may want to check if the contact event belongs to your spawn, see SensorTest.

I fixed this, now it automatically calls refilter after setFilter... functions. Thanks for reporting!


Filter out prose package from recommended pip packages during Python upgrade

This PR fixes https://github.com/microsoft/azuredatastudio/issues/15632
PR in main: https://github.com/microsoft/azuredatastudio/pull/15633

Pull Request Test Coverage Report for Build 923068771

0 of 1 (0.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.003%) to 43.376%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

extensions/notebook/src/jupyter/jupyterServerInstallation.ts
0
1
0.0%

Totals

Change from base Build 922670449:
-0.003%

Covered Lines:
26593

Relevant Lines:
55708

💛  - Coveralls


Change #setHighQualityOptions on AeCanvas to not use font metric hinting

This pull request changes #setHighQualityOptions on AeCanvas to not use font metric hinting. For details see Bloc issue #450.

@plantec @labordep For your information: I've merged this change (discussed in https://github.com/pharo-graphics/Bloc/issues/450) that produces a slight change in the calculation of text extent (i.e. each word in a Album editor). I don't think this can be a problem for you, but I want to inform you for the case you find a difference in your projects.
After some tests, I achieved to capture a difference in Morphic host:

(master = before merging this PR, dev = after)
But in several tests I didn't find any difference. For example this SDL2 host:

it was the same before and after this PR.


Add Getting Started section to README

README Update
Please add a getting started section to the README so folks know how to get started with this project.

Added Getting Started section to README


Get-PSResource -Scope AllUsers should return both CurrentUsers and AllUsers

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.

Steps to reproduce
Get-PSResource -Scope AllUsers should return resources installed for both CurrentUsers and AllUsers
Expected behavior
Get-PSResource -Scope AllUsers returns resources installed for both CurrentUsers and AllUsers

Actual behavior
Get-PSResource -Scope AllUsers only returns resources installed for AllUsers

Error details
No response
Environment data
ModuleType Version    PreRelease Name                                ExportedCommands
---------- -------    ---------- ----                                ----------------
Binary     3.0.17     beta17     PowerShellGet                       {Find-PSResource, Get-PSResource, Get-PSResourceR…

Name                           Value
----                           -----
PSVersion                      7.3.0
PSEdition                      Core
GitCommitId                    7.3.0
OS                             Microsoft Windows 10.0.25236
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Visuals

See similar: https://github.com/PowerShell/PowerShellGet/issues/860

CurrentUser scope returns modules available to that user and AllUsers returns available to all users, this is by design.


User class CLP and ACL

Hello,
I have CLP enabled for _User class in a way that only allows Create to public, and obviously, each user has a full access to itself, now when one of these users tries to update a field under itself, it gives: 'Permission denied for action update on class _User.'
From my understanding, ACLs override CLPs, why is that error happening?
Parse-server: 2.3.1

So, actually this is the opposite:
http://parseplatform.github.io/docs/ios/guide/#clp-and-acl-interaction

Thanks for the link, I followed the original blog post for this.
So to recap, if I don't want public to list my users, (assuming they get the app id and url), I turn off find and get for public, but have create, update and add field checked in CLP?

@hatpick did you end up finding a solution for this? I'm currently trying to lock down the permission levels on a parse server. I'd prefer to only have public create enabled, however when creating an account with the ios client library it fails for the same reason you listed above Permission denied for action update on class _User


Style leaking and affecting other places of application.

Styling issue:
When I add the react component for open-copiloit then it makes other component styling messed up, also adds boarder n stuff to things.
Here is how it should look

and here how it looks with component

aside from adding the component, I havent changed anything else.
`
"use client";
import Widget from "../_components/copilot/copilot";
import Nav from "./navbar-ver";
import React from "react";
export default function Layout({ children }: { children: React.ReactNode }) {
  return (

 {children}

      <Widget />

  );
}

import { CopilotWidget, Root } from "@openchatai/copilot-widget"; // import the component
import<EMAIL_ADDRESS>// the required styles
const options = {
  apiUrl: "https://cloud.opencopilot.so/backend",
  initialMessage: "How  da?",
  token: "fafaf",
  triggerSelector: "#triggerSelector",
  headers: {
    // optional: you can pass your authentication tokens to the copilot or any other header you want to send with every request
    Authorization: "Bearer your_auth_token_goes_here",
    AnyKey: "AnyValue",
  },
  user: {
    name: "Default User",
  },
};
export default function Widget() {
  return (
    <Root options={options}>
      <CopilotWidget triggerSelector="#copilot-trigger" />
    </Root>
  );
}

I am also using tailwind with shadcn ui kit

Thanks for reporting, we will make sure to ship something for it very soon.

Hey @Leave-it-blank Happy you submitted this issue,
I finally solved it (I managed to load the styles inside the shadow dom).
You should update the copilot-widget package now and no  need to load the styles any more
Note That:
The widget is now fluid (Takes 100% of the container), and static


Do all the weights multiply the included probability p during testing?

I didn't find the code which de-weight model parameters by p during testing, as the original paper suggests. Is this correct or am I missing something?

Reweighting happens here: https://github.com/mdenil/dropout/blob/master/mlp.py#L130
The reweighted pathway through the theano graph leads to negative_log_likelihood and errors here: https://github.com/mdenil/dropout/blob/master/mlp.py#L160 .
This pathway is used to construct the test function here: https://github.com/mdenil/dropout/blob/master/mlp.py#L240


move throw error to server

Fixes #2224

Thanks, but I actually ended up fixing it myself! Sorry about that…


measure inference and training time in milliseconds

Dear author, following you recommendation, I have added timer for the forward function part of bevfusion.py.
in forward_single(), before bevfusion.py#L225
torch.cuda.synchronize()
t_start = time.time()
features = []

After bevfusion.py#L304
torch.cuda.synchronize()
t_forward_test_end = time.time()
print('forward_test, ', t_end_test - t_start)
return outputs

Then I got the prints as the following, the unit for time.time() is milliseconds. I wonder how do you get the overall ~130ms inference time? @kentang-mit. Is the unit of time.time() second instead?
forward_test,  0.18337655067443848
forward_test,  0.17694544792175293
forward_test,  0.18417620658874512
forward_test,  0.18697500228881836
forward_test,  0.19140982627868652
forward_test,  0.2163400650024414
forward_test,  0.20026397705078125
forward_test,  0.1974184513092041
forward_test,  0.2000215053558349
....

It seems like the unit for t_end_test - t_start should be s.  Then 0.18337655067443848 is 183.3ms

We obtain the latency in our paper by summing up the runtime of different components in the model (e.g. LiDAR encoder, camera encoder, view transformer, BEV network, etc.) The major part that is excluded is the voxelization time, because this operation is trivially parallelizable and the current implementation in mmdet3d is not optimal.


Difficulties adding attribute to Extended Section

Checklist:

[x] I updated to the latest version available
[x] I cleared the cache of my browser

Release with the issue:
Last working release (if known):
Unk
Browser and Operating System:
Firefox 101.0.1

There are no expected entities in the drop-down menu when entering an attribute in the Extended Section.  Moreover, when the proper attribute is typed in, either in the long form or the friendly format, there is no displayed attribute text as expected.

When attempting the above, the following appears in the HA log:
`2022-06-15 09:39:52 ERROR (MainThread) [frontend.js.latest.202206010] http://homeassistant.local:8123/hacsfiles/makin-things-weather-card/weather-card.js:11782:17 TypeError: property "extended_name_attr" is non-configurable and can't be deleted
Javascript errors shown in the web inspector (if applicable):

Additional information:

It's working for me on my card.
I believe you may have the wrong details in the entity box at the top of the page. If you choose summary_0 in the Entity Daily Summary dropdown (where you currently have nws_daily_summary), this should then allow the Attribute dropdown to populate with several choices (based from your screenshot) of detailed_forecast and friendly_name

From the images it looks like you have it misconfigured. The entity name should be summary_0 and the attribute name should be detailed_forecast.  I am still trying to figure out why you get an error though.
Can you show me the details of the nws_daily_summary entity.

I did find an issue in the daily forecast use of attributes and a minor problem if you used an attribute that didn't exist. I am still looking through the code looking for other possible issues.

I just pushed another update that stop some exceptions occurring if you enter a non-existent entity name in the areas where you can also select attributes.
Can you retest with the latest.

OK.  Using sensor.summary_0 (resolves summary_0) with attribute detailed_forecast works now that it's configured correctly.  That said, the 5-day forecasts don't work with summary_1 when the entries are similar. When using nws_daily_summary, it's the equivalent of summary_0, except text is a entity.  It's what I used to get the Extended Section working.

Here's one of many configurations I've tried for the 5-day forecast.  Many, if not all, log errors occur when I'm editing card configuration.

Here's the full card:

2022-06-15 19:53:49 ERROR (MainThread) [homeassistant.components.automation.updates_pending] Updates Pending: Update Persistent Notification: choice 1: Error executing script. Error for call_service at pos 1: Error rendering data template: TypeError: 'NoneType' object is not iterable
2022-06-15 19:53:49 ERROR (MainThread) [homeassistant.components.automation.updates_pending] Updates Pending: Error executing script. Error for choose at pos 1: Error rendering data template: TypeError: 'NoneType' object is not iterable
2022-06-15 19:53:49 ERROR (MainThread) [homeassistant.components.automation.updates_pending] Error while executing automation automation.updates_pending: Error rendering data template: TypeError: 'NoneType' object is not iterable
2022-06-15 20:10:48 ERROR (MainThread) [frontend.js.latest.202206010] http://<IP_ADDRESS>:8123/hacsfiles/makin-things-weather-card/weather-card.js:12042:56 TypeError: Unable to delete property.
2022-06-15 20:48:06 ERROR (MainThread) [homeassistant.components.automation.updates_pending] Updates Pending: Update Persistent Notification: choice 1: Error executing script. Error for call_service at pos 1: Error rendering data template: TypeError: 'NoneType' object is not iterable
2022-06-15 20:48:06 ERROR (MainThread) [homeassistant.components.automation.updates_pending] Updates Pending: Error executing script. Error for choose at pos 1: Error rendering data template: TypeError: 'NoneType' object is not iterable
2022-06-15 20:48:06 ERROR (MainThread) [homeassistant.components.automation.updates_pending] Error while executing automation automation.updates_pending: Error rendering data template: TypeError: 'NoneType' object is not iterable
2022-06-15 21:42:36 ERROR (MainThread) [frontend.js.latest.202206010] http://homeassistant.local:8123/hacsfiles/makin-things-weather-card/weather-card.js:12062:17 TypeError: 2 is read-only
2022-06-15 21:46:02 ERROR (MainThread) [frontend.js.latest.202206010] http://homeassistant.local:8123/hacsfiles/makin-things-weather-card/weather-card.js:12042:17 TypeError: property "daily_extended_name_attr" is non-configurable and can't be deleted
2022-06-15 21:46:18 ERROR (MainThread) [frontend.js.latest.202206010] http://homeassistant.local:8123/hacsfiles/makin-things-weather-card/weather-card.js:12042:17 TypeError: property "daily_extended_name_attr" is non-configurable and can't be deleted
2022-06-15 21:54:07 ERROR (MainThread) [frontend.js.latest.202206010] http://homeassistant.local:8123/hacsfiles/makin-things-weather-card/weather-card.js:12042:17 TypeError: property "entity_extended_1" is non-configurable and can't be deleted
2022-06-15 21:56:20 ERROR (MainThread) [frontend.js.latest.202206010] http://homeassistant.local:8123/hacsfiles/makin-things-weather-card/weather-card.js:12042:17 TypeError: property "entity_pos_1" is non-configurable and can't be deleted
2022-06-15 22:10:10 ERROR (MainThread) [frontend.js.latest.202206010] http://homeassistant.local:8123/hacsfiles/makin-things-weather-card/weather-card.js:12042:17 TypeError: property "entity_pos_1" is non-configurable and can't be deleted
2022-06-15 22:10:12 ERROR (MainThread) [frontend.js.latest.202206010] http://homeassistant.local:8123/hacsfiles/makin-things-weather-card/weather-card.js:12042:17 TypeError: property "entity_extended_1" is non-configurable and can't be deleted
2022-06-15 22:11:58 ERROR (MainThread) [frontend.js.latest.202206010] http://homeassistant.local:8123/hacsfiles/makin-things-weather-card/weather-card.js:12042:17 TypeError: property "entity_extended_1" is non-configurable and can't be deleted
2022-06-15 22:12:05 ERROR (MainThread) [frontend.js.latest.202206010] http://homeassistant.local:8123/hacsfiles/makin-things-weather-card/weather-card.js:12042:17 TypeError: property "entity_pos_1" is non-configurable and can't be deleted
2022-06-15 22:12:30 ERROR (MainThread) [frontend.js.latest.202206010] http://homeassistant.local:8123/hacsfiles/makin-things-weather-card/weather-card.js:12042:17 TypeError: property "entity_pos_1" is non-configurable and can't be deleted
2022-06-15 22:12:34 ERROR (MainThread) [frontend.js.latest.202206010] http://homeassistant.local:8123/hacsfiles/makin-things-weather-card/weather-card.js:12042:17 TypeError: property "entity_extended_1" is non-configurable and can't be deleted
2022-06-15 22:13:14 ERROR (MainThread) [frontend.js.latest.202206010] http://homeassistant.local:8123/hacsfiles/makin-things-weather-card/weather-card.js:12042:17 TypeError: property "entity_pos_1" is non-configurable and can't be deleted
2022-06-15 22:14:18 ERROR (MainThread) [frontend.js.latest.202206010] http://homeassistant.local:8123/hacsfiles/makin-things-weather-card/weather-card.js:12042:17 TypeError: property "entity_extended_1" is non-configurable and can't be deleted
2022-06-15 22:14:24 ERROR (MainThread) [frontend.js.latest.202206010] http://homeassistant.local:8123/hacsfiles/makin-things-weather-card/weather-card.js:12042:17 TypeError: property "entity_pos_1" is non-configurable and can't be deleted
2022-06-15 22:15:05 ERROR (MainThread) [frontend.js.latest.202206010] http://homeassistant.local:8123/hacsfiles/makin-things-weather-card/weather-card.js:12042:17 TypeError: property "entity_pos_1" is non-configurable and can't be deleted
2022-06-15 22:15:17 ERROR (MainThread) [frontend.js.latest.202206010] http://homeassistant.local:8123/hacsfiles/makin-things-weather-card/weather-card.js:12042:17 TypeError: property "entity_extended_1" is non-configurable and can't be deleted
2022-06-15 22:17:54 ERROR (MainThread) [frontend.js.latest.202206010] http://homeassistant.local:8123/hacsfiles/makin-things-weather-card/weather-card.js:12042:17 TypeError: property "entity_pos_1" is non-configurable and can't be deleted
2022-06-15 22:18:05 ERROR (MainThread) [frontend.js.latest.202206010] http://homeassistant.local:8123/hacsfiles/makin-things-weather-card/weather-card.js:12042:17 TypeError: property "entity_extended_1" is non-configurable and can't be deleted
2022-06-15 22:18:23 ERROR (MainThread) [frontend.js.latest.202206010] http://homeassistant.local:8123/hacsfiles/makin-things-weather-card/weather-card.js:12042:17 TypeError: property "entity_pos_1" is non-configurable and can't be deleted

Have you updated to the latest version? Line 12042 in all pushes I have made today couldn't possibly throw those errors?

Ok, that line number could cause that error.
Can you show the details of summary_1 (state and attributes) using the dev tools in HA.

Easy, enough.  Here ya go:

I've added an extra debug message in front of the line I think is causing the problem, but I have no idea why.  Try updating and see if you get more info in the browser console log, just before the exception occurs.

I've played a bit with forcing misconfigurations.  So far, I haven't seen any exceptions in the log.  If any surface, I'll let you know.

@Sudo-Rob is this still an issue?

I don't believe so.  I think it can be closed.

No, it’s been working.  You can close it.
Thanks.

On Jul 3, 2022, at 12:27 AM, Simon @.***> wrote:

@Sudo-Rob is this still an issue?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.


Thoughts about inserting

So far just thoughts for discussion

insert requires that all columns in the table are passed. This requirement is clearly redundant - the clickhouse handles insertion with missing columns without any problems

This needs to be checked separately, but it seems to me that the clickhouse converts data when inserted. If this is the case, then perhaps we should define the type in the native protocol based on the Julia type rather than the type in the table schema. This would save us a lot of work on converting types

We clearly need a way to insert from a row format

Some thoughts of mine in response to your points:

insert requires that all columns in the table are passed. This requirement is clearly redundant - the clickhouse handles insertion with missing columns without any problems

I implemented this because the ClickHouse server version that I developed this client against had a tendency to SIGSEGV for both missing and duplicated columns which was hard to troubleshoot. I remember that this has since been fixed, so we could indeed remove this now.
It's worth noting that the current check in the client will probably give users trouble making use of the DEFAULT X option that they might have specified when creating the table, so we should definitely change this in some way.
I'm not that much of a fan of implicit defaulting for columns that don't actually have a default or are nullable, which ClickHouse pretty much just initializes with values similar to C++' default init scheme for heap-allocated objects (0, empty string, ...) which, honestly, hardly ever does what I want. I personally find that design pretty error prone and would prefer to have the server reject it. But on the other hand, this is how CH designed it and a client for the database should probably mirror what the database and the official client do.
It's also worth pointing out that the server will silently ignore columns in a block that don't correspond to any database columns, which might be pretty confusing for users.
Summarizing, I guess I'd be okay with removing the check if you still think this the best thing to do after considering my arguments. The check is pretty much free from a performance perspective, but if we were to keep it, we'd have to solve the problem of allowing users to explicitly default, perhaps by having them set the column to nothing explicitly. Let me know what you think!

This needs to be checked separately, but it seems to me that the clickhouse converts data when inserted. If this is the case, then perhaps we should define the type in the native protocol based on the Julia type rather than the type in the table schema. This would save us a lot of work on converting types

Yes, this is an interesting question. A somewhat related question is that the command line client also allows insert queries with pretty much arbitrary expressions like:
CREATE TABLE blah
(
    `aaa` UInt32
)
ENGINE = MEMORY;

INSERT INTO blah (aaa) VALUES
    (toUInt32(toDecimal64(234, 0))),
    (1234),
    (234 +<PHONE_NUMBER>);

and I wonder how this actually works. I think it might actually calculate this in the client, which wouldn't be very helpful for us. Or, it sends such inserts as a string. We could just use tcpdump to spy on the C++ / command line client and check what it sends.

We clearly need a way to insert from a row format

Yes. I think we should however design it in a way that doesn't tempt the user to hit the database for every row inserted, but instead a more convenient way for users to build and insert blocks or to automatically construct a stream of blocks of a good size from a sequence / iterator / channel of rows. Something in this direction. It would probably also be good if we could design it in a way that makes the user define a struct for their row format instead of using Dicts because that would reduce runtime lookups significantly. Might be able to make the whole row struct -> block conversion function a super-efficient @generated function that would make row based inserts pretty much just as efficient as block based inserts.

I personally find that design pretty error prone and would prefer to have the server reject it.

From my experience, we use this scheme when adding columns to Analytics. First, the table is changed, and the Analytics continues to receive events without a new column. After the alter has passed through some time , a new code is laid out to production to collect Analytics with a new column. If the server will reject the request without all the columns, we would have a huge problem with syncing the alter and and the production code


Implement re-lexing logic for better error recovery

Summary
This PR implements the re-lexing logic in the parser.
This logic is only applied when recovering from an error during list parsing. The logic is as follows:

During list parsing, if an unexpected token is encountered and it detects that an outer context can understand it and thus recover from it, it invokes the re-lexing logic in the lexer
This logic first checks if the lexer is in a parenthesized context and returns if it's not. Thus, the logic is a no-op if the lexer isn't in a parenthesized context
It then reduces the nesting level by 1. It shouldn't reset it to 0 because otherwise the recovery from nested list parsing will be incorrect
Then, it tries to find last newline character going backwards from the current position of the lexer. This avoids any whitespaces but if it encounters any character other than newline or whitespace, it aborts.
Now, if there's a newline character, then it needs to be re-lexed in a logical context which means that the lexer needs to emit it as a Newline token instead of NonLogicalNewline.
If the re-lexing gives a different token than the current one, the token source needs to update it's token collection to remove all the tokens which comes after the new current position.

It turns out that the list parsing isn't that happy with the results so it requires some re-arranging such that the following two errors are raised correctly:

Expected comma
Recovery context error

For (1), the following scenarios needs to be considered:

Missing comma between two elements
Half parsed element because the grammar doesn't allow it (for example, named expressions)

For (2), the following scenarios needs to be considered:

If the parser is at a comma which means that there's a missing element otherwise the comma would've been consumed by the first eat call above. And, the parser doesn't take the re-lexing route on a comma token.
If it's the first element and the current token is not a comma which means that it's an invalid element.

resolves: #11640
Test Plan

[x] Update existing test snapshots and validate them
[x] Add additional test cases specific to the re-lexing logic and validate the snapshots
[x] Run the fuzzer on 3000+ valid inputs
[ ] Run the fuzzer on invalid inputs
[ ] Run the parser on various open source projects
[x] Make sure the ecosystem changes are none

It then reduces the nesting level by 1. It shouldn't reset it to 0 because otherwise the recovery from nested list parsing will be incorrect

What happens if we have something like
c
)

In this case, the parser should recover from the unclosed [, but the parser and lexer should remain in a parenthesied context because of the (. Or does that work out of the box already, because ) is a list terminator, and the parser won't recover past it?

In this case, the parser should recover from the unclosed [, but the parser and lexer should remain in a parenthesied context because of the (. Or does that work out of the box already, because ) is a list terminator, and the parser won't recover past it?

Is the code snippet up-to date as you've mentioned [ and ( which isn't present in the snippet? :)

Is the code snippet up-to date as you've mentioned [ and ( which isn't present in the snippet? :)

Uhm, not sure what happened here
(a, [b,
	c
)

Uhm, not sure what happened here
(a, [b,
	c
)

Ok, so this is a bit problematic because when the lexer emitted the ) token, it reduced the nesting level by 1 and now the re-lexing also reduces the nesting level by 1 making it 0 which means that there'll be Newline token after c which is incorrect. We could check if the current token would reduce the nesting level in re-lexing logic and avoid reducing it again. I'll need to do some more testing for these kind of scenarios.

Uhm, not sure what happened here
(a, [b,
	c
)

Ok, so this is a bit problematic because when the lexer emitted the ) token, it reduced the nesting level by 1 and now the re-lexing also reduces the nesting level by 1 making it 0 which means that there'll be Newline token after c which is incorrect. We could check if the current token would reduce the nesting level in re-lexing logic and avoid reducing it again. I'll need to do some more testing for these kind of scenarios.

Ok, I've fixed this bug and expanded the documentation and inline comments.

Do you know how our messages compare with CPython or Pyright? Do you see any significant difference?

The CPython parser higlights two kinds of errors which is probably done by the lexer:

Highlighting the opening parenthesis which doesn't have a closing parenthesis:

    if call(foo, [a, b]
           ^
SyntaxError: '(' was never closed

Highlighting the closing parenthesis to consider it a mismatch with the opening one:

    if call(foo, [a, b)
                      ^
SyntaxError: closing parenthesis ')' does not match opening parenthesis '['

While Pyright gets really confused:

https://pyright-play.net/?code=JYMwBAxghgNjAUID2SA0YDaV0CMC6AUGMWACYCm4OUATvAJQBcRJrADlAM6dA
https://pyright-play.net/?code=JYMwBAxghgNjAUID2SA0YDaV0CMCUAUGMWACYCm4OUATvHgFxEksAOUAzh0A


Prevent WebView from handling deeplink and allow to override via onShouldStartLoadWithRequest

Bug description:

I am loading a url in WebView that at some point redirects to a custom deeplink that I want to intercept in my app. The deeplinks looks like com.mytestapp://result?success and upon interception I want to be able to open a success screen
The issue I am facing is that onShouldStartLoadWithRequest is never invoked when navigating to com.mytestapp://result?success. Furthermore since I have no app that can handle the com.mytestapp scheme, a YellowBox warning is logged: Can't open url: com.mytestapp://result?success
Expected behavior:

I am expecting to be able to use onShouldStartLoadWithRequest to hijack the redirect, or at least have a way to tell WebView that I want to handle a specific scheme.
Environment:

OS: Android
OS version: 10
react-native version: 9.4.0
react-native-webview version: 0.62.0

As I opened the issue, I dug into the codebase and realized I can add my custom scheme to originWhitelist. That did solve the issue. Hopefully this will be useful in the future to someone else 😄

As I opened the issue, I dug into the codebase and realized I can add my custom scheme to originWhitelist. That did solve the issue. Hopefully this will be useful in the future to someone else 😄

Thank you for your answer


prevent-link-loss should be enabled on commit description textfields

Description
And possibly many other features that works with hasRichTextField.
Screenshot
No response
Example URL
https://github.com/refined-github/refined-github/edit/hotfix/README.md
Testing stuff: https://github.com./refined-github/refined-github/issues/5321

Hmmm I don't see how that can be true. The commit loss happens during the markdown conversion. The commit description is never rendered as such… is it?

Hmmm I don't see how that can be true. The commit loss happens during the markdown conversion. The commit description is never rendered as such… is it?

Hey, do you think this issues comes from nowhere? I opened it because I experienced it.

Can you make a commit on a random branch that shows the loss?

https://togithub.com/refined-github/refined-github/pull/5324/commits/2c97f0bac0905079f668a945b51acb0d58380e2e (that b5f752a is a link to the PR when submitted).

Tones please

Tones please

I was mildly annoyed because I thought it's an obvious fact. Sorry if it hurts your feeling. I will be careful in the future.
Anyway here's a video demonstrating it for ya:
https://user-images.githubusercontent.com/44045911/150536301-8ce6dd43-dea4-47b3-9e39-2af778c588d4.mov

I see the issue, but how can we fix it? If markdown isn’t rendered in commit messages, then wrapping the link won’t fix it.

Assuming GitHub's parser isn't that RFC-compliant*.
* The only problem is that most stuff aren't either. And hope people don't search for github.com/ in commit messages 🤷

Better to double-slash it:
https://github.com//refined-github/refined-github/pull/5327/commits/2e2dc93f2b6f626a7b02da243d66c9f7586ef0d8

Alternatives? Live example: https://github.com/refined-github/refined-github/commit/3474d4b2eded5ce034a93f768cd1ba593eed10dd

Better to double-slash it

Awesome, though it would still trip some third-party parsers we probably don't care.
We may want to do this to restore PJAX and stuff though:
if (location.pathname.startsWith('//') {
	history.replaceState(null, document.title, location.pathname.replace('//', '/'))
}

I don't feel comfortable essentially breaking permanently-saved links just to fix a temporary GitHub bug, even if this "temporary bug" is several years old


Does not create an accessor method when method exists into the mother class

Describe the bug
Dry does not create an accessor method when the method already exists into a mother class.
To Reproduce
class MyService < Dry::Struct
  def foo
    nil
  end
end

class MyChildService < MyService
  attribute :foo, Types::Strict::String
end

# Prints nil
puts MyChildService.new(foo: "foo").foo

Expected behavior
I expect MyChildService.foo to return "foo", because I expect Dry to create the accessor for my attribute even if the method exists into the mother class (but, of course, I don't expect Dry to override my method if it exists into the current class).
Your environment

Affects my production application: NO
Ruby version: 2.6.5
OS: OSX

No, it's not a bug. The current behavior is expected.

@flash-gordon I was actually surprised by this - why is this expected?

@solnic because inheritance doesn't matter in this case. There can be different cases, for example including a module with overridden accessor won't work. Or take rom structs where you always define a base struct, you won't be able to override accessors.

Is this documented somewhere ?

@pyrsmk dunno, I'll take a look. IIRC the reason we did this was rom structs but I'm not entirely sure. But if so, it may be undocumented for this reason (we "added" the feature it to another gem).


Initial rails setup

Install Rails app
Setup linters
Setup database

@Ayokunnumi1 Please, review the initial setup and merge it with the develop branch. And make the develop branch as default branch.


shadowMask parameter for sar_backscatter and ard_normalized_radar_backscatter

Currently the two radar processes do not have the parameter for the shadow layer, which can be easily generated via Sentinel Hub for example:
https://docs.sentinel-hub.com/api/latest/data/sentinel-1-grd/#available-bands-and-data

There are numerous options that are not reflected, but mentioned in CARD4L §2.2:

As threshold, including in addition e.g.,

Layover (included as invalid data in Threshold)
Radar shadow (included as invalid data in Threshold)
Ocean water, etc.

The obvious issue is that this can grow to an endless list of options, which is not desirable. For the ard process, I think we could just enable it and get to target requirements as much as possible?


added dac support

solves #9
shamelessly copied and modified from stm32f4xx-hal
in future  will add alignment and different bit supports

tested it.
About changes requested I am working on rewriting everything. but may take some time

Great, thanks again!


Camera call

[x] Call the camera
[x] Translate it to portuguese
[x] NavBar on the bottom with icon

It is missing just the part which get the image from the PickerController


fix max_txt_len typos in blip2_t5 model

fix max_txt_len typos.
Besides, the default max_txt_len of blip2_t5 and blip2_opt is just 32, is it a fine value for max caption length?

Thanks @yqy2001 for the pr! The max_txt_len is configurable attribute that we use for training to truncate the text


Add Redshift parameter to create tables with backup option specified

resolves #18
Description
This PR adds a config parameter "backup" that controls whether a Redshift table will be created with BACKUP No or not. Current default (both in DBT and more generally with Redshift) is for this BACKUP to be set to True unless explicitly overridden. But, for some transient and intermediate tables, there can be no need for backup and users would like to be able to set config accordingly.
The config parameter is added in impl.py and the statements in adapters.sql are updated to use this parameter.
Checklist

[x] I have signed the CLA
[x] I have run this code in development and it appears to resolve the stated issue
I don't have a Redshift instance to run this code on. I will investigate if the unit tests fail, but based on nearly identical old PR and local linting I'm optimistic.
[x] This PR includes tests, or tests are not required/relevant for this PR
[x] I have updated the CHANGELOG.md and added information about my change to the "dbt-redshift next" section.

@jtcohen6 I was hoping the tests would run in CI to prove this out a bit, but I'm a first-time contributor. I don't have a Redshift database to do much with local testing. Let me know your thoughts in general and if there's anything that needs to be added.

Closing and reopening to trigger adapter integration tests

Thank you! @jtcohen6

I reported a bug I think that is related to this #60. I believe the fix is moving backup option up 2 lines in the adapter.sql before table_attribute.


Adding an Interface component to a Device fails

Environment

Nautobot version (Docker tag too if applicable): next branch - as of 2024-Nov-13
Python version:
Database platform, version:
Middleware(s):

Steps to Reproduce

Create a Device instance in UI
Attempt to add Interface component through Device detail view (GUI)

Expected Behavior

Observed Behavior
Error is returned during validation:
Virtual Device Contexts
Ethernet1: "" is not a valid UUID.

This might potentially be related, but as a part of testing tried attaching an Interface to a VDC and this resulted in a different error message:
ValidationError at /dcim/interfaces/add/
{'virtual_device_contexts': ["Virtual Device Context with names ['test'] must all belong to the same device as the interface's device."]}

Closed by https://github.com/nautobot/nautobot/pull/6545


Azure: Error Splunk License issue on 8.0.5 - Limiting Search capability

Operating System Version: Splunk 8.0.5
Deploying via (VirtualBox/VMWare/AWS/Azure/ESXi): Azure
Vagrant Version (if applicable):

Description of the issue:
On the logger host, noticed Splunk is running into license issues not allowing to search. Current splunk version running is on 8.0.5..  Please suggest what can be done to address the issue. Appreciate your help. Thanks.
Error message as shown below

-->

Link to Gist Containing Build Logs:

Just to confirm, how long was this Splunk instance running before you saw this? Was it immediately after it came online or days after?

I'm unable to reproduce this on a fresh Azure provision:

Can you go to:
https://<your_logger_ip_here>:8000/en-US/manager/system/licensing and paste the screenshot?

Splunk was running for over a week now,  here is the screenshot..

Hi @basithcs - it looks like the amount of data being ingested is exceeding the daily 500mb limit. You have two options here:

Make some modifications to ingest less data
Sign up for a free Splunk dev license which gives you 10GB/day ingest: https://dev.splunk.com/enterprise/dev_license/  and apply that license

@clong Thanks for your work and assistance..


How can I move the position of the Pager dots?

O had to add some elements to the bottom of the screen that appear on top of the dots. Is there a way to  move them up?
Thank you!

Currently, the library doesn't support moving the dots around.
To clarify, you're talking about the dots on the AppIntro2 class correct? If you're talking about the AppIntro class, you're not only referring to the dots, but that entire bottom bar. Which do you want?

@jlubeck closing this issue until clarification is provided for the above questions.

I´m talking about these dots:

(sorry about taking this long to respond)


move typeField from low level queryItems to find

I tried this example from readme
//  Fetch an item collection for Acme
let items = await table.queryItems({pk: 'account:AcmeCorp'}, {parse: true})

//  Group items into arrays by model type
items = db.groupByType(items)

and it doesn't work, because queryItems applied filter by _type = "Generic"
It works with scanItems though.
So my proposed patch fixes it for queryItems too.
Probably the same needs to be done for putItem and updateItem, but it's harder for me right now.
Thanks for great project!

Thanks for finding and reporting.
I think there may be problems with your proposed solution.
queryItems also needs the type when called directly from a model. So moving the type from queryItems to find will break Model.queryItems.
We've got a solution by setting a Model.generic option and testing that in queryItems, updateItems and putItems. If set, then type type is not defined.
Also found an issue with groupByType where the iteration of items wasn't correct.
Will commit these changes after test later today.


New version: vim.vim.nightly version 9.0.2189

Pull request has been created with WinGet Releaser v2 :rocket:
Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

Installation failed with exit code -1978335187
2023-12-29 02:24:08.172 [FAIL] Installer failed security check. Url: https://github.com/vim/vim-win32-installer/releases/download/v9.0.2189/gvim_9.0.2189_x86.exe Result: 0x80004005

(Automated response - build 508.)

Hi @chrisbra,
The package didn't pass a Defender or similar security scan. This might be a false positive and we can rescan tomorrow.
(Automated response - build 509.)


Quickstart Template for app.py has wrong import.

running render-engine init creates a failing build.
This is due to where the markdown parser exists.
To Fix
in https://github.com/kjaymiller/render_engine/blob/main/src/render_engine/render_engine_templates/create_app_py.txt:
Change from render_engine.parsers import MarkdownPageParser to
from render_engine.parsers.markdown import MarkdownPageParser

The MarkdownParser shouldn't be the initial parser


not sure whats happening

hello
im getting the following error
C:\Users\Jerem\Downloads\chatgpt\PentestGPT>python3 main.py --reasoning_model=gpt-4 --useAPI

ChatGPT Sessions Initialized.
Please describe the penetration testing task in one line, including the target IP, task type, etc.

I want to perform a penetration test on a web application. The target IP is <IP_ADDRESS>
Traceback (most recent call last):
File "C:\Users\Jerem\Downloads\chatgpt\PentestGPT\main.py", line 25, in
pentestGPTHandler.main()
File "C:\Users\Jerem\Downloads\chatgpt\PentestGPT\utils\pentest_gpt.py", line 466, in main
_response = self.reasoning_handler(prefixed_init_description)
File "C:\Users\Jerem\Downloads\chatgpt\PentestGPT\utils\pentest_gpt.py", line 128, in reasoning_handler
response = self.chatGPT4Agent.send_message(
File "C:\Users\Jerem\Downloads\chatgpt\PentestGPT\utils\chatgpt_api.py", line 92, in send_message
conversation = self.conversation_dict[conversation_id]
KeyError: None

im not sure what im doing wrong

Most likely your cookie expired. Did you run python3 test_connection.py before starting? Do you have proper access to GPT-4?

i have a plus membership and a api key. when i tried running python3 test_connection.py it says
C:\Users\Jerem\Downloads\chatgpt\PentestGPT>python3 test_connection.py
Test connection for chatgpt cookie
Your cookie setting is not correct. Please update it in config/chatgpt_config.py

Please refer to #26 and check the README documentation.

python3 main.py --reasoning_model=gpt-3.5-turbo --useAPI
ive run this and  it still gives me the same error
C:\Users\Jerem\Downloads\chatgpt\PentestGPT>python3 main.py --reasoning_model=gpt-3.5-turbo --useAPI

ChatGPT Sessions Initialized.
Please describe the penetration testing task in one line, including the target IP, task type, etc.

I want to perform a penetration test on a web application. The target IP is <IP_ADDRESS>

2 -
Traceback (most recent call last):
File "C:\Users\Jerem\Downloads\chatgpt\PentestGPT\main.py", line 25, in
pentestGPTHandler.main()
File "C:\Users\Jerem\Downloads\chatgpt\PentestGPT\utils\pentest_gpt.py", line 466, in main
_response = self.reasoning_handler(prefixed_init_description)
File "C:\Users\Jerem\Downloads\chatgpt\PentestGPT\utils\pentest_gpt.py", line 128, in reasoning_handler
response = self.chatGPT4Agent.send_message(
File "C:\Users\Jerem\Downloads\chatgpt\PentestGPT\utils\chatgpt_api.py", line 92, in send_message
conversation = self.conversation_dict[conversation_id]
KeyError: None

i also have the same cookie error when following the readme. ill see if i can keep refreshing and logging in and seeing what happens. otherwise im using chrome and im copying and pasting the entire cookie into the program and i still get the same error

I have noticed that some cookies it just plain doesn't like.  Wait for the next one and see if you get the same error.  I think sessions are like 10 minutes roughly.

You can either use a cookie or an API key. In any way, you should firstly run python3 test_connection.py to check if everything works correctly.
Could I confirm with you that you have linked a payment method to OpenAI? Otherwise the API key won't work.

You can either use a cookie or an API key. In any way, you should firstly run python3 test_connection.py to check if everything works correctly. Could I confirm with you that you have linked a payment method to OpenAI? Otherwise the API key won't work.

i have a linked payment too open ai yes

so i deleted my api key
i went into https://chat.openai.com/api/auth/session and copied a new cookie and user agent im still getting the following error unfortunately . ill haft too further test this
Microsoft Windows [Version 10.0.19045.2913]
(c) Microsoft Corporation. All rights reserved.
C:\Users\Jerem\Downloads\chatgpt\PentestGPT>python3 test_connection.py
Test connection for chatgpt cookie
Your cookie setting is not correct. Please update it in config/chatgpt_config.py
C:\Users\Jerem\Downloads\chatgpt\PentestGPT>python3 test_connection.py
Test connection for chatgpt cookie
Your cookie setting is not correct. Please update it in config/chatgpt_config.py
C:\Users\Jerem\Downloads\chatgpt\PentestGPT>

Did you try to follow the installation video? Does curl command work?

The issue is something to do with how proxies is initialized under the ChatGPT class.
class ChatGPT:
    def __init__(self, config: ChatGPTConfig):
        self.config = config
        self.model = config.model
        self.proxies = {"https": ""}

This gives me the error "Your setting is not correct. Please update it in config/chatgpt_config.py"
However if I set this to...
class ChatGPT:
    def __init__(self, config: ChatGPTConfig):
        self.config = config
        self.model = config.model
        self.proxies = {"http": "http://<IP_ADDRESS>:8080", "https": "http://<IP_ADDRESS>:8080"}

    def get_authorization(self):
        try:
            url = "https://chat.openai.com/api/auth/session"
            r = requests.get(url, headers=self.headers, proxies=self.proxies, verify=False)

...it then works with "1. You're connected with ChatGPT Plus cookie."

Did you try to follow the installation video? Does curl command work?

i deleted the video and went through the steps exactly. im still getting the same errors

i have figured out how too finally run this program.

ChatGPT Sessions Initialized.
Traceback (most recent call last):
File "c:\Users\Jerem\Downloads\chatgpt\PentestGPT\main.py", line 27, in
pentestGPTHandler.main()
File "c:\Users\Jerem\Downloads\chatgpt\PentestGPT\utils\pentest_gpt.py", line 456, in main
init_description = prompt_ask(
File "c:\Users\Jerem\Downloads\chatgpt\PentestGPT\utils\prompt_select.py", line 78, in prompt_ask
return prompt(
File "C:\Users\Jerem\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\prompt_toolkit\shortcuts\prompt.py", line 1418, in prompt
session: PromptSession[str] = PromptSession(history=history)
File "C:\Users\Jerem\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\prompt_toolkit\shortcuts\prompt.py", line 477, in init
self.app = self._create_application(editing_mode, erase_when_done)
File "C:\Users\Jerem\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\prompt_toolkit\shortcuts\prompt.py", line 728, in _create_application
application: Application[_T] = Application(
File "C:\Users\Jerem\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\prompt_toolkit\application\application.py", line 273, in init
self.output = output or session.output
File "C:\Users\Jerem\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\prompt_toolkit\application\current.py", line 68, in output
self._output = create_output()
File "C:\Users\Jerem\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\prompt_toolkit\output\defaults.py", line 87, in create_output
return Win32Output(stdout, default_color_depth=color_depth_from_env)
File "C:\Users\Jerem\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\prompt_toolkit\output\win32.py", line 116, in init
info = self.get_win32_screen_buffer_info()
File "C:\Users\Jerem\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\prompt_toolkit\output\win32.py", line 220, in get_win32_screen_buffer_info
raise NoConsoleScreenBufferError
prompt_toolkit.output.win32.NoConsoleScreenBufferError: No Windows console found. Are you running cmd.exe?

it works when i actually run it through the command prompt in a windows enviroment. but when i tried asking it a question i get the following error
C:\Users\Jerem\Downloads\chatgpt\PentestGPT>python main.py

ChatGPT Sessions Initialized.
Please describe the penetration testing task in one line, including the target IP, task type, etc.

i want too perform a penetration test on a web application. The target IP is <IP_ADDRESS>

Task information generated.

PentestGPT suggests you to do the following:
(None, None)
Traceback (most recent call last):
File "C:\Users\Jerem\Downloads\chatgpt\PentestGPT\main.py", line 27, in
pentestGPTHandler.main()
File "C:\Users\Jerem\Downloads\chatgpt\PentestGPT\utils\pentest_gpt.py", line 479, in main
"PentestGPT", "PentestGPT suggests you to do the following: \n" + _response
TypeError: can only concatenate str (not "tuple") to str

This should be fixed with the latest commit. Please refer to the new readme. Essentially you can paste the curl command into  config/chatgpt_config_curl.txt to refresh the session.


Docs blockquotes accessiblitly concerns

<blockquotes> are being used throughout the docs to provide call out notes. There are a number of them, but here are a couple for the sake of example.

the note about converting style-dictionary files on the getting started page
the note about file extensions on the config api reference page

There are two accessibility issues with the current implementation.
Contrast
The white text on the light blue background is really not perceivable. I'm measuring a contrast ratio of 1.16:1, but text that size should be at least 4.5:1. This is a major issue for any sighted user. It looks like the background color is set in styles/_md.scss. I'm not a designer and don't really have a preference as to how this gets solved, but one easy way to do it would be using a darker blue for the background color. blue-50 gets us up to 6.26:1 with the body text, but still leaves links below the threshold at 3.31:1.
Semantics
While not as big of an issue as the first, the second is the misuse of the <blockquote> element for styling purposes. This is unfortunately pretty common in docs sites, but <blockquotes> should only be used if the enclosed text is actually a quotation. Better options here would be to either use the <aside> element or the note role (and probably move the related styling to a class). i realize markdown doesn't have a built in method for either of those approaches like the way a > lets you add a <blockquote>, but it should be possible to write the correct HTML directly inside the markdown file.

Thank you for taking the time to suggest all these fixes! Will make all the suggested changes to improve a11y for the docs.

This is unfortunately pretty common in docs sites, but <blockquotes> should only be used if the enclosed text is actually a quotation.

This is an unfortunate side-effect of markdown. Most docs are written in markdown because they’re friendlier for contributors to edit. There is really no other way to style a callout with markdown-generated content besides blockquote, other than writing your own HTML. Which, if your docs are in HTML, they are not in markdown, and thus introduce more friction to contribution. It’s tough! What is “accessible” to users is also counterintuitively less usable for contributors :(. But will fix nonetheless.

Most docs are written in markdown because they’re friendlier for contributors to edit. There is really no other way to style a callout with markdown-generated content besides blockquote, other than writing your own HTML. Which, if your docs are in HTML, they are not in markdown, and thus introduce more friction to contribution. It’s tough! What is “accessible” to users is also counterintuitively less usable for contributors :(. But will fix nonetheless.

Yeah, I totally get it. I publish a small blog and its been frustrating because Markdown is so nice to write, but it has just enough things missing that I usually have to write HTML as well. MDX can help bridge that gap, but then you're also taking on a lot thicker dependency and maintenance stack.
Thanks for be willing to prioritize end user experience and accessibility over developer experience.


[DNM] Test Travis CI issue with staticcheck

@stuartnelson3 Travis CI seems happy now although the PR doesn't change anything to the build settings. It was probably a transient error.

:+1: @brian-brazil suggested as much, thanks for checking!


parse issue go.dev/govulncheck

Suddenly started getting this today:
error: Uncaught (in promise) Error: package.yml parse error: /Users/dcvz/Library/Application Support/pkgx/pantry/projects/go.dev/govulncheck/package.yml
            throw new PantryParseError(project, filename, cause);
                  ^
    at https://deno.land/x/libpkgx@v0.14.1/src/hooks/usePantry.ts:62:19
    at eventLoopTick (ext:core/01_core.js:183:11)
    at async find (https://deno.land/x/libpkgx@v0.14.1/src/hooks/usePantry.ts:160:20)
    at async failsafe (file:///Users/builder/actions-runner/_work/pkgx/pkgx/src/prefab/failsafe.ts:5:12)
    at async default (file:///Users/builder/actions-runner/_work/pkgx/pkgx/src/prefab/parse-pkg-str.ts:12:20)
Caused by: YAMLError: end of the stream or a document separator is expected in "/Users/dcvz/Library/Application Support/pkgx/pantry/projects/go.dev/govulncheck/package.yml" at line 63, column 34:
        - (govulncheck ./... 2>&1 ||
                                     ^
    at generateError (https://deno.land/std@0.196.0/yaml/_loader/loader.ts:88:10)
    at throwError (https://deno.land/std@0.196.0/yaml/_loader/loader.ts:91:9)
    at readDocument (https://deno.land/std@0.196.0/yaml/_loader/loader.ts:1079:12)
    at loadDocuments (https://deno.land/std@0.196.0/yaml/_loader/loader.ts:1103:5)
    at load (https://deno.land/std@0.196.0/yaml/_loader/loader.ts:1122:21)
    at parse (https://deno.land/std@0.196.0/yaml/parse.ts:13:10)
    at Path.readYAML (https://deno.land/x/libpkgx@v0.14.1/src/utils/Path.ts:331:14)
    at eventLoopTick (ext:core/01_core.js:183:11)
    at async find (https://deno.land/x/libpkgx@v0.14.1/src/hooks/usePantry.ts:160:20)
    at async failsafe (file:///Users/builder/actions-runner/_work/pkgx/pkgx/src/prefab/failsafe.ts:5:12)
Caused by: "/Users/dcvz/Library/Application Support/pkgx/pantry/projects/go.dev/govulncheck/package.yml"

Can you post the contents of /Users/dcvz/Library/Application Support/pkgx/pantry/projects/go.dev/govulncheck/package.yml? It should match https://github.com/pkgxdev/pantry/blob/main/projects/go.dev/govulncheck/package.yml. Specifically, it looks like it's complaining about the last line
Assuming there's a difference, pkgx --sync should fix it. However, if it's not different, then we need to figure out why it's complaining.

Here are the contents:

Contents
```yaml
distributable:
  url: https://github.com/golang/vuln/archive/refs/tags/v{{version}}.tar.gz
  strip-components: 1
versions:
github: golang/vuln/tags
provides:

bin/govulncheck

build:
dependencies:
go.dev: ^1.19
script: |
go mod download
mkdir -p "{{ prefix }}"/bin
go build -v -trimpath -ldflags="$LDFLAGS" -o $BUILDLOC ./cmd/govulncheck
env:
GOPROXY: https://proxy.golang.org,direct
GOSUMDB: sum.golang.org
GO111MODULE: on
CGO_ENABLED: 0
BUILDLOC: '{{prefix}}/bin/govulncheck'
LDFLAGS:
- -s
- -w
linux:
# or segmentation fault
# fix found here https://github.com/docker-library/golang/issues/402#issuecomment-982204575
LDFLAGS:
- -buildmode=pie
test:
fixture: |
package main
import (
        "fmt"
        "os"

        "golang.org/x/text/language"
)

func main() {
        for _, arg := range os.Args[1:] {
                tag, err := language.Parse(arg)
                if err != nil {
                        fmt.Printf("%s: error: %v\n", arg, err)
                } else if tag == language.Und {
                        fmt.Printf("%s: undefined\n", arg)
                } else {
                        fmt.Printf("%s: tag %s\n", arg, tag)
                }
        }
}

dependencies:
go.dev: ^1.19
script:
- go mod init vuln.tutorial
- cp $FIXTURE main.go
- go mod tidy
- go get<EMAIL_ADDRESS>- (govulncheck ./... 2>&1 || ��������������������������
</details>

It turns out that `pkgx --sync` also errors..

![Dec 5 Screenshot from Discord](https://github.com/pkgxdev/pkgx/assets/2475932/f055be02-726b-44fc-b073-2980c5c9420b)

@mxcl here's an example of a corrupted package.yml in the wild. File is 1562B, so i'm not sure the point of corruption is significant.
gnup.org/pinentry is a directory in the current pantry. so there's definite corruption of your cache, @dcvz . for a quick fix, you can probably mv /Users/dcvz/Library/Application Support/pkgx/pantry{,.bak} && pkgx --sync (moving it to a .bak location in case we can do further troubleshooting.

Closing in favor of #865
This issue is much reduced in impact since 1.1.1, but still happens and needs to be understood and fixed.


FMI4j in a Windows environment fails to load the Resistor. DLL file

[FMI native bridge] Fatal: Failed to load library 'C:\Users\zbd\AppData\Local\Temp\fmi4j_Resistor(2)1423203123758737048\binaries\win64/Resistor.dll', error: 126
This Resistor.dll exists in this path, and there is no problem with checking Resistor.fmu with fmuCheck.win64.exe, but I know what causes this problem

but I know what causes this problem

Ok?
With that said, running PythonFMU FMUs using FMI4j is a common procedure at my institution and there has not been any issues.

Sorry, I dialed the wrong number. I don't know what caused the problem.

You will need to scan the dependencies of the dll, but it is weird that fmuCheck works. Did you by any chance run fmucheck with a modified PATH?

When you say DLL dependencies, do you mean Python packages? How should I scan?

Scan the Resistor.dll using e.g  Dependency Walker


added specifics on delete capability for passwords

Users can delete their credentials to a password SSO app.

@jaszperez : Thanks for your contribution to the Azure documentation! The author, @daveba, has been notified to review your proposed change.

#sign-off

@mtillman: I'm sorry - only the author of this article, @daveba, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.


Re-add Remark42 and Disqus comment counter

It was deleted in 7bb41658, likely by accident. Here is how it looks like after changes:

@xianmin, could you please review my pull requests?

@xianmin gentle ping for review and merge.


Format and extension don't match

When I generate an .xls file after opening it excel throws an error saying  the file format and extension of xls don't match
The code where I generate the .xls:
$mailing_list = $event->getMailingList(); //returns an array

$exporter = new ExportDataExcel('browser', 'mailing_list.xls');
$exporter->initialize();

foreach($mailing_list as $mail){
    $exporter->addRow($mail);
}

$exporter->finalize();

I haven't changed anything in the library.

Read over the fact that it generates a xml that isn't recognized by excel


[Docs] Replication factor 002 not working?

Describe the bug
I'm not sure if this is a bug or bad configuration. Honestly I expected the replication factor 002 meant something like I want the original file and two extra copies across 2 other servers in the same rack and same datacenter.
The results exposed in the picture attached are with a new created cluster, 1 master, 3 volumes and only 1 uploaded file just to test this theory. I expected the same file was replicated across these 3 volume servers, with same size, etc. This is not what I see (file's size is ~53MB, 19MB, 19MB)

The requests I did:

System Setup

weed version
version 30GB 3.52 fb4b61036cd6389b18efc5343b766b1c5512ad1c linux arm64

cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.2 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.2 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy

Expected behavior
Same file, across servers should be exactly the same?

do the reads return the same results?

Well, I executed these three commands to test
curl http://<IP_ADDRESS>:8080/5,0914be4ab8 --output mimirtool-8080
curl http://<IP_ADDRESS>:8081/5,0914be4ab8 --output mimirtool-8081
curl http://<IP_ADDRESS>:8082/5,0914be4ab8 --output mimirtool-8082

and the output is the following:

So seem to be the same, but how? I mean, how is this storing this? (I feel I'm missing something)
Shouldn't the .dat files at volume level have the same size when this volume servers are only storing 1 file for testing purposes?

very likely the entries are compressed.
Compression or not is a volume server local decision.

very likely the entries are compressed.
Compression or not is a volume server local decision.

mmmm is there an option to disable comoression to check it?
Last question related: Why I uploaded 1 file with 3 volume servers and it created like 3 volumes in each server? I mean (3 .idx + .vif + .dat) but only filled one? (5.dat, .idx and .vif mostly)

you can send the file with a special mime type
this is a volume growth strategy, customizable in master.toml.

I would like to understand it a bit better to be able to help with the documentation 🙏🏻

Regarding to the first point, I would expect the file is compressed or not in all de volume servers in the same way as the file has the same mimetype, so why is compressing the copies and not the actual uploaded one? After a while, some mechanism will compress the uploaded too?

I see the mechanism to grow the number of volumes depends on how many copies you want, right? but how is this useful? Can you point a situation where it is needed to create volumes in advance just in case?

# create this number of logical volumes if no more writable volumes# count_x means how many copies of data.# e.g.:# 000 has only one copy, copy_1# 010 and 001 has two copies, copy_2# 011 has only 3 copies, copy_3[master.volume_growth]copy_1 = 7 # create 1 x 7 = 7 actual volumescopy_2 = 6 # create 2 x 6 = 12 actual volumescopy_3 = 3 # create 3 x 3 = 9 actual volumescopy_other = 1 # create n x 1 = n actual volumes

Sorry for the amount of questions. In general, data storages are like hidden worlds :)

This may be a bug as to why some volume servers did not compress one file while others are. But in general, they are not required to be exactly the same. There are no mechanism to compress either after the data is written.
The write traffic may be high when one volume is full and it needs to create a new volume. Also, having multiple volumes to write increases throughput.

This may be a bug as to why some volume servers did not compress one file while others are. But in general, they are not required to be exactly the same. There are no mechanism to compress either after the data is written.
The write traffic may be high when one volume is full and it needs to create a new volume. Also, having multiple volumes to write increases throughput.

Oh, so they are pre-created automatically to avoid creating them on actual demand improving writes reducing the times. Right?

Could we rise an issue for this potential bug? It would be awesome to fix it 🙂

About the point 2, it's actually really well explained here. Just found this peace of documentation and shared here just in case someone needs it 🙂

Hey hey @chrislusf last ping before closing the issue. Wdyt about this?

1- Could we rise an issue for this potential bug? It would be awesome to fix it 🙂

@achetronic Can you gather additional information so that we can localize the problem with different sizes of dat files?

weed -v 9 fix /data

@kmlebedev Hey, I have uploaded more files and executed this command for all three volume server. The info it throws is

The data should be the same in all the servers, as I only uploaded the same three files on all them
I see some line saying compressed false, for both three (???)

It's quite weird

Seems the problem is here:
https://github.com/seaweedfs/seaweedfs/blob/master/weed/topology/store_replicate.go#L97
When uploading, the file is compressed, and the compression flag is not transmitted further to the replicas.

Hey! @kmlebedev The steps to reproduce this are
curl http://gluster-01.services.internal:9333/dir/assign\?dataCenter\=home\&rack\=office

curl -F<EMAIL_ADDRESS>http://<IP_ADDRESS>:8080/3,21e19922a1

response: {"fid":"5,22ca735d02","url":"<IP_ADDRESS>:8080","publicUrl":"<IP_ADDRESS>:8080","count":1}
curl -F<EMAIL_ADDRESS>http://<IP_ADDRESS>:8080/5,22ca735d02

Regarding to the potential problem you mention, it seems like the opposite, because when I upload a file, it seems that is normal-sized in the node where I upload, but reduced in the rest of the nodes. Does it make sense?

May be this clarify the topic a bit:

You can see the sizes of the volume 5, and moreover when I export the volume just to see some information, you can see the binary is gziped in the volume server 2 and volume server 3 but not in the volume server 1, so is it possible this flag is computed in the server where you upload the data but may be it is not being populated to the replicated ones?

Yeah, I see that during replication, a reversion occurs, what was compressed into the replicas is not compressed, but what is compressed into the replicas is not compressed.
Just amazing.

This explains why volume sizes of files can differ with the same number of files and they are constantly subject to a quick check of volume.chek.disk
https://github.com/seaweedfs/seaweedfs/issues/4140

Well, i still dunno the codebase deeply to help a lot, so question: is it easy to fix? May be in the future I can collaborate better on this project

@kmlebedev kindly ping :)

@kmlebedev kindly ping :)

Yes, I plan to take it to work myself

@chrislusf Hi, Can you assign me this issue

@chrislusf Hi, Can you assign me this issue

@chrislusf Another kind ping 🙏🏼