GitRepo: Use the default branch of git-repo again

ORT started using the master branch instead of the (default) stable
branch as master contained some fixes which had not been integrated into
stable back then, see c0eb030. As both fixes mentioned in that commit
meanwhile got integrated into stable there is no need anymore to use the
master branch.
Installing the repo launcher command via [1], as we do on Travis CI,
actually installs the released launcher command which comes from the
stable branch. As of the recent bump of the major version [2] of that
launcher command on the master branch, calling [3] refuses to work and
asks to update the launcher command to version 2.x first.
Revert back to using the stable branch in order to fix that issue and
thus make ORTs git-repo integration work again.
[1] curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
[2] https://gerrit.googlesource.com/git-repo/+/ee451f035d258e40ce8f995c0826061228a7d292
[3] repo init --repo-branch=master
Signed-off-by: Frank Viernau<EMAIL_ADDRESS>

As we hab to switch between stable and master branches several times in the past, I would have preferred if we had kept the logic to switch branches and simply swapped the eord master with stable in the variable.

As we had to switch between stable and master branches several times in the past, I would have preferred if we had kept the logic to switch branches and simply swapped the word "master" with "stable" in the existing variable.

This was unfortunately not obvious from blaming that mechanism as it was used only once to switch the branches if I'm not mistaken.

@sschuberth I added back the switch to match your preference, see #2190.

This was unfortunately not obvious from git blaming that mechanism as it was used only once to switch the branches if I'm not mistaken.

The code was refactored / moved several times in between, making it hard to git blame, but we had to (temporarily) use the master branch at least two times in e7e6699360563e34358660a732ead799bced6a08 and c0eb030c90b3de8be43f1cc257e1ed76cc60c5f6.


Update Inovelli blue series quirk

This PR moves the Inovelli animation type enumerations into quirks since they may change frequently and it adds a new parameter to the Inovelli mfg cluster.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

34 of 34 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 82.901%

Totals

Change from base Build<PHONE_NUMBER>:
0.1%

Covered Lines:
6298

Relevant Lines:
7597

💛  - Coveralls

Codecov Report
Base: 82.78% // Head: 82.90% // Increases project coverage by +0.12% :tada:

Coverage data is based on head (d97d3da) compared to base (79db3a2).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##              dev    #1890      +/-   ##
==========================================
+ Coverage   82.78%   82.90%   +0.12%
==========================================
  Files         243      245       +2
  Lines        7544     7597      +53
==========================================
+ Hits         6245     6298      +53
  Misses       1299     1299

Impacted Files
Coverage Δ

zhaquirks/inovelli/__init__.py
100.00% <ø> (ø)

zhaquirks/inovelli/types.py
100.00% <100.00%> (ø)

zhaquirks/tuya/ts0601_sensor.py
100.00% <0.00%> (ø)

zhaquirks/texasinstruments/router.py
100.00% <0.00%> (ø)

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Node v. 9 & 10 into .travis.yml

As Node versions 9 and 10 were released, they should be included in the .travis.yml file.

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

I'm not sure if 'node' is needed in the node.js versions.


feat(client): use unix pipes with config:push

This was briefly discussed as a V2 thing in deis/deis#4675 and deis/deis#4697.
I personally like it cause it's more unixy, but I understand if this is rejected because this is really a personal preference thing :smiley:.
If there is interest I will make the same change for config:pull.

@Joshua-Anderson We're getting close to freezing an Alpha of Deis v2. In your opinion, is this a risky one for us to try to merge at the last minute? Or should we wait until after Alpha.

@technosophos Works on my machine (Ubuntu 15.10) :tm: :smiley:
I think merging this more of a decision if this change is desirable (some people may prefer flags over pipes). It's a small scoped and pretty easily testable change, so it wouldn't be too much work to land ( I have no idea how soon you want to release or how busy you are :smiley:)
If this doesn't make it into the alpha, can backwards compatible changes still land in V2 before the GA release?
This change also needs a complimentary change to config:pull to support pipes as well, but I was hanging off on that until this change was approved or rejected. So releasing one without the other would leave an odd UX where pull and push behaved differently.

@Joshua-Anderson I think it's wise to implement config:pull in this patch as well

I think it's wise to implement config:pull in this patch as well

Ok. Sounds good! I'm super busy right now, but if I have some time I'll fix it up.

@arschles I updated this PR to support both pipes and command line arguments.

@Joshua-Anderson cool. My LGTM1 stands, but it looks like you need a rebase now

:frowning: As a side effect of enabling required status (which I am totally :+1: on), every time there is a commit on master, PRs are required to update before merging (to prevent accidental test breakage), which is a little annoying.

hmm, that might be why everything needs to be rebased all the time. deis/deis does not have that enabled so that might be the bug. :)


Support FLOAT32 type in Spanner Migration Tool.

This changes the existing behavior of widening a source float32 type into float64 in spanner, and instead mapping the source float32 type to spanner's new float32 type.
This is a re-patch of https://github.com/GoogleCloudPlatform/spanner-migration-tool/pull/785

[x] Tests pass
[x] Appropriate changes to README are included in PR

Actually this made me wonder if the changes around Float32 - Dataflow and SMT, are backward compatible?
If I have a customer who has already mapped float to float64 in a previous schema migration, and uses the new dataflow template with the changes you made recently, will anything break?
Please walk through the cases therein once. (Schema version X Dataflow template version)

@manitgupta IIUC if the spanner migration tool has already converted a schema and float32 from sourcedb is mapped to float64, DataFlow will still process the events correctly as float64 values.
I believe this happens because DataFlow templates use the current Spanner schema to make the choice of whether to parse the input change as FLOAT64 or FLOAT32.
So these steps should result in a backward compatible migration. LMK if I missed something!

Yes, you're right. The spanner schema is used to infer the data type. So last as long the spanner schema has something that the pipeline is able to cast to, we will be good.
On the other hand, if the customer decides to regenerate the spanner schema using SMT, there data types will change to Float32 from Float64. This should be okay if the customer is redoing a migration.
This leaves only the load from session file scenario which I think is worth validating -
Consider this example -

Customer did a schema migration and generated a session file.
Customer wants to rename a column now from A -> B.
Customer loads the session file into SMT.
Customer makes the change to the column name.

Can you validate what is the value of spanner data type that appears from when loading from session file? Ideally, it should load from spSchema and hence the newly changed defaults should not matter.

Thanks @manitgupta!
As mentioned offline, I've verified that the loading the old session file still uses the previous mapping of FLOAT32 source => FLOAT64 in spanner and does not change it to FLOAT32 in spanner.

@manitgupta @shreyakhajanchi gentle ping!


sendAuthRequest

sendAuthRequest,android return errcode=-6

i got same WechatError

I had this problem on android and I made the error disappear and now log in with wechat works for me:

while on your mobile, go to http://open.wechat.com/cgi-bin/newreadtemplate?t=overseas_open/docs/mobile/downloads#mobile_downloads
download and install Signature Generation Tool (https://res.wx.qq.com/open/zh_CN/htmledition/res/dev/download/sdk/Gen_Signature_Android2.apk)
Enter android package name and generate the signature
Update the signature using wechat admin (field 应用签名 of android)

@mieszko4

It did not work for me😢 . but sendAuthRequest work on iOS.

It also does not work for me unless deployed. Try with release version react-native run-android --variant=release or with app downloaded from play store.

@mieszko4 I flow https://github.com/yorkie/react-native-wechat/issues/259.
Just reinstall wechat app, it work!!! 😂

@mieszko4 @MichaelIT  I got same error in debug-mode,but it's ok in release

要删微信+release build才可以。

真是奇怪了，把微信删了重新装上就可以了.............


merge from template-arlac77-github

package.json

chore(deps): add ^17.4.5 remove ^17.4.4 (devDependencies.semantic-release)

:tada: This PR is included in version 1.7.4 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Error E12 related to "nosyntax.vim"

The following invocation
       $ vim -i NONE -U NONE -u testrc.txt    examp.txt
using the attached files testrc.txt and examp.txt  results in a sequence of errors starting with:

Error detected while processing /usr/share/vim/vim81/syntax/nosyntax.vim
line   14:
E12: Command not allowed from exrc/vimrc in current dir or tag search: au! Syntax
[ ... ]

I readily admit that  set syn=nosyntax within  examp.txt  is probably nonsensical (should perhaps be using just  syntax off) but the errors were still surprising.
Ttbomr, this seems to have started sometime mid to late 2018, but unfortunately I cannot determine  the vim version that was in use just prior to seeing it.
bugreport.txt
examp.txt
testrc.txt

Ttbomr, this seems to have started sometime mid to late 2018, but unfortunately I cannot determine the vim version that was in use just prior to seeing it.

This is caused by 8.1.0538, which was indeed merged in late 2018.  #6377 is another issue which has the exact same cause.


Won't run with winston error

debian 11
Followed the install instructions. Got this:
><EMAIL_ADDRESS>start /home/dave/WebIRC
> babel-node main.js

Failed to start WebIRC Error: { colors, emitErrs, formatters, padLevels, rewriters, stripColors } were removed in<EMAIL_ADDRESS>Use a custom winston.format(function) instead.
See: https://github.com/winstonjs/winston/tree/master/UPGRADE-3.0.md
    at DerivedLogger.configure (/home/dave/WebIRC/node_modules/winston/lib/winston/logger.js:135:13)
    at new Logger (/home/dave/WebIRC/node_modules/winston/lib/winston/logger.js:42:10)
    at new DerivedLogger (/home/dave/WebIRC/node_modules/winston/lib/winston/create-logger.js:44:7)
    at Object.module.exports [as createLogger] (/home/dave/WebIRC/node_modules/winston/lib/winston/create-logger.js:48:18)
    at Object.init (/home/dave/WebIRC/logger.js:35:19)
    at Function.<anonymous> (/home/dave/WebIRC/main.js:32:10)
    at AsyncBlock.runIfSatisfied (/home/dave/WebIRC/async.js:242:25)
    at AsyncBlock.depProvided (/home/dave/WebIRC/async.js:202:10)
    at /home/dave/WebIRC/async.js:111:18
    at Array.forEach (<anonymous>)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>start: `babel-node main.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!

It's been many years since I've tried running WebIRC. It might only work with very old versions of its dependencies, but I don't recommend trying to figure it out unless you're very passionate about it. I'm not actively supporting it, so I'll probably archive the repository soon.

Thanks for the very honest update.
I may attempt downgrading the version of winston to see if that fixes this immediate error, but if there are more problems then I will abandon the idea. Thanks again.

Just for completeness, I ran two bash commands in the WebIRC directory and this fixed the winston dependency problem:
npm install<EMAIL_ADDRESS>npm remove<EMAIL_ADDRESS>


The TypeScript language service died unexpectedly 5 times in the last 5 Minutes.

Issue Type: Bug
I've gotten this error and an endless loop of "Initializing JS/TS langauge features" pretty consistently for like a month now. Ive deleted all extensions, reinstalled VS Code even, and this keeps happening, making it really hard to use the one true text editor. Is there something I am doing wrong?
VS Code version: Code 1.41.1 (26076a4de974ead31f97692a0d32f90d735645c0, 2019-12-18T14:57:51.166Z)
OS version: Darwin x64 19.2.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz (4 x 2300)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_offsurface_control: disabled_offsurface_synchronization: enabled_onvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
11, 17, 16

Memory (System)
8.00GB (0.73GB free)

Process Argv
.

Screen Reader
no

VM
0%

Extensions (9)

Extension
Author (truncated)
Version

vscode-sql-formatter
adp
1.4.4

vscode-opennewinstance
chr
0.0.6

path-intellisense
chr
1.4.2

gitlens
eam
10.2.0

prettier-vscode
esb
3.18.0

relative-import
sai
1.3.1

code-settings-sync
Sha
3.4.3

indenticator
Sir
0.6.0

highlight-matching-tag
vin
0.9.6

(1 theme extensions excluded)

Which version of the TS language server are you using? It should be shown in the lower right corner of the screen.
/needsMoreInfo


Implemented PUT /api/v1/house/update and various bug fixes

Description

Implemented the PUT /api/v1/house/update endpoint and its related services. This endpoint allows the house information to be updated when the house configuration is changed and saved on frontend.
Fixed a bug in the GET /api/v1/house endpoint where the requesting user's ID would be returned in the owner field instead of the actual owner's.

Fixes: #144, #150
Screenshots
n/a
Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)

Checklist:
Leave blank if not applicable
I have completed these steps when making this pull request:

[x] I have assigned my name to the issue
[x] I have moved the issue to the In Progress column
[x] I have labelled the PR appropriately
[x] I have assigned myself to the PR

Before opening the PR for review:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] I have moved the linked issue to the Review in Progress column

LGTM! I just merged the user endpoint changes, do you want to add new user fields for the users list in the house model in this PR as well?

LGTM! I just merged the user endpoint changes, do you want to add new user fields for the users list in the house model in this PR as well?

Added!


Fix and Clarify Bash Command for Microsoft Package Repository in Linux Installation Docs.

Summary
PR Description:
This PR addresses a typo and clarifies the instructions under the "Register the Microsoft package repository" section in the .NET documentation for Linux installation for linux-ubuntu.md page (Path: https://learn.microsoft.com/en-gb/dotnet/core/install/linux-ubuntu).

Issue: The "Tip" mentions $repo_version, which does not exist in the Bash code block above. The confusion stems from whether $ID or $VERSION_ID (or both) should be replaced in the command:
wget https://packages.microsoft.com/config/$ID/$VERSION_ID/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
Fix: I have updated the documentation to clarify that $ID refers to the distribution and $VERSION_ID to its version. For example, on Linux Mint 22.0 (based on Ubuntu 24.04), the user would replace these variables with ubuntu/24.04.

Fixes #42755

Internal previews

📄 File
🔗 Preview link

docs/core/install/linux-ubuntu.md
docs/core/install/linux-ubuntu

Looks great! One minor fix though.

Thank you for the suggestion, it's resolved.


OS freezing issues

Hi this is my gnmi config
username:
password:
timeout: 10s
skip-verify: true
#no-prefix: true
log-file: /var/log/gnmic/gnmic.log
debug: false
qos: 20
targets:
<IP_ADDRESS>:32767:
name:
encoding: PROTO
subscriptions:
- port_stats
- rpm
outputs:
- output-influxdb
- output-file
<IP_ADDRESS>:32767:
name:
encoding: PROTO
subscriptions:
- port_stats
- rpm
outputs:
- output-influxdb
- output-file
<IP_ADDRESS>:32767:
name:
encoding: PROTO
subscriptions:
- port_stats
- rpm
outputs:
- output-influxdb
- output-file
subscriptions:
port_stats:
paths:
- "/interfaces/interface/state/counters/"
- "/interfaces/interface/subinterfaces/subinterface/state/counters/"
mode: STREAM
stream-mode: SAMPLE
stream-mode: TARGET_DEFINED
sample-interval: 30s
encoding: PROTO
suppress-redundant: false
updates-only: true

rpm:
paths:
- "/junos/rpm/history-results"
mode: STREAM
stream-mode: SAMPLE
stream-mode: TARGET_DEFINED
sample-interval: 30s
encoding: PROTO
suppress-redundant: false
updates-only: true

outputs:
output-file:
type: file
format: event
filename: /var/log/gnmic/gnmic-out.json
override-timestamp: false
multiline: true
indent: " "
enabled-metrics: true
event-processors:
- add-tag-1
- add-tag-2
- delete-all
- delete-rpm
output-influxdb:
type: influxdb
url: http://:8086
org: AMX
bucket: AMXGRAPH2
token:
batch-size: 1000
flush-timer: 10s
use-gzip: false
enable-tls: false
override-timestamps: false
override-timestamps: true
health-check-period: 30s
debug: false
enable-metrics: false
event-processors:
  - add-tag-1
  - add-tag-2
  - delete-all

- delete-rpm
processors:
add-tag-1:
event-add-tag:
value-names:
- "^/interfaces/interface/subinterfaces/subinterface/state/"
add:
subscription_type: "subinterfaces"
add-tag-2:
event-add-tag:
value-names:
- "^/interfaces/interface/state/"
add:
subscription_type: "interfaces"
delete-rpm:
event-delete:
tag-names:
- "history-single-test-results_owner"
delete-all:
event-strings:
value-names:
- ".*"
transforms:
- trim-prefix:
apply-on: "name"
prefix: "/interfaces/interface/subinterfaces/subinterface/state/counters/"
- trim-prefix:
apply-on: "name"
prefix: "/interfaces/interface/state/counters/"
- trim-prefix:
apply-on: "name"
prefix: "/junos/rpm/history-results/history-test-results/history-single-test-results/"
I tried to use this one in Debian & Ubuntu (both of them in their last version)
In both case, the OS is income freezing.
Do you have any idea why it's happened?

Hi, what does OS income freezing mean?
Can you share how are you running gnmic? from the shell, systemd, as a container?
Do you see any logs in /var/log/gnmic/gnmic.log ?

Ok
This’s the gnmic.log’s file
@.***:/var/log/gnmic$ cat gnmic.log
2022/06/12 16:56:57.608308 [gnmic] version=0.25.0, commit=dbc5bdd, date=2022-06-11T18:30:28Z, gitURL=https://github.com/karimra/gnmic, docs=https://gnmic.kmrd.dev
2022/06/12 16:56:57.608345 [gnmic] using config file "/usr/local/bin/.gnmic.yml"
2022/06/12 16:56:57.608518 [config] validating processor "data-convert-1" config
2022/06/12 16:56:57.608527 [config] validating processor "add-tag-1" config
2022/06/12 16:56:57.608530 [config] validating processor "add-tag-2" config
2022/06/12 16:56:57.608534 [config] validating processor "delete-all" config
2022/06/12 16:56:57.609329 [gnmic] starting output type file
2022/06/12 16:56:57.609348 [gnmic] starting output type influxdb
2022/06/12 16:56:57.609383 [gnmic] queuing target "3BBIRP_ARCFOL01"
2022/06/12 16:56:57.609400 [gnmic] starting target "3BBIRP_ARCFOL01" listener
2022/06/12 16:56:57.609414 [gnmic] subscribing to target: "3BBIRP_ARCFOL01"
2022/06/12 16:56:57.609480 [gnmic] queuing target "3BBIRP_GTGUPB01"
2022/06/12 16:56:57.609500 [gnmic] subscribing to target: "3BBIRP_GTGUPB01"
2022/06/12 16:56:57.609556 [gnmic] queuing target "3BBIRP_ARCFGR01"
2022/06/12 16:56:57.609580 [gnmic] starting target "3BBIRP_GTGUPB01" listener
2022/06/12 16:56:57.609579 [file_output] added event processor 'data-convert-1' of type=event-data-convert to file output
2022/06/12 16:56:57.609593 [gnmic] starting target "3BBIRP_ARCFGR01" listener
2022/06/12 16:56:57.609672 [file_output] added event processor 'add-tag-1' of type=event-add-tag to file output
2022/06/12 16:56:57.609787 [file_output] added event processor 'add-tag-2' of type=event-add-tag to file output
2022/06/12 16:56:57.609595 [gnmic] subscribing to target: "3BBIRP_ARCFGR01"
2022/06/12 16:56:57.609919 [influxdb_output] added event processor 'data-convert-1' of type=event-data-convert to influxdb output
2022/06/12 16:56:57.609965 [file_output] added event processor 'delete-all' of type=event-strings to file output
2022/06/12 16:56:57.609977 [influxdb_output] added event processor 'add-tag-1' of type=event-add-tag to influxdb output
2022/06/12 16:56:57.610036 [influxdb_output] added event processor 'add-tag-2' of type=event-add-tag to influxdb output
2022/06/12 16:56:57.610076 [file_output] initialized file output: {"Cfg":{"FileName":"/var/log/gnmic/gnmic-out.json","FileType":"","Format":"event","Multiline":true,"Indent":" ","Separator":"\n","OverrideTimestamps":false,"AddTarget":"","TargetTemplate":"","EventProcessors":["data-convert-1","add-tag-1","add-tag-2","delete-all"],"MsgTemplate":"","ConcurrencyLimit":1000,"EnableMetrics":false,"Debug":false}}
2022/06/12 16:56:57.610197 [influxdb_output] added event processor 'delete-all' of type=event-strings to influxdb output
2022/06/12 16:56:57.611322 [influxdb_output] health check result: {"checks":[],"commit":"a2f8538837","message":"ready for queries and writes","name":"influxdb","status":"pass","version":"v2.2.0"}
2022/06/12 16:56:57.611429 [influxdb_output] initialized influxdb client: {"Cfg":{"URL":"http://<IP_ADDRESS>:8086","Org":"AMX","Bucket":"AMXGRAPH2","Token":"PF4w1jOVnXfjvB7F30IYAiboODvYjmFR8fATvOepM21T-7v9nznRZmOmKR1Im1wZPL2V3XksuQko4z-ByrSImw==","BatchSize":1000,"FlushTimer":10000000000,"UseGzip":false,"EnableTLS":false,"HealthCheckPeriod":30000000000,"Debug":false,"AddTarget":"","TargetTemplate":"","EventProcessors":["data-convert-1","add-tag-1","add-tag-2","delete-all"],"EnableMetrics":false,"OverrideTimestamps":true,"GnmiCacheConfig":null,"CacheFlushTimer":0}}
2022/06/12 16:56:57.611451 [influxdb_output] starting worker-0
2022/06/12 16:56:57.619787 [gnmic] target "3BBIRP_ARCFOL01" gNMI client created
2022/06/12 16:56:57.620429 [gnmic] sending gNMI SubscribeRequest: subscribe='subscribe:{subscription:{path:{elem:{name:"interfaces"}  elem:{name:"interface"}  elem:{name:"state"}  elem:{name:"counters"}}  sample_interval:30000000000}  subscription:{path:{elem:{name:"interfaces"}  elem:{name:"interface"}  elem:{name:"subinterfaces"}  elem:{name:"subinterface"}  elem:{name:"state"}  elem:{name:"counters"}}  sample_interval:30000000000}  encoding:PROTO  updates_only:true}', mode='STREAM', encoding='PROTO', to 3BBIRP_ARCFOL01
2022/06/12 16:56:57.620486 [gnmic] sending gNMI SubscribeRequest: subscribe='subscribe:{subscription:{path:{elem:{name:"junos"}  elem:{name:"rpm"}  elem:{name:"history-results"}}  sample_interval:30000000000}  encoding:PROTO  updates_only:true}', mode='STREAM', encoding='PROTO', to 3BBIRP_ARCFOL01
2022/06/12 16:56:57.623208 [gnmic] target "3BBIRP_ARCFGR01" gNMI client created
2022/06/12 16:56:57.623283 [gnmic] sending gNMI SubscribeRequest: subscribe='subscribe:{subscription:{path:{elem:{name:"junos"}  elem:{name:"rpm"}  elem:{name:"history-results"}}  sample_interval:30000000000}  encoding:PROTO  updates_only:true}', mode='STREAM', encoding='PROTO', to 3BBIRP_ARCFGR01
2022/06/12 16:56:57.623315 [gnmic] sending gNMI SubscribeRequest: subscribe='subscribe:{subscription:{path:{elem:{name:"interfaces"}  elem:{name:"interface"}  elem:{name:"state"}  elem:{name:"counters"}}  sample_interval:30000000000}  subscription:{path:{elem:{name:"interfaces"}  elem:{name:"interface"}  elem:{name:"subinterfaces"}  elem:{name:"subinterface"}  elem:{name:"state"}  elem:{name:"counters"}}  sample_interval:30000000000}  encoding:PROTO  updates_only:true}', mode='STREAM', encoding='PROTO', to 3BBIRP_ARCFGR01
2022/06/12 16:56:58.023602 [gnmic] target "3BBIRP_GTGUPB01" gNMI client created
2022/06/12 16:56:58.023706 [gnmic] sending gNMI SubscribeRequest: subscribe='subscribe:{subscription:{path:{elem:{name:"interfaces"}  elem:{name:"interface"}  elem:{name:"state"}  elem:{name:"counters"}}  sample_interval:30000000000}  subscription:{path:{elem:{name:"interfaces"}  elem:{name:"interface"}  elem:{name:"subinterfaces"}  elem:{name:"subinterface"}  elem:{name:"state"}  elem:{name:"counters"}}  sample_interval:30000000000}  encoding:PROTO  updates_only:true}', mode='STREAM', encoding='PROTO', to 3BBIRP_GTGUPB01
2022/06/12 16:56:58.023745 [gnmic] sending gNMI SubscribeRequest: subscribe='subscribe:{subscription:{path:{elem:{name:"junos"}  elem:{name:"rpm"}  elem:{name:"history-results"}}  sample_interval:30000000000}  encoding:PROTO  updates_only:true}', mode='STREAM', encoding='PROTO', to 3BBIRP_GTGUPB01
2022/06/12 16:57:27.612374 [influxdb_output] health check result: {"checks":[],"commit":"a2f8538837","message":"ready for queries and writes","name":"influxdb","status":"pass","version":"v2.2.0"}
2022/06/12 16:57:57.612456 [influxdb_output] health check result: {"checks":[],"commit":"a2f8538837","message":"ready for queries and writes","name":"influxdb","status":"pass","version":"v2.2.0"}
..
N times repeats of the same text
..
2022/06/12 18:14:57.612649 [influxdb_output] health check result: {"checks":[],"commit":"a2f8538837","message":"ready for queries and writes","name":"influxdb","status":"pass","version":"v2.2.0"}
2022/06/12 18:15:27.612593 [influxdb_output] health check result: {"checks":[],"commit":"a2f8538837","message":"ready for queries and writes","name":"influxdb","status":"pass","version":"v2.2.0"}
Rigth now, i running gnmic 0.25.0 in an UBUNTU Linux gnmic 5.15.0-37-generic #39-Ubuntu SMP Wed Jun 1 19:16:45 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Virtualizated over VMWare technology.
Regards
Enviado desde Correohttps://go.microsoft.com/fwlink/?LinkId=550986 para Windows
De: Karim @.>
Enviado: sábado, 11 de junio de 2022 15:25
Para: @.>
CC: @.>; @.>
Asunto: Re: [karimra/gnmic] OS freezing issues (Issue #608)
Hi, what does OS income freezing mean?
Can you share how are you running gnmic? from the shell, systemd, as a container?
Do you see any logs in /var/log/gnmic/gnmic.log ?
—
Reply to this email directly, view it on GitHubhttps://github.com/karimra/gnmic/issues/608#issuecomment-1152976956, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AZNMGB4CCSOPCRSAQSCTXBTVOTK2TANCNFSM5YQNDSNQ.
You are receiving this because you authored the thread.Message ID: @.***>


Add styling to the cgpa-calculator

File to be taken care of: Cluster-of-Projects/Simple/cgpa-calculator/
Try to come up with unique designs.
To view the current code, you can use this link https://niranjank2022.github.io/Cluster-of-Projects/Simple/cgpa-calculator/
If you want to check your code changes, you can download Live Server VS Code Extension. ritwickdey.LiveServer

assign it to me

Yes you can, work on it and submit the PR

Can I work on it? Let's compare the work of @musaddiq-ashfaq and merge the better styling.

@niranjank2022 if it is not done yet i would like to design that for you, if you are interested assigned this to me
(As soon as i get assigned for this i will start)
Thanks

@niranjank2022 if it is not done yet i would like to design that for you, if you are interested assigned this to me
(As soon as i get assigned for this i will start)
Thanks
Hello @Sky-De! Appreciate your interest for working on this. You can proceed and submit the PR. We can have multiple layouts for the user to choose.


Is there ever a need for multiple Cluster instances?

Hello, I am reviewing some code at new job involving usage of new require('ioredis').Cluster() - and am noticing that previous author has created several instances of this in the same application runtime.. but per my knowledge there should only ever be a need for a single instance... correct?

A single instance should be enough in a typical web application.


Logging for Jedi (Debug Information)

Some VSCode users have recently come forward with issues that I wasn't able to reproduce in Jedi with my environment (like https://github.com/davidhalter/jedi/issues/1454).
@karrtikr told me that you guys might explore the possibility of stdout/stderr logging. IMO this would probably be enough. However in general, it's probably more helpful to have the debug information.
One of the most helpful things you guys could do would be to enable stdout/stderr logging in combination with a switch where users could enable jedi.set_debug_function(). You could also implement the debug function yourself and pass it instead of capturing stdout/stderr: jedi.set_debug_function(mydebug_function).
If you could explore something like this, I would probably be able to help you guys fix some more issues. Thanks!

Thank you for the suggestion! We have marked this issue as "needs decision" to make sure we have a conversation about your idea. We plan to leave this feature request open for at least a month to see how many 👍 votes the opening comment gets to help us make our decision.

Now that we are switched over to purely Jedi behind LSP in main, this should probably be handled with jedi-language-server project. Currently we have LSP logging that is used by pygls print out logging for the LS. jedi-language-server could use something similar to send over jedi logs.


Crash on Startup

http://www.codesend.com/view/dabd2a5f434ef13b457221fc4929602a/

This was a problem caused by my build environment. Thank you for pointing this out.
The build here is now correct: https://github.com/TheoKah/CarrotShop/releases/tag/1.2

Also up to date here: https://ore.spongepowered.org/Carrot/CarrotShop

That seems to have fixed it :)


Use kresus with no bank account

Hi,
I'd like to use Kresus but don't want to import the operations but add them manually. Is that possible in Kresus? If not, any idea of an application that does that?
Thanks.

Hi,
What's your use case, precisely? Do you mean, adding all transactions by yourself, with a form where you'd generate all lines, one by one? Or importing them from a standard format?
If I may ask, what does make you want not use Kresus as is? (fear of sharing your password with an application? your bank strongly prevents you to connect too frequently?...)
If I remember correctly, you can use Homebank to do the same, but it's not a Web application.
Cheers

Salut Benjamin,
Thanks for your answer.
Actually, I need to plan my transactions before they happen and I add them manually one by one, as they arrive. I have already an Apple Numbers sheet but I need something more powerful. So, if your application provides a form to do that, it would be great for me.
Thanks for homebank, I'll give it a look.

OK, that could be an enhancement for the future. For what it's worth, implementing a system automatically detecting duplicates would have the same effect of conciliating manual with actual transactions.

[ ] Manually add operation
[ ] Automatic conciliation
[ ] Show future operations seperatly
[ ] Don not include future operation in balance (or add a "future balance well")


Update with list IR from walrus

This commit updates wasm-bindgen to the latest version of walrus
which transforms all internal IR representations to a list-based IR
instead of a tree-based IR. This isn't a major change other than
cosmetic for wasm-bindgen itself, but involves a lot of changes to the
threads/anyref passes.
 This is done by downloading a nightly build of
node.js which is theorized to continue to be there for awhile until the
full support makes its way into releases.

Ok should be good for review! Current CI failure is a fluke, and otherwise I'd still like to land this without [patch] so I've started that at https://github.com/rustwasm/walrus/pull/117 to kick off the process.


SOLUTION for issues related to Python

If you get any of these errors:
https://imgur.com/jCcuDMm
https://goo.gl/wjQD2Z
The unique solution that i found is this...
I know this solution is radical and it won't be liked so much, but at least is something.
I was trying to install this program all day, to the point that I've reinstalled all my Kali Linux system.
Apparently Python comes installed in Kali 2017.2 version, so you have to do nothing about that.
I think there was the problem, #I tried to install python several times by different ways thinking that it was not installed what was causing those errors.
I tried everything, uninstall every python version on Kali what gave rise to crash my system...
(NEVER TRY TO UNINSTALL PYTHON3)
I tried to install every package manually
Update and reupdate
Everything...
 (Its fastest than it looks like if you make a backup ^·^ but DO NOT BACKUP PYTHON)
Install wine by the following command:
dpkg --add-architecture i386 && sudo apt-get update && apt-get install wine
Install BeeLogger following the official tutorial:
https://www.youtube.com/watch?v=ifOGkOTS5zk
Restore your Backup if you made one.

cannot click next ,, any recommendation?


Create serialization/deserialization helper instead of json mediatype

It would be nice to avoid dependencies used for json serialization (widely used by the tests). Adding jackson (or other) dependency into the test module might influence the native tests.
I proposed the solution in https://github.com/apache/camel-quarkus/pull/4345#issuecomment-1359341656
Once this (or different) solution is accepted, a lot of test should be refactored to use util class instead of jackson dependency.

Simpler solution is proposed in https://github.com/apache/camel-quarkus/pull/4345#issuecomment-1368103637


Surgical linker rela

This enables support for absolute relocations like commonly found in lists of strings. This should expand the breathe of possible apps the surgical linker could be used with.
That said, I think we need to dig into the builtins more. They seem to still have a number of undefined symbols that are also not defined in the platform. We need to figure out how to make our builtins more standalone. Otherwise, the surgical linker needs to learn about libc an compiler-rt and etc. That would not be great.
Note: this changes the linker metadata format again and updates have to be sync.
I think that most code is working now, but their may still be exceptions. I think potentially one of my more recent commits could have broken something. Will look again shortly.

So I think I know what I need to do to actually get this PR working, but it will take me a bit to rework. Fundamentally a few pieces are not quite correct and I need to do some more shifting. So labeling this as draft for now and will get back to it as time allows.


Vue 3 tests fail with latest version of Nx and Jest

Current Behavior
Vue 3 tests fail with latest version of Nx (v12.6.3) and Jest (v27)
Expected Behavior
Vue 3 tests should pass with latest version of Nx and Jest
Steps to Reproduce

npx create-nx-workspace@latest nx-vue --packageManager yarn --preset empty --nxCloud false && cd ./nx-vue
yarn add -D @nx-plus/vue @nrwl/{linter,cypress,jest}
nx g @nx-plus/vue:app my-app --vueVersion 3 --routing false --style css --babel false
nx test my-app

Failure Logs
> nx run my-app:test
 FAIL   my-app  apps/my-app/tests/unit/example.spec.ts
  ● Test suite failed to run

    TypeError: Cannot destructure property 'config' of 'undefined' as it is undefined.

      at Object.getCacheKey (../../node_modules/vue-jest/lib/index.js:10:7)
      at ScriptTransformer._getCacheKey (../../node_modules/@jest/transform/build/ScriptTransformer.js:280:41)
      at ScriptTransformer._getFileCachePath (../../node_modules/@jest/transform/build/ScriptTransformer.js:351:27)
      at ScriptTransformer.transformSource (../../node_modules/@jest/transform/build/ScriptTransformer.js:588:32)
      at ScriptTransformer._transformAndBuildScript (../../node_modules/@jest/transform/build/ScriptTransformer.js:758:40)
      at ScriptTransformer.transform (../../node_modules/@jest/transform/build/ScriptTransformer.js:815:19)

Test Suites: 1 failed, 1 total
Tests:       0 total
Snapshots:   0 total
Time:        1.183 s
Ran all test suites.

———————————————————————————————————————————————

>  NX   ERROR  Running target "my-app:test" failed

  Failed tasks:

  - my-app:test

Environment

Plugin name and version<EMAIL_ADDRESS>  Node : 14.16.1
  OS   : linux x64
  yarn : 1.22.10

  nx : Not Found
  @nrwl/angular : Not Found
  @nrwl/cli : 12.6.3
  @nrwl/cypress : 12.6.3
  @nrwl/devkit : 12.6.3
  @nrwl/eslint-plugin-nx : 12.6.3
  @nrwl/express : Not Found
  @nrwl/jest : 12.6.3
  @nrwl/linter : 12.6.3
  @nrwl/nest : Not Found
  @nrwl/next : Not Found
  @nrwl/node : Not Found
  @nrwl/nx-cloud : Not Found
  @nrwl/react : Not Found
  @nrwl/schematics : Not Found
  @nrwl/tao : 12.6.3
  @nrwl/web : Not Found
  @nrwl/workspace : 12.6.3
  @nrwl/storybook : Not Found
  @nrwl/gatsby : Not Found
  typescript : 4.3.5

There is some work on this issue here.

Are there any updates on this issue?
I see that mentioned PR is still not merged (after 19 days) and I am struggling with vue 3 + nx + jest setup 3nd day :/
I tried versions 24, 25, 26, 27 and nothing seems to work :/
Resolve this issue will enable my project!

@dpietrzyk just updated the PR. I'll get it merged and create a new release for this soon.

Released in 12.2.0

@ZachJW34 Thanks! It is working now!
You saved me a lot of time!
Unfortunately  nx migrate @nx-plus/vue don't update all packages related with @nx && jest.config for already created apps / libs.
So for all who can face this issue - there is one breaking change, you need to manually change in jest.config.js:

for transform:  vue-jest => vue3-jest
for all properties in globals > vue-jest replace <rootDit> with absolute path e.g. <rootDir>/tsconfig.spec.json => apps/vue-app/tsconfig.spec.json,

Related errors:
Module vue-jest in the transform option was not found.

 TypeError: Cannot read property 'compilerOptions' of null

      at Object.process (../../node_modules/vue3-jest/lib/transformers/typescript.js:33:16)
      at processScript (../../node_modules/vue3-jest/lib/process.js:44:30)
      at Object.module.exports [as process] (../../node_modules/vue3-jest/lib/process.js:138:24)
      at ScriptTransformer.transformSource (../../node_modules/@jest/transform/build/ScriptTransformer.js:612:31)
      at ScriptTransformer._transformAndBuildScript (../../node_modules/@jest/transform/build/ScriptTransformer.js:758:40)
      at ScriptTransformer.transform (../../node_modules/@jest/transform/build/ScriptTransformer.js:815:19)


Feature/firebase sdk integration

#8693nq2kt
#8693nq2kv
#8693nq2kk

Task linked: CU-8693nq2kk Android. Notifications. Integrate Firebase SDK

Task linked: CU-8693nq2kt Android. Notifications. Add Support for Topics

Task linked: CU-8693nq2kv Android. Notifications. Add Firestore sync service.


Add FLUX model to KerasHub

I will commit to this issue but I will need a mentorship at some point

Here to say that I am doing a progress . By the next week I will have results

Here https://github.com/valkomilev/keras-hub/tree/flux_model

Hey @vulkomilev FLUX model has been added to KerasHub


BUG: wrapping depends on how ax is created

So I found the use case where wrapping does not work fine:
With
import geopandas
from pysal.lib.examples import get_path
texas = geopandas.read_file(get_path('us48.shp')).set_index('STATE_ABBR').loc[['TX'], 'geometry']
texas.crs = {'init': 'epsg:4326'}
texas = texas.to_crs(epsg=3857)

then letting the ax be created by geopandas, it works fine:
ax = tx.plot(alpha=0.5)
ctx.add_basemap(ax)

but manually creating the axes not (the extent comes from the figure above):
extent = (-11945319, -10336026, 2910477, 4438236)
fig, ax = plt.subplots()
ax.set_aspect('equal')
ax.axis(extent)
ctx.add_basemap(ax)

gives

No idea at the moment what could be the difference (setting the aspect to equal also did not help).

Hinted by @ljwolf, a call to draw does wonders:
extent = (-11945319, -10336026, 2910477, 4438236)
fig, ax = plt.subplots()
ax.set_aspect('equal')
ax.axis(extent)
plt.draw()
ctx.add_basemap(ax)

gives now


HiDPI for wayland system when WM scale factor is set

For example I use swaywm with 24' monitor, 4k.
And I have "scale 2" set in my sway config. It is system-wide setting. Everything's smooth and every app gets 4k.
Besides wlfreerdp. Remote system gets FullHD instead UHD.

you need to choose:

Scale locally (that can be done with /smart-sizing argument)
Scale remotely (/scale* options, require support of remote OS)

you need to choose:

Scale locally (that can be done with /smart-sizing argument)
Scale remotely (/scale* options, require support of remote OS)

I meant "pixels per inch".
Two features, you mentioned, change the sizes of interface's elements, making icons (for example) bigger or dynamic, but the resolution (grain) still FullHD.
If I remove the scale factor from Sway settings (all elements are tiny for 24', system-wide), then - yes, freerdp gets UHD, and only set we have is scale 125|140|180 scale. But 180 isn't enough scaling for 24" UHD monitors. But again in this case all other apps on swaywm are tiny.

@meklonets ok, so your problem is that with the sway scale factor the session size is reduced to FullHD?
Problem here is (just guessing from how it is done in gnome) that the scale factor just scales the application window locally.
FreeRDP on the other hand requires you to do this without any local scaling if you want a session matching your local resolution.
So, short answer: Can´t work that way, you always need FreeRDP without scale factor if you want the proper resolution for the RDP session.
(the /scale* options match what is supported by windows, so nothing we can do client wise)

@akallabeth Got it. Thank you.

with scale=2, wlfreerdp did not tell compositor that it supports hidpi, so wlfreerdp window is  scaled by compositor, thus the remote desktop is double scaled if you specify /scale* options.


Server side: ReferenceError when using component with namespace

I have a React-component that uses require() , so I use Browserify (in grunt) to make this accessible to the browser, and ReactJS.net server-side. It works when I use "manual" client-side rendering, but I get the following error when trying to render it server-side:
ReferenceError: OurReactComponents is not defined    at Script Document [8] [temp]:1:8 -> typeof OurReactComponents.LoanJumboTron !== 'undefined' Line: 0 Column:0
I'm pretty new to CommonJS-modules and Browserify, so this might be overly complex:
In ReactConfig.cs:
ReactSiteConfiguration.Configuration = new ReactSiteConfiguration()
                .SetLoadBabel(false)
                .SetLoadReact(false)
                .AddScriptWithoutTransform("~/GeneratedScripts/React.js")
                .AddScriptWithoutTransform("~/GeneratedScripts/ReactStandalone.js")
                .AddScriptWithoutTransform("~/GeneratedScripts/ReactServerStandalone.js")
                .AddScriptWithoutTransform("~/GeneratedScripts/ReactDOMStandAlone.js")
                .AddScriptWithoutTransform("~/GeneratedScripts/JumboTron.js");

            ReactSiteConfiguration.Configuration.AllowMsieEngine = false;

The three standalone-files are for exposing React, ReactDOM and ReactDOMServer as global object, like this (Gruntfile.js):
reactStandAlone: {
                src: [
                    "scripts/jsx/Loaders/React.js"
                ],
                dest: 'GeneratedScripts/ReactStandalone.js',
                options: {
                    browserifyOptions: {
                        standalone: 'React'
                    },
                    external: ['react', 'react-dom']
                }
            },

Loaders/React.js looks like this:
module.exports = require('react');
(This might be where I'm showing that I have no idea what I'm doing)
The file with our own code is built like this:
jumboTron: {
                src: [
                    "scripts/jsx/JumboTronLoader.js"
                ],
                dest: 'GeneratedScripts/JumboTron.js',
                options: {
                    alias: ['react:', 'react-dom:'],
                    browserifyOptions: {
                        standalone: 'OurReactComponents',
                        debug: false
                    },
                    external: [
                      'react', 'react-dom'
                    ]
                }
            },

... and JumboTronLoader.js
module.exports = {
    LoanJumboTron: require('./LoanJumboTron.jsx')
};

Finally, I create the bundle containing react:
react: {
                src: [
                    "scripts/jsx/Loaders/React.js"
                ],
                dest: 'GeneratedScripts/React.js',
                options: {
                    alias: ['react:', 'react-dom:'],
                    browserifyOptions: {
                        debug: false
                    },
                    external: []
                }
            },

And Loaders/React.js looks like this:
module.exports = require('react');
A lot more plumbing than I would have liked, and could hopefully have been made simpler.
But in my mind (and Chrome) it should work. I'm making the required objects available globally, and the react-component gets its needed dependencies.
OurReactComponents looks like this:

What am I doing wrong? any help is greatly appreciated.

I forgot to include the .cshtml part:
 @Html.React("OurReactComponents.LoanJumboTron", new
    { //...}

Hmmm, interesting. What does GeneratedScripts/JumboTron.js look like? I wonder if it's exposing the globals in a way that works in a browser but not in server-side rendering.

Thanks for helping me figure this out. This should be solved by #267 .


Can't install on MacOS VS Code (version 1.59.0-insider) .

This extension looks great and I'd love to try it, but when trying to install it, I get the message "Can't install 'donjayamanne.jupyterpowertools' extension because it is not compatible with the current version of VS Code (version 1.59.0-insider)."

Would love an update on this if possible; remains true with Mac 1.60.0-insider

Can't install 'donjayamanne.jupyterpowertools' extension because it is not compatible with the current version of VS Code (version 1.60.0-insider).


Implement development-assisting tooling

We are going to need a few debug utilities since the code is not very easy to debug:

Introduce "Debug" build of the library that shouts a lot of error messages if the library is not used properly. All this code should go away during magnification.
Introduce a browser extension that helps access inner state and other meta information.

Does magnification mean minification?

True, autocorrect 😑


ElastiCache Failover Errors

Expected behavior
Expecting the failover to not cause errors and failures.
Actual behavior
Multiple failures in the logs.
org.redisson.client.RedisNodeNotFoundException: Node: NodeSource [slot=10397, addr=rediss://, redisClient=null, redirect=MOVED, entry=null] hasn't been discovered yet. Increase value of retryAttempts and/or retryInterval settings. (Most recent call first) at org.redisson.connection.MasterSlaveConnectionManager.createNodeNotFoundException (MasterSlaveConnectionManager.java:566:566) at org.redisson.connection.MasterSlaveConnectionManager.connectionWriteOp (MasterSlaveConnectionManager.java:515:515) at org.redisson.command.RedisExecutor.getConnection (RedisExecutor.java:643:643) at org.redisson.command.RedisExecutor.execute (RedisExecutor.java:124:124) at org.redisson.command.RedisExecutor$1.run (RedisExecutor.java:298:298) at io.netty.util.HashedWheelTimer$HashedWheelTimeout.run (HashedWheelTimer.java:715:715) at io.netty.util.concurrent.ImmediateExecutor.execute (ImmediateExecutor.java:34:34) at io.netty.util.HashedWheelTimer$HashedWheelTimeout.expire (HashedWheelTimer.java:703:703) at io.netty.util.HashedWheelTimer$HashedWheelBucket.expireTimeouts (HashedWheelTimer.java:790:790) at io.netty.util.HashedWheelTimer$Worker.run (HashedWheelTimer.java:503:503) at io.netty.util.concurrent.FastThreadLocalRunnable.run (FastThreadLocalRunnable.java:30:30) at java.lang.Thread.run (Thread.java:834:834)
org.redisson.client.RedisTimeoutException: Unable to acquire connection! java.util.concurrent.CompletableFuture@4f8cd6a3[Completed exceptionally: java.util.concurrent.CancellationException]Increase connection pool size. Node source: NodeSource [slot=7586, addr=rediss://, redisClient=null, redirect=MOVED, entry=null], command: (SET), params: [, PooledUnsafeDirectByteBuf(ridx: 0, widx: 1020, cap: 1024)] after 12 retry attempts (Most recent call first) at org.redisson.command.RedisExecutor$1.run (RedisExecutor.java:241:241) at io.netty.util.HashedWheelTimer$HashedWheelTimeout.run (HashedWheelTimer.java:715:715) at io.netty.util.concurrent.ImmediateExecutor.execute (ImmediateExecutor.java:34:34) at io.netty.util.HashedWheelTimer$HashedWheelTimeout.expire (HashedWheelTimer.java:703:703) at io.netty.util.HashedWheelTimer$HashedWheelBucket.expireTimeouts (HashedWheelTimer.java:790:790) at io.netty.util.HashedWheelTimer$Worker.run (HashedWheelTimer.java:503:503) at io.netty.util.concurrent.FastThreadLocalRunnable.run (FastThreadLocalRunnable.java:30:30) at java.lang.Thread.run (Thread.java:834:834)
java.util.concurrent.CompletionException: org.redisson.client.RedisConnectionException: Unable to init enough connections amount! Only 0 of 24 were initialized. Server (Most recent call first) at java.util.concurrent.CompletableFuture.encodeThrowable (CompletableFuture.java:331:331) at java.util.concurrent.CompletableFuture.andTree (CompletableFuture.java:1452:1452) at java.util.concurrent.CompletableFuture.allOf (CompletableFuture.java:2337:2337) at org.redisson.connection.balancer.LoadBalancerManager.unfreeze (LoadBalancerManager.java:160:160) at org.redisson.connection.balancer.LoadBalancerManager.lambda$unfreeze$2 (LoadBalancerManager.java:166:166) at io.netty.util.HashedWheelTimer$HashedWheelTimeout.run (HashedWheelTimer.java:715:715) at io.netty.util.concurrent.ImmediateExecutor.execute (ImmediateExecutor.java:34:34) at io.netty.util.HashedWheelTimer$HashedWheelTimeout.expire (HashedWheelTimer.java:703:703) at io.netty.util.HashedWheelTimer$HashedWheelBucket.expireTimeouts (HashedWheelTimer.java:790:790) at io.netty.util.HashedWheelTimer$Worker.run (HashedWheelTimer.java:503:503) at io.netty.util.concurrent.FastThreadLocalRunnable.run (FastThreadLocalRunnable.java:30:30) at java.lang.Thread.run (Thread.java:834:834)
Steps to reproduce or test case
Scale down a redis cluster from cache.r5.xlarge to cache.r5.large
We also saw the same errors when migrating from 2xlarge to xlarge.
On our first time we had lower retries and intervals. After increasing them to 12 and 600ms the errors did drop a lot, but we can not increase them to infinity. Are these errors expected or is the solution just to increase the retries and intervals to some X large amount?
Redis version
6.2.6
Redisson version
3.19.1
Redisson configuration
Using the AWS configuration endpoint
     clusterModeEnabled: true       connectionTimeout: 4000       requestTimeout: 500       retryAttempts: 12       retryInterval: 600       failedSlaveCheckInterval: 2000       failedSlaveReconnectionInterval: 2000       pingConnectionInterval: 5000       sslEnableEndpointIdentification: false       keepAlive: false       nettyThreads: 256       failLimit: 5       retryDelay: 15

In practice I had a failover process in AWS Elasticache which took 5 hours and caused by some issues on AWS side. How much time does it take in your case?

Mine lasted around 30 minutes. The failover had two spikes with failures and increased latencies.

You need to contact AWS support or create a new cluster.

You need to contact AWS support or create a new cluster.

You need to contact AWS support or create a new cluster.

Alright, will get in touch with them. I guess this is not a common occurrence in this case?

Right, not a common. Usually it took 5-10 minutes or even lower.


chore(deps): update gcds-components, gcds-tokens, gcds-utility packages

Summary | Résumé
Updates the packages to the latest versions
English preview
French preview
Note: Update token package again before merging.

Typing my approval here ✅


Can I remove the TTL from a file?

Use case:
When a user uploads an image for a blog post I want the file to have a TTL of 1 hour. If the user cancels the post, the image will be deleted but if the user posts the blog the TTL will be removed from the file.
If that isn't possible:
Can I copy a file via HTTP? For example using a link like this:
http://<IP_ADDRESS>:8080/5,01637037d6?from=3,01637037d6

This is more like a convenience tool. It's better not to include this feature.

which do you refer to in the previous comment? removing a TTL or copying?

copying.
Removing ttl is not supported.

do you have any plans to support removing TTL?
Use case
Photo is uploaded for preview when a user is commenting with a photo, if the user submits the comment the TTL is removed but if for any reason the comment wasnt submitted the image will be removed automatically after the TTL

No plan to support this.
On Mon, Aug 28, 2017 at 11:29 AM CheyenneForbes<EMAIL_ADDRESS>wrote:

do you have any plans to support removing TTL?
Use case
Photo is uploaded for preview when a user is commenting with a photo, if
the user submits the comment the TTL is removed but if for any reason the
comment wasnt submitted the image will be removed automatically after the
TTL
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/chrislusf/seaweedfs/issues/511#issuecomment-325438397,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABeL7zpmRYpvC11KDwlzPQupYyQ78c1cks5scwcVgaJpZM4N6eyb
.


style(test): Unify the indentation format of SQL strings in clickhouse_test

原来的测试中的SQL语句可读性太差，有的没有缩进，贴着左边，有的又缩进了三个tab。
The SQL statements in the original test were  not readable .
我统一了缩进格式。
I unified the indentation format.

Codecov Report
Base: 76.98% // Head: 76.96% // Decreases project coverage by -0.02% :warning:

Coverage data is based on head (c7e3564) compared to base (582c6ea).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2277      +/-   ##
==========================================
- Coverage   76.98%   76.96%   -0.03%
==========================================
  Files         582      581       -1
  Lines       48428    48209     -219
==========================================
- Hits        37282    37102     -180
+ Misses       9128     9101      -27
+ Partials     2018     2006      -12

Flag
Coverage Δ

go-1.15-386
77.00% <ø> (+0.02%)
:arrow_up:

go-1.15-amd64
76.98% <ø> (-0.03%)
:arrow_down:

go-1.16-386
76.99% <ø> (+<0.01%)
:arrow_up:

go-1.16-amd64
?

go-1.17-386
?

go-1.17-amd64
?

go-1.18-386
?

go-1.18-amd64
76.93% <ø> (+0.01%)
:arrow_up:

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

Impacted Files
Coverage Δ

os/gfsnotify/gfsnotify_watcher_loop.go
78.15% <0.00%> (-5.05%)
:arrow_down:

contrib/drivers/oracle/oracle.go

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Url service discovery

@brian-brazil

there is a discussions with lots of background for file sd vs http  and so far most use cases can be solved with the  file sd.
If your case cannot be solved by file sd please read the discussion and post your use case.
https://groups.google.com/forum/#!searchin/prometheus-developers/good$20enough|sort:date/prometheus-developers/JcE5nSbCe4k/Z0ChZaR7AgAJ
There is also an open PR with an example how to implement any SD to a json file which than can be used by a file SD
I don't mind having both http and file sd , but I know @brian-brazil  is against this so closing for now, until there is enough info that the others maintainers and users  want to  support this.


Use date-picker for the dates in demographics

Description of PR
This enhances the date selection capabilities in demographics page. Added the date-picker.
This is a input type = date picker supports all devices including mobile phones.
Type of PR

[x] New feature

Relevant Issues
Fixes #1046
Checklist

[x] Compiles and passes lint tests
[x] Properly formatted
[x] Tested on desktop
[x] Tested on phone

Screenshots
Desktop
Before

After

Mobile
Before

After

Hey thanks for the PR!
I'm not able to view this on safari though, this is what I'm seeing:

And on chrome (I see a date picker, but does not look the same as described in your ss):

Could you check again if this is compatible with all browsers? :)

@jeremyphilemon : I did check on safari, the implementation was not supported by Safari. That was my bad missed safari testing. Thanks for caching this up..
I've updated the implementation to have react-date-picker, this is compatible in all major browsers.
Updating the PR description with the new screenshots of the test.
Thank you..


Use numeric uid in Dockerfile for fix runAsNonRoot

Fixes: container has runAsNonRoot and image has non-numeric user (nobody), cannot verify user is non-root

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

@tamalsaha Please review. This is a blocker for us (using strict PSP and Gatekeeper)

I was able to fix this with: operator.securityContext.runAsUser=65534, so no hurry.

https://github.com/kubeops/config-syncer/actions

Thanks @tamalsaha !


Add init.service module which handles all init systems

Checks for presence of each in order (systemd, upstart, init, rc) and executes relevant "sub"-operation.

Closed @ https://github.com/Fizzadar/pyinfra/commit/bc2f59ad69f0b59e75cfa46732347b3dee89c06c


Table 37- Sales Line - local procedures TestJobPlanningLine / UpdateUnitPriceByField - change to global / protected

Hi ALAppExtensions Team,
in the OnValidate Trigger of Quantity (Base) you can exit by isHandled. But you cannot call procedures that are called afterwards by yourself, because they are local.
Is it possible to change them to protected / global?
Thanks and bye,
Karsten
Code:
        trigger OnValidate()
        var
            IsHandled: Boolean;
        begin
            IsHandled := false;
            OnBeforeValidateQuantityBase(Rec, xRec, CurrFieldNo, IsHandled);
            if IsHandled then
                exit;

            TestJobPlanningLine();
            TestField("Qty. per Unit of Measure", 1);

            if "Quantity (Base)" <> xRec."Quantity (Base)" then
                PlanPriceCalcByField(FieldNo("Quantity (Base)"));

            Validate(Quantity, "Quantity (Base)");

            UpdateUnitPriceByField(FieldNo("Quantity (Base)"));
        end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 47978.


fix(images): properly build builder and modernprobe-builder images too.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: FedeDP
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [FedeDP]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/cc @therealbobo

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: FedeDP, therealbobo
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [FedeDP,therealbobo]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


OSX Tip for Tutorial

@jshaughn  Following your tip ...
i added the package in oder to execute tutorial!
This is a simple line on .adoc tutorial

LGTM


Implement functionality to add global loop limiting logic to shaders in a shader job

When reducing shaders without preserving semantics, GraphicsFuzz can end up introducing infinite loops (e.g. by removing a loop increment, or changing a loop guard to 'true').
To avoid this, we could implement a pass that adds a global variable, LOOP_COUNT, to the shader, conjoin (LOOP_COUNT < LOOP_LIMIT) to the guard of every loop in the shader, where LOOP_LIMIT is a global constant set to e.g. 100, and add LOOP_COUNT++ to the start of the body of each loop.
This pass could be applied to a shader just before the shader is written out to disk during reduction, so that whatever changes the reducer makes, loops will be limited.
Loops with explicitly false guards could be left alone.

This has been implemented.


nostr support

Hello,
Is there any plan to support nostr (Notes and Other Stuff Transmitted by Relays) ?
https://www.reddit.com/r/ledgerwallet/comments/105kn64/nostr_app/
Kind regards

Hi @c0indev3l, this repository is only for the Ledger Bitcoin app; a nostr app could be developed as a standalone project - see for example this prototype: https://github.com/b0l0k/ledgstr-app
There is no current plan to develop a nostr app internally.

@bigspider you added ledger sync app, maybe you can do nostr apps too, it would be killer feature


Graphs in Data structure ( Using C++)

Article checklist
ATTENTION: In your PR - add the ISSUE (topic form) # that this PR corresponds to. You can do this by also adding a comment that states "This fixes #(enter your Idea Content Form #)" to link and close your Idea Content (issue) when the PR is merged.
NOTE: (Please ensure that you have only one open issue + linked pull request at a time. This will ensure that we complete the article in a timely manner from inception to publishing.)
If you have not already please go over our Resources Page for more tips and tricks on how to improve our overall technical writing.
Preliminary Checks - Formatting and Structure

[x] Does your article follow any of the suggested structure formats? - see example formats
[x] Is your article properly formatted in Markdown? - see Github Markdown guide
[x] Have you used the correct folder and file structure? - see Contribution Guidelines
[x] Is your article over 750 words? - Tool: Wordcounter.net
[x] Have you used our preferred heading structure? - H3 (###) and up
[x] Does your article provide enough value and detail about your topic? - Articles should be clear, accurate, and fully explained.
[x] Can your article be understood by beginners? - Assume the audience is smart but has no prior exposure to the common terminology in your article.
[x] Have you included a hero image that is 600x400 pixels and have the copyright to use it? - Tools: Pixlr Image Editor for resizing and Unsplash for Creative Commons images
[x] In your PR - add a comment that states "This fixes #(enter your Idea Content Form #)" to link and close your Idea Content (issue) when the PR is merged.

Grammar & plagiarism checks

[x] Have you spellchecked and grammar checked your article? - Tools: Write&Improve - ProWritingAid -  Grammarly
[x] Please place your article through a 3rd party plagiarism checker? We suggest using Quetext, this tool is free and has a daily limit. We typically accept articles with 10% or less.
[x] Have you checked your article for readability? - Tool: Hemmingway
[x] Have you added sources for quotes and images that aren't yours?

Technical checks

[x] Are your code snippets properly formatted for syntax highlighting - see Syntax guide

Contribution guidelines
For first-time contributors and for more details, see Contributing Guidelines

This fixes #2986

@anubhavb11
@okeloviolet will be reviewing this PR. 👀

Graphs in Data structure ( Using C++) #2986.pdf
Upon running your article through our 3rd party plagiarism checker it seemed to raise a few flags and the % was higher than we typically accept.
Please see attached PDF - and revisit the article to ensure we are contributing wholly unique and original content.
Be sure to see our resources page to see more info on plagiarism and what is considered as such.
@anubhavb11

@hectorkambow  I  fixed all the problems run it on Quetext  got 5% plagrisim and i dont think it is a copy of content its just somethings you cant fix. I am sorry for the trouble it caused you.

@anubhavb11 I am going to review it now.

@anubhavb11 any updates on the requested changes?

@okeloviolet all the changes you asked are done, sorry it was late from my side

@okeloviolet  changes done and checked in Grammarly.

@okeloviolet changes done

Overall nice work - very easy to follow along. @anubhavb11
Please be sure to go over all the changes made to improve future articles 🚀
cc @okeloviolet please do the same as I made some formatting changes to the PR that would help future reviews. 👍


[Chapter 2, P.42] - Creating Workspace Directory, not working for Windows?

In p.42, the following is to be done according to the book:

I think this is for Linux, but I am using Windows. Can you provide what to write when using the CMD in Windows?
Also, in general explain little bit more what it does since I have no real background in Computer Science.
Thanks.

That works fine in Git Bash. Broaden speaking the first line creates a variable "ML_PATH" to represent  $HOME/ml  and then saying to create that folder (ml), you could also go straightfoward just typing  $mkdir -p ml.
I think Geron created that variable just in case you don't want to assign your user directory (perhaps you find better to assign your HD's directory ,D:/ml for instance)

Hi @MathStat1 ,
As @Duca2020 wrote (thanks!), the goal is just to create a working directory in which we'll put the project. You could just create it manually using your file explorer, if you prefer.  The command export creates an environment variable. Here we're just creating an environment variable that we choose to call ML_PATH, and we set it to the value of the HOME environment variable (that's what $HOME means) followed by /ml. On linux and MacOSX, the HOME environment variable automatically points to the user's home directory, for example mine on MacOSX is /Users/ageron (on Linux it would typically be /home/ageron). So the ML_PATH variable will be equal to /Users/ageron/ml on my system. Next, we use mkdir to create this directory. The -p option creates all parent directories if needed. For example, if I decide to point ML_PATH to /Users/ageron/a/b/ml, it will automatically create the directories /Users/ageron/a, /Users/ageron/a/b and /Users/ageron/a/b/ml.
Windows has equivalent commands. Instead of export ML_PATH="$HOME/ml", you must use set ML_PATH="%HOMEDRIVE%%HOMEPATH%\ml", and instead of mkdir -p $ML_PATH you should use md %ML_PATH%.
This should get you started. I recommend looking into other terminal commands (like dir and others), they're quite useful.
Hope this helps.


Problems using Laser plugin

Hello. First I would like to thank you for the development of flatland. It's a very interesting project.
Unfortunately I am unable to use the Laser plugin.
The laser rays do not appear in the simulator and when I use it on the robot, even when I move it around the map (teleop via twist messages) the values of the scan topic never change. If I change the robot's initial position, the values change. It's as if the laser isn't moving with the robot after initializing on the map.
Any tips for beginners? I've read the site's documentation but haven't found anything that I could be doing wrong.
I am attaching my world and robot files (just renamed to .txt for upload purpose). Maybe it can help.
turtlebot2.model.yaml.txt
world.yaml.txt
Thanks in advance.

Hi,
Are you using ros1 or the ros2 branch?
The laser scan is not currently visualized in Flatland Viz, however if you launch rviz you should be able to see it if you set the "Fixed Frame" to "base" or "laser_front".
The TF tree is probably missing a map->base transform (I believe rviz defaults its fixed frame to map), so it can't plot the laser scan since it doesn't know where it is in the map.
You can fix this by either launching another node to publish map to base, or map->odom->base depending. An alternative (not recommended if you're also using ros navigation to drive the robot around the simulation) is using the model tf publisher plugin to publish map->base. This is normally the job of the localization system you're using, but if you're just trying to simulate moving the bot around in flatland, you can do this for now.
There are also more options in the diff drive plugin described here:
https://flatland-simulator.readthedocs.io/en/latest/included_plugins/diff_drive.html


Update the DataRepository to return only copies

DataRepository needs to be updated to return only copies of the object as we do not want things changed when they should be.

Re-opening due to bug introduced by not checking null when writing the clone() override.


stream_edit: Convert module to typescript.

Addressed all comments

Merged, thanks @evykassirer! @sahil839 it might be worth your doing a little QA pass on the panel after this just in case of regressions.

The notification settings in "Personal" section are not updating on toggling the checkboxes. Looks good otherwise.


Quaterly update of the flutter Android Studio plugin: OS Windows

Thanks for your work, I am not here to denigrate it but a cross-platform effort has to be done
There are people working on Windows, Yes Microsoft is not only a gamer place. Yes, some companies have got PC on which they are using/making software apps... That's Europe!
The fact is that on Windows you have to keep your PC update or it will become very noisy...quite unhappy
The Flutter plugin is quite Linux-minded. Maybe on Linux updates are not necessary, I do not know
Let's have a look at the Android part for example:
Why does  Flutter is still using distributions/gradle-6.7(Release Oct 14, 2020!!! nearly one year ago),    build:gradle:4.1.0,  kotlin-gradle-plugin:1.3.50 minSdk 16 ? That sounds so obsolete!
While Android Studio for Windows is using minimum distributions/gradle-7.0.2(Release May 14, 2021)  build:gradle:7.0.1, kotlin-gradle-plugin:1.5.30 minSdk 21; and, a flutter app can work even with some quite more recent releases e.g: Gradle v7.2  on Window
So why are you 'penalizing' Windows? Why do we have to do all those updates on our own? Can't you watch closely and regularly the evolution of Android Studio and Windows? Since the beginning of Flutter, this is that way!
Please be cross-platform and cross-culture!
Thanks

Hi @benedicte69

The Flutter plugin is quite Linux-minded. Maybe on Linux updates are not necessary, I do not know

Flutter plugin for Android Studio or VS Code, those have nothing to do with Windows or Windows updates.
if you have an issue with the Flutter plugin for Android Studio, please file an issue on their dedicated repository.

Why does Flutter is still using distributions/gradle-6.7(Release Oct 14, 2020!!! nearly one year ago), build:gradle:4.1.0, kotlin-gradle-plugin:1.3.50 minSdk 16 ? That sounds so obsolete!
While Android Studio for Windows is using minimum distributions/gradle-7.0.2(Release May 14, 2021) build:gradle:7.0.1, kotlin-gradle-plugin:1.5.30 minSdk 21; and, a flutter app can work even with some quite more recent releases e.g: Gradle v7.2 on Window

Gradle dependencies are the same, even if you're using Linux or macOS
You can find the answer here.
We're working on migrating to Gradle 7 in https://github.com/flutter/flutter/issues/87649
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you


Exception thrown from crf_slot_filler.py

On exit, Snips throws a few pages worth of:
2019-06-06` 10:36:19,863 [MainThread  ] [VERBOSE]  exit 1
Exception ignored in: <function CRFSlotFiller.del at 0x113e0b510>
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/snips_nlu/slot_filler/crf_slot_filler.py", line 406, in del
File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/pathlib.py", line 983, in new
File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/pathlib.py", line 640, in _from_parts
File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/pathlib.py", line 624, in _parse_args
TypeError: 'NoneType' object is not callable
I stopped it by changing line 407 of "/usr/local/lib/python3.7/site-packages/snips_nlu/slot_filler/crf_slot_filler.py" to:
        except (OSError, TypeError):

@Shotgun167
Thanks for reporting this, which OS are you using ?
Can you give more details about what you mean by "On exit"? It this error throwed after the python process is killed, or simply after a SnipsNLUEngine is destroyed ?

MacOS 10.13.6
Python version 3.7.0
At the end of my program I do exit(1)
I don't try to deconstruct/de-initialize snips.  I just exit the program.

Do you get this error in a systematic and reproducible way?
It would be great if you could provide us with some steps, and/or code, that we can follow to reproduce this issue.
Thanks.

I get this error every time I my app finishes/exits.  In the app, I create an object (nlp_actions.py) that does NLU for statements I give it.  It creates the snips_engine in the most bog standard way:
<
def init(self):
# setup request using either dev or Prod
self.snips_engine = SnipsNLUEngine.from_path("./snips/nebula_engine")

After that, I do not interact with Snips in any way other than:
<
res = self.snips_engine.parse(text)

At the end of the main loop of my program, I do:
<
exit(1)

I'm assuming the NoneType is because there has been some cleanup in the Python internals before Snips gets to the cleanup code in crf_slot_filler.py.  I don't think it is a big deal, other than a lot of nuisance error messages, but I was getting several screens full of them and this fix made them go away.

I cannot reproduce locally. I'm running Python3.7.3, perhaps you could try to upgrade to this version.
The error is raised from pathlib internal code, which indeed could suggest that something wrong is happening when the cleanup is done after the process is killed.

@Shotgun167 any update on this, have you tried with Python3.7.3 ?
Do you run into this issue with other python versions like Python3.6 ?
Thanks

I've not had time to update to 3.7.3, but we do have the problem on 3.6.  That's the version on our Jenkins server.
On Thursday, July 4, 2019, 5:44:55 AM EDT, Adrien Ball<EMAIL_ADDRESS>wrote:
@Shotgun167 any update on this, have you tried with Python3.7.3 ?
Do you run into this issue with other python versions like Python3.6 ?
Thanks
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Thanks @adam-ra , I'm reopening it then. I'll try to allocate some time soon to (re)-investigate.
Essentially, the issue is that we rely on the CRFSuite C-library (wrapped in python in sklearn-crfsuite), and this lib requires a file to load a CRF model. This is annoying as we would prefer to have everything in memory, but that's how it is.
So when the client code no longer needs the SnipsNLUEngine instance, we need to cleanup the CRF model files otherwise they would be left behind in temporary folders, which is not ideal.
Using __del__ for such a cleanup task seemed appropriate as it doesn't require any cleanup call from the client code, but it feels like the behavior of __del__ in Python is hard to predict.

del appears to be a very iffy method to use.
https://stackoverflow.com/questions/6104535/i-dont-understand-this-python-del-behaviour

Thanks for explanations! I get this warning each time I run unit tests in my code; it's somehow not cropping up otherwise.
BTW perhaps using pycrfsuite instead would work? I'm using this wrapper in my other code and have never had any issue or warning.

    def __init__(self, model_path):
        self.tagger = pycrfsuite.Tagger()
        self.tagger.open(model_path)

    def close(self):
        self.tagger.close()


[BTRX-710] Permission functionality

Addresses
https://broadinstitute.atlassian.net/browse/BTRX-710
Changes
Redirects to home if user has no access to CG or Project.
Testing
Describe for the reviewer how to test the specifics of this PR, both positive and negative cases.

[ ] Submitter: Verify all tests go green, including CI tests
[ ] Submitter: Get a thumb from Belatrix
[ ] Submitter: Get a thumb from @rushtong
[ ] Submitter: Merge to develop using github's "Squash and Merge" feature
[ ] Submitter: Delete branch after merge

Not sure this solves the problem of the user searching from the nav bar:

NOTE: Also fix the following: If a user has not been granted access to a project, and searches for the project in the search page, the system successfully shows the user that the projects exists, but does not allow access.  HOWEVER, if the user searchers in the search field located in the banner, the system provides full access to the record that she should not have access to.

That code is in SearchController.getMatchingIssues() and _topNav.gsp. If I understand how this works, a user would click on an unallowed entry in the top nav search bar, then get redirected to the main page with no information as to why or what happened. At a minimum, we should be telling the user something about why they can't get to where they want to go.
I think this story needs some refinement, and this solution needs to be run by ORSP for approval.

This was already happening, I totally agree with you and I'll create a story to show a message to the user when they have no permission to see an issue. We were discussing that same thing with Jaime yesterday.

@wloforteBroad  - Thank you, yes, that was happening, but it was accidental and a side-effect of the other role-based changes. With this PR, a user on the search page (or in any other part of the site) will be redirected and therefore lose the context of where they were.
I think a better solution were to prevent the user from following the link in the first place. Imagine that the autocomplete returned the same results now, but with no link for the ones the user doesn't have access to. Then, the autocomplete widget could check for that condition and show something nice in the UI, i.e., treat it differently and make it not clickable with some kind of information saying "Hey, you can't go there!". Better to capture the error before the user clicks rather than after since we know, up front, what the user can and cannot do.

@rushtong Yes, totally agree. But do you think we can do it as part of a new story, or do it on this one?

@wloforteBroad - I don't have a strong opinion on that question, I think it's a PO decision on whether the functionality here meets the requirements. If Andrea is OK with this partial solution, then yes, move forward and create a new story for what this should be doing.

@rushtong this story was to improve a couple of thing that were not working as the ORSP team wanted, so I think is safe to resolve this in a different story. The two issues to solve were:
1- Users with permissions to see a Project didn't have access to related Consent groups, they can access now.
2- User without access to a Project or CG could access them by searching in the Header and clicking them, they are not able to do that any more.

@wloforteBroad

1- Users with permissions to see a Project didn't have access to related Consent groups, they can access now.

Agreed.

2- User without access to a Project or CG could access them by searching in the Header and clicking them, they are not able to do that any more.

Agreed ... but the current PR implementation adds a new bug, i.e. a user can be redirected to a page they did not want to go to with no explanation. I approved this PR - it's up to Andrea and team to approve the implementation of the story.


Support vector constraints for the Table widget

Is your feature request related to a problem? Please describe.
I want to render a table with a dynamic number of columns that can't be known at compile time, but the widths function on the Table widget expects a Constraint array rather than a vector.
Describe the solution you'd like
I'd like to be able to pass a vector of constraints rather than an array.
Describe alternatives you've considered
None.
Additional context
I am very, very new to rust so I hope this all makes sense

I'm not sure to understand the issue. Table::widths expect a slice ref. If you have Vec<Constraint> it should be possible to give it as argument to Table::widths directly. Do you have an example of code that would reproduce your issue ?

I'm not sure to understand the issue. Table::widths expect a slice ref. If you have Vec<Constraint> it should be possible to give it as argument to Table::widths directly. Do you have an example of code that would reproduce your issue ?

My bad, looks like I just needed to use a turbofish when calling collect to specify it was a Vec<Constraint>. Apologies for the false alarm!

My bad, looks like I just needed to use a turbofish when calling collect to specify it was a Vec<Constraint>. Apologies for the false alarm!

My bad, looks like I just needed to use a turbofish when calling collect to specify it was a Vec<Constraint>. Apologies for the false alarm!

My bad, looks like I just needed to use a turbofish when calling collect to specify it was a Vec<Constraint>. Apologies for the false alarm!


k8s: Do not use AdditionalProperties

AdditionalProperties is supported by k8s 1.11 and later only
Without it non-string value types are accepted which may cause policy translation
in cilium-agent to fail.
Signed-off-by: Jarno Rajahalme<EMAIL_ADDRESS>

This change is

test-me-please


Add error troubleshooting

Add error troubleshooting
AI Description

This PR adds troubleshooting steps for an error that occurs when the requested image's platform (linux/amd64) doesn't match the detected host platform (linux/arm64/v8).
To resolve this issue, the following changes are made:

A new section titled "Error: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested" is added to the docs/troubleshooting.md file.
It is suggested to add platform: linux/amd64 to the docker_compose.yml file, with an example configuration provided.

These changes will help users troubleshoot and resolve the specific error by providing clear instructions and an example configuration.

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

Please upload report for BASE (main@62e3c57). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #262   +/-   ##
=======================================
  Coverage        ?   87.85%
=======================================
  Files           ?      148
  Lines           ?     5436
  Branches        ?        0
=======================================
  Hits            ?     4776
  Misses          ?      660
  Partials        ?        0

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


fix/test exec order fix for collection runs

Description
Fix the tests run order in collection runs
Before:
single request run:

collection run:

After:
collection run:

Contribution Checklist:

[x] The pull request only addresses one issue or adds one feature.
[x] The pull request does not introduce any breaking changes
[x] I have added screenshots or gifs to help explain the change if applicable.
[x] I have read the contribution guidelines.
[ ] Create an issue and link to the pull request.

Closing this as this has been taken care of in #2601


Add support for filtering data based upon relations

One should be able to filter top level rows by adding clauses on relationships. For example:
Fetch all posts where comments are greater than 3.
yield Post.query().has('comments', '>', 3).fetch()

Required Method

has
whereHas
doesntHave
whereDoesntHave
withCount

Original Thread
by @KungWaz
It would be nice to be able to filter the top level rows when querying models with relations.
If I have this structure:
office: { orders: [{ items: [{ status: 'p' }, { status: 'c' }] },{ items: [{ status: 'd' }] }] },{ items: [{ status: 'd' }] }] }]] }
I want to get this result:
office: { orders: [{ items: [{ status: 'p' }, { status: 'c' }] }]] }
But at the moment I can only accomplish this:
office: { orders: [{ items: [{ status: 'p' }, { status: 'c' }] },{ items: [] }] },{ items: [] }] }]] }
I use the query builder with scoping:
const office = yield Office .query() .with('orders.items') .where('id', officeId) .scope('orders.items', (builder) => { builder.whereNot('status','d') }) .first()
It would be nice to use a whereHas function here to be able to only get Orders that have OrderItems.
This request is related to this question on SO:
http://stackoverflow.com/questions/41679272/is-it-possible-to-do-a-nested-query-builder-in-adonisjs-with-lucid/41715041#41715041


Feature Request: Apply RegEx transformations to existing title

I would like to be able to apply a regex transformation to the existing tab title, instead of completely replacing or adding to it.
e.g. I sign into multiple gmail accounts simultaneously, and each tab is "Inbox (1,234) -<EMAIL_ADDRESS>but when tabs are narrow, all i see is "Inbox (1,234) - ", thus i can't tell which tab is which account. I'd like to switch it around so the mailbox name is first: something like s/(^.*\)) (.*$)/\2 \1/
Many other websites start the tab title with some generic phrase followed by more useful title info, it would be great to RegEx capture and omit the generic phrase at the beginning.
Example of two different GMail inboxes, and different eBay pages that look the same:

Hi @NeilForsyth,
This feature should work in the current version.

Create your rule based on GMail like mail.google.com
Enter your Regexp in the "URL matcher" input
Use $1 or $2 inside title to print your variable such as your email

See the README to get more details about configurations.
Best

Oh my bad. Yes URL matcher scans the URL with the Regexp, you want to scan the title.
So yes it's not possible.
In case you just want to display your email as a title you try something. Clear URL matcher and put this in the title input : {.gb_vb} - {title}
.gb_vb seems to be the CSS class where your email is displayed in GMail.
Best

Thanks for that - I've spent some time over the past day figuring out equivalent classes etc. for other sites, and so far it's all working great!
I must say it's more work digging through the DOM than a regex on the title though, so my original feature request still stands, but it's not so critical to me anymore.
...I actually find myself wanting to have a regex (or some other text mangling system) apply from the results of the {selectors}! That's a more powerful request than what I originally asked for, and perhaps a bit much.
Thanks @sylouuu for writing this Chrome extension, and for your support!

Hello @NeilForsyth,
I've added the "Title matcher" input and it works like the "URL matcher".
The difference is that you have to use @0 instead of $0 (dollar syntax reserved to URL matcher) in the title input.
You can combine both to alter your title!
Be sure to opt-in for new version notification in Tab Modifier settings. :)
Let me know after the release if it's OK for you with this new feature!
Best


[malloy] make a python snowflake connector in malloy

-> implement snowflake connector
-> add a few tests to verify the connector can run sql
-> ensure it can also be used in malloy runtime [tbd]

Current dependencies on/for this PR:

main

PR #1   👈

This stack of pull requests is managed by Graphite.


Updated zip package

Updated Zip source and test files. Reflected new functions and buffer changes in native file. Created FileTime class to replace java.nio import. Commented out ResourceLeakageDetector in test files due to different junit version.

Should I submit a PR for just Makefiles, a PR for all updated source files, and another for all test files?

Should I submit a PR for just Makefiles, a PR for all updated source files, and another for all test files?

Makefile changes need to go with the source file changes (otherwise it would break the build). It's just the IntelliJ project file that we want to update separately (as a separate PR if warranted, that is).

Superceded by https://github.com/google/j2objc/pull/1335


Add support for audio tags

This adds support for using the vjs-video and vjs-video-container directives with audio tags. Video.js has supported audio tags since v4.9.
Let me know if there's anything you'd like me to change.

@LonnyGomes can you look at this audio tag PR soon?

@cvn This is GREAT!! Thanks for adding the unit test as well. I'll probably add just an example of using audio to the vjs-video landing page and push out a new release!

@cvn merged and added to the v0.1.6 release


Automated cherry pick of #2102: huawei & ucloud fix

Cherry pick of #2102 on release/2.10.0.
#2102: huawei & ucloud fix

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.10.0@a7684ca). Click here to learn what that means.
The diff coverage is 0%.

@@               Coverage Diff                @@
##             release/2.10.0   #2103   +/-   ##
================================================
  Coverage                  ?   7.58%
================================================
  Files                     ?     410
  Lines                     ?   63441
  Branches                  ?       0
================================================
  Hits                      ?    4812
  Misses                    ?   58218
  Partials                  ?     411

Flag
Coverage Δ

#aFlag
7.58% <0%> (?)

Impacted Files
Coverage Δ

pkg/compute/guestdrivers/aws.go
6.41% <0%> (ø)

pkg/util/ucloud/securitygroup.go
0% <0%> (ø)

pkg/util/aws/disk.go
0% <0%> (ø)

pkg/compute/models/loadbalancercertificates.go
3.19% <0%> (ø)

pkg/compute/guestdrivers/ucloud.go
12.82% <0%> (ø)

Continue to review full report at Codecov.

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


wildcards and non-default ports

Hi
What about wildcards and non-default ports ?
Lets say I need to exclude contoso.com:444 - including all subdomains and paths
Will *.contoso.com/* work for this ??

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

ID: 8112b7a9-8f21-18b3-03da-f8c02b05f239
Version Independent ID: a441f1d1-5844-ecb9-ba44-95b94714e4e8
Content: Safe Links - Office 365
Content Source: microsoft-365/security/office-365-security/atp-safe-links.md
Service: o365-seccomp
GitHub Login: @MSFTTracyP
Microsoft Alias: tracyp

@grzegorzwierzbicki Thank you for your feedback. I'm assuming you are referring to Block the following URLs. If so, Yes, .contoso.com/ allows people to visit subdomains and paths in the specified domain.
Hope this helps!
Thanks
Sri

@grzegorzwierzbicki Thank you for your feedback. I'm assuming you are referring to Block the following URLs. If so, Yes, .contoso.com/ allows people to visit subdomains and paths in the specified domain.
Hope this helps!
Thanks
Sri

@msbemba Thank you very much for the contribution and sharing this explanation. @grzegorzwierzbicki Hope this comment is helpful for you. If you see a documentation update is required, please feel free to open an issue for the same. We proceed here to close it. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.

@msbemba Thank you very much for the contribution and sharing this explanation. @grzegorzwierzbicki Hope this comment is helpful for you. If you see a documentation update is required, please feel free to open an issue for the same. We proceed here to close it. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


Log to syslog

It would be nice if kapacitor could log to syslog instead of just files or STDOUT/STDERR.
The current STDOUT logging poses a problem on systemd because of a limitation where journald splits lines at 2k chars (https://bugs.freedesktop.org/show_bug.cgi?id=86465). When using |log() statements to debug a script, these lines can easily exceed 2k, and thus get split up, making parsing rather difficult.
Messages logged through the syslog socket do not have this 2k limitation. I'm not sure what the limitation is for the max length of a syslog message, but It's > 16k.

For reference, here's the PR of the implementation of syslog on influxdb: https://github.com/influxdata/influxdb/pull/902/files


quicktests

Hello.
Running on Windows 11 and Python 3.9.5
when running quicktests.py I am getting the following error and them I get a number of
helpdesk.models.Ticket.DoesNotExist: Ticket matching query does not exist.

======================================================================
ERROR: test_email_with_8bit_encoding_and_utf_8 (helpdesk.tests.test_get_email.GetEmailCommonTests)
Tests that emails with 8bit transfer encoding and utf-8 charset
Traceback (most recent call last):
File "C:\tgm\projects\python\django-helpdesk\helpdesk\tests\test_get_email.py", line 99, in test_email_with_8bit_encoding_and_utf_8
test_email = fd.read()
File "C:\tgm\bin\Python39\lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x8d in position 474: character maps to

I don't believe I have coded anything to influence the unicodedecodeerror but would also like to know of the proceeding tests are dependent on the ticket being created from this test?
thanks

The most likely cause of this is that there is no explicit character encoding defined for the "open" command so python will use the system default and it looks like your Windows setup is defaulting to the lgact CP-1252 character set instead of the modern UTF-8.
A fix for you is to change your system default character set to UTF-8.
The correct fix is to explicitly set the characterset in the open command on line 98 of test_get_email.py
with open(os.path.join(THIS_DIR, "test_files/all-special-chars.eml", encoding="utf-8")) as fd:

Thanks. I'll try the patch to the line and see what happens.
Will also look into the default character set out of curiosity.
Appreciate the reply
On Mon, 20 Mar 2023, 6:26 am Christopher Broderick, <
@.***> wrote:

The most likely cause of this is that there is no explicit character
encoding defined for the "open" command so python will use the system
default and it looks like your Windows setup is defaulting to the lgact
CP-1252 character set instead of the modern UTF-8.
A fix for you is to change your system default character set to UTF-8.
The correct fix is to explicitly set the characterset in the open command
on line 98 of test_get_email.py
with open(os.path.join(THIS_DIR, "test_files/all-special-chars.eml",
encoding="utf-8")) as fd:
—
Reply to this email directly, view it on GitHub
https://github.com/django-helpdesk/django-helpdesk/issues/1077#issuecomment-1475387519,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEAXOGEJE23H7SF4RMSXFADW45TWFANCNFSM6AAAAAAV7DS2ZY
.
You are receiving this because you authored the thread.Message ID:
@.***>

Patchin line 98 worked. Thanks