Global install of angular-cli@latest on Windows 10 is failing

Windows 10.
node v6.2.1.
npm v3.9.3.
All commands are being run using Windows Powershell as Administrator.

Followed the instructions here to do global uninstall and clean cache. This worked fine.

Ran the command to install the latest version globally.
npm install -g angular-cli@latest

The result is many warnings and errors per attached textfile.
terminal-log.txt

Is this a known issue?

I got the same issue, not windows 10, I have windows 7. also tried:
npm install -g<EMAIL_ADDRESS>and --no-optional flag...
the node-zopfli download fails, tried going to the amazon folder where the file is, get access denied.
Should I install CS express to compile from source? does anybody knows if that would make it work??
thanks!

I've also got the same issue before.  Despite the error, angular-cli should work without no problems.
If you really want to get rid of the error, follow this instruction. (Warning: It is downloading REALLY big files, be patient!)

Dupe of https://github.com/angular/angular-cli/issues/1991


[v0.3] Migrate common libs to e2eAIOK/common

This task is to eliminate redundant effort in different modules
suggested to put all common function in here as base class, if there are some funtion/args are designed for specific task, may derive from base class. So we can keep non-common function as less as possible.
Due:
Design done by WW47.2
Codes contributed to e2eAIOK by WW47.5

[ ] design doc updated - pls attach arch design in this issue
[ ] e2eAIOK/common/trainer
[ ] e2eAIOK/common/dataloader
[ ] e2eAIOK/common/utils

@csdingbin @huaxz1986

e2eaiok |   |   |
-- | -- | -- | --
  | recdp |   |
  | e2eaiok |   |
  |   | Common lib |
  |   |   | trainer
  |   |   | dataloader
  |   |   | utils
  |   | sda |
  |   | denas |
  |   | MA |

OK, I have discussed with Bin, and he will merge his codes to a common interface and I will follow the common interface after his refactoring.

@xuechendi  Completed the common trainer code implementation. please help to review and merge #84

completed


Inconsistent accent color of input/progress elements

Compare the color of <input type="checkbox" />, <input type="radio" />, <input type="range"> and <progress> elements. The first two use a the accent color from the painting palette (over LibWeb/CSS/SystemColors.h). The last two use the accent color from LibWeb/Painting/InputColors.h.
On my system, the first color is brown, the second color is blue.
Chrome and Firefox use the same blue for all 4 elements, the exact same blue in both browsers.
It seems like both Ladybird accent colors are not coming from my system.
Expected behavior:
Part 1: Ladybird use the same color for all 4 elements.
Part 2: Ladybird uses the same color than Chrome/Firefox (which depends on the system I guess).
Screenshot Ladybird:

Screenshot Chrome:

Screenshot Firefox:

Test page:
<!DOCTYPE html>

Input type "checkbox"

    <input type="checkbox" checked />Checkbox 1

    <input type="checkbox" />Checkbox 2

Input type "radio"

    <input type="radio" name="1" checked />Radio 1

    <input type="radio" name="1" />Radio 2

Input type "range"

    <input type="range" min="0" max="10" value="7">

Progress

    <progress value="70" max="100"></progress>

I'm trying to fix this, but it seems to be a difficult one for me. Help is welcome!


Add pre-commit lint hook

Administrative Info
Monday Board ID: 853642866
Make sure your branch name conforms to: <feature/staging/hotfix/...>/[username]/[Monday Item ID]-[3-4 word description separated by dashes]. Otherwise, please rename your branch and create a new PR.
Changes
What changes did you make?

Add Git pre-commit script which runs ESLint
Add Husky to automatically manage Git hook installation

Testing
How did you confirm your changes worked?

Made a commit and confirmed that ESLint ran
Created a lint error deliberately by deleting the ESLint disable comment at the bottom of mobile/App.tsx and verified that the commit was aborted

Confirmation of Change

Creating a lint error deliberately

Yeah I only bring up pre-push vs. pre-commit since our team tends to make a lot of commits before opening a PR. They can always just turn off hooks but I figured pre-push would be more convenient. Is that out of scope for this PR though?

Yeah I only bring up pre-push vs. pre-commit since our team tends to make a lot of commits before opening a PR. They can always just turn off hooks but I figured pre-push would be more convenient. Is that out of scope for this PR though?

I second what David says.

That rationale makes sense to me. I probably won't have time in the near future to make this into a pre-push hook, but it should be possible to continue using a workflow with frequent commits by using git commit --no-verify to skip the lint check. Does that sound like a suitable option? Alternatively, if the Git hook in its present state would cause more inconvenience than the value it provides, then we can close the PR. Up to you :slightly_smiling_face:

I discussed this in more detail with David Hacker, and we agreed that having a mandatory lint check for every commit seemed excessive. Overall, I don't have any concerns about the quality of your team's work, so it might not be worth the inconvenience. Thank you for the feedback! I really appreciate it :slightly_smiling_face:


[WIP] Mercury can BatchGet keys

ci and codacy both failed lol

I think you can use GetContainers to implement GetContainer

And, don't forget unit-test for new things.

LGTM, 所以还是 WIP 么


LXD daemon fails to start with missing volume group

At some point in the past I migrated from LVM backed storage to btrfs storage, and later migrated to a new disk. Since (I thought) I didn't need the LXD VG pool anymore I didn't move it to the new disk. After a recent upgrade, LXD failed to start, complaining about the lack of a volume group. I can't say whether or not the VG was declared by something when I moved disks.
If the LXD daemon could start with the missing vg, I'd be able to correct the issue trivially. I'm aware of the hand crafted SQL statements as documented in the "You really screwed up to be reading this" documentation at https://github.com/lxc/lxd/blob/master/doc/database.md#running-custom-queries-at-lxd-daemon-startup, but I don't know where the problem is originating in the db since it's dqlite, which doesn't have any command line tools that I can find. I'm going to write a simple one to help me debug this further.
Base information

Distribution: Ubuntu
Distribution version: 18.04.3 LTS (Bionic Beaver)
Kernel version: Linux vulpix 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
LXC version: 3.16
LXD version: 3.16
Snap revision: 11727

Detailed snap information
name:      lxd
summary:   System container manager and API
publisher: Canonical*
contact:   https://github.com/lxc/lxd/issues
license:   unset
description: |
  **LXD is a system container manager**

  With LXD you can run hundreds of containers of a variety of Linux
  distributions, apply resource limits, pass in directories, USB devices
  or GPUs and setup any network and storage you want.

  LXD containers are lightweight, secure by default and a great
  alternative to running Linux virtual machines.

  **Run any Linux distribution you want**

  Pre-made images are available for Ubuntu, Alpine Linux, ArchLinux,
  CentOS, Debian, Fedora, Gentoo, OpenSUSE and more.

  A full list of available images can be found here:
  https://images.linuxcontainers.org

  Can't find the distribution you want? It's easy to make your own images
  too, either using our `distrobuilder` tool or by assembling your own image
  tarball by hand.

  **Containers at scale**

  LXD is network aware and all interactions go through a simple REST API,
  making it possible to remotely interact with containers on remote
  systems, copying and moving them as you wish.

  Want to go big? LXD also has built-in clustering support,
  letting you turn dozens of servers into one big LXD server.

t=2019-08-29T21:05:48-0700 lvl=info msg="Kernel features:"
t=2019-08-29T21:05:48-0700 lvl=info msg=" - netnsid-based network retrieval: no"
t=2019-08-29T21:05:48-0700 lvl=info msg=" - uevent injection: no"
t=2019-08-29T21:05:48-0700 lvl=info msg=" - seccomp listener: no"
t=2019-08-29T21:05:48-0700 lvl=info msg=" - unprivileged file capabilities: yes"
t=2019-08-29T21:05:48-0700 lvl=info msg=" - shiftfs support: no"
t=2019-08-29T21:05:48-0700 lvl=info msg="Initializing local database"
t=2019-08-29T21:05:48-0700 lvl=info msg="Starting /dev/lxd handler:"
t=2019-08-29T21:05:48-0700 lvl=info msg=" - binding devlxd socket" socket=/var/snap/lxd/common/lxd/devlxd/sock
t=2019-08-29T21:05:48-0700 lvl=info msg="REST API daemon:"
t=2019-08-29T21:05:48-0700 lvl=info msg=" - binding Unix socket" inherited=true socket=/var/snap/lxd/common/lxd/unix.socket
t=2019-08-29T21:05:48-0700 lvl=info msg="Initializing global database"
t=2019-08-29T21:05:48-0700 lvl=info msg="Initializing storage pools"
t=2019-08-29T21:05:48-0700 lvl=eror msg="Error initializing storage pool \"default\": the requested volume group \"default\" does not exist, correct functionality of the storage pool cannot be guaranteed"
t=2019-08-29T21:05:48-0700 lvl=info msg="Applying patch: storage_api_rename_container_snapshots_dir_again"
t=2019-08-29T21:05:48-0700 lvl=eror msg="Failed to start the daemon: the requested volume group \"default\" does not exist"
t=2019-08-29T21:05:48-0700 lvl=info msg="Starting shutdown sequence"
t=2019-08-29T21:05:48-0700 lvl=info msg="Stopping REST API handler:"
t=2019-08-29T21:05:48-0700 lvl=info msg=" - closing socket" socket=/var/snap/lxd/common/lxd/unix.socket
t=2019-08-29T21:05:48-0700 lvl=info msg="Stopping /dev/lxd handler:"
t=2019-08-29T21:05:48-0700 lvl=info msg=" - closing socket" socket=/var/snap/lxd/common/lxd/devlxd/sock
t=2019-08-29T21:05:48-0700 lvl=info msg="Closing the database"
t=2019-08-29T21:05:48-0700 lvl=info msg="Unmounting temporary filesystems"
t=2019-08-29T21:05:48-0700 lvl=info msg="Done unmounting temporary filesystems"

Systemd log (last 50 lines)
-- Logs begin at Mon 2019-07-15 11:46:36 PDT, end at Tue 2019-09-03 17:59:57 PDT. --
Aug 29 21:05:47 vulpix lxd.daemon[3478]: Error: the requested volume group "default" does not exist
Aug 29 21:05:47 vulpix systemd[1]: snap.lxd.daemon.service: Main process exited, code=exited, status=1/FAILURE
Aug 29 21:05:47 vulpix systemd[1]: snap.lxd.daemon.service: Failed with result 'exit-code'.
Aug 29 21:05:47 vulpix systemd[1]: snap.lxd.daemon.service: Service hold-off time over, scheduling restart.
Aug 29 21:05:47 vulpix systemd[1]: snap.lxd.daemon.service: Scheduled restart job, restart counter is at 4.
Aug 29 21:05:47 vulpix systemd[1]: Stopped Service for snap application lxd.daemon.
Aug 29 21:05:47 vulpix systemd[1]: Started Service for snap application lxd.daemon.

Aug 29 21:05:48 vulpix lxd.daemon[3726]: t=2019-08-29T21:05:48-0700 lvl=eror msg="Error initializing storage pool \"default\": the requested volume group \"default\" does not exist, correct functionality of the storage pool cannot be guaranteed"
Aug 29 21:05:49 vulpix systemd[1]: snap.lxd.daemon.service: Main process exited, code=exited, status=1/FAILURE
Aug 29 21:05:49 vulpix systemd[1]: snap.lxd.daemon.service: Failed with result 'exit-code'.
Aug 29 21:05:49 vulpix systemd[1]: snap.lxd.daemon.service: Service hold-off time over, scheduling restart.
Aug 29 21:05:49 vulpix systemd[1]: snap.lxd.daemon.service: Scheduled restart job, restart counter is at 5.
Aug 29 21:05:49 vulpix systemd[1]: Stopped Service for snap application lxd.daemon.
Aug 29 21:05:49 vulpix systemd[1]: snap.lxd.daemon.service: Start request repeated too quickly.
Aug 29 21:05:49 vulpix systemd[1]: snap.lxd.daemon.service: Failed with result 'exit-code'.
Aug 29 21:05:49 vulpix systemd[1]: Failed to start Service for snap application lxd.daemon.

Yeah, depending on the LXD version being started and what the previous version was, some migration step will absolutely require all storage pools be brought online during startup before we can safely allow access to the API. This is needed for data migration / upgrade purposes.
In your case, you have two options:

Create a dummy LVM setup that will allow LXD to start. Something like:

truncate -s 10G /tmp/blah.img
pvcreate /tmp/blah.img
losetup -f
losetup /dev/loopX /tmp/blah.img
vgcreate default /dev/loopX

Use a patch.global.sql in /var/snap/lxd/common/lxd/database containing something like:

"DELETE FROM storage_pools WHERE name='default';"

The first option tends to be safer as it will let you see exactly what's in LXD ahead of deleting the pool from the database. The second option entirely relies on the fact that there is nothing of value still in the database which depends on that pool as the delete will cascade and delete any volume that may still be present in the database.

Thanks Stephen. Steps I followed:
# truncate -s 10G /tmp/foo.img
# losetup /dev/loop7 /tmp/foo.img
# pvcreate /dev/loop7
# vgcreate default /dev/loop7
# snap start lxd

Which brought up LXD as you suggested. I had three old containers still using the removed pool as their root. Deleted them and the old profile, removed the temp pv, and restarted LXD. All is working well now.

Perfect, glad this worked.


Fixes issue #1009

Description
Register non-standard metrics for custom deserialization.
MultiMetric subclasses (ImageMetric and UnicodeRangeMetric) are not dataclasses, so they were not registering for deserialization. ConditionCountMetric is, but for all of these metrics registration happened in the constructor so they couldn't be deserialized unless one had been instantiated.
Changes

Register non-standard metrics on import

Related
Relates to #1009

I should probably just get rid of the __post_init__()


⚠ Bofrost.lu has degraded performance

In a09aaa7, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1957 ms

Resolved: Bofrost.lu performance has improved in 2cf42df after 41 minutes.


Please see the content .

https://gitlab.com/frenware/utils/registry
Can this open source library be moved to GitHub .
I see you have made changes to the document in the past few days .
I don't know how this library has been completed .
Can it be used normally and will there be any further changes in the future .
The download volume is relatively low and it has not been placed on GitHub. I am concerned about future maintenance, so I am asking .

Another feedback question .
static get(config) {
    if (config instanceof this) return config
    return config?.registry instanceof this ? config.registry : new this(config)
}

Can I use the form of 'config ['registry'] ' .
For plugins in the "node_modules" directory, using "?." also requires configuring relevant plugins .

Perhaps another better way is for me to copy your "registry. js" code directly into my project .

@mdxiaohu  I pushed it to github https://github.com/basedwon/registry. I'm deploying many projects and it's easier for me mostly to use gitlab, but I'm happy to do both. And regarding "?." I haven't had an issue on node 16, maybe older versions require additional config? Please submit any issues or PR's over there and I'll take a look. Thanks


[SDP-1149] Fix native asset representation when patching the Anchor Platform

What
[TODO: Short statement about what is changing.]
Why
To address the error https://stellarorg.sentry.io/issues/5043465348/events/9639627a676f4b4e8a0a0043d5b0b5ab/?project=4505189092556800.
Known limitations
[TODO or N/A]
Checklist
PR Structure

[ ] This PR has a reasonably narrow scope (if not, break it down into smaller PRs).
[ ] This PR title and description are clear enough for anyone to review it.
[ ] This PR does not mix refactoring changes with feature changes (split into two PRs otherwise).

Thoroughness

[ ] This PR adds tests for the new functionality or fixes.
[ ] This PR contains the link to the Jira ticket it addresses.

Configs and Secrets

[ ] No new CONFIG variables are required -OR- the new required ones were added to the helmchart's values.yaml file.
[ ] No new CONFIG variables are required -OR- the new required ones were added to the deployments (pr-preview, dev, demo, prd).
[ ] No new SECRETS variables are required -OR- the new required ones were mentioned in the helmchart's values.yaml file.
[ ] No new SECRETS variables are required -OR- the new required ones were added to the deployments (pr-preview secrets, dev secrets, demo secrets, prd secrets).

Release

[ ] This is not a breaking change.
[ ] This is ready for production.. If your PR is not ready for production, please consider opening additional complementary PRs using this one as the base. Only merge this into develop or main after it's ready for production!

Deployment

[ ] Does the deployment work after merging?

stellar-disbursement-platform-backend-preview is available here:SDP:      https://sdp-backend-pr255.previews.kube001.services.stellar-ops.com/healthAP:       https://sdp-ap-pr255.previews.kube001.services.stellar-ops.com/healthFrontend: https://sdp-backend-dashboard-pr255.previews.kube001.services.stellar-ops.com

stellar-disbursement-platform-backend-preview is available here:SDP:      https://sdp-backend-pr255.previews.kube001.services.stellar-ops.com/healthAP:       https://sdp-ap-pr255.previews.kube001.services.stellar-ops.com/healthFrontend: https://sdp-backend-dashboard-pr255.previews.kube001.services.stellar-ops.com

stellar-disbursement-platform-backend-preview is available here:SDP:      https://sdp-backend-pr255.previews.kube001.services.stellar-ops.com/healthAP:       https://sdp-ap-pr255.previews.kube001.services.stellar-ops.com/healthFrontend: https://sdp-backend-dashboard-pr255.previews.kube001.services.stellar-ops.com

stellar-disbursement-platform-backend-preview is available here:SDP:      https://sdp-backend-pr255.previews.kube001.services.stellar-ops.com/healthAP:       https://sdp-ap-pr255.previews.kube001.services.stellar-ops.com/healthFrontend: https://sdp-backend-dashboard-pr255.previews.kube001.services.stellar-ops.com

stellar-disbursement-platform-backend-preview is available here:SDP:      https://sdp-backend-pr255.previews.kube001.services.stellar-ops.com/healthAP:       https://sdp-ap-pr255.previews.kube001.services.stellar-ops.com/healthFrontend: https://sdp-backend-dashboard-pr255.previews.kube001.services.stellar-ops.com

stellar-disbursement-platform-backend-preview is available here:SDP:      https://sdp-backend-pr255.previews.kube001.services.stellar-ops.com/healthAP:       https://sdp-ap-pr255.previews.kube001.services.stellar-ops.com/healthFrontend: https://sdp-backend-dashboard-pr255.previews.kube001.services.stellar-ops.com


Add validator Chicharito.json

Validator Information Submission
Validator Details

Validator Name: Chicharito
Fiamma Address: fiamma1xqquf5lg4fukqfpc9njm2vlt0d69yfjqd2xkt3
Fiamma Validator Address: fiammavaloper1xqquf5lg4fukqfpc9njm2vlt0d69yfjqz5k9ck
BTC Address: tb1p6st2rqavuuxvwaqdfd4mj3q4afea39xqvwxhv8kxg5xcw943jp7q9uegfl
Website: https://node9x.com
Description: Trusted Node Operator
Contact Email<EMAIL_ADDRESS>
Checklist

[x] I have read and understood all instructions in the README.md
[x] I have created a new .json file in the validators directory
[x] My file is named <validator-name>.json
[x] I have filled in all required information completely
[x] I have the required amount of SBTC(signet) for the committee program
[x] I understand and agree to the rules and terms of the Fiamma network

Declaration
I confirm that all information I have provided is accurate and truthful. I understand that providing false information may result in the disqualification of my validator status.

Hello
I have updated balance.


Update exercise naming for consistency

Was it README-1, README-2,... and Sphinx-1,Sphinx-2,... that was the best naming convention?
Currently it is quite a mix

https://coderefinery.org/sphinx-lesson/exercise-list/#recommendations-to-make-a-useful-list

This was shared on Zulip but I did not have time to implement it myself. But it's a good recommendation.


Open related folders

(maybe in settings window):
Show all paths used by the client/game in the settings, even hard-coded ones (but don't let it be edited)  and provide a button that opens that folder

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

we have that already


feat(core): adds warning icon to wallet address item

Checklist

[x] JIRA - LW-7304
[x] Proper tests implemented
[x] Screenshots added.

Proposed solution
Add an optional proptype to WalletAddress so that we can display a warning when an address has changed.
Testing
Running the tests.
Also, by going to the address book and setting the prop isWarningVisible to true/false.
Screenshots

Allure report
allure-report-publisher generated test report!

smokeTests: ❌ test report for ceeed2b3

passed
failed
skipped
flaky
total
result

Total
33
3
0
0
36
❌

Can this black spot be changed to white?

For context:
I  looked into this because it bothers me too. However, this is how the tooltip is used everywhere else in the app. I worked with antd in the past.. and changing their components is very tedious and it's not
reliable. I'd say there is probably a way and it likely deserves its own ticket. This is an example of it being used in the dropdown.

Updating to reflect new design changes:


luci-app-isc-dhcp: Add LuCI for ISC DHCP

LuCI Support for ISC DHCP
We also need https://github.com/openwrt/packages/pull/19413
Screenshots from the new Luci App ISC DHCP:
General

Dynamic DNS

Isn't ISC DHCP EoL since 2022?

From that page:
It is simply time to end this project. ISC DHCP is very mature code.


Plot method error

hi,
I tried as instruction as blow:
./CNView.R 2 178714141 178760307 b \
                 ./cnv_cov.bed \
                 ./CNView.pdf \
                 --title "CNV test"

Input bed file is like:
Chr	Start	End	a	b	c	d	r	f	g
1	2686797	2686925	213<PHONE_NUMBER>3873572<PHONE_NUMBER>7398745<PHONE_NUMBER>7060414<PHONE_NUMBER>403114<PHONE_NUMBER>296603<PHONE_NUMBER>2501843
1	11075575	11075708	170<PHONE_NUMBER>4632164<PHONE_NUMBER>0533318<PHONE_NUMBER>453303<PHONE_NUMBER>8727456<PHONE_NUMBER>00007<PHONE_NUMBER>232722

but ended with error:
Loading required package: optparse
+-------------------+
| CNView Visualizer |
|     (c) 2017      |
+-------------------+
Sample ID file 'b' not found, assuming single sample ID provided
Loading required package: RMySQL
Loading required package: DBI
Loading required package: methods
Loading required package: plyr
Loading required package: MASS
Loading required package: metap
Loading required package: Rsamtools
Loading required package: GenomeInfoDb
Loading required package: BiocGenerics
Loading required package: parallel

Attaching package: ‘BiocGenerics’

The following objects are masked from ‘package:parallel’:

    clusterApply, clusterApplyLB, clusterCall, clusterEvalQ,
    clusterExport, clusterMap, parApply, parCapply, parLapply,
    parLapplyLB, parRapply, parSapply, parSapplyLB

The following objects are masked from ‘package:stats’:

    IQR, mad, sd, var, xtabs

The following objects are masked from ‘package:base’:

    Filter, Find, Map, Position, Reduce, anyDuplicated, append,
    as.data.frame, cbind, colMeans, colSums, colnames, do.call,
    duplicated, eval, evalq, get, grep, grepl, intersect, is.unsorted,
    lapply, lengths, mapply, match, mget, order, paste, pmax, pmax.int,
    pmin, pmin.int, rank, rbind, rowMeans, rowSums, rownames, sapply,
    setdiff, sort, table, tapply, union, unique, unsplit, which,
    which.max, which.min

Loading required package: S4Vectors
Loading required package: stats4

Attaching package: ‘S4Vectors’

The following object is masked from ‘package:plyr’:

    rename

The following object is masked from ‘package:base’:

    expand.grid

Loading required package: IRanges

Attaching package: ‘IRanges’

The following object is masked from ‘package:plyr’:

    desc

Loading required package: GenomicRanges
Loading required package: Biostrings
Loading required package: XVector

Attaching package: ‘XVector’

The following object is masked from ‘package:plyr’:

    compact

Attaching package: ‘Biostrings’

The following object is masked from ‘package:base’:

    strsplit

Filtering & loading coverage matrix... Complete
Compressing coverage matrix [1,281 bp bins]...  Complete
Performing intra-sample normalization... Complete
Performing inter-sample normalization... Complete
Plotting samples to /home/wxq/ftp/files/CNView.ExamplePlotA.pdf...Error in x[j] : invalid subscript type 'list'
Calls: CNView -> pt -> [ -> [.data.frame
Execution halted

Could you please tell me where the problem is. thanks

Hi @yipukangda,
Unfortunately, CNView doesn't currently support whole-exome sequencing data, but that is a feature that would be great to add at some point in the future.
Ryan

Hi @RCollins13
I solved the problem by merging the exome coverage with genome bed file, and generated the plot even though it looked a little weird.
Thanks again for your help.

Great, glad to hear you found a suitable workaround. Always happy to help.
Best,
Ryan


Write a test helper

Ways in which I can test plugin:
Way 1

# plugin file

class Plugin(BotPlugin):

  @staticmethod
  def helper_func():
    # ...

  @botcmd
  def cmd(seld, message, args):
    self.helper_func()

# test file

import plugin

def test_plugin():
  assert plugin.helper_func() == <assertion value>

I would prefer the second method as it is the intended errbot testing method I think.

Would help us avoid some errors.

Second method has been used in five of plugins and all seem to work well. I think I'm gonna stick with second way

(Closing)


Add section on connecting to databases/datastores

The top most searched for terms in the manual are all related to connecting to databases/datastores and we really lack this type of coverage in the manual.  We should have a section dedicated this and ensure we provide details on use cases for the following:

Indicate that localStorage exists by default in Deno
Cover off these searched for persistence layers (in descending order of popularity over the last 30 days)

supabase
postgres
sqlite
mongo
mysql
firebase

Deno team doesn't have a clear solution for drivers. we have some native drivers created by denodrivers team which they are not good for now. on the other side, The Deno team wants official node drivers to be worked on Deno (ref: https://github.com/denoland/deno/issues/12577).
I think we should make a decision here. made good Deno native drivers from zero OR use node drivers

A real simple "Hello World" example for Supabase would be nice, showing how to get a single value from supabase and how to print that value to index.tsx


Feature: make useable with Jupyter

This issue is to track support for jupyter notebook.  As mentioned in the readme, while this package began as a Qt widget, it is within scope of the aims to provide a jupyter front end as well.
Both vispy and pygfx have ways of rendering a canvas to an offscreen/remote frame buffer, which can be rendered in an img tag in the browser.  things like jupyter-rfb make that possible.
In order to achieve this, a better model/view separation will be required (see # for progress on that)
We also currently make use of superqt for things like range sliders and cmap selection comboboxes... so those would also need to be figured out for jupyter widgets... but anywidget and @mantz are likely to provide answers there :)

see https://github.com/pyapp-kit/ndv/pull/51#issuecomment-2420152055 for working proof of principle


Travis config fix, plus a minor inspectdb fix

The inspectdb fix was just a small change to the pop() usage

I see what you mean about the ssl line. It shouldn't be a problem to move it to a local settings file.


executable apktool not found in $PATH, please install it before running xapktoapk

No description provided.

Follow the instructions mate... It says in the readme you need to install apktool in addition to a few other dependencies, depending on your OS and distro the process varies.

Just throwing in my two cents:
I have the same error. Attached is a screenshow showing I have clearly added apktool to my $PATH, as I can call it anywhere, and yet the script in this repo does not see it.

Hi @Vladabdf. Thank you for the interest to the project. Sorry for the late answer, haven't been looking into GitHub repos for a while.
The script unfortunately had poor compatibility with Windows at the time I have published it here, and it also had used a deprecated method to check if binary exists, but I have recently accepted and merged a pull request that added that compatibility with Windows (https://github.com/LuigiVampa92/xapk-to-apk/pull/4), as well as changed the method to check if some executable is in PATH (https://github.com/LuigiVampa92/xapk-to-apk/commit/ccd277f8b68a61484757613c9601cf55f026b8a6).
Can you please check again if it works and give me a feedback? Thank you!


Pass on vendor options for labels

Adds support for a selection of label vendor options in the JSON styling format.

LGTM.
You could as well do something like that:
    "symbolizers" : [{
       "type" : "text",
       "fontColor":"#000000",
       "label": "[name]",
       "vendorOptions": {
         "goodnessOfFit": 0.1,
         "spaceAround": 10
        }
     }]

And pass them directly without having to add support for each one of them specifically...
But I'm OK with your solution as well.

Thanks for the review!
I prefer to set the properties directly on the symbolizer because that's how it is done for all other style properties.


Initial work on the Admin API

This pull request implements the admin API, based on the v2 API with the following changes:

The API is only visible to logged in users
All pages from all sites visible in the same API (except for the root page)
All draft pages are visible
status meta field added to indicate the state of each page
children field added giving a count of the number of children and a link to the listing view for them
optional descendants field added giving a count of the number of descendants and a link to the listing view for them
child_of and descendant_of can be used on any page, including root (by passing it a special value: root)
Appends __types to each response, giving information about all the types used in the response
Adds latest_revision_created_atfield to meta
Adds has_children filter
Adds parent field to listings

There's some major features planned for the near future:

Splitting it out so the implementation lives in the correct app for each content type (eg, the images endpoint would be moved to the wagtailimages app
Adding the ability to retrieve page revisions and save new revisions
Move some actions to the API, eg page locking

We need to keep #2463 in mind. When it will be implemented we will need to make changes in Admin API.

Looks good! Thanks, @kaedroho!

Splitting it out so the implementation lives in the correct app for each content type (eg, the images endpoint would be moved to the wagtailimages app)

Just thought that this might be a blocker. I've not yet tested this branch without wagtaildocs/wagtailimages installed

RFC for the restructure: https://github.com/torchbox/wagtail-rfcs/pull/8

Rebased on top of #2649

Rebased on top of master

Probably we need to handle issues listed in my comments above in a separate PRs. What do you think, @kaedroho?
In general, looks good to me. Thanks!

I forgot to mention in my previous comment that when we finish this PR and solve those issues, we will be able to start implementation of at least the following views using the Admin API:

Documents: listing and detail views
Images: listing and detail views (except "Focal point" feature)

Thanks @m1kola!
I think we should extend the admin API at the point of implementing new components onto it. For now, it is only going to power the new explorer interface and it is complete enough for that. I have put a little thought into what we need to reimplement the choosers as well (which I expect will be the next thing), which is why images have thumbnails (but we probably will need to extend the admin api some more anyway).

Merged in 2f8d00222dfe7f028c5a8375729db3b92b77dc27.
Thanks @kaedroho!


Cancel keep-alive timer task after the proxy switch to TCP proxy

Motivation
After initial handshake, the Pulsar proxy switches to TCP proxy mode, by just copying buffers between the 2 connections and avoiding all parsing.
When that happens, for keep-alive messages, we rely on what the client and broker are exchanging, so they will be able to detect a stale connection client-proxy or proxy-broker.
Currently, we're not removing the keep-alive timer in the proxy, so it's forcefully closing the connection after 60s, even though client and broker are perfectly fine.

so it's forcefully closing the connection after 60s

but right now, shouldn't proxy also handle client's keep-alive request on PulsarHandler.handlePing()  which should keep connection alive between client to proxy and same way proxy to broker?

but right now, shouldn't proxy also handle client's keep-alive request on PulsarHandler.handlePing() which should keep connection alive between client to proxy and same way proxy to broker?

The proxy just passes along bytes at that point. The ping from client is just passed on to broker, which is the one that will respond. If there is a network partition either between client/proxy or proxy/broker, it will be identfied.

yes, once proxy state is in ProxyConnectionToBroker then it becomes just pass through.


How to shield CSS units from being automatically lowercase when formatting

Using the px2rem plugin, some units have to be written as Px so that it doesn't automatically become rem. The current problem is that when I write Px, the formatting code will automatically become lowercase Px.

Well if you don't mind disabling formatting as a whole for css, you can add this into your settings.json:
"[css]": {
  "editor.formatOnSave": false
}

That will only disable formatting (as a whole) on CSS, but if you rely on formatting CSS but just to solve this issue, this won't work. You could of course do the classic Replace All trick:

Press Ctrl/Cmd Shift F to open Find and Replace dialogue.
In the top box, type px; in the second box, type Px
Click the replace all button (or if you want to be more specific, keep pressing Next [the arrow buttons next to the box] and pressjng Replace when necessary)

That should get all px into Px

Please file the issue against the extension that provides the formatter (There's no built-in css formatter in VSCode)


Add license to repository

License currently only in the crate, adding to repo makes it usable more widely.
https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository
Thanks!

Add a LICENSE file matching Cargo.toml


Update the current Validation mechanism to support artifacts from any URL or local path

Current Scenario:
The current Validation mechanism is designed to download OS and OSD artifacts only from opensearch.org
Acceptance criteria:

We should be able to validate artifacts which are locally present on the user machine.
And the code should be able to fetch the downloads from ci-staging bucket for both OS and OSD. The complete ci-staging url is provided by the user.

@Divyaasm Can you provide an update on current status?

@Divyaasm Can you provide an update on current status?

Just updated the procedure as recommended by @gaiksaya and @peterzhuamazon. Thanks

Closing as the related PR #3993  is merged.


Validation for URI is inconsistent with tablechema-js if field value is IP

Not sure which one of this is correct - is IP URI or not - but there is a difference between how Schema modules work in tableschema-py and tablechema-js.  For example if you try and cast '<IP_ADDRESS>' with type=string and format=uri in JS it works fine:
const {Schema} = require('tableschema')
let schema = await Schema.load({'fields': [{'name': 'ip', 'type': 'string', 'format': 'uri'}]})
schema.castRow(['<IP_ADDRESS>'])

But if you try and do same in python it will fail with cast error: can't cast value "<IP_ADDRESS>" for type "string" with format "uri"
from tableschema import Schema
schema = Schema({'fields': [{'name': 'ip', 'type': 'string', 'format': 'uri'}]})
schema.cast_row(['<IP_ADDRESS>'])

This gives us some hard times if we use tableschema-js library to infer schema from row data and process the data later with python library that uses tablschema-py to cast values (like datapackage-pipelines)
Note:  in the earlier version of tableschema-js they were aligned. I believe they've split after this commit https://github.com/frictionlessdata/tableschema-js/commit/fce178a113338ceb40966aae80fffe9a5633d158

@zelima The validator JS lib, has a method isURL() , which is used in tableschema-js
isURL() has an option {require_protocol: true} which will treat all usual IP as non-valid URL.
I think this could help. Let me check, how is this realised in tableschema-PY, may be there is an options to Allow validation of pure IP as URL

Tableschema-PY:  I could allow IP as URL by changing this:
_uri_validator = rfc3986.validators.Validator().require_presence_of('scheme')


[e2e]: delegator-generic workflow_dispatch main checkout slsa3

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/7563420808
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.delegator-generic.workflow_dispatch.main.checkout.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.delegator-generic.workflow_dispatch.main.checkout.slsa3.yml
Trigger: workflow_dispatch
Branch: main
Date: Thu Jan 18 00:19:13 UTC 2024

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/7577589494
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.delegator-generic.workflow_dispatch.main.checkout.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.delegator-generic.workflow_dispatch.main.checkout.slsa3.yml
Trigger: workflow_dispatch
Branch: main
Date: Fri Jan 19 00:21:07 UTC 2024
Tests are passing now. Closing this issue.


Always use latest conda+mamba in CI to resolve potential compatibility issue

to fix #415
While we fixed the subdir 404 issue which introduced another intermittent issue which could cause incompatible issue between mamba and conda bins. This change is trying to use all latest bins to prepare the CI ENV

build

build

UPDATE: use latest conda bin did not fix the issue, still 50% to repro.
I am going to try using the libmamba solver to replace independent mamba installation

build

Using libmamba resolver looks like quite stable w/. multiple test runs.
note:
Monitored ~5 mins slower than use mamba directly, but at least it is more reliable in regular usages


Add decoding to RequestLoggingFilter

It would be very useful to add decoding of URL in request log by default e.g.
RequestLoggingFilter#filter
	public Response filter(FilterableRequestSpecification requestSpec, FilterableResponseSpecification responseSpec, FilterContext ctx) {
		try {
			RequestPrinter.print(requestSpec, requestSpec.getMethod().toString(), URLDecoder.decode(requestSpec.getURI(), "UTF-8"), logDetail, stream, shouldPrettyPrint);
		} catch (UnsupportedEncodingException e) {
			e.printStackTrace();
		}
		return ctx.next(requestSpec, responseSpec);
	}

I see your point but the purpose of this logging is so that one can see more precisely what the generated URI actually looks like.

So may be it could be additional option for configuring request logger?

Good idea, we could make it configurable from the LogConfig.

I've now deployed a new snapshot that should address this issue. Please try version 2.8.1-SNAPSHOT after having added the following Maven repository:
<repositories>
        <repository>
            <id>sonatype</id>
            <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
            <snapshots />
        </repository>
</repositories>

You can then configure the com.jayway.restassured.config.LogConfig#urlEncodeRequestUri(..) like this:
given().config(RestAssured.config().logConfig(logConfig().urlEncodeRequestUri(false)).log().all(). ...

Please try it out.

Hi, working in such way RequestLoggingFilter(LogDetail.ALL, true, new ReportPrinter("Request..."), false) works as expected, thanks. When do you plan to release?


Does This has Persistence ?

Does quasar rat v1.40 has persistence ? so after executing the exe application no anti virus and windows defender can delete it
If it's not a persistence ,what can we do make it persistence ?

The persistence is the installation of the client. Add an exception to your AV if it deletes the client. Other illegal usage is not supported.

Alright


Update main.py so that it can do two things: extract tokens only or check the syntax of the given file.

Solved in PR #107


Files not uploading despite seeming to

I'm using this extension with Brackets Release 1.3 build 1.3.0-16022 on a MacBook Pro with the latest Yosemite and when I save a file it is added to the FTP files pane where I click upload and it appears to upload the file successfully but a check shows it hasn't?

if it says it uploaded that file successfully, it's mostly true. Please check the location of the file (it's the path you set in the server config + the path of the file related to the project home).

Thank you, I discovered the problem. I had added a tilde to my directory path instead of going to my home root it created a directory named "~" and uploaded the files there. I removed it and it works fine. Thank you for your work :)


Pico Display 2.0 LED documentation

hello, I can't manage to find any documentation about the led of the PIco Display 2.0.
In the rainbow example I found the pin to use: RGBLED(6, 7, 8) then it's fairly easy from there to change the color using r,g,b values but that's it. I'd like to know how to turn it off for example or change the intensity
thank you!

Looks like the pimoroni library don't have much control over the led. https://github.com/pimoroni/pimoroni-pico/blob/c5d4865609f1cb1d5bf4773d9f648885305022e6/micropython/modules_py/pimoroni.py
I ended up using this:
`from machine import Pin
led_r = Pin(6, Pin.OUT)
led_g = Pin(7, Pin.OUT)
led_b = Pin(8, Pin.OUT)
led_r.value(1)
led_g.value(1)
led_b.value(1)`

The set_rgb helper function in pimoroni.py accepts a value in RGB (from 0 to 255) - so you could turn off the LED with:
from pimoroni import RGBLED
led = RGBLED(6, 7, 8)

led.set_rgb(0, 0, 0)

led.set_rgb(127, 127, 127) would give you half brightness.
Agree that we could use some documentation for these helper functions!

omg, I should have slept on it. My brain must have crossed some wires when I asked, it makes a lot of sense :) thanks!


refactor: return an error from server in case request deserialization…

… fails

This change is

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

Project coverage is 79.85%. Comparing base (006d0c3) to head (5c10a83).
Report is 1 commits behind head on main.

Files
Patch %
Lines

crates/mempool_infra/src/component_client.rs
18.18%
16 Missing and 2 partials :warning:

crates/mempool_infra/src/component_server.rs
66.66%
4 Missing and 1 partial :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #379      +/-   ##
==========================================
- Coverage   80.80%   79.85%   -0.95%
==========================================
  Files          35       35
  Lines        1620     1643      +23
  Branches     1620     1643      +23
==========================================
+ Hits         1309     1312       +3
- Misses        245      264      +19
- Partials       66       67       +1

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


Appearance proxy not working

What did you do?
I try to style SkyFloatingLabelTextField globally through appearance proxy
What did you expect to happen?
I expect line to be green by code
let style = SkyFloatingLabelTextFieldWithIcon.appearance().  style.selectedLineColor = .red
What happened instead?
Nothing happens.
Environment
Xcode Version: 9
SkyFloatingLabelTextField Version: 3.2.1
Method of Integration: CocoaPods

Hey I accidentally use appearance proxy again on UiTextField after above code. Problem is gone.


Generate tests for generated client

generate tests for the generated client based on the generators from #98

This ticket is labeled with raspberry pi 3 bounty. Solve the ticket and I'll send you a pi


PagerDuty app | Customers unable to login

⚠ As of November 13th 2023 we have confirmed that changes released in all major browsers are blocking unauthenticated users from logging in on the Pagerduty UI. This disruption has started becoming increasingly evident with the gradual rollout of Chrome 115 and above.
We have been working on a few solutions to restore service and we will provide status updates in this thread as we make progress.
For any questions please reply to this thread or email<EMAIL_ADDRESS>For more technical details follow issue https://github.com/DataDog/apps/issues/160

The external authentication flow has been updated to leverage a modal to facilitate users authenticating with 3rd parties. PagerDuty has confirmed their users are able to authenticate successfully again, and as such, we are closing this issue.


SystemGroup cannot handle groups with spaces

In Cups 2.2.0, the following line works in cups-files.conf:
SystemGroup "a group" sys root

In Cups 2.2.2, cupsd -t reports that the file contains errors for any variant:
SystemGroup "a group" sys root
SystemGroup 'a group' sys root
SystemGroup a\ group sys root

First, spaces are not generally supported in UNIX group names - that it ever worked is blind luck...
Second, the code that parses the system groups hasn't changed in over 10 years and does support quoted but not backslash escaped values. Both of the quoted SystemGroup definitions should work, as long as "a group" exists as a group. But note that groups in /etc/group cannot contain spaces on Linux and macOS (at least).
Also, what is the exact error message you are seeing?

First, spaces are not generally supported in UNIX group names

Too bad.  UNIX supports NIS, LDAP, and other information sources which do support spaces, and doesn't generally filter them to replace spaces with another character.  This is one of the few common questions that pops up on forums and mailing lists about configuring CUPS, as much as there are any common questions about configuring CUPS.

Second, the code that parses the system groups hasn't changed in over 10 years and does support quoted but not backslash escaped values.

Then I'll need to re-examine my set-up.  It works in Ubuntu 16.10 (Cups 2.2.0) but not 17.04 (2.2.2); perhaps it is a distribution issue, or a configuration error on my part.  I'll find out next week.

Also, what is the exact error message you are seeing?

cupsd just exits with code 2, no logs, and no output.
cupsd -t says /etc/cups/cups-files.conf contains errors and exits.  It works if I remove the quoted group from cups-files.conf.

OK, it appears the error messages are going to the system log (since no log file has been opened yet), rather then the standard error... The quotes are being maintained as part of the lookup.

OK, I've committed changes that force logging to stderr when "-t" is used, and improved the logging of SystemGroup errors.
That said, the code (still) does the right thing with quoted strings, so more than likely the issue is that getgrnam() is not finding the named group.

This change makes builds on systems where a system group doesn't exist fail in the testsuite, e.g.:                 ```
--with-system-groups=lpadmin

FAIL: 35 error messages, expected 33.
E [28/Aug/2017:13:46:06.572986 +0000] Unknown default SystemGroup "lpadmin".
…

The two additionnal error messages are due to two occurences of the above error line.

It'd be ideal if CUPS could continue to build (and have its test run) in a clean environment.

@OdyX Please file a new issue for the test suite problems you are having.


Need help with hxcpp debugging

Hi. Anybody have a success with hxcpp debugging on Linux? (sorry if it's offtop)
I tried several different configurations and as result I opened two (for vscode-hxcpp-debug and for haxe-repro) different issues with information about failed tests.
And this two repos have a different debug configurations of hxcpp debugger. What configuration is more right? I don't know :(
Maybe somebody have another example?
Thanks.

sample


Using HIE completely as a library?

On #ghc, Phyx- said
<Phyx-> bgamari: https://mistuke.files.wordpress.com/2010/07/screenshot1.png (old version)
 and http://i.imgur.com/1eNUnLc.png (new code) lol.
* Phyx- does too many things at once
<bgamari> wow
<bgamari> Phyx-, looks quite good
<bgamari> Phyx-, you should do a better job advertising this
<Phyx-> bgamari: well, I never finished it. Still have the code though. Been attempting to
 clean it up to release it
<Phyx-> has things like https://mistuke.files.wordpress.com/2010/08/image.png as
 well, where hovering over anything shows you the definition
<Phyx-> it hooks directly into GHC's ASTs, so things like enabling language pragmas
 will change syntax highlighting etc. which is the biggest difference between it and the
 rest of the stuff out there which just use regexp
<bgamari> indeed
<bgamari> Phyx-, have you considered building on haskell-ide-engine?
<Phyx-> bgamari: Haven't looked at that one, at the time I did look at scion. But the
 serialization to and from strings made it fairly unusable for the responsiveness I wanted.
<Phyx-> If there's enough abstraction it may be possible with haskell-ide, so I'll
 have a look

and
<Phyx-> alanz: My approach has been to compile my IDE backend which just exposes
 simplified GHC types to a shared library (which includes the GHC api bits) and load it
 in the same address space as the IDE and just marshall the data acros. The reason
 I've done this is that in my own testing, JSON, XML and even MSGPACK were just
 not responsive enough. Lots of time was wasted on the printing and parsing. The way
 scion, ghc-mod and it seems this project is structured, it hea
 [01:47:59]
<Phyx-> alanz: as in, If I were to use haskell-ide-engine, can I bypass the protocol and
 write just straight FFI exports to the functions? without having to fight the setup?
 [01:49:00]
<thomie> Phyx-: your sentence was cut off at "The way scion, ghc-mod and it seems
 this project is structured, it hea" [02:05:01]
<Phyx-> whoops [02:05:32]
<Phyx->  The way scion, ghc-mod and it seems this project is structured, it [02:05:36]
<Phyx->                   heavily relies on having a "protocol" in place. [02:05:36]

To me the main thing to do to allow this is to push all the serialisation out to the transport layer, and then provide an FFI transport.

Let’s first take a look at our current architecture and then see how an ffi approach can fit in here and what changes it requires:
Currently we have a single TChan which receives ChannelRequests. The transport is responsible for delivering the requests to the channel and our dispatcher reads the requests. The ChannelRequest contains the channel used to transfer back the output.
Problems
Now we can obviously just expose those channels via an ffi, but there are two problems with this approach:

A channel takes a single type, that means that the output of a plugin needs to be “serialized” to that type. Currently this is a ChannelResponse which contains an aeson Object inside containing the actual data. If the serialization speed of aeson is a problem, I strongly suspect that serializing to an Object is also not an option. Obviously ChannelResponse can contain something else. The best case for performance would probably be a giant sum type which in Phyx-’s case needs a constructor for the things ghc’s parser returns. "Serializing" becomes then as cheep as attaching a tag, so it should no longer be a problem. However this approach is not very extensible. Since sum types are closed, every time a plugin has a new return value we need to extend this.

The second issue is more subtle: TChans are a nice abstraction when used from haskell, but I don’t think they are a good fit if you want to use them via the ffi. Whatever language your using probably has it’s own channel abstraction and I am pretty sure that it’s nicer to use those than do some weird ffi things just to be able to work with TChans.

So overall I don’t think exposing the channels is enough to get a nice ffi.
A possible solution
I would prefer if an ffi approach could completely bypass any channels and dispatchers we may use. We already have the CommandFunc a type which doesn’t do any serialization, it comes in an async and a sync version so if you only need sync support you don’t need to deal with channels,callbacks or something else like that and if you need async commands then you can use a callback to convert to whatever concurrency abstraction your language provides. Great! However it’s not quite that simple. The CommandFuncs don’t simply work in IO but in IdeM so you can’t just call them directly via the ffi. However it shouldn’t be too hard to provide a wrapper which returns in IO.
So let me illustrate how I would imagine an ffi approach looks like
initialize haskell runtime
mvarContainingSomeState <- initiHIE
wrapper mvarContainingSomeState syncCommandFunction
wrapper mvarContainingSomeState asyncCommandFunction callback

I’d love to hear if I’ve forgotten anything or if there are better ways.

{{{
initialize haskell runtime
mvarContainingSomeState <- initiHIE
wrapper mvarContainingSomeState syncCommandFunction
wrapper mvarContainingSomeState asyncCommandFunction callback
}}}
Something like this would actually work perfectly fine for me!

Superseded by move to LSP


[feat] Update Headers

Changes Made:

updates headers on read pages
makes tweaks to text alignment on profile page

Before
After
After (narrow screen)

no change

no change

no change

Can the group icon on the right be vertically centered?

Can the group icon on the right be vertically centered?

yup, just updated!


[Build] Sections should use “”

Currently
Sections are not implemented in the native <select>.
Wanted
Options should be grouped using <optgroup>’s inside the <select>.
(Unless there’s a good reason not to?)

hmm...  i actually started building this and halfway in i question


Odd green and black horizontal lines in diff editor

VSCode Version: 1.14.1
OS Version: Windows 10

Steps to Reproduce:

Make a multiple line change to a file.
Bring up the diff view in inline mode.
Scroll the diff out of view then back into the editor.

Odd bright green and black horizontal lines appear in the diff view.

Reproduces without extensions: Yes

Here's the green lines if the current line is outside the added region.

Repros on all in-the-box themes (Dark+, Light+, Abyss, Red, etc).
I'm using an Asus laptop with Intel HD Graphics 4000.

@gregvanl @rebornix  Are you using a zoomLevel different than 0 ? (i.e. does View > Reset Zoom resolve the issue? )

No, using default zoom level 0. To get it to repro, I've often had to scroll the diff region out of view and then back in.

@gregvanl Is Windows configured to use scaling?
i.e. is this at 100% or some other value:

I'm set at 125% but also repros at 100%


Gallery: [Vue warn]: Error in render: "TypeError: Cannot read property 'supportedFeatures' of undefined"

I tried using the Gallery component as described in the basic example. The gallery did not display and I received the following error in the console:
[Vue warn]: Error in render: "TypeError: Cannot read property 'supportedFeatures' of undefined"
The component that uses <gallery>:
<template>

            <gallery :uploader="uploader" />

</template>

Package versions:

vue 2.5.13
vue-fineuploader 2.0.0-rc.7

fine-uploader 5.15.6
fine-uploader-wrappers 0.1.1
lodash.isplainobject 4.0.6

Hi,
🤔  Wierd, I did try it before merging it, and it didn't occur to me, but I'll check this out later today.
Any idea @tjunxiang92?

I found the error, the fine-uploader-wrappers version is outdated. I'll update the dependency version number.

Fixed in 166758e8a6c2ad02059890797a351e650e8f73b7
Try an npm update and it should be fine.

Works for me.


Accept and pass emulator options in run.sh

We need to pass debug options like --log-http --verbosity=debug --user-output-enabled.

Hey @iki thanks for the PR. It's a good idea.
Can you please add docs for this on the README?

Hey @iki , can you please do that? Would love to be able to set debug level and log in human-friendly notation.

Sure, I'll be back from traveling in a week and will add the docs.
El jue., 21 mar. 2019 5:08, Rogier Lommers<EMAIL_ADDRESS>escribió:

Hey @iki https://github.com/iki , can you please do that? Would love to
be able to set debug level and log in human-friendly notation.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/marcelcorso/gcloud-pubsub-emulator/pull/5#issuecomment-475172315,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJI4h932jFX9Faj_GmJojLH7kQIl7TGks5vY1oPgaJpZM4YoiUZ
.

+1, would be great to have. Thanks!

@rogierlommers @hannesdejager I didn't had time to test the PR. If you guys tell me it works I merge, push and then Iki can do the docs on another PR. Maybe that can speed up things.

Yes please do so, works fine.

pushed ✅


Swapped disk/memory env variables for fusion.

Environment variables FUSION_MEMORY_SIZE and FUSION_DISK_SIZE was swapped.

This has been fixed now AFAIK.  Thanks !


Simple way to control security cam lights

Could someone help me with a how-to guide to control the outdoor security camera floodlights?  Ideally I would like to expose this feature in HomeKit via HomeBridge.
Thanks!

As I read the eufy-security-client code. It is not possible currently. I don't know if this https://github.com/bropat/eufy-security-client/blob/8d6b7851e7ba7a33e1ebb98c0946d94e62b97c53/src/http/types.ts#L73 referes to the actual floodlights. Only @bropat can clarify this.

@fullphat
Looks like @bropat is already working on this.
https://github.com/bropat/ioBroker.eufy-security/issues/133

@schliemann
This functionality has already been implemented in the current dev code (not yet published).
I am currently working on a major update... ;)

Feature was implemented in version 0.9.0 (among others ;) )


Improve platform inconsistencies

We are currently maintaining the flutter maplibre package and while implementing the platform views we discovered multiple inconsistencies between Android and iOS (also web, but that's another story)
Here are some APIs that we found that are currently inconsistent:

Define a camera update. Android has a new and more convenient api (imo). iOS relies on the default MapView.cameraThatFits methods
Animate the camera to point X. Android sometimes does flyTo, iOS in some cases does animateTo.
Smaller implementation details. How do we handle updates of a camera while another one is currently running?
Supported formats of styling. Android supports a raw style string. iOS dosn't.

We are trying to expose a single dart API to the users of the package and platform inconsistencies make this very hard.
(Same goes for potential framework wrappers in kotlin native or react-native)
I can also imaging that teams that are building standalone android and iOS Apps would benefit from a consistent API since the teams are able to share knowledge.
Of course we will have some differences because we have to make sure maplibre integrates well into the specific platform. An example for this might be better SwiftUI or Compose integration or extension that integrate the map easier into platform specific lifecycle events.
In order to improve consistency, we can:
Define a clear API surface...
that we expose to every platform. I mean there is a reason why android and iOS diverged. Why did this happen and what can we do in order to avoid that? Maybe make the C api easier to use?
Improve documentation on what features goes where
One reason can be that people don't know all the features and therefore write code in the platform sdks that might not be needed. There is also a certain barrier when it comes to contributing to the C code because some people have absolutly no idea and might be terrified to learn or even touch C.
How can we make this easier?
We can also move part of this into discussions if you like.

I mean there is a reason why android and iOS diverged. Why did this happen and what can we do in order to avoid that?

The Android and iOS SDKs are written for Android and iOS developers – developers familiar with Java, Kotlin, Objective-C, or Swift, each of which have their own naming conventions that this project has little or no control over. If consistency across platforms is overly prioritized, it will result in greater confusion, not less, as developers come from other libraries on their respective platforms and continue to interact with other libraries on those platforms.
If you find the inconsistency between platforms to be problematic, your Flutter users will appreciate your efforts at smoothing them over with an API that’s familiar to Flutter developers, but this doesn’t mean everyone else will necessarily benefit from the same massaging. What would certainly help with consistency is to migrate the iOS/macOS SDK to pure Swift. There will still be many unavoidable differences from Android and Kotlin, but Swift is a more modern language that wouldn’t need some of the more extreme language workarounds that this library employs, such as the NSExpression/NSPredicate language.

I think it's fine to have APIs that are more focused towards the target platform in terms of naming (following naming conventions) and of course I may use slightly different classes as you showed here.
I think my latest PR #1455 caused some confusion because the naming was similar to android.
To clarfiy: We don't want to have the exact same names on all platforms!
I am not a iOS dev and therefore I just went with a name that made sense to me, not knowing that there is a totally different naming convention on iOS.
We should fix that for sure 👍🏽
The problem we are facing is that some things are just working complelty different, and both SDKs expose the c++ layer in a different way. The CameraUpdate API is a good example.
Android build something extra while iOS "only" has the existing mapView.cameraThatFits methods.
They also behave slightly different and may come with different limitations.
As a team that writes iOS and Android apps they now have to solve the problem twice and they may get different results.
If we have a certained C++ api surface that we expose consistently (with respect to the target platforms guidlines and rules) a lot of the things get easier.
Maplibre currently has very limited amount of resources compared to the previous mapbox team. Why maintain so many different methods if we can align most sdks to use a certain amount of C++ APIs and then focus the development resources on them?
I updated the description of the issue to clarify.


Fix share preview

Share preview closes and removes itself correctly

forgot one thing, will re-open in a sec

:+1:

:dancer: :dancer: :dancer: :dancer:


Kubernetes script fixes

Type of change

Bugfix

Description
Fix a couple of problems in the kubernetes scripts
Additional Context
I had some problems using the script.
QUAY_ORG=robeyoun ./scripts/run-with-strimzi.sh kubernetes-examples/portperbroker_plain
/home/roby/development/redhat-managed-kafka/upstream/kroxylicious/scripts/common.sh: line 24: CONTAINER_ENGINE: unbound variable

CONTAINER_ENGINE=docker ./scripts/run-with-strimzi.sh kubernetes-examples/portperbroker_plain
./scripts/run-with-strimzi.sh: line 31: QUAY_ORG: unbound variable

and then later, once it had deployed everything to the cluster I saw it had deployed quay.io/kroxylicious/kroxylicious-developer:0.3.0-SNAPSHOT instead of the one pushed up to my quay account.
Checklist
Please go through this checklist and make sure all applicable tasks have been done

[ ] Write tests
[ ] Make sure all tests pass
[ ] Review performance test results. Ensure that any degradations to performance numbers are understood and justified.
[ ] Make sure all Sonar-Lint warnings are addressed or are justifiably ignored.
[ ] Update documentation
[ ] Reference relevant issue(s) and close them after merging
[ ] For user facing changes, update CHANGELOG.md (remember to include changes affecting the API of the test artefacts too).

Maybe worth a check on OSX again to make sure bash3 is happy @k-wall

Maybe worth a check on OSX again to make sure bash3 is happy @k-wall

The changes work on both my Linux and MacOS/OSX systems.


Distorted image when apply at least on filter

Hi,
i have the problem in subject. My Flow is:
Download with glide a bitmap and after i will send to PhotoEditor library. When i select at least one filter (gray,rotate, ecc...) the image is distorted.
I checked size of bitmap and it is ok. I checked size of surfaceView and she changes when applying the first filter
@Override
public void onSurfaceChanged(GL10 gl, int width, int height) {
if (mTexRenderer != null) {
Log.e("ONSURFCHANGED",width+"\nHeight:"+height);
mTexRenderer.updateViewSize(width, height);
}
}
Before

After

You can fix this issue by saving the captured image in the gallery and use that file path because if you take an image directly from the camera then the size of that image is very small and this is the reason the image is getting destored.

@rohit6027 i'm downloading image with glide.
 ```

final GlideUrl glideUrl = GenericUtility.getGlideUrlFromData(BackendMethods.URL_IMG_TIMELINE_PATH+ picMatch.get_key(), MyApplication.getUser().getWtkn());
Glide.with(EditImageActivity.this)
.load(glideUrl)
.asBitmap()
.into(new SimpleTarget() {
@Override
public void onResourceReady(Bitmap resource, GlideAnimation<? super Bitmap> glideAnimation) {
mPhotoEditorView.getSource().setImageBitmap(resource);
}});

so i'm using bitmap. do you think that correct way is going to save in sd and after ?

It doesn't matter how you are loading the image in image view the only thing matter is what file path are you using.
how are you getting belwo path in onActvityResult.
GenericUtility.getGlideUrlFromData(BackendMethods.URL_IMG_TIMELINE_PATH+ picMatch.get_key(),

@rohit6027 mmm path is my server next i download the image and setBitmap I don't understand where the problem is

@rohit6027 any updates ? ty

@lillogoal your case is different but the problem I was facing is the same. I solved my problem after saving the actual image size in gallery when the user clicks an image from the camera.

@lillogoal your case is different but the problem I was facing is the same. I solved my problem after saving the actual image size in gallery when the user clicks an image from the camera.

so you suggest me to save in external directory and after loads in photoeditor view ? can you post an example of saving and loading image ? thanks

@lillogoal your case is different but the problem I was facing is the same. I solved my problem after saving the actual image size in gallery when the user clicks an image from the camera.

so you suggest me to save in external directory and after loads in photoeditor view ? can you post an example of saving and loading image ? thanks

@lillogoal  no need to save image in an external directory. It will be great if you share a complete image link that you are trying loading in the photo editor view.

@lillogoal  no need to save image in an external directory. It will be great if you share a complete image link that you are trying loading in the photo editor view.

@lillogoal no need to save image in an external directory. It will be great if you share a complete image link that you are trying loading in the photo editor view.

sorry but link required auth request with bearer.
i understud image has to save  in gallery right ?

@lillogoal no need to save image in an external directory. It will be great if you share a complete image link that you are trying loading in the photo editor view.

sorry but link required auth request with bearer.
i understud image has to save  in gallery right ?

I am not sure it will work or not but you can try it.

I am not sure it will work or not but you can try it.

@rohit6027 yes i can try but you can send me an example of saving in gallery and load from gallery. ty

@rohit6027 yes i can try but you can send me an example of saving in gallery and load from gallery. ty

In the beginning, I said I am taking an image from the camera but you are taking it from the server.

In the beginning, I said I am taking an image from the camera but you are taking it from the server.

yes yes but after taking from server i convert in bitmap so maybe your implementation is ok. I am desperate I have tried everything

yes yes but after taking from server i convert in bitmap so maybe your implementation is ok. I am desperate I have tried everything

is it happening with every image URL which you getting from the backend ?? if yes then I will create a sample for the same issue else you can share your image URL if possible.

is it happening with every image URL which you getting from the backend ?? if yes then I will create a sample for the same issue else you can share your image URL if possible.

@lillogoal  its working file with the URL also I am using this url ->

@lillogoal  its working file with the URL also I am using this url ->

My flow is: user capture image -> upload on server -> other user download image and need to modify it.
If user in the first step decide to load an image from gallery (low resolution maybe) it works. I tested with your url: "https://www.webconfs.com/comics/dynamic-vs-static-urls-comic.jpg" --> it works.
So in my opinion problem is when user capture and upload image with high resolution.

My flow is: user capture image -> upload on server -> other user download image and need to modify it.
If user in the first step decide to load an image from gallery (low resolution maybe) it works. I tested with your url: "https://www.webconfs.com/comics/dynamic-vs-static-urls-comic.jpg" --> it works.
So in my opinion problem is when user capture and upload image with high resolution.

yes you are right. how you are capturing the image ?? are you saving actual image size in local storage ??

yes you are right. how you are capturing the image ?? are you saving actual image size in local storage ??

  PickSetup pickSetup = new PickSetup().setWidth(600).setHeight(400).setGalleryButtonText(getString(R.string.galleria)).setTitle(getString(R.string.choose)).setCancelText(getString(R.string.annulla));
        PickImageDialog.build(pickSetup).show(this).setOnPickResult(new IPickResult() {
            @Override
            public void onPickResult(PickResult pickResult) {
                if (pickResult.getError() == null) {
                    Log.e("PATH",pickResult.getPath());
                    File file = new File(Environment.getExternalStorageDirectory()+File.separator+"img_"+System.currentTimeMillis()+".jpg");

                    UCrop.of(pickResult.getUri(), Uri.fromFile(file))
                            .start(PhotoToBetActivity.this,REQUEST_IMAGE_CROP);
                } else {

                    //Handle possible errors
                    //TODO: do what you have to do with r.getError();
                    Toast.makeText(PhotoToBetActivity.this, pickResult.getError().getMessage(), Toast.LENGTH_LONG).show();
                }
            }
        });

I think yes, this is my code, i used a picksetup library, and after selection or capture image user can crop using UCrop library

  PickSetup pickSetup = new PickSetup().setWidth(600).setHeight(400).setGalleryButtonText(getString(R.string.galleria)).setTitle(getString(R.string.choose)).setCancelText(getString(R.string.annulla));
        PickImageDialog.build(pickSetup).show(this).setOnPickResult(new IPickResult() {
            @Override
            public void onPickResult(PickResult pickResult) {
                if (pickResult.getError() == null) {
                    Log.e("PATH",pickResult.getPath());
                    File file = new File(Environment.getExternalStorageDirectory()+File.separator+"img_"+System.currentTimeMillis()+".jpg");

                    UCrop.of(pickResult.getUri(), Uri.fromFile(file))
                            .start(PhotoToBetActivity.this,REQUEST_IMAGE_CROP);
                } else {

                    //Handle possible errors
                    //TODO: do what you have to do with r.getError();
                    Toast.makeText(PhotoToBetActivity.this, pickResult.getError().getMessage(), Toast.LENGTH_LONG).show();
                }
            }
        });

I think yes, this is my code, i used a picksetup library, and after selection or capture image user can crop using UCrop library

remove .setWidth(600).setHeight(400) and try again may be this is the problem.

remove .setWidth(600).setHeight(400) and try again may be this is the problem.

You are right!! I'm testing with more and more cases. After tests i will reply with result.

Hi,
I am also facing a similar issue when apply atleast a filter. The image gets stretched from both X and Y axis and seems to be distorted as well. Has anyone found a solution for this?
I have tried to get the child views to check whether we can change the Scale of Image but unable to achieve this.
Can any one help here please.


Call Screen. Implement Remote configuration for remaining widgets

Implement Remote Configuration for remaining widgets on Call screen
Update MessageBalloonRemoteConfig.kt
Add Custom view to ease theme management for different states
Add CallState.isOnlyTimeChanged parameter to avoid entire view re-rendering on timer update

MOB-1649
Jira issue:
https://glia.atlassian.net/browse/MOB-1649

!squash

!squash

!merge

!merge


CI: numpy 1.9.1 -> 1.10.1

I just want to see what this does...

https://github.com/scipy/scipy/pull/5374 :-)

I wonder how does 1.10.2rc

Ugh, sorry..

I wonder how does 1.10.2rc

Would you like to check this on your PR?

not from a phone portable computing device

I think TravisCI decided that the docs generated from this build are the new scipy docs, and they are now being distributed or uploaded or something. How badly did I screw up?

Docs for the latest dev version only get uploaded for merge commits.

Now that 1.10.2 is out, this PR could use it :-)

Lookee there, the tests pass 8-)

Thanks Alex


SPARK-6630 [CORE] SparkConf.setIfMissing should only evaluate the assigned value if indeed missing

Only evaluate value argument to setIfMissing if property value is actually missing and will be set.

I have a feeling this won't be binary compatible but wanted to see.

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

I looked into the Jenkins log, since the Github auth issue prevented it from posting results besides the unit tests. I was surprised that it did not report binary incompatibility. When I look at the bytecode before and after, it does clearly seem to change the signature:
  public setIfMissing(Ljava/lang/String;Ljava/lang/String;)Lorg/apache/spark/SparkConf;

  public setIfMissing(Ljava/lang/String;Lscala/Function0;)Lorg/apache/spark/SparkConf;

So, I think we can't do this. An overload defeats the purpose, right?


Getting a genesyscloud_oauth_client as a Data Source by ID

While reviewing this page about getting an OAuth Client as a Data Source, I see that the only way to do that is to refer to it by name.  I cannot refer to it by id.
I find this limitation confusing.  The name is variable and subject to change while the id is static.  Also, when running a CX as Code script from a CLI, I'm usually passing in the OAuth client's id to configure the Provider.  While I can also pass in the name, I'd prefer to reference an OAuth Client by id rather than name.  Is this possible in a future version?  Thanks!

A datasource is meant to look up a value by an id so that you can reference the name.  Whats your use case for looking up by ID.  If you already know the ID you can always hard code it or put it a local variable.

I understand that a lookup by name is the most common use case.  But with many other providers, such as azurerm, I often use Data Sources to access resources defined in other templates and access properties on them other than id or name.
In this situation, I do have the id of the OAuth Client, that's true.  I wanted to refer to the clientId of an OAuth client which is not defined in my Terraform templates and then reference other properties of it.  It's not urgent, and I even went another direction with what I started.  However, I hope that helps set the stage.

Ahhh.  I got you and understand now.  I will add it to our backlog.  TBH if its not high priority, I am going to give it our new intern who starts in Jan.  Tickets like this are a great first ticket.


Add tests file for Quaternion unit tests, with initial UTs

Test constructors and quaternion product.
Add test case for Axis-Angle construction about Y-axis.
Add test case for xform of i-, j-, & k-unit vectors.
Add test case for construction from Basis.
Add test case for xform of arbitrary vector.
Add stress test case: many Quaternions xform many vectors.
Make comments consistent with style guide.

@codepatzer I have enabled cicd checks.
Notes:

https://docs.godotengine.org/en/stable/community/contributing/pr_workflow.html
https://docs.godotengine.org/en/stable/community/contributing/testing_pull_requests.html

@codepatzer I have enabled cicd checks.
Notes:
* https://docs.godotengine.org/en/stable/community/contributing/pr_workflow.html

* https://docs.godotengine.org/en/stable/community/contributing/testing_pull_requests.html

Thanks for kicking off the checks! And thanks very much for the links. I see that I have not been following the process quite as the project lays it out. I will mend my ways in future, or at least move on to a new set of mistakes.

Rebased to have a single commit after checks passed, following a half dozen separate commits.

Rebased onto current upstream master branch.

Sorry for the late review. @codepatzer Are you available to rebase this PR and squash the commits? The test should also be moved to tests/core/math/test_quaternion.h.

Thanks! And congrats for your first merged Godot contribution :tada:


How to use tfdbg with tensorpack?

The tensorflow document shows the way to use tfdbg:
sess = tf_debug.LocalCLIDebugWrapperSession(sess)

In tensorpack, where should I wrap sess with this debug wrapper?
Thanks!

For the moment you can hack https://github.com/ppwwyyxx/tensorpack/blob/master/tensorpack/train/base.py#L133.
Customized session creation is available in prediction time, but not in training right now. I'll try to fix it.

Now you can pass an optional session_creator in TrainConfig. In theory you can choose what session to use for the entire training as long as you write a SessionCreator yourself.
To create a debug session, SessionCreatorAdapter may help you. You can use:
SessionCreatorAdapter(NewSessionCreator(),
    lambda sess: tf_debug.LocalCLIDebugWrapperSession(sess, other_options))

I also just found there is a debug hook in tensorflow, so an easier way might be just to convert the hooks to callbacks:
        callbacks=[
            HookToCallback(tf_debug.LocalCLIDebugHook()), ...

I never used tf_debug so there might be usage I'm not covering. Please leave a note if you found tensorpack makes it harder to do something you could have done easier with tensorflow.

I use the imagenet-resnet.py to test tf_debug in tensorpack. I try the first method, which use SessionCreatorAdapter to create a session_creator and pass it to TrainConfig. Following the instructinos in tensorflow document, https://www.tensorflow.org/programmers_guide/debugger, I get an error when input 'run' command:
Traceback (most recent call last):
  File "imagenet-resnet.py", line 261, in <module>
    SyncMultiGPUTrainer(config).train()
  File "/home/user/tensorflow_workspace/tensorpack/tensorpack/train/base.py", line 91, in train
    self.setup()
  File "/home/user/tensorflow_workspace/tensorpack/tensorpack/train/base.py", line 127, in setup
    self.sess.run(init_op)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/debug/wrappers/framework.py", line 448, in run
    run_end_resp = self.on_run_end(run_end_req)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/debug/wrappers/local_cli_wrapper.py", line 264, in on_run_end
    self._dump_root, partition_graphs=partition_graphs)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/debug/lib/debug_data.py", line 451, in __init__
    raise IOError("Dump root directory %s does not exist" % dump_root)
IOError: Dump root directory /tmp/tfdbg_ri8gw6 does not exist

I also tried with the tf_debug example given by tensorflow:
python -m tensorflow.python.debug.examples.debug_mnist --debug

and it works fine.
This issue https://github.com/tensorflow/tensorflow/issues/7615 mentions the similar problem, but with the example given by tensorflow and in Windows platform.

I'll take a look. The second method should work fine.

The reason is that:

The default session config being used doesn't allow soft placement (fixed above)
When tensor placement failed, TensorFlow doesn't give the correct error message. (will open an issue in tensorflow)

Thanks a lot! Now it works fine!!

To future users: the best way to use tfdbg is to add this callback to your training callbacks:
callbacks=[
    ...,
    TFLocalCLIDebugHook()
]

See docs at: https://tensorpack.readthedocs.io/modules/callbacks.html#tensorpack.callbacks.TFLocalCLIDebugHook

I might be wrong, but I think there might be a problem (pseudo-bug?) with the option of passing LocalCLIDebugHook optional arguments.
This is probably easily fixed by passing the **kwargs passed into TFLocalCLIDebugHook into the super-initializer, i.e: super(TFLocalCLIDebugHook, self).__init__(tfdbg.LocalCLIDebugHook(**kwargs)).
Example use-case: changing the dump_root.
I might be missing some complications and intricate nuances, but for now I've added the change above in my code and it seems to be working fine.
Great work BTW!

Thanks! Now it should be fixed

That was extremely fast. Thanks!
On a different topic, (and let me know if this should be opened via a new issue) - It seems there's some incompatibility between TP multi-gpu training and tfdbg. I don't know exactly what the issue is, but it's probably something to do with the tower-context name-scopes, because the tfdbg process fails with an error regarding multiple with the same name...(specifically the multiplicity of the repeated node is the same number of gpus in usage).
This is important because when debugging the rise of NaNs, reducing the number of gpus effectively reduces the batch size which in turn can cause numerical instability NaNs which have nothing to do with the original problem being investigated.
Hope that's a clear enough description of the problem, let me know if more details are needed or if this should be raised in a different format or context.

Please open an issue with details.
The tfdbg hook does work with a simple multi-gpu example, but there may be other edge cases.


chore: add note getter test to cci

Benchmark results
No metrics with a significant change found.

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

Metric
8 txs
32 txs
128 txs

l1_rollup_calldata_size_in_bytes
45,412
179,524
716,068

l1_rollup_calldata_gas
221,608
866,524
3,448,192

l1_rollup_execution_gas
314,095
984,264
3,667,849

l2_block_processing_time_in_ms
1,150 (-1%)
4,357
17,147

note_successful_decrypting_time_in_ms
258 (+2%)
866 (-1%)
3,314 (-1%)

note_trial_decrypting_time_in_ms
67.9 (+13%)
93.2 (-7%)
137 (-1%)

l2_block_building_time_in_ms
15,889 (+1%)
62,462
250,969

l2_block_rollup_simulation_time_in_ms
11,402
44,848
180,718

l2_block_public_tx_process_time_in_ms
4,456 (+1%)
17,530
70,008

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

Metric
5 blocks
10 blocks

node_history_sync_time_in_ms
14,841 (+5%)
28,644 (+7%)

note_history_successful_decrypting_time_in_ms
2,174 (+2%)
4,307 (+2%)

note_history_trial_decrypting_time_in_ms
132 (+3%)
191 (+11%)

node_database_size_in_bytes
17,313,872
32,964,688 (-1%)

pxe_database_size_in_bytes
29,923
59,478

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

Circuit
circuit_simulation_time_in_ms
circuit_input_size_in_bytes
circuit_output_size_in_bytes

private-kernel-init
214
44,777
26,073

private-kernel-ordering
171
44,393
14,809

base-rollup
1,197
128,850
881

root-rollup
79.3 (+1%)
4,088
677

private-kernel-inner
301
71,816
26,073

public-kernel-private-input
210
32,375
26,073

public-kernel-non-first-iteration
208
32,417
26,073

merge-rollup
7.66 (+1%)
2,608
881

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

Metric
1 leaves
2 leaves
8 leaves
16 leaves
32 leaves
128 leaves
64 leaves
512 leaves
1024 leaves
2048 leaves
8192 leaves

batch_insert_into_append_only_tree_16_depth_ms
10.2
10.6 (-5%)
12.7
16.9 (-1%)
26.8 (+17%)
63.6
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_count
16.9
17.5
23.0
31.6
47.0
143
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_ms
0.593
0.592 (-5%)
0.539
0.525 (-1%)
0.563 (+17%)
0.440
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_32_depth_ms
N/A
N/A
N/A
N/A
N/A
74.2 (-5%)
47.4
238 (-1%)
461
901
3,549

batch_insert_into_append_only_tree_32_depth_hash_count
N/A
N/A
N/A
N/A
N/A
159
96.0
543
1,055
2,079
8,223

batch_insert_into_append_only_tree_32_depth_hash_ms
N/A
N/A
N/A
N/A
N/A
0.459 (-4%)
0.487
0.435 (-1%)
0.431
0.428
0.427

batch_insert_into_indexed_tree_20_depth_ms
N/A
N/A
N/A
N/A
N/A
104 (+1%)
56.5
350 (-1%)
688
1,359
5,381 (-1%)

batch_insert_into_indexed_tree_20_depth_hash_count
N/A
N/A
N/A
N/A
N/A
197
104
691
1,363
2,707
10,771

batch_insert_into_indexed_tree_20_depth_hash_ms
N/A
N/A
N/A
N/A
N/A
0.494
0.495
0.474 (-1%)
0.473
0.471
0.470 (-1%)

batch_insert_into_indexed_tree_40_depth_ms
N/A
N/A
N/A
56.4
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_indexed_tree_40_depth_hash_count
N/A
N/A
N/A
94.1
N/A
N/A
N/A
N/A
N/A
N/A
N/A

batch_insert_into_indexed_tree_40_depth_hash_ms
N/A
N/A
N/A
0.576
N/A
N/A
N/A
N/A
N/A
N/A
N/A

Miscellaneous
Transaction sizes based on how many contracts are deployed in the tx.

Metric
0 deployed contracts
1 deployed contracts

tx_size_in_bytes
15,455
32,706

Transaction processing duration by data writes.

Metric
0 new commitments
1 new commitments

tx_pxe_processing_time_ms
384 (+1%)
1,097

Metric
1 public data writes

tx_sequencer_processing_time_ms
545


fix: Build with boost headers outside system include dirs

Currently there is a find_package call for boost but its never used. This is fine in the case where boost has been installed to the system or similar, but it doesn't work for builds that rely on the boost package files adding the include paths (e.g. conan). Adding boost::headers (or boost::boost) to the public linked libraries of malloy-objs fixes this but requires BOOST_DATE_TIME_NO_LIB to be added to the compile definitions on windows (otherwise you get a link error).
This is the last of the modifications I made to get this library to build with conan + MSVC. I tested the build with fedora + system boost install so I don't think it breaks existing setups.

Looking good, thanks!


⚠ Tada Website has degraded performance

In 5d69a4a, Tada Website ($WEBSITE_URL) experienced degraded performance:

HTTP code: 200
Response time: 6363 ms

Resolved: Tada Website performance has improved in ef8475d.


chore(integ): fix failing integ test snapshot

Fixes #880
Update failing snapshot for failing build request in automated PR #880 to upgrade dev dependencies

closing due to failing build


Model Capacities - List an Ai_service

This checklist is used to make sure that common guidelines for a pull request are followed.
Related command
Show capacity for Azure AI models
az ai_service show capacity --api-version "2024-10-01" --model-format "OpenAI" --model-name "gpt-4" --model-version "turbo-2024-04-09"
General Guidelines

[X] Have you run azdev style ai_service locally? (pip install azdev required) yes
[x] Have you run python scripts/ci/test_index.py -q locally? (pip install wheel==0.30.0 required)
[X] My extension version conforms to the Extension version schema

For new extensions:

[X] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

Thank you for your contribution! We will review the pull request and get back to you soon.

/azp run

Hi @ovidiu10, did you go through to Apex onboarding process? CC @Jacekey23

@ovidui10,
Before creating the PR with our dev team,
please refer to APEX process to be onboarded with Azure CLI.
OnboardSurvey and it will have us to get more info to help you later.
Thanks

@Jacekey23 let me know what else I need to do :) thanks

Hi @ovidiu10, if seems you can use the aaz-dev-tools to generate the command.

@kairu-ms sorry but not sure if I get this :)
"if seems you can use the aaz-dev-tools to generate the command."
can you let me know what else I need to do
thanks


Pyright does not pick up new files.

I'm not sure if this is an upstream bug or not, but when I create a new Python file and then try to import something from it in a a different python file, pyright will complain about undefined imports. I have to restart lsp-pyright for them to be picked up.

Iirc it's a ST core issue that there is no callback when files are created/deleted/modified by an external program.

What platform are you on @Fingel?
You could see if it reproduces with https://packagecontrol.io/packages/LSP-file-watcher-chokidar installed but the last time I checked, pyright had been running its own file watcher and whether LSP supported file watching didn't really matter.
If you can still reproduce with that package then fell free to create a small repro and state your node version and OS.

Pyright doesn't seem to watch a newly created  file by an external process but after installing https://packagecontrol.io/packages/LSP-file-watcher-chokidar and config it for watching .py files, Pyright works on my side.

Node: v16.13.0
OS: Win10 x64 21H1 (19043.1320

https://user-images.githubusercontent.com/6594915/140605047-587935fb-2e32-436e-a7e8-d3f68227b392.mp4

So I guess it would be nice to have that in the default config

That raises some questions though:

why pyright doesn't handle it itself since it's already running a file watcher
why it doesn't use dynamic registration to register watchers and requires manual configuration like old server?

Those should probably be asked in the pyright repo.

When I created new_file.py, I see the following payload in VSCode (Pylance)
[Trace - 下午6:08:29] Sending notification 'workspace/didChangeWatchedFiles'.
Params: {
    "changes": [
        {
            "uri": "file:///c%3A/Users/Tester/Desktop/my_project/my_package/new_file.py",
            "type": 1
        },
        {
            "uri": "file:///c%3A/Users/Tester/Desktop/my_project/my_package",
            "type": 2
        }
    ]
}

So I think it's VSCode's responsibility to notify Pylance there is a new file to be watched?

So I think it's VSCode's responsibility (or something from the client side) to notify Pylance there is a new file to be watched?

The client notifies, yes, but the client is told what to notify about either through manual configuration or dynamic registration from the server.

How do you enable trace logs for pylance? Those dons't seem to do it:
  "pylance.trace.server": "verbose",
  "python.analysis.logLevel": "Trace"

How do you enable trace logs for pylance?

I use
"python.trace.server": "verbose",

How do you enable trace logs for pylance?

Thanks. Realized before deleting the question. :)
So in Pylance the registration is done dynamically:

[Trace - 11:46:56 AM] Received request 'client/registerCapability - (1)'.
Params: {
    "registrations": [
        {
            "id": "4a407254-aede-40aa-b2a6-1dbb7e387c8d",
            "method": "workspace/didChangeWatchedFiles",
            "registerOptions": {
                "watchers": [
                    {
                        "globPattern": "**/pyrightconfig.json",
                        "kind": 7
                    },
                    {
                        "globPattern": "**",
                        "kind": 7
                    }
                ]
            }
        }
    ]
}

It would make sense to ask on the pyright repo to change pyright to do that itself.
Though I always think that they will be hesitant to add stuff because it would take away the competitive advantage of pylance...

Ops... pyright actually registers the capability dynamically. The issue was on our side. I've made a silly mistake and reported the capability in the wrong place. Fixing in https://github.com/sublimelsp/LSP/pull/1892
With the fix it will be enough to install https://packagecontrol.io/packages/LSP-file-watcher-chokidar to have things working,

I’d argue this is part of LSP functionality, not part of the “AI” competitive advantage :)

Fun fact, the ** watch pattern makes VSCode report changes to all files, even inside .git/*. On our side we filter out those most obvious non-code directories at least. I wonder why the pattern has to be so wide though.

I’d argue this is part of LSP functionality, not part of the “AI” competitive advantage :)

I still have this feeling every time I think of reporting some enhancement suggestion...

With the fix it will be enough to install packagecontrol.io/packages/LSP-file-watcher-chokidar to have things working.

Do you mean we don't have to add {"file_watcher": {"patterns": ["**/*.{py,pyi}"]}} to settings since then?

Yes, with the fix in place we don't need to define the file_watcher configuration manually since the server registers the watcher through a dynamic capability.

We now have LSP-file-watcher-chokidar as a current workaround that will fix this issue.
Can we close this,
because we already have an open ticket for tracking file watcher support in Sublime Text at https://github.com/sublimelsp/LSP/issues/892

I think this is addressed with chokidar package, yes. Also LSP-pyright readme was updated to mention it.


Upgrade dubbo-go to v3.1.1

What this PR does:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

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

Project coverage is 37.15%. Comparing base (26606a8) to head (02da6ee).
 Consider uploading reports for the commit e6158b0 to get more accurate results

Additional details and impacted files
@@             Coverage Diff              @@
##           develop     #630       +/-   ##
============================================
- Coverage    54.67%   37.15%   -17.53%
============================================
  Files          671       62      -609
  Lines        78658     4514    -74144
============================================
- Hits         43006     1677    -41329
+ Misses       31981     2648    -29333
+ Partials      3671      189     -3482

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


Segmented Controller not affect when sliding between view controllers

I use a segmented controller, ScrollView and 2 view controllers, ScrollView is set as containerView and segmentedController IBOutlet.
When I press segmented controller buttons the tabs changes correctly but when I change the tabs by sliding the scrollview , Segmented Controller selected button not got changed.

I'm seeing the same with 4 tableviews

This issue is fixed on the latest release

It is the same issue, we are facing on latest release 8.0.1.