[Feature Request] /palette [PALETTE NAME] [TARGET]

Would love to have a command to assign the palette I'd like by using macros to make the process simple just like penumbra does it.
Their command is:
Use with /penumbra collection [Collection Type] | [Collection Name] | <Identifier>
》 Valid Collection Types are Base, Ui, Selected, Individual, and all those selectable in Character Groups.
》 Valid Collection Names are None, all collections you have created by their full names, and Delete to remove assignments (not valid for all types).
》 If the type is Individual you need to specify an individual with an identifier of the form:
》》》 <me> or <t> or <mo> or <f> as placeholders for your character, your target, your mouseover or your focus, if they exist.
》》》 p | [Player Name]@<World Name>, if no @ is provided, Any World is used.
》》》 r | [Retainer Name]
》》》 n | [NPC Type] : [NPC Name], where NPC Type can be [M]ount, [C]ompanion, [A]ccessory, [E]vent NPC, or [B]attle NPC.
》》》 o | [NPC Type] : [NPC Name] | [Player Name]@<World Name>.

It'd be incredible to change what palette to use with a macro and combine it with other macros to easily change characters on the fly by the click of a button

This! I really wish this was possible to do in some way since I change my look with help of macros. It's bit struggling to have change this manually all the time.

Adding my support to this! Would also like commands to enable and disable persistence.

+1

Yes, please! Tying glamourer/penumbra designs/collections to macros has been a huge convenience. If both palette and customize followed suite I'd be able to instantly switch between a large number of characters without navigating 2+ UI's.

I'd like to throw my support behind this too, i would love to make my macro's complete as right now only palette is something i cant macro into, sorry i know its extra work on you, and what youve made is already amazing <3


feat: make substrait optional to allow avoiding libgit2

Hide substrait behind a feature.  This will remove the libgit2 dependency in the short term.  In the medium term this won't be needed because datafusion's next release should include substrait 0.29.3 which removes libgit2.  However, we still might want to keep substrait behind a feature just to stick to a general spirit of keeping things lean.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 81.06%. Comparing base (8df64a6) to head (4672313).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2168      +/-   ##
==========================================
+ Coverage   81.02%   81.06%   +0.03%
==========================================
  Files         179      179
  Lines       50933    50783     -150
  Branches    50933    50783     -150
==========================================
- Hits        41271    41166     -105
+ Misses       7277     7241      -36
+ Partials     2385     2376       -9

Flag
Coverage Δ

unittests
81.06% <ø> (+0.03%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

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


How to receive traces from collector? (Collector sends empty body over http)

Hi, I have a sample instrumented app which is using exporter-trace-otlp-http to send to a running collector. My collector is configured to send via otlphttp:
 endpoint: http://localhost:8080
On localhost:8080, I have a simple NodeJS server listening for post requests:
app.post('/v1/traces', (req, res) => {
console.log(req)
const traces = decodeTraceData(req.body) //How? req.body is empty
console.log('Received traces:', traces);
res.sendStatus(200);
});
How does one go about accessing the data received from the collector?
Is it because of gzip / protobuf?
I tried doing this:
PS C:\Users\AT\opentelemetry-proto\opentelemetry\proto> .\protoc.exe --proto_path=. --js_out=import_style=commonjs,binary:. .\collector\trace\v1\trace_service.proto
opentelemetry/proto/trace/v1/trace.proto: File not found.
collector/trace/v1/trace_service.proto:19:1: Import "opentelemetry/proto/trace/v1/trace.proto" was not found or had errors.
collector/trace/v1/trace_service.proto:42:12: "opentelemetry.proto.trace.v1.ResourceSpans" is not defined.

Hi @atadigitup thanks for reaching out. However, it looks like this question is not directly related to the components in this repo. :thinking:
iiuc you're using @opentelmetry/exporter-trace-otlp-http to export to the opentelemetry-collector, which you're then exporting to your custom Node.js App.
Can you verify that your traces arrive at the OTel collector? If they do then the question may be a bit out of scope for this repo.


Question: Patricia compared Zappa Mexico II

Was Patricia compared or tested in EAS tool with Zappa Mexico II engine with Dissident Aggressor settings? For me it was the most aggressive engine last time around
ZappaMexico II - Dissident Aggressor settings
UCI_ShowCurrLine=2
Threads=auto
Enable Null Move=2
Enable History Pruning=2
Enable Singular Extensions=2
Enable Mate Extensions=2
Enable Futility Pruning=2
Aggressive Futility Pruning=2
TB Min Depth=4
Null Move R4 Min Depth=100
Singular Margin=75
Singular Margin PV=50
Eval Passed Pawn Scoring=125
Eval Pawn Scoring=135
Eval Minor Scoring=70
Eval Major Scoring=70
Eval Kingsafety Scoring=500
Internet Lag=0
Contempt=20
Hide Fail Highs=2
Print PV Tips=1

Zappa Mexico 2.zip
Here are the engine files if you don't have one

@Adam-Kulju Or maybe there are instructions on how I can check the aggressiveness of ZappaMexico myself?

Sorry, I had forgotten about this issue.
A good way to check the aggressiveness of Zappa Mexico:
Get 6-7 other engines that are somewhere near the same strength as it, run a gauntlet tournament saving the PGNs somewhere (enough games for Zappa to get about 1000 wins), time control doesn't matter so 10 seconds + 0.1 seconds increment helps that process go quickly
Download Pohl's EAS tool (can be found here: https://www.sp-cc.de/eas-ratinglist.htm), copy the pgn file over too the folder that the EAS tool is in, then run the EAS tool by double clicking on it. That should give you a rating list, and you can check the EAS scores there.
(I can't test Zappa myself because the CCRL link is removed and I don't know where to find the engine anymore.)

Oh wait you sent me Zappa Mexico II? Is there a Linux exe in there somewhere? If so I can test it myself

A good way to check the aggressiveness of Zappa Mexico: Get 6-7 other engines that are somewhere near the same strength as it, run a gauntlet tournament ..

i don't get it : this will only show which engine is strongest, not its aggressiveness .. am i right ?

@Adam-Kulju In the archive there is a Zappa Mexico II x64 file without ext., I think it's for linux

cutechess-cli. The command I use is:
./cutechess-cli -tournament gauntlet -rounds 750 -games 2 -engine cmd="patricia" name="Patricia 3.0" -engine cmd="viri9" name="Viri 9" -engine cmd="sp4" name="Stormphrax 4" -engine cmd="Alexandria4" name="Alex 4" -engine cmd="akimbo0.8" name="Akimbo 0.8" -engine cmd="carp3.0.1" name="Carp 3.0.1" -engine cmd="Altair6" name="Altair 6" -engine cmd="willow4.0" name="Willow 4" -repeat -recover -each tc=10+0.1 proto=uci option.Hash=32 option.Threads=1 -openings file="4moves_noob.epd" format=epd start=94 -srand 4442 -pgnout games.pgn -concurrency 28 -ratinginterval 100

(replace the engines with your own)
I can run the gauntlet tonight or tomorrow, no need to worry.

@Adam-Kulju Are there any test results? :)

I can't seem to run Zappa on my machine; the moment I start it, it prints Couldn't allocate 67108864 bytes for hash table "Transposition Table 24" (Cannot allocate memory). and immediately exits.
So instead, I downloaded all of Zappa's games that it's played on CCRL and ran the EAS tool on it.
Rank  EAS-Score  sacs   shorts  draws  moves  Engine/player
-------------------------------------------------------------------
   1     97845  12.36%  19.51%  17.81%   62   Zappa Mexico II 64-bit
-------------------------------------------------------------------

I really expected more; I understand messing with the settings could definitely make it play more aggressively, but I'm not impressed with this tbh, especially as I looked around online and found claims that it played super aggressively by default too.

Hi,
I've run a fast tournament with Zappa DA including some engines of the same level, according to my list:
  1 MinkoChess 1.3 popcnt JA        1628.0/2632
  2 Elixir 1.0                      1556.5/2632
  3 GnuCheese 1.00                  1515.5/2632
  4 Colossus 2022a                  1467.5/2618
  5 Zappa Mexico II Dissident Aggr  1442.5/2632
  6 Clovis III                      1436.5/2618
  7 Spaghet Pesto 1.0 avx2          1391.5/2618
  8 Lynx 1.5.1                      1324.0/2632
  9 Pawny 1.2 SSE4.2                1294.0/2618
 10 GreKo 2021.06                   1280.0/2632
 11 Leorik 2.3                      1279.0/2618
 12 Protej 0.6.4                    1265.0/2632
 13 K2 0.99                         1178.0/2632
 14 Odonata 0.6.2                   1010.0/2618
 15 Inanis 1.1.0 POPCNT             1010.0/2618
 16 Caissa 1.3 POPCNT-SSE4          922.0/2618

If you'd like a gauntlet, let me know.
Alex

Hi there Alex and thank you! I ran the EAS tool on it and got this result:
Rank  EAS-Score  sacs   shorts  draws  moves  Engine/player
-------------------------------------------------------------------
   1    265286  34.15%  36.70%  09.96%   44   Protej 0.6.4
   2    125455  19.88%  27.79%  16.54%   46   GreKo 2021.06
   3    100313  13.46%  21.41%  16.96%   50   MinkoChess 1.3 popcnt JA
   4     95160  14.23%  15.85%  15.42%   51   Leorik 2.3
   5     89546  14.44%  15.54%  16.25%   53   Odonata 0.6.2
   6     82976  05.82%  30.22%  43.33%   41   Caissa 1.3 POPCNT-SSE4
   7     82349  11.66%  17.93%  17.31%   51   GnuCheese 1.00
   8     80635  09.19%  20.36%  21.72%   48   Zappa Mexico II Dissident Aggressor
   9     77307  11.73%  17.65%  18.83%   52   K2 0.99
  10     76583  10.87%  18.45%  20.86%   51   Colossus 2022a
  11     72619  08.80%  20.42%  26.30%   46   Inanis 1.1.0 POPCNT
  12     63549  08.01%  17.01%  21.02%   53   Pawny 1.2 SSE4.2
  13     62887  11.24%  22.85%  28.34%   49   Clovis III
  14     49874  06.67%  17.88%  26.80%   51   Lynx 1.5.1
  15     45963  07.38%  11.93%  23.68%   54   Spaghet Pesto 1.0 avx2
  16     43929  05.39%  14.20%  25.79%   54   Elixir 1.0
-------------------------------------------------------------------

I don't think Zappa Mexico II has any claim at being the most aggressive engine in the world.


Mismatched C++ files that seems everything are different

Hi,
I was diffing a C++ file with extensive use of macros. The actual difference was just a few more lines added in the outer-most scope, but difft showed as everything in the files are different.

File 1: https://github.com/roastduck/FreeTensor/blob/10a5b8fb8843a0a1b1d66d9f98bbf7b531c193e6/include/stmt.h
File 2: Apply the following patch to File 1:

diff --git a/include/stmt.h b/include/stmt.h
index 182b8eb3..94593dec 100644
--- a/include/stmt.h
+++ b/include/stmt.h
@@ -401,6 +401,23 @@ Stmt _makeAssume(Tcond &&cond, Tbody &&body, const Metadata &metadata = nullptr,
     return a;
 }

+class ReductionNode : public StmtNode {
+  public:
+    SubTree<StmtNode> body_ = ChildOf{this};
+    std::vector<Stmt> children() const override { return {body_}; }
+    void compHash() override;
+    DEFINE_NODE_TRAIT(Reduction);
+};
+typedef Ref<ReductionNode> Reduction;
+#define makeReduction(...) makeNode(Reduction, __VA_ARGS__)
+template <class Tbody>
+Stmt _makeReduction(Tbody &&body, const Metadata &metadata = nullptr,
+                    const ID &id = {}) {
+    Reduction u = Reduction::make();
+    u->body_ = std::forward<Tbody>(body);
+    return u;
+}
+
 /**
  * Evaluate an expression and do nothing else
  *

I was using Difftastic 0.43.1.
Thanks in advance.

Fixed in #472, thanks for the report!


FLW-708 Alert: Staking is inactive

Add alerts for all NominationViewState cases

Codecov Report

Merging #244 (1d84018) into develop (7920849) will increase coverage by 0.00%.
The diff coverage is 32.59%.

@@            Coverage Diff            @@
##           develop     #244    +/-   ##
=========================================
  Coverage    31.43%   31.43%
=========================================
  Files          462      465     +3
  Lines        19656    19801   +145
=========================================
+ Hits          6179     6225    +46
- Misses       13477    13576    +99

Impacted Files
Coverage Δ

.../Common/Migration/NetworkConnectionsMigrator.swift
90.90% <ø> (ø)

...llerAccount/View/ControllerAccountViewLayout.swift
0.00% <0.00%> (ø)

...Account/ViewModel/ControllerAccountViewModel.swift
0.00% <0.00%> (ø)

fearless/Modules/Staking/Model/StakingAlert.swift
0.00% <0.00%> (ø)

...in/StateMachine/StakingStateMachineProtocols.swift
80.00% <ø> (ø)

...irmation/StakingPayoutConfirmationViewLayout.swift
0.00% <0.00%> (ø)

...les/Staking/StakingMain/StakingMainPresenter.swift
39.70% <16.66%> (-0.52%)
:arrow_down:

...ControllerAccount/ControllerAccountPresenter.swift
37.41% <28.57%> (-0.95%)
:arrow_down:

...iewModel/StakingStateViewModelFactory+Alerts.swift
31.48% <31.48%> (ø)

...s/Common/Migration/InconsistentStateMigrator.swift
100.00% <100.00%> (ø)

... and 5 more


geneCloud

Hi,
I'm using maftools v2.4.05 and I am wondering what happened to the 'geneCloud' command. I found it quite useful in previous versions.
Thanks,
Axel

Hi,
Since the function was barely used and added an extra dependacy to the package, I removed it in 2.4.0 :|
But I have hosted it on gist that you can source it and use. You will need wordcloud installed.
> library("wordcloud")
> devtools::source_gist(id = "https://gist.github.com/PoisonAlien/3f8752a89c1d63f64afe55b441621223")
> geneCloud(input = your_maf)

Wonderful! Many thanks.


Fix claim selector based routing for basic auth

Description
We've fixed the claim selector based routing for requests using basic auth.
Previously requests using basic auth have always been routed to the DefaultPolicy
when using the claim selector despite the set cookie because the basic auth
middleware fakes some OIDC claims.
Now the cookie is checked before routing to the DefaultPolicy and therefore
set cookie will also be respected for requests using basic auth.
Related Issue

Unblocks https://github.com/owncloud/ocis/issues/2387

Motivation and Context
Using basic auth for testing the parallel deployment
How Has This Been Tested?

locally

Screenshots (if appropriate):
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Technical debt
[ ] Tests only (no source changes)

Checklist:

[ ] Code changes
[ ] Unit tests added
[ ] Acceptance tests added
[ ] Documentation ticket raised:

CI fails: https://drone.owncloud.com/owncloud/ocis/7852/11/6
=== RUN   TestClaimsSelector
    selector_test.go:162: Expected Policy cookie got
--- FAIL: TestClaimsSelector (0.00s)

needs a unit test adjustment?

:boom: Acceptance test Web-Tests-ocis-smoke-ocis-storage-2 failed. Further test are cancelled...


fix : Speaker TextDrawable when thumnail is null

Fixes #1870
Changes:

Removed thumbnail null check while loading image so that Picasso can handle it by itself.( if thumbnail is null it will show drawable passed in the error() method)

@mariobehling Please merge


Does anyone know how to convert static text into an operable string

just like title

This is not a general forum. For questions not related to these scripts, use Ask Different.


podman ps -a --filter "status=exited"  does not work

Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
I am unable to filter for Stopped or exited container. I can filter for  "status=running" but i am unable to use  "status=exited". The bash Script is used on the host container to start/stop root-less container on system startup or shutdown.
So shutdown is not an issue, i perform:
  podman ps --filter "status=running" --format "{{.ID}} {{.Image}}" | while read CONT_ID CONT_IMG   do      echo "shutdown podmans ${CONT_ID} ${CONT_IMG} "      podman stop ${CONT_ID}   done
But on system-startup i have to do use a workaround like this:
  podman ps -a --format "{{.ID}} {{.Image}} {{.Status}} " | grep kivi | grep Exited | while read CONT_ID CONT_IMG CONT_STATUS   do      echo "starting podmans ${CONT_ID} ${CONT_IMG} "      podman start ${CONT_ID}   done
Steps to reproduce the issue:

podman ps -a --filter "status=exited"  does not filter correctly

Describe the results you received:
I receive no result when filtering for exited container
Describe the results you expected:
I would like to run this:
podman ps --filter "status=exited"  --format "{{.ID}} {{.Image}} {{.Status}} " | grep kivi | grep Exited | while read CONT_ID CONT_IMG CONT_STATUS
Additional information you deem important (e.g. issue happens only occasionally):
Output of podman version:
podman-1.7.0-2.fc31.x86_64

Output of podman info --debug:
debug:
  compiler: gc
  git commit: ""
  go version: go1.13.5
  podman version: 1.7.0
host:
  BuildahVersion: 1.12.0
  CgroupVersion: v2
  Conmon:
    package: conmon-2.0.10-2.fc31.x86_64
    path: /usr/bin/conmon
    version: 'conmon version 2.0.10, commit: 6b526d9888abb86b9e7de7dfdeec0da98ad32ee0'
  Distribution:
    distribution: fedora
    version: "31"
  IDMappings:
    gidmap:
    - container_id: 0
      host_id: 1000
      size: 1
    - container_id: 1
      host_id: 100000
      size: 65536
    uidmap:
    - container_id: 0
      host_id: 1000
      size: 1
    - container_id: 1
      host_id: 100000
      size: 65536
  MemFree:<PHONE_NUMBER>
  MemTotal:<PHONE_NUMBER>4
  OCIRuntime:
    name: crun
    package: crun-0.10.6-1.fc31.x86_64
    path: /usr/bin/crun
    version: |-
      crun version 0.10.6
      spec: 1.0.0
      +SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +YAJL
  SwapFree:<PHONE_NUMBER>8
  SwapTotal:<PHONE_NUMBER>8
  arch: amd64
  cpus: 8
  eventlogger: journald
  hostname: suggs
  kernel: 5.4.15-200.fc31.x86_64
  os: linux
  rootless: true
  slirp4netns:
    Executable: /usr/bin/slirp4netns
    Package: slirp4netns-0.4.0-20.1.dev.gitbbd6f25.fc31.x86_64
    Version: |-
      slirp4netns version 0.4.0-beta.3+dev
      commit: bbd6f25c70d5db2a1cd3bfb0416a8db99a75ed7e
  uptime: 5h 22m 49.45s (Approximately 0.21 days)
registries:
  search:
  - docker.io
  - registry.fedoraproject.org
  - registry.access.redhat.com
  - registry.centos.org
  - quay.io
store:
  ConfigFile: /home/cgroove/.config/containers/storage.conf
  ContainerStore:
    number: 3
  GraphDriverName: overlay
  GraphOptions:
    overlay.mount_program:
      Executable: /usr/bin/fuse-overlayfs
      Package: fuse-overlayfs-0.7.5-2.fc31.x86_64
      Version: |-
        fusermount3 version: 3.6.2
        fuse-overlayfs: version 0.7.5
        FUSE library version 3.6.2
        using FUSE kernel interface version 7.29
  GraphRoot: /home/cgroove/.local/share/containers/storage
  GraphStatus:
    Backing Filesystem: extfs
    Native Overlay Diff: "false"
    Supports d_type: "true"
    Using metacopy: "false"
  ImageStore:
    number: 77
  RunRoot: /run/user/1000
  VolumePath: /home/cgroove/.local/share/containers/storage/volumes

Package info (e.g. output of rpm -q podman or apt list podman):
podman-1.7.0-2.fc31.x86_64

Additional environment details (AWS, VirtualBox, physical, etc.):
It's a Fedora Box.

/kind bug

The filter itself is working, but Podman seems to be retaining the default behavior (show only running containers) even when --filter is passed; Docker does not, and filters all containers, even stopped ones.


"TypeError: Cannot read property 'isDeclarationFile' of undefined" when using typesVersions

Test branch https://github.com/leonard-thieu/DefinitelyTyped/pull/18

When testing the typesVersions feature for @types/jquery, I get errors like:
The 'expect' rule threw an error in '/home/travis/build/leonard-thieu/DefinitelyTyped/types/jquery/ts3.1/JQueryStatic.d.ts':
TypeError: Cannot read property 'isDeclarationFile' of undefined
    at walk (/home/travis/build/leonard-thieu/DefinitelyTyped/node_modules/dtslint/bin/rules/expectRule.js:93:20)
    at applyWithFunction.ctx (/home/travis/build/leonard-thieu/DefinitelyTyped/node_modules/dtslint/bin/rules/expectRule.js:22:62)
    at Rule.AbstractRule.applyWithFunction (/home/travis/build/leonard-thieu/DefinitelyTyped/node_modules/tslint/lib/language/rule/abstractRule.js:39:9)
    at getFailures (/home/travis/build/leonard-thieu/DefinitelyTyped/node_modules/dtslint/bin/rules/expectRule.js:22:25)
    at Rule.applyWithProgram (/home/travis/build/leonard-thieu/DefinitelyTyped/node_modules/dtslint/bin/rules/expectRule.js:24:29)
    at Linter.applyRule (/home/travis/build/leonard-thieu/DefinitelyTyped/node_modules/tslint/lib/linter.js:194:29)
    at /home/travis/build/leonard-thieu/DefinitelyTyped/node_modules/tslint/lib/linter.js:139:85
    at Object.flatMap (/home/travis/build/leonard-thieu/DefinitelyTyped/node_modules/tslint/lib/utils.js:151:29)
    at Linter.getAllFailures (/home/travis/build/leonard-thieu/DefinitelyTyped/node_modules/tslint/lib/linter.js:139:32)
    at Linter.lint (/home/travis/build/leonard-thieu/DefinitelyTyped/node_modules/tslint/lib/linter.js:99:33)

The process I used was:

Create a package.json with the following contents:

{
    "private": true,
    "types": "index",
    "typesVersions": {
        ">=3.1.0-0": {
            "*": [
                "ts3.1/*"
            ]
        }
    }
}

Create a ts3.1 directory and copy relevant files into there.
Remove the header from ts3.1/index.d.ts.
Change baseUrl and typeRoots in ts3.1/tsconfig.json to ../../.

Looks like these errors don't fail the build.


Fix ToC links in examples

rendered
Extra dashes slipped into the ToC links originally, but markdown ignores the positions of punctuation in titles (e.g. parentheses and exclamation marks). It led to the following links not jumping to the correct part of the page😅

lol im not waiting for CI for a readme change :smile:


I'm unable to access the bootstrap CSS in angular 2 please check the bellow code.

Hi Team,
#2810 #2843
I running the angular project , in package.json i written the ""ng2f-bootstrap": "0.0.4",
package.json
"private": true,
"dependencies": {
"@angular/animations": "^4.2.4",
"@angular/common": "^4.2.4",
"@angular/compiler": "^4.2.4",
"@angular/core": "^4.2.4",
"@angular/forms": "^4.2.4",
"@angular/http": "^4.2.4",
"@angular/platform-browser": "^4.2.4",
"@angular/platform-browser-dynamic": "^4.2.4",
"@angular/router": "^4.2.4",
"ng2f-bootstrap": "0.0.4",
"core-js": "^2.4.1",
"rxjs": "^5.4.2",
"zone.js": "^0.8.14"
},
For that Html

here importing the  "ng2f-bootstrap":0.04,
after running the project bootstrap css is not applying only its applying global css.
For that i changed the code like , i copy and pasted the css into global css i,e style.css ,
Then i got error like this
./node_modules/css-loader?{"sourceMap":false,"importLoaders":1}!./node_modules/postcss-loader?{"ident":"postcss"}!./src/styles.css
Module not found: Error: Can't resolve '../fonts/glyphicons-halflings-regular.eot' in 'C:\Users\user\Desktop\angular-programs-john-papa\angular-evvent-app\src'
@ ./node_modules/css-loader?{"sourceMap":false,"importLoaders":1}!./node_modules/postcss-loader?{"ident":"postcss"}!./src/styles.css 6:3886-3938 6:3961-4013
@ ./src/styles.css
@ multi ./src/styles.css

Yes i fixed that one like bellow.
"styles": [
"styles.css",
"../node_modules/ng2f-bootstrap/dist/bootstrap.min.css"
  ],

gg.zip


chore(deps): update terraform terraform-ibm-modules/vpe-module/ibm to v4

This PR contains the following updates:

Package
Type
Update
Change

terraform-ibm-modules/vpe-module/ibm (source)
module
major
3.2.0 -> 4.1.0

Release Notes

terraform-ibm-modules/terraform-ibm-vpe-module (terraform-ibm-modules/vpe-module/ibm)
v4.1.0
Compare Source
Features

reserved IPs are now named using the service name, subnet zone and region where as previously there were always assigned a random name (#437) (32dc9bd)

NOTE: During an upgrade to this version the following update in place changes may be present in terraform plan

### module.vpes.ibm_is_subnet_reserved_ip.ip["vpe-vpc-instance-subnet-c-postgresql-gateway-3-ip"] will be updated in-place
  ~ resource "ibm_is_subnet_reserved_ip" "ip" {
        id              = "0737-f3c78bfa-c8d8-4c45-bead-7e74a738224c/0737-c211fbb2-f63a-447c-a607-7907c0d17e97"
      ~ name            = "boneset-starboard-headsman-bonelet" -> "vpe-vpc-instance-postgresql-3"

### (11 unchanged attributes hidden)
    }

Due to a known IBM terraform provider bug, a subsequent deploy might also show:
Changes to Outputs:
  ~ vpe_ips = {
      ~ vpe-vpc-instance-postgresql           = [
          ~ {
                id            = "0717-58a27750-f8b1-4972-a3ed-f47b29cdf693"
              ~ name          = "baton-numeral-chive-ducking" -> "vpe-vpc-instance-postgresql-1"

### (2 unchanged attributes hidden)
            },
          ~ {
                id            = "0727-55bc587c-5f3e-4295-a41a-60187681af08"
              ~ name          = "circular-saucy-settling-persecute" -> "vpe-vpc-instance-postgresql-2"

### (2 unchanged attributes hidden)
            },
          ~ {
                id            = "0737-c211fbb2-f63a-447c-a607-7907c0d17e97"
              ~ name          = "boneset-starboard-headsman-bonelet" -> "vpe-vpc-instance-postgresql-3"

### (2 unchanged attributes hidden)
            },
        ]

If you run terraform apply -refresh-only after initial apply, it should update terraform state so no further changes show in subsequent plans.
v4.0.1
Compare Source
Bug Fixes

make cloud_services optional (#442) (8c53528)

v4.0.0
Compare Source
Features

Introduce allow dns resolution binding (#429) (a6b7a5f)

BREAKING CHANGES

Some changes in the interface of this module as part of the introduction of DNS resolution binding:

Fixing Internal Inconsistencies: the method of passing VPE details for multi-tenant and single-tenant VPEs was standardized. The cloud_services and cloud_service_by_crn variables now follow the same type and naming conventions.
Removal of vpe_names variable: this variable was replaced with the vpe_name field in the cloud_services and cloud_service_by_crn.

❗While the interface of the module changes with this update, there will be no deletion or update of existing resources when upgrading to this new version, provided coherent parameters are passed as input. As example of update to make in your code, you may find interesting to see the updates made to the default and every-mt-vpe examples bundled in the module.

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

This is a problem with v4.0.0 of the VPE module. The fix is included in v4.0.1. I am hoping that renovate will automatically bump this to v4.0.1 next time it runs. However, 4.0.1 is not a major release... so renovate may need a little manual help updating it.

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

/run pipeline

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


Opt opt the function of ndv

Proposed changes
before：
mysql> select ndv(l_partkey) from lineitem;
--------------
select ndv(l_partkey) from lineitem
--------------

+------------------+
| ndv(`l_partkey`) |
+------------------+
|         20252576 |
+------------------+
1 row in set (1.13 sec)

after:

mysql> select ndv(l_partkey) from lineitem;
--------------
select ndv(l_partkey) from lineitem
--------------

+------------------+
| ndv(`l_partkey`) |
+------------------+
|         20252576 |
+------------------+
1 row in set (0.92 sec)

Problem summary
Describe your changes.
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[ ] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[ ] No
[ ] No Need

Has document been added or modified:

[ ] Yes
[ ] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[ ] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[ ] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 38.3 seconds
load time: 577 seconds
storage size:<PHONE_NUMBER>1 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20221101230547_clickbench_pr_37823.html

it benefits stats collection a lot!


Nit - Add .toString() to Mnemonic

Very minor, but got stuck using Mnemonic.toString().
IDE expect it to exist, or produce a result, but it does not.
Using Mnemonic.internal fixes the issue but it would be a nice to have if .toString() worked as expected.

This has been added now.


Added kwargs to the tokenizer initialization

Fixes #116

@Butanium I'm worried that overloading kwargs for the tokenizer and the model means an error will be thrown when either one of them dosent have the same kwarg? Maybe there should be a tokenizer_args keyword argument?

@JadenFiotto-Kaufman added it, let me know if I should change something

This PR now also fixes https://github.com/ndif-team/nnsight/issues/115


MaxDepth

Hi there,
I'm running into a problem with the MaxDepth annotation of the JMS serializer and the A2Lix translations.
How do I properly set this up?

Hi,
Sorry, not directly related to this bundle, see directly on the side of JMS Serializer.


The library prevents effective minification (by depending on androidx.compose.ui:ui-tooling)

How to reproduce
The library adds a runtime dependency for a library that isn't meant to be placed in a production/published APK
Related docs:

Compose setup, suggestin to put androidx.compose.ui:ui-tooling only in developer builds: https://developer.android.com/jetpack/compose/tooling
Issue link explaining why this dependency shouldn't be in the production apk: https://issuetracker.google.com/issues/190649014#comment6

How to reproduce? build a minified apk
Observed behavior
According to gradle:

to the merged manifest:

to the source code:
https://github.com/patrykandpatrick/vico/blob/7810af91fdb6f327d8a8263b2a9b3a15d16bb28d/vico/compose/build.gradle#L81C25-L81C41
the androidx.compose.ui:ui-tooling is added as a runtime dependency.
Expected behavior
Consumers of the library shouldn't need to remember to exclude an unwanted dependecy. The library, most likely should only depend on the tooling api (which is androidx.compose.ui:ui-tooling-preview artifact
Vico version(s)
Latest stable version
Android version(s)
https://en.wikipedia.org/wiki/Android_version_history
Additional information
No response

Hello! Thanks for the report. This will be resolved in Vico 2.0.0 Alpha 6 and Vico 1.14.0 Alpha 2.

Vico 2.0.0 Alpha 6 is now available.

Due to a mistake, this problem wasn’t addressed in Vico 1.14.0 Alpha 2, but it’s been resolved in Vico 1.14.0 Alpha 3. We apologize for the error.

Vico 1.14.0 is rolling out. Cheers!


AirwaySegmentation No seed found

I have tried saveral CT data and got all the same problem:no seed found.Can u please give me your data?

The FAST test data can be downloaded as instructed here: https://github.com/smistad/FAST/wiki/Test-data
There is a CT Thorax image in this dataset. The airway segmentation test should use this dataset

I used the test data u give me and I  get the result:

Looks like the OpenCL implementation you have installed is not working properly, or you have too little memory. Which OpenCL driver and GPU are you using?

I am not sure what is causing this, from the console text it looks like it runs out of memory. Have you tried the example called airwaySegmentation.exe in the bin folder?

I success when run on GTX1060 with memory 6G. Maybe it caused by memory


cudaMalloc and cudaFree per simulation iteration

Whilst profiling the PedestrianNavigation example I noticed some large gaps in the timeline.

These correspond to calls to cudaMalloc and cudaFree, which are relatively expensive operations.
They appear to be allocating / freeing temporary memory for thrust (cub) to compute a scan (prefix sum) after the generate_pedestrians agent function.
In practice we know the maximum size thread launch so we could modify the code to only perform this allocation / free once - possibly by switching to calling CUB directly or a slightly different thrust API.

This can be attributed to the following scan
//FOR agent AGENT OUTPUT SCATTER AGENTS
    thrust::exclusive_scan(thrust::cuda::par.on(stream), thrust::device_pointer_cast(d_agents_new->_scan_input), thrust::device_pointer_cast(d_agents_new->_scan_input) + navmaps_pre_death_count, thrust::device_pointer_cast(d_agents_new->_position));

After a crude (i.e incomplete) implementation of this for the PedestrianNavigation example, it looks like this might offer significant performance improvement.
I.e Total Simulation Time for PedestrianNavigation iterations/map.xml 100 0 0

Repetition
Thrust (ms)
Cub (ms)

0
36.783199
20.408257

1
36.836864
20.510817

2
36.713154
20.507360

Mean
36.777739
20.475478

Average Speedup: 1.796 (80%)
To achieve this, simulation.xslt needs to be modified:

new global variables for void * d_temp_storage_<agent_name>_<state_list> and size_t temp_storage_bytes_<agent_name>_<agnet_state>

(May or may not need memory per state list due to a lack of concurrency)

in initialise()

initialse values,
run an exlusive scan with nullptrs and the maximum buffer size for the agnet type, to calculate temp_storage_bytes_<agent_name>_<agnet_state>
cudaMalloc temp_storage_bytes_<agent_name>_<agnet_state> bytes into d_temp_storage_<agent_name>_<state_list>

in relevant agent functions

Run the exclusive scan on the actual data

in cleanup

cudaFree(d_temp_storage_<agent_name>_<state_list>)
set variables to nullptr or 0


Outlook email body not shown

Hello, I like to use RainLoop together with ownCloud. Now, when I am sending emails from office with Outlook, In RainLoop the content is not shown properly. Every time, there are used boundaries, the content is missing. Attached en example with base64 encoded content, but it is the same behaviour with quoted-printable and iso charset.

Is there any update to this bug?

@scriptPilot
Could you give me<EMAIL_ADDRESS>an example message (eml file)?

Any update to that bug?

Hello,
I have the very same problem with email from yandex.com and Content-Transfer-Encoding: base64 +
Content-Type: text/html; charset=utf-8. The mail body does not show in RainLoop (but shows in Thunderbird)

Hi,
I'm experiencing the same issue
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----A7C5D46A001B4D3281885CACE507E041"

------A7C5D46A001B4D3281885CACE507E041
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

[...]

The body in rainloop is blank


After upgrading to SPFx v1.10, webpart creation fails

Category

[ ] Question
[ ] Typo
[ ] Additional article idea
[x] Bug

Question
When upgraded SPFx version to v1.10, creation of webpart fails.
Environment details (if applicable)

OS: Windows 10
Framework: Node.js v10.15.3
Browser(s): [e.g. Chrome v79, Safari v22, FireFox v31, IE v11, Edge, Chromium Edge v79]
Tooling: SPFx v1.10.0

After I upgrade from @microsoft/generator-sharepoint from v9 to v10, tried creating a webpart, there were few warnings related to Office-UI-Fabric, and when I hit gulp serve, nothing works.
Also, I have updated gulp and yo with -g command added to latest.

Thanks for your contribution! Sharing is caring.

Quick update:
I just uninstalled the latest version (1.10) and installed 1.9.1, created a web-part, everything is working fine as previously did!!

Please use the command below to install the latest SPFX generator:
npm install @microsoft/generator-sharepoint@latest -g
After update, it will be able to generate the SPFX 1.9.1 solution
Update SharePoint Framework packages

Please use the command below to install the latest SPFX generator:
npm install @microsoft/generator-sharepoint@latest -g
After update, it will be able to generate the SPFX 1.9.1 solution
Update SharePoint Framework packages

I'm not sure whether you understand my issue. I clearly said that I upgraded from 1.9.1 to v1.10 (obviously by running the above command from documentation) by which I faced the issue and later uninstalled the package (v1.10) and specifically installed the v1.9.1, then I was able to create and run the webpart.
After having this long sentence writing, my real intention is to tell that on the same machine, v1.9.1 is working fine where 1.10 was failing.

Can you see what the error was in the first screenshot?

Sorry for the misunderstand, I just test to upgrade to 1.10.0 and the package.json will like:

Now I suggest you could change the dependencies to 1.10.0 for<EMAIL_ADDRESS>and delete node_module folder, then run npm install to see if it works to build.

After upgrading the project, did you delete your node_modules folder, any package lock files, rerun npm install to get the dependencies and try again?
If that didn't work, have you tried creating a new v1.10 project and building it to see if that works? If so, that means there's something wrong with your project that you're upgrading.
Can you also share all globally installed packages? (npm list -g --depth=0)

Actually, I was trying to test v1.10 by creating a new webpart, so as not to disturb my existing applications.
Here are the steps I followed:

I have already v1.9.1 installed on my local desktop (Laptop) and we were developing few webparts for our ongoing development for a reputed company.
When I heard about the recent release, I wanted to give a try to develop our upcoming webparts on v1.10, and probably upgrade the exisiting ones.
So I opened cmd prompt, upgraded the version by typing "npm install -g @microsoft/generator-sharepoint". Nothing I added more lines, just left the cmd to complete.
Then I restarted the machine (Not necessary though), created a new webpart by typing and following the rest in cmd as: yo @microsoft/sharepoint
All I saw were Warnings (as attached in above), and when I hit gulp serve, nothing worked.
Then I uninstalled v1.10 by tying "npm uninstall -g @microsoft/generator-sharepoint" and re-installed by typing as "npm install -g<EMAIL_ADDRESS>then created a sample webpart, on hit of gulp serve, it's working fine.

PS: Please confirm me if v1.10 is working for you, so that I can again test on my personal computer.

@sallaadithya said:

Please confirm me if v1.10 is working for you, so that I can again test on my personal computer.

Yup... v1.10 works great for me... no issues.

I am having exact same issue with SPFx v1.10 when creating new web part.
I had SPFx v1.9.1 it was working fine until I updated to v1.10

@sallaadithya said:

Please confirm me if v1.10 is working for you, so that I can again test on my personal computer.

Yup... v1.10 works great for me... no issues.

This is working for me on my personal laptop.
Steps I followed:
Step 0: Already I have 1.9.1 installed on my computer
Step 1: Open cmd, Uninstalled by typing "npm uninstall -g @microsoft/generator-sharepoint"
Step 2: Install the latest version by typing "npm install -g @microsoft/generator-sharepoint"
Step 3: Created the default webpart HelloWorld, on hit of gulp serve, ran with out issues.
But not sure, when not following the step 1, gives an error.

I am having exact same issue with SPFx v1.10 when creating new web part.
I had SPFx v1.9.1 it was working fine until I updated to v1.10

Hello,
I recommend you to please uninstall the npm package first, then install later (No need of restarting computer required).
Hope it can fix the issue.

I am having exact same issue with SPFx v1.10 when creating new web part.
I had SPFx v1.9.1 it was working fine until I updated to v1.10

Hello,
I recommend you to please uninstall the npm package first, then install later (No need of restarting computer required).
Hope it can fix the issue.

Hi there,
Thanks for your suggestion but can you specify the node version that you are using for v1.10
I ma using node 8.0 which compatible to spfx 1.9.1

Hi there,
Thanks for your suggestion but can you specify the node version that you are using for v1.10
I ma using node 8.0 which compatible to spfx 1.9.1

Node version: v10.15.3
npm version: 6.4.1

Node version: v10.15.3
npm version: 6.4.1

Thanks, got it fixed

@sallaadithya said:

But not sure, when not following the step 1, gives an error.

Which is what? What's the error you get this time?

@sallaadithya said:

But not sure, when not following the step 1, gives an error.

Which is what? What's the error you get this time?

I haven't got any error this time.
But if I skip the step 1, ie., directly updating the package by running "npm install -g @microsoft/generator-sharepoint", and creating a webpart, gives me warnings as stated in my 1st comment, and hit on gulp serve nothing works.

The upgrade instructions don't specify you have to uninstall anything... just reinstall the latest and you're good. But this shouldn't matter...
warnings !== errors... you can ignore those.

I'll close this then as you're not having an issue and have resolved your issue.


Allow to trigger the weekly tests manually

Description:
This small PR allows to trigger the weekly tests Action manually. This is to avoid having to wait a few days to correct the associated tag when one fixes a problem in the code.
Error(s) fixed:
Checklists:

[ ] New code includes dedicated tests.
[ ] New code has been linted.
[x] New code follows the project's style.
[x] New code is compatible with the 3-Clause BSD license.
[x] CHANGELOG has been updated.
[ ] AUTHORS has been updated.
[ ] Copyright years in module docstrings have been updated.

@regDaniel : small tweak to the action, so that we can correct the status flags easily/directly.


Fix JK boundary

Need to update the natural earth country vectors that are being used

Fixed using custom dataset derived from PC boundaries.


Pluggable strategy for file transfering and scheduling

name: Feature Request
about: Suggest your excellent idea for this project

Why you need it?
supernode basically acts on two aspects:

playing a centralized coordinator. it records the data that each peer is doing and instructs its clients to choose peers.
caching the initial pieces of data and playing the role of seed node.

It brings benefits if we can make these two roles separately via pluggable implementations:

It helps the system to evolve with little frictions. we can develop a scheduling implementation v2 while preserve the quality of v1.
It makes the whole system more flexible, as a result, more adoption.
Similarly, transition would be much easier when there is already a system doing distribution.

How it could be?
The situation now is. dfget does file transfering without ordering, as a result, dfdaemon can not serve the file unless the whole file is ready. That's to say, the dfdaemon is not progressive while dfget is still downloading the file.
I would propose that we can have a download strategy like:

whether it supports ordering or not.
how it can find its peers.
an some more.

Similarly, the scheduling strategy, we can based on cpu usage/network bandwidth, etc.
The idea is still pretty rough, though.
Other related information

related issue: #437 #356


Fix issue of ScaledJob scaling and introduce MultiScalersOption

This PR fix issue of multi scalers on Scaled Job. And introduce a new option.
The current login assume only one scaler is active and available.
The most of the cases, it is ok for that. That is why we don't get any issues about it.
However @zroubalik  pointed out this issue, I come up with the fix and do some refactoring to make it clear.
I'm not writing documentation yet, before that, I'd like to confirm this logic if fine for you guys.
Once It looks, ok, I'll go ahead full testing and write the documentation and make this PR as not draft.
Spec
Introduce a new option MultipleScalersOption on ScaledJob.
apiVersion: keda.sh/v1alpha1
kind: ScaledJob
metadata:
  name: {scaled-job-name}
spec:
  jobTargetRef:
         :
  scalingStrategy:
    strategy: "custom"                        # Optional. Default: default. Which Scaling Strategy to use.
    customScalingQueueLengthDeduction: 1      # Optional. A parameter to optimize custom ScalingStrategy.
    customScalingRunningJobPercentage: "0.5"  # Optional. A parameter to optimize custom ScalingStrategy.
    pendingPodConditions:                     # Optional. A parameter to calculate pending job count per the specified pod conditions
      - "Ready"
      - "PodScheduled"
      - "AnyOtherCustomPodCondition"
    MultipleScalersOption: "max" # Optional. Default: max. If multiple scaler is exists, how to calculate the queueLength and maxValue (that is the expected number of pods that will be created)
  triggers:

Available Options
The option is how keda calculate queueLength and maxValue that is the number of pod will be created.
max : default, pick a scaler that has the max number of queueLength.
min: pick a scaler that has the min number of queueLength.
avg: sum up all the active scalers metrics and devided by the number of the active scalers.
sum: sum up all the active scalers metrics
Checklist

[ ] Commits are signed with Developer Certificate of Origin (DCO - learn more)
[ ] Tests have been added
[ ] A PR is opened to update our Helm chart (repo) (if applicable, ie. when deployment manifests are modified)
[ ] A PR is opened to update the documentation on (repo) (if applicable)
[ ] Changelog has been updated

Fixes #

Remove this because of messing up the commit.


data 404

The data airrim-map link is 404, could you please upload it again?

I also found this problem. Have you found the dataset?


[5.8] Add the dd method to the query builder

Adds the dd helper to the query builder so that you can debug queries inline.
Post::first()->comments()->dd();
Post::where('a', 'b')->where('g', 'd')->dd();

Will show you the query and bindings.

The benefit of this is you can put the die dump at any point in the query build process (similar to how you can in a Collection chain).
Normally you would have to assign it to a temporary variable (which isn't necessarily easy to do, depending on how complex your query is), and then run the toSql() and getBindings() methods on the temp variable.
This allows you to not have to change your code, just put ->dd() at any point in the query building process.

I would just add it to the underlying query builder class instead of making a trait.

I'll be honest, I did that originally, then thought I had to add it to all of the individual relationships. When it turned out I didn't have to do that, I forgot to revert my changes. I'll make that change now.

Done.

I think we should name the method dump() to be consistent with similar methods in Laravel and Dusk.

On Collections, the method is also called dd. Having dd is consistent with Laravel

On Collections, the method is also called dd. Having dd is consistent with Laravel

A dd is the same as a dump, except that it kills the page as well.

Collection contains both methods, but TestResponse and Dusk's Browser only have a dump() method that calls dd() internally. Maybe we should add both dump() and dd() to the query builder.

Should this be on the Eloquent builder or the query builder?

Please move the method to the query builder. This way, it is also available on the Eloquent builder.

I'll move it to the Query builder so that both have it.
@taylorotwell Any thoughts on dump vs dd? Should I change it, keep it, or provide both?

Ok, thats changed. Now the Query Builder and Eloquent have both debug methods on them.


key:value error ?

Using eframe_template as a basis. Add
catppuccin-egui = { version = "5.2", default-features = false, features = ["egui28"] }
to cargo.toml.
2024-08-14T01:26:07.450462Z ERROR Flycheck failed to run the following command: CommandHandle { program: "/home/rob/.cargo/bin/cargo", arguments: ["check", "--workspace", "--message-format=json-diagnostic-rendered-ansi", "--manifest-path", "/home/rob/Github/eframe_template/Cargo.toml", "--keep-going", "--all-targets"], current_dir: Some("/home/rob/Github/eframe_template") }, error=Cargo watcher failed, the command produced no valid metadata (exit code: ExitStatus(unix_wait_status(25856))):
   Compiling catppuccin-egui v5.2.0
error: unsupported output in build script of `catppuccin-egui v5.2.0`: `cargo::rerun-if-changed=src/themes.rs.tera`
Found a `cargo::key=value` build directive which is reserved for future use.
Either change the directive to `cargo:key=value` syntax (note the single `:`) or upgrade your version of Rust.
See https://doc.rust-lang.org/cargo/reference/build-scripts.html#outputs-of-the-build-script for more information about build script outputs.

Hi, what version of Rust are you building with? Rust 1.77 or later is required for the double colon syntax.


Document is not defined

Example URL(s)
localhost
Actual Behavior
Can’t start the cloudflare worker on local machine: getting Uncaught ReferenceError: document is not defined.
I’m developing cloudflare worker which will be interacting with Azure Tables SDK:
https://learn.microsoft.com/en-us/javascript/api/overview/azure/data-tables-readme?view=azure-node-latest
I’m using honojs and typescript. It's definately has nothing to do with honojs.
Tried the same library on vercel - and everything is working.
In order to connect to Azure Cosmos DB Table API I need to create table client:
const tableClient = TableClient.fromConnectionString(this.db_connection_string, this.db_tabel_name);
After adding this code, cloudflare worker can’t start on a local machine after calling ‘npm run dev’ and throws the error:
[ERROR] service core:user:electro-backend: Uncaught ReferenceError: document is not defined

What’s happening here?
Appreciate the help.
Expected Behavior
No errors
Additional information
No response

Howdy @Bobetti, this isn't exactly a support forum (more a space for feedback on our docs).
Your best bet might be reaching out in the Cloudflare Discord.


Configuration of oauth to work with cross-domain Rails API

Hello, I have tried to implement oauth flow with satellizer and rails-api, which I host on a different domain than my angular app, with facebook oauth provider. Problem is, I can't figure out which options for the $authProvider.facebook do what, specifically url and redirectUri. If I host my API at http://localhost:8081, facebook oauth endpoint is at /auth/facebook, which is handled by omniauth-facebook gem, and callback is at /auth/facebook/callback, how should I setup my $authProvider? Am I thinking and trying to implement it in the correct oauth flow way (the implicit grant, as I understand)?
Several things I have tried were setting redirectUri: 'http://localhost:8081/auth/facebook', which worked and I got the data with email and name from facebook successfully, but didn't understand how would I send the jwt token back to the client from popup window. I have analyzed https://github.com/sahat/satellizer/wiki/Login-with-OAuth-2.0, but now to me appears that I can't be at step 9, since popup window has not been closed yet, so there must be a flaw in my flow.
So another question would be could you elaborate what is happening, both in client and server side, at each oauth step, what options from configuration are used, what params should be sent and received. I understand that is more of a server side issue since I don't know what I'm doing and everything from my satellizer app seems to work, but I believe this is more of configuration problem or the way I understand this oauth flow, that satellizer uses. I could contribute to the server side examples with ruby on rails, if I got everything to work.

That's a lot of questions in one issue. Satellizer was designed, by default, to work with explicit grant flow. That means you still need a server. However, your redirectUri should point to the same URL as your Angular app and not /auth/facebook/callback. Which is why all default redirectURIs are set to window.location.origin. Satellizer will grab the ?code= value and close the popup automatically. Once it has code it will send it to your server at $authProvider.facebook.url which defaults to /auth/facebook. From there on I don't know what Omniauth expects as I usually just implement it myself if you look at other server examples.
Sending JWT is handled by the server. You have to implement that function yourself using one of the JWT libraries for Ruby. Once your server gets the code, you exchange it for access token, fetch profile info, save it to database and then create a new JWT token using your custom function and send it back to the client as JSON: { token: "my json web token" }.
Note: The key token must match $authProvider.tokenName which defaults to token, but you can call it access_token or whatever you want just as long as Rails backend and Satellizer agree on the same naming.
If you have any more specific questions about my explanation please feel free to ask. Look at Python or Node.js examples to see how it is implemented. For Satellizer + CORS in action check out this repo: https://github.com/sahat/instagram-hackhands

It appears that I was able to get it work. Issue was that flow that satellizer uses is quite similar to both implicit and explicit (Authorization) flows, but not quite exactly. So I did need to roll my own server side oauth flow, since omniauth gems for rails handle only exact Authorization flow (as far as I know) with requests and redirects, so trying to access routes while having omniauth rack middlewares in the stack always broke something. I implemented it by manually making requests to facebook and google api endpoints as in examples for python, but it looks ugly so far. I'll let you know when I'll be ready to share my examples.

Using the manual approach was, and still is, the best choice for Satellizer if the goal is to cover a wide range of languages and frameworks. I was even planning to add Rust to the list of examples but at the time there was not even a JWT library for Rust, let alone something as powerful as Omniauth.
I am going to close this issue. If you would like to contribute a Rails example that would be great.
However, one problem I had with Rails when I was evaluating it - there seemed to be no way to change the public directory path. I would like to point the public directory to ../client/ in order to avoid duplicating Angular.js client-side app multiple times for each server-side example.

Any chance to see an example with rails in the repo? (the ruby looks really empty ^^')

Coming soon!


line-by-line comments

As an AI automatic labeling tool, can you add complete labeling content to your own code?
Also, when selecting code comments, is it possible to select line-by-line comments instead of adding them before code snippets #

Sometimes it has an extra ">" symbol。

Sometimes it's missing comment symbols

Missing parameters


Token program needs a Burn instruction

Sometimes users want to burn some tokens.  Let's add the token program equivalent of 1nc1nerator11111111111111111111111111111111

@mvines I see a few options here:

Re-use the 1nc1nerator11111111111111111111111111111111 account but only use it as a place holder in the Transfer instruction. The Token program doesn't actually modify that account but identifies it by key and "burns" the tokens
Same as above using the Transfer instruction but use a different key (don't re-use 1nc1nerator11111111111111111111111111111111
Create a Burn instruction that burns tokens

I'm planning on doing the first, any objections?

Sorry for the delayed reply, I sorta feel like an explicit Burn instruction would be better.   Reusing 1nc1nerator11111111111111111111111111111111 feels a little too sneaky to me


How to change the request header?

I want to change the user-agent in the request header as some reason.
Anyone had did that?

https://github.com/assaf/zombie/blob/master/test/browser_object_test.js#L319


Newer Android

No example here for newer Android only. What about if you are not using AppCompat?

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

ID: 26c91d0c-d1e0-363c-7998-5fbc83273352
Version Independent ID: 76ac3644-f5ea-7938-b1df-c54d205f8bff
Content: Toolbar Compatibility - Xamarin
Content Source: docs/android/user-interface/controls/tool-bar/toolbar-compatibility.md
Product: xamarin
Technology: xamarin-android
GitHub Login: @davidortinau
Microsoft Alias: daortin

Thanks for submitting an issue and we apologize for the delayed response. The requested updates haven't been made since the creation of the issue, and the timeline for resolution may vary based on resourcing, so the issue is being moved to an internal repo to better track it.


docs(compiler): add doc + examples for i18n explicit ID option

:+1:

I was touching up the examples and prose when I discovered that this depends upon an Angular 4.x feature. We do not have a way to handle those as I write. We'll figure it out.
Meanwhile, I've incorporated your head start in PR #3074 which closes this one.
Thanks!


Updates yarn command

Hi!
Tiny change to the readme. Running it as is results in:
$ yarn install webpack-watched-glob-entries-plugin -D
yarn install v1.3.2
error `install` has been replaced with `add` to add new dependencies. Run "yarn add webpack-watched-glob-entries-plugin --dev" instead.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

Thank you for your work!

Thanks!


Update octodns repo url

Description
Updates the  octodns repo url now that it's been moved to its own org.
Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] I have read the CONTRIBUTING document.
[ ] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[ ] All new and existing tests passed.

Hm. This is required but isn't running anywhere.

Does this setting have to be checked?

I had removed the on.pull_requestfrom the workflow.
To make the linter run I did:
git fetch origin refs/pull/43/head
git checkout -b pr43 FETCH_HEAD
git push origin pr43

Thanks again for this @xt0rted !


Matterport Evaluation Error

Hello, when I evaluate on the Matterport Dataset, there is an error raised like:
Traceback (most recent call last):   File "run/evaluate_modify.py", line 409, in <module>     main()   File "run/evaluate_modify.py", line 138, in main     main_worker(args.test_gpu, args.ngpus_per_node, args)   File "run/evaluate_modify.py", line 234, in main_worker     evaluate(model, val_loader, dataset_name)   File "run/evaluate_modify.py", line 403, in evaluate     accumu_iou = metric.evaluate(store_logit.numpy(),   File "/home/qbw/research/multi-modal/openscene/util/metric.py", line 64, in evaluate     confusion = confusion_matrix(pred_ids, gt_ids, N_CLASSES)   File "/home/qbw/research/multi-modal/openscene/util/metric.py", line 23, in confusion_matrix     return np.bincount( ValueError: cannot reshape array of size 442 into shape (21,21)
I run np.unique(gt_ids) and find that 21 in gt_ids.
np.unique(gt_ids)
array([ 0,  1,  2,  3,  4,  5,  6,  7,  8,  9, 10, 11, 12, 13, 14, 15, 16,
17, 18, 19, 20, 21])
This way, when computing confusion_matrix,pred_ids[idxs] * num_classes + gt_ids[idxs] will be in range [0,441]. So the shape is 442, can't reshape.
Do you know the inner reason? Thanks for reply!

I also find that, in scannet, the gt_ids:
'(Pdb) np.unique(gt_ids)
array([  0,   1,   2,   3,   4,   5,   6,   7,   8,   9,  10,  11,  12,
13,  14,  15,  16,  17,  18,  19, 255])'
The additonal 'unlabelled' class is set to 255. But in matterport, not set to 255.
Probably, this lead to the above question?

Oh, I think I've found the reason. When vis_gt, the label==255 will be set to len(labelset)-1. I think this will destroy the confusion_matrix computation. It's really embarrasing. Sorry for the interrupt!


Create new Substreams sinks documentation

Create new page and content for Substreams sinks including links to resources, code snippets, explanations, and guidance.

I'm beginning this now. I'll start by replacing the current content with the outline you sent.

New outline proposed in Slack.
Introduction
In this paragraph, I would like that when the reader reads this, he gets out with the feeling that he as full freedom to "sink" Substreams to anything they want. A sink could even be to send message to Slack directly. So, database is not broad enough, sink is more than that. Let's have the user dream here about the possibilities.
Needs to be re-written to show all the possibilities people how people could have sinks. To database, to file format, custom processing, Slack message, name it.
The StreamingFasst methodology of development referes to databases as “sinks.”
I don't like the wording of The StreamingFasst methodology here, feels non-casual.
Basics
Actual content re-written to not be database centric
General Requirements
General considerations that sink accepts a particular module’s output, each sink defines it’s own set of requirements around that. Some accepts a single type (Postgres, Mongo), some others accepts multiple output types (sink-files).
Existing Sinks
Call to actions to other articles about existing Sink articles
Community Sink
Build your own Sink
Describe what users can do if a sink for there “preferred” tool does not exist
Derived way to achieve same results (for example sink to files than ingest in BigQuery)
Quick overview of how one can built one from scratch (use substreams-sink library and use a simple one as a template)

Yep go ahead, reach out to me for any details you would like to have to write the content

Here is the first paragraph. Please let me know if this is acceptable.
The data captured from a blockchain with Substreams can be routed to multiple types of sinks. A sink is an end container to house the data acquired. Examples are a database, Slack channel, or flat file storage. Sinks have a wide range of types and Substreams data can be routed anywhere a developer can imagine.
StreamingFast provides a few examples, libraries, and tools to assist Substreams developers with routing blockchain data to sinks.

Here is database-less content for the second section as requested.
Data captured and processed by Substreams can be stored in many different ways through sinks. A Substreams developer’s imagination is really the only limitation. Immediate and typical storage types could be a database or flat files however Substreams data can be piped into other desired locations required by a new or existing application or architecture.
An important design aspect of Substreams is the deciiosn to rely on Google Protocol Buffers, or protobufs, for data packaging and transmission. Protobufs provide a data-centric, technology stack and languages agnostic approach to working with data that is passed from one application to another. The application-agnostic capabilities of protobufs give developers the opportunity to package and route data captured by Substreams to other sources, including sinks.
One of the critical steps involved is the creation of a protobuf that forms data to meet the requirements of a sink. The protobuf is populated with blockchain data captured in a Substreams module and then used as output. Existing sink solutions, such as PostgreSQL, provided by StreamingFast, demonstrate this functionality. It’s important to note that databases are merely one type of sink.
The consuming application, or code, can read protobuf-based data being sent out of Substreams. Protobufs are flexible and the expectations of the consuming application can be matched closely with mindful data design. Substreams will send the data through a map module using a protobuf defined by the developer. The data is then consumed by another application that will route the data to the desired location, or sink.
An understanding of basic Substreams fundamentals is suggested before continuing. Learn more about modules basics in the Substreams documentation at the following link.
https://substreams.streamingfast.io/concept-and-fundamentals/modules

Build your own Sink
"Describe what users can do if a sink for there “preferred” tool does not exist"
Here is content for review for this piece.
StreamingFast provides tools allowing developers to route blockchain data to a few different types of data storage sinks, or means of ingestion. The types of sinks with tools provided by StreamingFast aren’t the only options for Substreams developers. Existing applications, databases, and other tools can be fed by blockchain data captured and output by Substreams.
Developers can examine the StreamingFast sink tools to see examples of how protobuf-based data from Substreams can be used with other approaches. One example could be a database, such as Oracle, that doesn’t currently have tools in place. As mentioned, databases are only one example of where Substreams data can be routed. Developers should be able to review the PostgreSQL tool and its codebase to begin to understand how to construct their own data-sinking solution.
Reiterating from above, protobufs are designed by the developer. The protobufs are used to transfer data out of Substreams to the data sink. Protobufs aren’t tied to any particular technology stack or language, enabling developers to capture, further process, use and store the Substreams data in a myriad of different capacities.
Through careful design of the Substreams manifest, modules, and protobufs developers can craft their output data in many ways. One option, as seen in the PostgreSQL example is through a single output protobuf. The flexibility of Substreams design however allows for other strategies, including multiple protobufs and modules. Developers need to examine and account for the format and any requirements of the end target they want their data routed. The specifics of how data is ingested by the targeted sink will determine the design of the output from Substreams.
"Derived way to achieve same results (for example sink to files than ingest in BigQuery)" -- I'll need further input on this if it's not been addressed in the content provided above.
"Quick overview of how one can built one from scratch (use substreams-sink library and use a simple one as a template)" -- I'll begin working on this next.

Community Sink -- I'm not sure what this is. Can you provide a link or additional information, please?

There is none today, but here it would be maybe a list of some sink maintained outside of StreamingFast team. For now, let's put a call to actions, something in the vein of. "We value external contributions for Substreams Sink (bla bla). You have created a Sink, reach to us so we can add it here".
Something in those lines, better written.

The rest seems pretty good, let's turn that into proper markdown files.

Build your own Sink

Good starting point, would like to see links to existing implementation. We also created a library substreams-sink to build sink most easily.
Later, we could think about you creating an easy one (maybe invoking a bash script each time some data is received), that way we could give more detailed instructions about how creating a sink.

Ok, thank you for the input. This is helpful!
I'll work on these changes. Thank you.

I updated the markdown file, committed the changes, and pushed to this branch for review.


Why was this unit test removed?

https://github.com/couchbase/couchbase-lite-android/commit/2ed09856d1d14b9d7a82cf530bd5e834bb825197
The "latency" batcher tests were removed from the test suite.  I'm curious as to what they were testing and why they were removed.  Could someone answer that for me?

@tleyden can you answer for @borrden 's question?

@borrrden well, you looked at the tests and said they didn't make any sense.  That's basically the reason I removed them -- they didn't make any sense.
I added those based on some requirements handed down to me, without fully understanding them, and then later when they started failing and I tried to understand them, they made no sense to me.  I didn't get what they were trying to assert.
I'd suggest removing them on the .net side as well, unless you can make a strong case for their value.


Update travis-ci settings

Remove IRC notifications (nobody lurks in IRC anymore, so this isn't useful)
Unset _JAVA_OPTIONS to restore default Java options, so plugins don't
run out of memory and cause the container to get killed
Remove forking for unit tests; the container doesn't have a lot of CPU
to fork anyway, and removing this helps with excessive memory utilization

I'm not sure this will get Travis happy again... this PR is an attempt to see what happens.


test: Add the endpoint value validation in the live upgrade test for engine and manager

For example in https://github.com/longhorn/longhorn-engine/pull/481/commits/194b09bf445a8c44751ad2a077137db96ff20d17#diff-6796a5e78e6631639f4d8dfb4584929bR53
And
https://github.com/longhorn/longhorn-tests/pull/300/commits/048b042fc9cd7e69c0a74ed74af24f0a2aaf770e#diff-99c7805e5fa15cec781eb48f5a6c2587R293
We should know exactly what's the endpoint is, not just not empty.

https://github.com/longhorn/longhorn-tests/pull/300/commits/1261a24fd0e25fbd74db03e77f065ce72ac40d7e#diff-99c7805e5fa15cec781eb48f5a6c2587R26
Better comment in MiB.

Done


Deployment question

Hi there (new to AppSync)
I'm getting an error when I deploy for the code build run job for the resolver lamda:
[Container] 2023/06/15 10:22:53 Phase context status code: COMMAND_EXECUTION_ERROR Message: Error while executing command: wget $GRAPHQL_SCHEMA_LOCATION. Reason: exit status 1.
A few questions:

I'm guessing this is because during the deploy config I didn't supply GraphQL Schema Location etc?
Where do I create this schema and where should it be placed in order to reference? Do I need to host my own graphQL endpoint and paste a URL here?

Great repo if I can get this working!
Many thanks

Hi Ben - Thanks for trying out this solution. You will need to provide the following parameters during stack creation:
GraphQL schema location - You can use the sample provided (https://raw.githubusercontent.com/aws-quickstart/quickstart-salesforce-connect-appsync-rds-postgresql/main/samples/postgres-schema.graphql)
GraphQL schema name - If using sample: postgres-schema.graphql)
RDS schema location - You can use the sample provided (https://raw.githubusercontent.com/aws-quickstart/quickstart-salesforce-connect-appsync-rds-postgresql/main/samples/postgres-ddl.sql)
RDS schema name - If using sample: postgres-ddl.sql
Try it out and let me know if you encounter any other issues. Thanks!


Some PNG images won't be shown

Are you using the latest version of jsPDF?
Yes
Have you tried using jspdf.debug.js?
yes
Hello,
some png images I want to add to the doc won't be shown. Regarding jpeg images jsPDF seems to have no problems. Are there some requirements to png images to show them correctly?
Thanks

Checked it again. They should be all shown correct. If you have some files, which have issues then please provide them to check why they fail.

No reaction. Closing. If you supply the requested files/code, then we can reopen this.


cm: Silence invalid bevel warnings.

ioq3 has it as a debug print. ET:Legacy has it commented it out all together. It seems this check doesn't apply anymore.

ioq3: https://github.com/ioquake/ioq3/blob/main/code/qcommon/cm_patch.c#L966
et:l: https://github.com/etlegacy/etlegacy/blob/master/src/qcommon/cm_patch.c#L1175

Fixes https://github.com/Unvanquished/Unvanquished/issues/2109

What do you mean by “It seems this check doesn't apply anymore.” ?
I'm OK to silent this (or turn it into a Debug), but is one even starting to understand what that code does and what this warning means?

I found this in ET:Legacy source:
https://github.com/etlegacy/etlegacy/blob/31027643ce9e277c0bf1d01fcad91d3a34528ee8/src/qcommon/cm_patch.c#L1009-L1010
Which is a copy of Wolfenstein: Enemy Territory code dumped straight from id Software:
https://github.com/id-Software/Enemy-Territory/blob/40342a9e3690cb5b627a433d4d5cbf30e3c57698/src/qcommon/cm_patch.c#L1009-L1010
	// TTimo: any map load spams with this error .. don't print it anymore
	//Com_DPrintf("WARNING: CM_AddFacetBevels... invalid bevel\n");

This comment was later edited in etlegacy but the code was kept commented out: https://github.com/etlegacy/etlegacy/commit/80775baa761636e181f00f759a4b044d67d5ac6a#diff-002c6feeae36bab08549142881a3f8d2ca39ab0bfc502308634eb555c49af302L1144
The one having wrote that comment (TTimo) was working for id Software at the time. So it looks like even id Software and Splash Damage didn't care about releasing a game with this not being fixed and this comment disabled.
For some unknown reason the warning was not commented in the first commit of this repository:
https://github.com/DaemonEngine/Daemon/commit/eb73a11506d0cf83cdcf26aa7cc2e26c1f40b5bf#diff-13fc1151a10ff6ae203b70a3e3c7a9589a50c6b62e518f33abeb6c801b6275c1R1013-R1014
So, I don't mind turning it into a debug, but why it is surfacing now?

For more archaeology, XreaL imported Quake 3 code with the warning being active (without modifying it after that):
https://sourceforge.net/p/xreal/svn/298/tree/trunk/xreal/code/qcommon/cm_patch.c#l942
While  ET-XreaL imported Wolf:ET code with the warning being inactive (without modifying it after that):
https://sourceforge.net/p/xreal/ET-XreaL/ci/058289f3c9b016c331e1c364c128ecd1a11ad311/tree/src/qcommon/cm_patch.c#l1010
So since this code was active in Dæmon's first commit:
https://github.com/DaemonEngine/Daemon/blob/eb73a11506d0cf83cdcf26aa7cc2e26c1f40b5bf/src/engine/qcommon/cm_patch.c#L1013
I don't know what happened. Either OpenWolf wasn't based on ET-XreaL, either OpenWolf re-enabled this warning. Who knows?

Perhaps changes to q3map2 now lead to this error happening all the time. In any case, the warning is very spammy and there is no reason to print it.


On the kf/gallium branch I get the following lldb linker error for Cxx.jl

This is on OS X - the llvm build looked fine, any pointers ?
INFO: Building Cxx
Tuning for julia installation at: /Users/michaelfrancis/src/julia/usr/bin
CC /Users/michaelfrancis/.julia/v0.4/Cxx/deps/build/bootstrap.o
LINK /Users/michaelfrancis/.julia/v0.4/Cxx/deps/usr/lib/libcxxffi.dylib
ld: library not found for -llldbPluginObjCLanguage
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [usr/lib/libcxxffi.dylib] Error 1

You need to comment out/remove that line and the next three (up to ExpressionParserClang) for now because the LLDB version in the current kf/gallium branch is behind the top-of-trunk used by Cxx.

Thanks it also needs the addition of -lcurses on line 53 for Darwin to link

I hit the same issue, and after the changes from @ihnorton and @mdcfrancis it built without error.

Had this problem as well and the fix worked for me.

Rebased everything, so the new Cxx version should work just fine.


Govee lightstrip H6199 not responding in Homekit

Hi,
I updated the Govee plugin to v7.7.0 and my lightstrip is showing as not reposning in the homekit app, while being online in both Govee and Hombridge UI.
I run freshly installed Homebridge BC8F on Raspbian GNU/Linux Bullseye (11) with Node.js  v18.12.1
My device details:
Govee lightstrip, model H6199
any troubleshooting ideas out there?
thanks

Can you show logs from the plugin initialising? Basically from “restarting” to the “plugin setup complete” line

Hello there,
let me know if you were able to find it.
770.txt

Okay this looks okay.
Next can you show logs that appear when trying to control the device from the home app?

I do see status change in the terminal of homebridge when i cotnroll the light strip with Govee app.
But theres no action I can do with Home app, although it is visible in the home app it is not responding.

yes but when you control from the home app, logs will appear in the homebridge log detailing why it failed, this is what i am hoping to see

when i installed the previous version of the govee plugin yesterday, it changed my mode to color in Govee native app. I noticed the Colours do not sync with the video, so I changed the mode to Video In Govee app. It might be that the problem started there and not with the update of the plug in. Not sure.

yes but when you control from the home app, logs will appear in the homebridge log detailing why it failed, this is what i am hoping to see

I literally cannot control it in the home app at all and that is the problem . Since it is not responding I dont see anything in the homebridge when I click the icon in homeapp.


NET Standard 1.3 and 2.0 only

Removes a lot of the build flags for old platforms
#470

Adding net46 to have explicit full framework support for Windows


Use Microsoft.Build.CentralPackageVersions

Description
As title says; this should be the default common practice, always centralize packageref versioning.
Also note that all platform projects was referencing 10.0 and not 10.1... These kind of missing version updates are much harder to miss when using central package versioning..
Motivation
Makes the upgrade to 10.2 x100 times faster and developers x1000 times happier.
How Has This Been Tested?
The solution builds
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation update (non-breaking change; modified files are limited to the /docs directory)

Checklist:

[x] I have read the Contributing guide.
[x] My code follows the code style of this project.
[x] My code/comments/docs fully adhere to the Code of Conduct.
[ ] My change is a code change and it requires an update to the documentation.
[ ] My change is a documentation change and it requires an update to the navigation.

Did you confirm that solution image can be built? I tried this before but msbuild commands were failing
i will pull this branch and confirm

I'll just double check.. I might have missed a change to a Dockerfile in commit, 2 min.

@ahmed-ae sorry, I was missing a file in the commit.

Abandoning this PR. Will make a new one with centralpackageversioning, sdk style projects everywhere and simplistic publishing with no hpp


Use argparse for modeling

Modeling each tool's CLI ad-hoc is showing its weaknesses, particularly as we move towards CLIs that have lots of complex positional behavior (like install and ar).

#43406 demonstrates this for install, and adds the right interfaces for other tools to use argparse.


[Bug]: Windows Edge SyntaxError

Contact Details
No response
What happened?
When running the Windows Edge this occurs and does not install, the terminal only appears briefly with this before shutting down.

Version
edge build June 2, 19:05
What browser did you experience the the problem on?
No response
What operating system are you using?
No response
Relevant log output
No response

Hey thanks for the report! We admittedly have had a big lack of testing on windows simply due to hardware constraints. I should be able to take a look at this issue this week though.
Definitely a strange error to see though, considering we use an identical bundling setup for the windows build and only the executable it gets injected into is different.

I believe this should be solved in #470, which I will submit shortly.
The main difference now is that our standalone binary will ship in a .zip that contains some extra dependencies that we have to bundle alongside the app (specifically bindings to interact with sqlite).


Add release notes to upgrade modal

Adding back in release notes based on the old upgrade modal: https://github.com/lbryio/lbry-app/blob/master/src/renderer/modal/modalUpgrade/view.jsx#L25
I did this based on inspection, not sure how it will look. Main difference here is that it's all in a section.

Igor gave this a shot and it looked wonky on first try:

Fixed here https://github.com/lbryio/lbry-app/pull/1288


en/h3-h2: h3 has no priorities right now

... work is ongoing to "fix it".

Prioritization was taken out from the HTTP/3 spec a while back and this is my attempt to sync with the current plan.


New tag

@JuliaRegistrator register

Registration pull request created: JuliaRegistries/General/16267
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.2.1 -m "<description of version>" 1d45a52d54eb204cf2d93037c5498ea532207285
git push origin v0.2.1

@JuliaRegistrator register

Registration pull request created: JuliaRegistries/General/19103
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.3.3 -m "<description of version>" e1612f37b3f0b757c8d16b23460ef9b2180c493c
git push origin v0.3.3

Also, note the warning: Version 0.3.3 skips over 0.3.0
This can be safely ignored. However, if you want to fix this you can do so. Call register() again after making the fix. This will update the Pull request.

@JuliaRegistrator register

Registration pull request created: JuliaRegistries/General/19132
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.4.0 -m "<description of version>" 4c3ab9b16fbb6db2dcd4194186260673d6fdc5ba
git push origin v0.4.0

Also, note the warning: Version 0.4.0 skips over 0.3.0
This can be safely ignored. However, if you want to fix this you can do so. Call register() again after making the fix. This will update the Pull request.

Hi @udistr
The PR (https://github.com/JuliaRegistries/General/pull/19132) for v0.4.0 was just merged on the Julia side.
Might take a little while for the GitHub part to complete & the release to show up in the repo.
Will take another look in a couple hours...

Might take a little while for the GitHub part to complete & the release to show up in the repo.

v0.4.0 just came in 🎉
took longer than expected but I think GitHub is having issues lately...


6.6.0

Hi @innerpeacez , thanks for your quick PR. Here is my several questions:

Why is the default es version 7 since the default docker image is 6? It might confuse the user.
I found you created a new chart for es7, and copy most of the es6 codes into it. Can you merge them into a single chart? ES chart is using one chart to support 6 and 7, and I didn't find any difference in the two charts expect for image tags. If anything I missed, pls correct me.

Why is the default es version 7 since the default docker image is 6? It might confuse the user.

skywalking-es6 -> skywalking image 6.6.0-es6 and es 6
skywalking-es7 -> skywalking image 6.6.0-es7 and es 7

I found you created a new chart for es7, and copy most of the es6 codes into it. Can you merge them into a single chart? ES chart is using one chart to support 6 and 7, and I didn't find any difference in the two charts expect for image tags. If anything I missed, pls correct me.

The helm stable repo does not support es7, so I use the es official chart library, but there is no way to denpendence on the chart to choose two dependence with name = elasticsearch, and an error will be returned.

The helm stable repo does not support es7, so I use the es official chart library, but there is no way to
denpendence on the chart to choose two dependence with name = elasticsearch, and an error will be
returned.

I found there're two approaches as least:

https://github.com/elastic/helm-charts/tree/7.5.1/elasticsearch#compatibility support 6.8.8 and 7.5.1 at same time.

if you want to import a same Chart more than once, https://helm.sh/docs/topics/charts/#alias-field-in-dependencies will be helpful.

I found there're two approaches as least:

https://github.com/elastic/helm-charts/tree/7.5.1/elasticsearch#compatibility support 6.8.8 and 7.5.1 at same time.
if you want to import a same Chart more than once, https://helm.sh/docs/topics/charts/#alias-field-in-dependencies will be helpful.

Thanks a lot,  I will try.

tested. @hanahmily @wu-sheng

@hanahmily Could you take a look? We should run this as a release shotly.


Correct copy and pasted query

This section of the documentation discussed disabling Managed Backup as a whole, at the Instance Level.  Specifically, the text in this sections paragraph states the need to set the database_name parameter to NULL; however, the SQL Syntax was copy and pasted from above in this document and was not updated to reflect this needed parameter value.  This update is to show this parameter being executed as NULL, as to apply to the whole SQL Instance.

@rsanderson2350 : Thanks for your contribution! The author, @MikeRayMSFT, has been notified to review your proposed change.

@rsanderson2350 thank you for your submission. #sign-off


Sync the node autoscale params during KEB cluster upgrade

Description
Changes proposed in this pull request:

Set/Sync the autoscale params (AutoScalerMin, AutoScalerMax, MaxSurge, MaxUnavailable) from the plan file in plan provider during the KEB cluster upgrade.
Add the unit subtests related to this autoscaler settings change during the cluster upgrade.

Related issue(s)

/test all

/retest

/test all

/test all

/test all

what is the purpose of this PR? why do we need autoscalers parameters in the upgrade request?

@ebensom  - we have already discussed with @vvxxvvxx and agreed with such solution, thanks

/test all

/test all

/test all

/ok-to-test

/ok-to-test

/ok-to-test

/ok-to-test

/test all

/lgtm


Opal 0.11 support

You may not want to start this until Opal 0.11 is actually released but this issue will be ready.
I tried to use Opal 0.11 like so, as we use the safe navigation operator from Ruby 2.4 which Opal 0.11 adds.
gem "hyperloop"
gem "opal", "~> 0.11.0.rc1", github: "opal/opal"
gem "opal-sprockets", github: "opal/opal-sprockets"
gem "opal-rails", github: "opal/opal-rails"

hyper-react gives this error when trying to load a component (which works on earlier versions of Opal):
 Error: Cannot find component: 'React.TopLevelRailsComponent'. Make sure your component is globally available to render.

opal 0.11 -pre has been failing in many ways
opal 0.11 final es expected dec 08, reevaluate then again, until now 0.10.5 is recommended

Opal 0.11 is now released :)


Embed PowerBI  report on Azure Dashboard

Is there a way to embed a PowerBI report on an Azure Dashboard?

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

ID: 2c4b9b1a-88db-9f06-3eda-7e8db1f86353
Version Independent ID: da1b9640-d24a-3738-c871-6017a3e383ea
Content: Create and share dashboards of Azure Log Analytics data
Content Source: articles/log-analytics/log-analytics-tutorial-dashboards.md
Service: log-analytics
GitHub Login: @MGoedtel
Microsoft Alias: magoedte

@Ayanmullick thanks for the interest!  This question would be best asked here:
https://social.msdn.microsoft.com/Forums/azure/en-US/home?forum=opinsights
If you have a focused suggestion on how to improve our documentation, feel free to open another issue.

@jason-j-MSFT , Could you move it to
https://docs.microsoft.com/en-us/power-bi/developer/embed-sample-for-your-organization

Please vote.
https://feedback.azure.com/forums/223579-azure-portal/suggestions/19742620-integrate-tile-for-powerbi-reports-dashboards-in


Add ContainedIn Method

This feature is how we can query elements in DB who match certain criteria (e.g)
Customer.where.contained_in_array(categories: categories).find_in_batches

generating the following query
SELECT "customers".*
FROM "customers"
WHERE ("customers"."categories" <@ '{Disco,Bar,Restaurant}')
ORDER BY "customers"."id"
ASC LIMIT 1000

/home/ubuntu/postgres_ext/vendor/bundle/ruby/1.9.1/gems/activerecord-4.2.3/lib/active_record/connection_adapters/connection_specification.rb:248:in `resolve_symbol_connection': 'test' database is not configured. Available: [] (ActiveRecord::AdapterNotSpecified)

not sure what does it mean? do I need to setup PR test database?

@sescobb27 Thanks for taking the time to write this. It worked perfectly for me.
Until this gets merged in, I've put all of your code in an initializer in my app.

Thank you, at least is helpful to someone. sadly I don't think this PR is not going to make it, it has been open for almost 1 year, and I don't know how to fix that test (it worked on my desktop but I don't have access to circleci configuration).
Maybe someone can point me how to fix it or what it needs to get this PR merged with master. cc @danmcclain

Looks good to me thanks @sescobb27


Replace eslint-plugin-node with maintained up to date community fork eslint-plugin-n

eslint-plugin-n is a community maintained fork of eslint-plugin-node: https://github.com/eslint-community/eslint-plugin-n
It ensures that an important module like eslint-plugin-node is kept up to date, with both ESLint 8.x and with Node.js itself.
Its what we switched to in eslint-config-standard when we updated it to ESLint 8.x: https://github.com/standard/eslint-config-standard/pull/193
Similar PR: https://github.com/electron/electron/pull/38874
Full disclosure: I'm part of the ESLint Community Core Team as well as a co-maintainer of StandardJS.

Summary

🤖 Generated by Copilot at 015918a
Renamed the node ESLint plugin to n to avoid confusion with Node.js and updated all the files that use it. This includes changing the dependency in package.json, the plugin name and configuration in .eslintrc.js, and the rule overrides in various webpack.config.js files and source files.
Details

🤖 Generated by Copilot at 015918a

Rename the eslint-plugin-node dependency and plugin to eslint-plugin-n to avoid confusion with the Node.js runtime (link, link, link)
Replace all occurrences of the node plugin prefix with the n plugin prefix in the .eslintrc.js file and in various files that disable specific rules from the plugin (link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link)

@voxpelli Thanks for the PR and sorry for the delayed review, can you please rebase the PR and fix conflicts?

Done, was only the yarn.lock that was conflicting :)

@snitin315 Updated the PR and fixed deduplication as well 👍

@voxpelli Sorry for delay, can you rebase?


pkg/unittest/test/unittest_test flaky timing out on firefox

Seen this a number of times, e.g.,
http://build.chromium.org/p/client.dart/builders/dart2js-ff-linux/builds/8358/steps/dart2js tests failures/logs/stdio
Marking as flaky timing out in status file

This issue has been moved to dart-lang/test#217.


Fixes failing test assertion in PHP 7.1.

I installed today with illuminate/database and illuminate/events both on 5.4.19, under PHP 7.1.4. PHP 7.1 changed DateTime's constructor to include microseconds, so when I run the test suite I see a failing test:
aaron@aaron-dev:~/Desktop/Development/temporal-models$ ./vendor/bin/phpunit
PHPUnit 4.8.35 by Sebastian Bergmann and contributors.

Runtime:        PHP 7.1.4-1+deb.sury.org~xenial+1 with Xdebug 2.5.1
Configuration:  /home/aaron/Desktop/Development/temporal-models/phpunit.xml.dist

......F.......

Time: 745 ms, Memory: 6.00MB

There was 1 failure:

1) TemporalTest::testItCorrectlySetsTheValidEndOfTheCurrentWhenThereIsASchedulingConflict
Failed asserting that two DateTime objects are equal.
--- Expected
+++ Actual
@@ @@
-2017-05-12T08:00:56.192220+0000
+2017-05-12T08:00:56.000000+0000

/home/aaron/Desktop/Development/temporal-models/tests/TemporalTest.php:206

FAILURES!
Tests: 14, Assertions: 19, Failures: 1.

Generating code coverage report in Clover XML format ... done

Generating code coverage report in HTML format ... done

Since the database record, a straight timestamp in this case, is only precise to seconds, not microseconds, I think the change better encompasses the comparison. Keep in mind, the assertion now compares strings, not DateTime objects, with this change due to type juggling.

thanks


Remove /totalCount from Snippet tab in Pebblo UI

Removed /totalCount from snippet tab in Pebblo UI:

@rutujaac So even if the snippets are more than 100, we won't show end user that there are more snippets found but we are showing only 100?


[#1796] fix(spark): Implicitly unregister map output on fetch failure

What changes were proposed in this pull request?

Implicitly unregister map output on fetch failure
Introduce the unified RssShuffleStatus to track the stage task failure, and depending on this, fix the incorrect retry check condition that will be checked the task failure times whether reaching the spark.task.maxFailures value rather than partitionId failure or shuffleServer failure.
Remove the 2-phase rpcs of write/fetch by using the simple rpc on reportFetch/WriteFailure to speed up

Why are the changes needed?
Fix: #1796. #1801 #1798
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Unit tests

Could you help review this? @advancedxy If I understand incorrectly, feel free to point out

cc @yl09099 Could you help check some write failure logic, I have refactored these part code and make it align with the fetch failure.

Codecov Report
Attention: Patch coverage is 0% with 48 lines in your changes missing coverage. Please review.

Project coverage is 53.43%. Comparing base (dddcced) to head (afea817).
Report is 20 commits behind head on master.

Files
Patch %
Lines

...t/request/RssReportShuffleFetchFailureRequest.java
0.00%
15 Missing :warning:

...t/request/RssReportShuffleWriteFailureRequest.java
0.00%
10 Missing :warning:

...ffle/common/exception/RssFetchFailedException.java
0.00%
8 Missing :warning:

...ffle/client/impl/grpc/ShuffleServerGrpcClient.java
0.00%
7 Missing :warning:

...client/impl/grpc/ShuffleServerGrpcNettyClient.java
0.00%
4 Missing :warning:

...torage/handler/impl/ComposedClientReadHandler.java
0.00%
4 Missing :warning:

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1797      +/-   ##
============================================
- Coverage     53.53%   53.43%   -0.11%
- Complexity     2356     2395      +39
============================================
  Files           368      371       +3
  Lines         16852    17156     +304
  Branches       1540     1571      +31
============================================
+ Hits           9022     9167     +145
- Misses         7303     7451     +148
- Partials        527      538      +11

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

Thanks for working on this. I did a quick overview about this change, I think it's quite large to review. It would best to keep this pr open and split it into several smaller PRs, namely:

the API/interface change by including shuffle server info RssFetchFailed Exception(we may discuss more about that in the new PR), RssReportShuffleFetchFailureRequest and the RssShuffleStatus
The rework of shuffle manager service and RssStageResubmitManager
unify logic about fetch failure and write failure handling.
left remaining logic if necessary.

Emm... Sorry I don't think this is a huge change, this is mostly based on your previous great work, just fix some bugs. And I don't have much time to rework to split multi PRs, so I hope we could review this in this PR to check whether some critical problems exist.

Good to know this. Thanks for your determined reply. @advancedxy

However, I think this PR should be split into two PRs at least: handle fetch failure and handle write failures. I think the write failure is different from fetch failure and should be decoupled.

Could you help show what’s the difference between fetc and write failure?

After digging into this feature, I found there are many bugs and improvement need to be done. So I have to split them into small patch to fix. And this PR will be as the collection to place them to test the availablity

The stage retry logic is also a bit off as you need to retry the parent stage for fetch failure, but the current stage for write failure

Yes. This is the difference that I have distinguished in current PR.