Can't add plugins

Description of your issue
After installation, there is no option to add a plugin under the Plugins tab.
Steps to Reproduce

Install
Click Plugins

Other Information
Git Commit/Version:

The Filesystem on Heroku isn't persistent - you can't install plugins at runtime when you host on Heroku.
Therefore you need to install your plugins before you deploy - either manually by placing it in web/app/plugins folder or using the composer.json.
Take a look at the wiki:
https://github.com/PhilippHeuer/wordpress-heroku/wiki/WordPress---Plugins---Themes

Cool, thank you for the explanation!


crypto/tls: incorrect ciphers advertised in TLS 1.3 only mode

What version of Go are you using (go version)?

$ go version
go version go1.19.4 darwin/arm64

Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="arm64"
GOBIN=""
GOCACHE="$HOME/Library/Caches/go-build"
GOENV="$HOME/Library/Application Support/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="arm64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="$HOME/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="$HOME/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="$HOME/.gvm/gos/go1.19.4"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="$HOME/.gvm/gos/go1.19.4/pkg/tool/darwin_arm64"
GOVCS=""
GOVERSION="go1.19.4"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/dev/null"
GOWORK=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=$HOME/.tmp/go-build2231328078=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?
Set tls.Config.MinVersion to tls.VersionTLS13 and use that config to perform a TLS handshake.
What did you expect to see?
The server should see that tls.ClientHelloInfo.CipherSuites is set to tls.defaultCipherSuitesTLS13NoAES.
What did you see instead?
The servers sees TLS 1.2 cipher suites in tls.ClientHelloInfo.CipherSuites.

#49293 fixes this bug.

cc @golang/security

Any chance this issue could be resolved any time soon? This is becoming more relevant now that crypto/tls is gaining QUIC support (https://github.com/golang/go/issues/44886), since QUIC only uses TLS 1.3.
For reference, I've made the equivalent change to my crypto/tls fork for quic-go in https://github.com/quic-go/qtls-go1-20/commit/a42b12e32a6d262713531dffeac718b5aa06ed62. With https://github.com/golang/go/issues/60107, I finally won't need to fork crypto/tls any more, so it would be nice to have this in crypto/tls.


Raphael/extract entities

Closing, since we can now do this in user code with the new model interface.  Thanks.


Updated rep_on_read to also work on HTs

This code updates rep_on_read but won't work right away (_calculate_new_partitions isn't exposed on Tables yet)

looks good to me. However, I've actually added a _n_partitions arg to read_table/read_matrix_table in this PR so this can be simplified further!

looks good to me. However, I've actually added a _n_partitions arg to read_table/read_matrix_table in this PR so this can be simplified further!


nc_open() returns NC_NOERR on non-existent NCZarr stores

Hi Gurus,
I invoke nc_open() with a file:// schema to determine whether a given
directory contains a valid NCZarr store.
It appears that nc_open(ncz_fl,NC_NOWRITE,&id) always succeeds if ncz_fl
is a valid path that already exists, regardless of whether
the existing path leads to an NCZarr store, a non-netCDF file, an empty directory, or a
directory full of non-NCZarr stuff. I am using netCDF 4.9.2, current
development snapshot on MacOS.
For example, the nc_open(ncz_fl,NC_NOWRITE,&id) returns NC_NOERR if
ncz_fl == file:///Users/zender/ncz_dnd/foo#mode=nczarr,file
and the directory (or file) /Users/zender/ncz_dnd/foo exists. Full stop.
nc_open(ncz_fl) succeeds when 1. foo contains an NCZarr store (yay!),
2. when foo exists but is a completely empty directory (boo!),
and 3. when foo is a directory filled with completely non-NCZarr contents (boo!),
and 4. when foo is any file (including non-netCDF files).
In the latter three cases I expect nc_open() to fail with an error such as
#define NC_ENOTNC	(-51)	   /**< Not a netcdf file */
or
#define NC_ENOOBJECT     (-141)    /**< Some object not found */
Is this the observed behavior of nc_open() intentional? If so, why?
I thought nc_open() would return NC_NOERR only for existing netCDF files,
as implied by the nc_open() documentation.
Or am I missing something NCZarr-y?
Many thanks,
Charlie

Off hand, this looks like an error. I will investigate.

Thanks for looking into this, Dennis. I should perhaps also mention that nc_close(id) successfully closes (i.e., returns NC_NOERR) the handles returned by nc_open(ncz_fl,NC_NOWRITE,&id) on non-NCZarr stores. Not sure whether this is the same underlying issue, or if I'm just losing it.

I can sort-of fix this, but there is a cost.
The Zarr format is highly decentralized.
There is no easily testable magic number or superblock to look for.
In effect the only way to see if a directory is Zarr is to successfully read it.
So, the only other way to see if some directory looks like a Zarr file is
to search the file tree looking for occurrences of e.g. .zarray objects.
This could, in principle, be costly.

That makes sense. What do you have in mind for a "sort-of" fix?
I do not fully understand the Zarr format, yet It seems to me that the path component of the scheme://host:port/path?query#fragment specification must lead to either or both a .zgroup and a .zattrs file for nc_open() to return NC_NOERR.
Is that always a valid assumption? If so, that could constitute a minimal condition for the library to check.
Minimal in that it involves only one or two stat() system calls to check whether that .zattrs and possible .zarray files exist.
That seems like a small cost to pay for a more accurate return code than nc_open() (and nc_close()?) currently provide.
Figuring out whether an NCZarr path lead to a valid NCZarr store is a big deal for NCO. NCO needs to know this before it decides to overwrite or move output files around. The wrong return value from nc_open() could means the difference between deleting or overwriting files and entire directories. I can implement the above minimal procedure in NCO as a safeguard, though I'd prefer the netCDF library to do the check. Thoughts?

I do not fully understand the Zarr format, yet It seems to me that the path component of the scheme://host:port/path?query#fragment specification must lead to either or both a .zgroup and a .zattrs file for nc_open() to return NC_NOERR.

Actually no.
A path of the form

/a/b/c/.../.zarray

constitutes a legal Zarr dataset. Neither .zgroup nor .zattrs need exist and the depth of the path (/a/b/...)
can be arbitrarily long. So, the only way to test is to do a breadth or depth first search of the whole
file tree looking for an occurrence of a .zarray object. On average, I would hope that the depth is not
great, so the cost of walking the tree is not overwhelming, but it could be.


Created a Starter kit for the new ngx-admin with Angular 8 and Nebular 4

Please read and mark the following check list before creating a pull request (check one with "x"):

[ ] I read and followed the CONTRIBUTING.md guide.
[ ] I read and followed the New Feature Checklist guide.

Short description of what this resolves:

Merged latest changes from master to starter-kit branch.
Removed all unused pages to create a starter-kit.

@yggg and @nnixaa  can you look into this and give some feedback?

any news? I'm awaiting for new starter-kit

Updates on updated starter kit? This s causing me errors because I upgraded to Angular 8 and not nebular is not working fo me.


General feedback

This issue aggregates things I've noticed:

[x] 1. The repo should have some tests so we can confidently make changes and know that it still works. Currently I did not see any tests
[x] 2. CLI argument improvements:

[x] 1. It panics if matching pattern is prefixed with 0x, and caller address is not prefixed with 0x. These are inconsistent, I'd suggest supporting both formats (0x prefix, or no 0x prefix)
[x] 2. It does not error on incorrect address checksums: should accept all lowercase addresses OR properly checksummed addresses. If there is a capital latter, validate checksum, and error if checksum is not valid.

[ ] 3. In terminal output, salts are prefixed with 0x, but addresses are not prefixed with 0x. I'd suggest prefixing both with 0x

One remaining missing 0x prefix in this part of output: threshold: mining for Create3 address matching pattern 99999XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX9

[x] 4. Terminal output gets mangled. Ideally, the output should start on the line below the command I entered, and continually add new  lines beneath, scrolling downwards. Instead it seems to start output way below, and scroll it upwards. In some terminals (like VSCode) this results in the command I entered being obfuscated. First pic shows the large output gap (warp terminal), second shows that the command I ran is not visible and instead you see the prior command I ran (VSCode integrated terminal)

iTerm2 output looks good, agreed we'll leave this one as-is since create2crunch behaves the same, and it seems something is nonstandard with VSCode and Warp terminals

Great thanks for all this feedback. Was definitely looking to get some testing added... just needed to think through exactly how to test the kernel.
Everything else sounds good. Will look to implement soon!

You probably could get away with just some e2e tests to make sure outputs are correct based on the inputs. Here’s how I did e2e testing of another rust binary if it helps https://github.com/ScopeLift/scopelint/blob/main/tests/check.rs

Looks like https://github.com/HrikB/createXcrunch/commit/4e9965f468798ed931f5ce3cdffca1151eabebff fixed the remaining issue about:

missing 0x prefix in this part of output: threshold: mining for Create3 address matching pattern 99999XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX9

If @mds1 agrees, we can close this issue as completed.

Confirmed, thank you!


404 on server reboot on Formgrader tab.

I am getting a 404 page not found in the Formgrader tab after reboot.
I deployed to Ubuntu 16.04.3 LTS via ansible ($ ansible-playbook deploy.yml).
The versions of each component that were installed are as follows:
$ jupyterhub --version
0.7.0
$ jupyter --version
4.3.0
$ nbgrader --version
Python version 3.5.2 |Continuum Analytics, Inc.| (default, Jul  2 2016, 17:53:06)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)]
nbgrader version 0.6.0.dev
Let me know anything else that you might need.

I was able to work around this by manually updating the version of jupyterhub to 0.7.2 and NBGrader to 0.5.3, then making sure that the extension was activated again after updates. There does appear to be an issue with the versions that are installed by default via the ansible playbook, however.


Question: How to use custom condition matcher?

According to https://casl.js.org/v5/en/advanced/customize-ability#custom-conditions-matcher-implementation
import {
  PureAbility,
  AbilityBuilder,
  AbilityTuple,
  MatchConditions,
  AbilityClass
} from '@casl/ability';

type AppAbility = PureAbility<AbilityTuple, MatchConditions>;
const AppAbility = PureAbility as AbilityClass<AppAbility>;
const lambdaMatcher = (matchConditions: MatchConditions) => matchConditions;

export default function defineAbilityFor(user: any) {
  const { can, build } = new AbilityBuilder(AppAbility);

  can('read', 'Article', ({ authorId }) => authorId === user.id);
  can('read', 'Article', ({ status }) => ['draft', 'published'].includes(status));

  return build({ conditionsMatcher: lambdaMatcher });
}

Seems like it's much more flexible than MongoQuery matcher. However in TypeScript a lamda function cannot be passed to the third argument.
No overload matches this call.
  Overload 1 of 2, '(action: string | string[], subject: typeof Team | (typeof Team)[], conditions?: MongoQuery<Team>): RuleBuilder<Ability<AbilityTuple<string, Subject>, MongoQuery<...>>>', gave the following error.
    Type '({ id }: { id: any; }) => boolean' has no properties in common with type 'MongoQuery<Team>'.
  Overload 2 of 2, '(action: string | string[], subject: typeof Team | (typeof Team)[], fields?: string | string[], conditions?: MongoQuery<Team>): RuleBuilder<Ability<AbilityTuple<string, Subject>, MongoQuery<...>>>', gave the following error.
    Argument of type '({ id }: { id: any; }) => boolean' is not assignable to parameter of type 'string | string[]'.
      Type '({ id }: { id: any; }) => boolean' is missing the following properties from type 'string[]': pop, push, concat, join, and 28 more.ts(2769)
```

Got it, should be easy to add. I'll take a look at the weekend, will update you on it.

Quick update on this one, it wan't easy to add. I had to roll back Ability to PureAbility changing PR as it break types as is. I tried to find a quick fix, but figured out I'd loose type permissions conditions checks as conditinos type become unknown with MongoQuery | FunctionalCondition type. It'd require custom AbilityBuilder implementation and updates to AccessService and AbilityFactory at least. Additionally to handle toSql() conversion of default conditions we'd need to account for lambda conditions type as well.
Technically you probably can still trick TS into accepting lambda conditions by setting PureAbility generic argument to can function, but I doubt it'll work down the stack without significant updates.

FYI websockets fix released in v1.4.0


[YUNIKORN-331] Reduce the verbosity of the logs when predicate fails

Hey @adamantal,
Your changes look good to me!
View build log
TravisBuddy Request Identifier: 8fc8acc0-d19f-11ea-bb2f-e1a2ee6530fc

hi @adamantal
Thanks for working on this. Some more places might also need to be checked, such as:
https://github.com/apache/incubator-yunikorn-core/blob/d2a76c0d7000bb50e377f170538938236c1144c5/pkg/scheduler/scheduling_node.go#L216-L219
https://github.com/apache/incubator-yunikorn-core/blob/d2a76c0d7000bb50e377f170538938236c1144c5/pkg/scheduler/scheduling_node.go#L225-L228

Thanks for the review @yangwwei. Removed those log entries as well.

Hey @adamantal,
Your changes look good to me!
View build log
TravisBuddy Request Identifier: 53ea5060-d26b-11ea-9c70-53a116b43db5


Implement Git Commit Message Prefix Convention

Commit Message Prefixes:
[Feature] - For new features or functionality
[Bugfix] - For bug fixes
[Docs] - For documentation updates
[Refactor] - For code refactoring without changing functionality
[Test] - For adding or updating tests
[Chore] - For routine tasks and maintenance
Example Commit Messages:
[Feature] Add user authentication
[Bugfix] Fix login issue on Safari
[Docs] Update API documentation
[Refactor] Simplify user service logic
[Test] Add unit tests for authentication
[Chore] Update dependencies
Tasks:

Update the contribution guidelines to include the commit message prefix convention.
Communicate the new convention to all contributors.
Implement a git hook or CI check to enforce the convention.

What is a git hook?
A git hook is a script that Git executes before or after certain events, such as committing or merging code. Git hooks can be used to enforce policies, run tests, or automate tasks. They are stored in the hooks directory of a Git repository. Common hooks include pre-commit, commit-msg, and pre-push.
#!/bin/sh
# .git/hooks/commit-msg

PREFIXES="Feature|Bugfix|Docs|Refactor|Test|Chore"
MESSAGE=$(cat "$1")

if ! echo "$MESSAGE" | grep -qE "^\[($PREFIXES)\]"; then
  echo "Error: Commit message must start with one of the following prefixes: [$PREFIXES]"
  exit 1
fi

What is a CI(Continuous Integration)?
A CI (Continuous Integration) check is a process that automatically builds and tests code changes in a repository. CI checks are typically configured in a CI/CD (Continuous Integration/Continuous Deployment) pipeline using tools like Jenkins, Travis CI, CircleCI, or GitHub Actions. These checks ensure that code changes do not break the build or introduce new bugs. CI checks can include running unit tests, linting code, and verifying commit message conventions.
name: Commit Message Lint

on: [push, pull_request]

jobs:
  commit-message-lint:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout code
        uses: actions/checkout@v2

      - name: Lint commit messages
        run: |
          PREFIXES="Feature|Bugfix|Docs|Refactor|Test|Chore"
          git log --format=%s -n 1 HEAD | grep -qE "^\[($PREFIXES)\]" || {
            echo "Error: Commit message must start with one of the following prefixes: [$PREFIXES]"
            exit 1
          }

ls -a hooks

.sample file : Do nothing, just for a template or guide.
Instructions to Set Up the Hook

Rename the File:
mv .git/hooks/commit-msg.sample .git/hooks/commit-msg

Make the Hook Executable:
chmod +x .git/hooks/commit-msg

Add the Script to the Hook File: Open .git/hooks/commit-msg in your preferred text editor and replace its content with the script above.


[question] Transparent SVG?

I noticed that lots of icons actually have a dark filling inside of them (folders, files, etc.).
The filling color not being exactly the same as the treeview background, I find this a bit unnerving.
Is there any reason why it is so? Can I submit a 'transparent' pull request, or would you rather have (and allow) a forked extension?

Semantically, they should be filled because that these icons are not hollow.
But I can darken some of these areas.
If you wan to make a PR, please change the AI file first.

Closed due to inactivity


chore(main): release 2.0.12

Auto generated release
2.0.12 (2024-06-11)
Build System

deps-dev: bump cssnano from 7.0.1 to 7.0.2 (#161) (ff7c7f5)
deps-dev: bump prettier from 3.3.0 to 3.3.1 (#163) (b733ecc)
deps-dev: bump tailwindcss from 3.4.3 to 3.4.4 (#160) (026eaef)
deps: bump @modular-forms/solid from 0.20.0 to 0.21.0 (#162) (595fbcb)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v2.0.12
:sunflower:


Expanding Quicksight usage types, and cleaning up DB queries

Issue #, if available:
Quicksight query: https://issues.amazon.com/issues/V441063148
None for RDS and DDB changes
Description of changes:
Expanded quicksight query to account for line_item_usage_type for reader usage, and added a case for Alerts usage.
Adjusted RDS query to remove mentions of savings plans (not on roadmap), and added RIFee and Fee line_item_line_item_type to ensure they are included in the amortization calculations in the CASE.
Consolidated two cases into one for line_item_usage_type, and removed mentions of savings plans (not on roadmap).
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Justin, I believe we'll have to edit the static SQL files as well.  I only see edits made to the markdown files in this PR.


0.65 TypeError: AsyncClient.init() got an unexpected keyword argument 'app'

Just stared seeing this error today after the release of httpx 0.28.0:
File "/opt/hostedtoolcache/Python/3.11.10/x64/lib/python3.11/site-packages/datasette/app.py", line 1601, in request
    async with httpx.AsyncClient(app=self.app) as client:
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: AsyncClient.__init__() got an unexpected keyword argument 'app'

I fixed this code in main but I never backported the fix to the 0.65 release line. Here's the code at fault:
https://github.com/simonw/datasette/blob/753ddc902881b8d5347675c8544f5e10c977fbda/datasette/app.py#L1571-L1573
In main it now looks like this:
https://github.com/simonw/datasette/blob/e85517dab3172b82e385e2a366f97a7cd8787e30/datasette/app.py#L2015-L2020

I don't think depending on httpx>=0.28.0 is strictly necessary here - in fact it could break things for people who depend on Datasette stable but also have some other dependency which isn't yet ready for the breaking changes in httpx.
(Also the tests just failed because my Pyodide test currently ins to 0.23.0)

Released in 0.65.1.


DLPyError: Detection data contains classes that are not in ground truth

If all class names are shorter than 8 characters then until Object0 is fully completed, the evaluate_object_detection method returns an error because the "NoObject" constant is truncated in the detection table.
Part of the prediction table:

idjoin
Object0
Object1
Object2
Object3
Object4
Object5
Object6

8ancj8j8a1_1
NoObjec
NoObjec
NoObjec
NoObjec
NoObjec
NoObjec
NoObjec

8ancau3g71_1
NoObjec
NoObjec
NoObjec
NoObjec
NoObjec
NoObjec
NoObjec

8ancbnt251_1
NoObjec
NoObjec
NoObjec
NoObjec
NoObjec
NoObjec
NoObjec

8anco14t91_1
NoObjec
NoObjec
NoObjec
NoObjec
NoObjec
NoObjec
NoObjec

8anccg8s21_1
noz
noz
noz
noz
noz
noz
NoObjec

Part of the training table:

idjoin
Object0
Object1
Object2
Object3
Object4
Object5
Object6

8ancj8j8a1_1
proszek
noz
noz

8ancau3g71_1
proszek
noz
noz

8ancbnt251_1
piasek
butelka

8anco14t91_1
piasek
noz

8anccg8s21_1
noz
noz
noz
noz
noz
piasek
noz

metrics = model.evaluate_object_detection(ground_truth=dettbl, coord_type='yolo',
classes=klasy, iou_thresholds=0.5)

DLPyError                                 Traceback (most recent call last)
 in ()
1 metrics = model.evaluate_object_detection(ground_truth=dettbl, coord_type='yolo',
2                                                classes=klasy,
----> 3                                                iou_thresholds=0.5)
/home/sasdemo/.local/lib/python3.6/site-packages/dlpy/model.py in evaluate_object_detection(self, ground_truth, coord_type, detection_data, classes, iou_thresholds)
1298         classes_not_detected = [x for x in classes_gt if x not in classes]
1299         if len([x for x in classes if x not in classes_gt]) > 0:
-> 1300             raise DLPyError('Detection data contains classes that are not in ground truth')
1301
1302         if not isinstance(iou_thresholds, collections.Iterable):
DLPyError: Detection data contains classes that are not in ground truth

Hi, I believe the issue has been fixed in the DLPy 1.0.1 version. Can you update it and see if it works?

I did an update but I have not checked if everything is OK.

I am closing this one up due to inactivity. Please do open it back if you need to


Illegal offset error after login

I've just installed to package by the instructions, and after the login, I get the following error:
ErrorException in Gate.php line 321:
Illegal offset type in isset or empty

I'm using laravel 5.1.22 & laravel-admin 0.4.6

same here…

Hello. Please remove the authorizable trait and contract from the user model. This was introduced when authorization in laravel was implemented. Thanks for reporting I will update the docs tomorrow. Cheers

Can't reproduce.


Explore

Shiver me timbers! Measure a tree! This old shipyard is returning to nature. To track the development, please check in on this tree.

Bounty 350 Doubloons!
Arr!

Interesting Stuff! I want to be a part of this project


Document connection pool config settings

The documentation update is to configure the Lemur database connections pool configurations.

Coverage remained the same at 60.867% when pulling fbd48056e1fc42d16dd4cb7eb4c34ea00b875ee6 on lmitul:master into 12622d5847ca8de2a08593837585b395ebc0cd21 on Netflix:master.


"Invalid license expression. Expecting more operands." for licenses like ASL 2.0 with multiple words

We see the below error when submitting license identifiers with spaces:
Error! Analysis exception processing SPDX file:
Error parsing JSON field for ID SPDXRef-a418e57b-2990-4038-b22f-a7224c990647:
Invalid license expression. Expecting more operands.
License expression: 'LGPLV2+ AND BSD AND PUBLIC DOMAIN'

Note values like PUBLIC DOMAIN or ASL 2.0 are extremely common in the public Fedora / CentOS project data, for example:
https://centos.pkgs.org/8/centos-appstream-x86_64/ruby-devel-3.0.2-140.module_el8.5.0+991+268c5cd9.x86_64.rpm.html#view_packages_info
LICENSE headers on many different RPMs use "identifiers" like this, which are actually multiple words. The validator seems to break because it expects an operator (AND, OR, WITH) after any space, and does not support multi-word identifiers.
It would be better if the validator could build license identifiers from multiple words, like below:

Split the license string on spaces
Take the first token in the string, and the first token after an operator, as the start of a new license identifier
If the next token IS NOT an operator, add the next token to the current license identifier
If the next token IS an operator, stop building the current license identifier (it's complete)
Repeat above until reaching the end of the string

The validator follows the specific syntax and rules as defined by the SPDX Spec Annex D.
Rather than changing the tool to validate against something other than the spec, I would suggest opening an issue against the spec to handle the situation described.  If the spec is updated, we'll update the validation accordingly.


What is Helix doing that affects performance so much?

Hi, I'm exploring Rust as an extension for Ruby for a lot of expensive calculations. I made a project that implements a simple financial algorithm in six ways (Ruby, C, Helix, ruru, FFI). They are all implemented with the minimum viable code to allow Ruby to be able to call a Rust function cash_flow.
The benchmark for Helix was surprising, and I'm curious what is unique about Helix that causes the function calls to return Ruby so slowly in comparison with the other methods.
As you can see from the numbers below, helix's iterations per second when called from Ruby are almost half of ruru, C, and Ruby for a simple function:
Warming up --------------------------------------
         ruby method    203479 i/100ms
 rust helix instance    120885 i/100ms
    rust helix class    121661 i/100ms
      rust ffi class    161558 i/100ms
     rust ruru class    199846 i/100ms
             c class    221703 i/100ms
Calculating -------------------------------------
                      iterations per second     total iterations    time
         ruby method  4966573.4 (±6.8%) i/s -   24824438          in 5.022462s
 rust helix instance  1875397.8 (±6.1%) i/s -    9429030          in 5.046921s
    rust helix class  1852779.7 (±5.9%) i/s -    9246236          in 5.008588s
      rust ffi class  3082134.8 (±8.1%) i/s -   15348010          in 5.019943s
     rust ruru class  4275527.6 (±6.2%) i/s -   21383522          in 5.021156s
             c class  5483016.5 (±6.0%) i/s -   27491172          in 5.032074s

However, when running a criterion benchmark for the function within the Rust repository, the performance is superb:
Benchmarking cash_flow
Benchmarking cash_flow: Warming up for 3.0000 s
Benchmarking cash_flow: Collecting 100 samples in estimated 5.0000 s (955,252,950 iterations)
Benchmarking cash_flow: Analyzing
cash_flow               time:   [5.2014 ns 5.2626 ns 5.3245 ns]
Found 5 outliers among 100 measurements (5.00%)
  5 (5.00%) high mild
slope  [5.2014 ns 5.3245 ns] R^2            [0.8278649 0.8276527]
mean   [5.2079 ns 5.3387 ns] std. dev.      [268.40 ps 395.58 ps]
median [5.1706 ns 5.3213 ns] med. abs. dev. [208.08 ps 356.25 ps]

This is a significant difference between the actual function and whatever Helix is doing to connect Ruby to Rust. Obviously with interop there's going to be some performance drop, but as you can see the other methods were approximately comparable.
I want to dig deeper into it because Helix was the best API and usability of all of the methods I tried, but I want to know exactly why the performance is inhibited before we implement critical code with it. Any ideas? Thank you!

@bbugh what did you end up doing? Did you figure out what was the deal with Helix?

@rafbgarcia wow, I cant believe this was already more than a year ago!
After a deep dive with all of the options, we ended up writing C extensions, for the sake of long term maintainability and speed. We know that the C integration will continue to evolve alongside Ruby since it's the official API, but didn't feel that we could confidently say the same of any of the Rust libraries (and at the time, Rutie was the only one still actively being developed). The C extensions are also very portable since anywhere you deploy Ruby also has to be able to build C for things like nokigiri, but using a Rust gem would have required additional infrastructure. Our use case doesn't do any allocation and most of the appealing Rust features (like Option) wouldn't be applicable. Given all the cons and very few pros over C, the trade offs were not worth it. I'd love for the Ruby community to embrace using Rust for gems, but at the time, I don't think it was production-ready. I am not sure what the state of things are now.

That makes sense, thanks for responding!

Unfortunately, there have been some problems in Helix that have been difficult for us to resolve, as much as we love the API! In our app, Skylight, we continue to use Rust with C-compatible method signatures and a small C glue layer to tie that in to Ruby.

@wagenet is it the case to deprecate the project then?

I say that because I don't know if I would have spent the time I did yesterday looking at the project if I knew that Skylight is not using it anymore because found some problems.

@rafbgarcia sorry about that, we didn't intend to mislead. We've actually never used it in production ourselves though we did hope to. At this point deprecation in the right thing to do and it's something that's on our radar. My apologies for your wasted effort 😞

@wagenet no problem, it was interesting to learn about it anyways :)

@rafbgarcia it's something I would love to see revisited, it just turned out that we'd basically need to rework things significantly and we haven't had the bandwidth to do so when our current solution does the job for us.


[Sharing NG] Expiration dates can't removed from link permissions

Describe the bug
Expiration dates can't removed from link permissions.
Steps to reproduce

Create a link permission for a file
Update the permission by giving it an expiration date
Try removing that expiration date by setting expirationDateTime to null in the update permission request (similar to how it's done for collaborator shares).

Expected behavior
The expiration date is being removed from the link.
Actual behavior
The server responds with an error: expiration date is in the past: 1754-08-31T22:43:44Z.

I can reproduce this. Happens only for links. Not for "real" shares.

weird, I thought that was working.


New channel query to get channel, connection and client info in a single CLI

Crate
relayer, relayer-cli

Summary
DEX had asked us to provide a CLI that given a chain-id, port-id, and channel-id we return the ChannelEnd, ConnectionEnd and AnyClientState on both ends. We should probably define a new struct to include the information such that it can be read easily.

Problem Definition
Currently the user needs to do ~6 queries to get this information.

Proposal
We can introduce a new query CLI, tentatively called query trace taking 3 parameters: a chain-id, port-id, and channel-id.
The most challenging part is how to assemble the output in a simple, meaningful way, given that there are multiple queries that this will involve, as follows:

hermes query channel end chain-id port-id channel-id

extract from the result the connection hop identifier, for example connection-id
also extract the counterparty channel/port, counterparty-port-id and counterparty-channel-id

hermes query connection end chain-id connection-id

extract the client identifier of the underlying client, for example client-id
extract also the counterparty client identifier, counterparty-client-id
extract also the counterparty conn identifier, counterparty-connection-id

hermes query client state chain-id client-id

extract the chain identifier from the client state, counterparty-chain-id
now we have the full trace information on the side of chain-id
proceed to fetch the trace information from the counterparty side

hermes query client state counterparty-chain-id counterparty-client-id

hermes query connection end counterparty-chain-id counterparty-connection-id

hermes query channel end counterparty-chain-id counterparty-port-id counterparty-channel-id

It probably makes sense to have two modes for the output:

default: Hermes outputs the whole structure of every field (not only the identifiers) for instance:

struct Trace {
  channel_end: ChannelEnd,
  connection_end: ConnectionEnd,
  client_state: AnyClientState,
  counterparty_channel_end: ChannelEnd,
  counterparty_connection_end: ConnectionEnd,
  counterparty_client_state: AnyClientState,
}

summarised: Hermes only returns the identifier information, in a compact format, for instance:

struct TraceSummary {
  port_id: PortId,
  channel_id: ChannelId,
  connection_id: ConnectionId,
  client_id: ClientId,
  counterparty_port_id: PortId,
  counterparty_channel_id: ChannelId,
  counterparty_connection_id: ConnectionId,
  counterparty_client_id: ClientId,
}

Acceptance Criteria
Get full channel information from both chains with a single CLI.

[ ] add new CLI hermes query trace CHAIN-ID PORT-ID CHANNEL-ID [-s/--summary]
[ ] integrate the new CLI into the E2E testing suite

For Admin Use

[x] Not duplicate issue
[ ] Appropriate labels applied
[x] Appropriate milestone (priority) applied
[ ] Appropriate contributors tagged
[ ] Contributor assigned/self-assigned

@adizere pointed out that Dex wanted to filter also on destination chain, in other words show channels between two chains.
Could we extend then the existing query channels CLI to look something like:
query channels <chain-id> [--other-chain <other-chain-id>] [--verbose]

For this one, can we maybe incorporate in query channel? Maybe query channel ends <chain-id> <port-id> <channel-id> [--trace]. Note ends (will show both ends of the channel) vs end.


Prevent auto bearing when click on a marker

I'm submitting a ...

[x] question
[ ] any problem or bug report
[ ] feature request

If you choose 'problem or bug report', please select OS:

[ ] Android
[x] iOS

cordova information:  (run $> cordova plugin list)
cordova-plugin-statusbar 2.1.3
cordova-plugin-device 1.1.6
cordova-plugin-googlemaps 2.3.4

If you use @ionic-native/google-maps, please tell the package.json (only @ionic-native/core and @ionic-native/google-maps are fine mostly)
Current behavior:
When creating a marker there is a option setDisableAutoPan. Is there also a option for disabling map rotation when i click on a marker?
Expected behavior:
What i would like is to disable automatic bearing when clicking on a marker.
Screen capture or video record:
Screen rotate_1 is how i see the map, with custom bearing.
Screen rotate_2 is how i see the map after clicking a marker.
Related code, data or error log (please format your code or data):
map = plugin.google.maps.Map.getMap(div, {
	'mapType': plugin.google.maps.MapTypeId.ROADMAP,
	'controls': {
		'compass': true,
		'myLocationButton': true,
		'myLocation': true,
		'indoorPicker': false,
		'zoom': true
	},
	'gestures': {
		'scroll': true,
		'tilt': false,
		'rotate': false,
		'zoom': true
	},
	camera: {
		target: {
			lat: holeLat, //51.2243265,
			lng: holeLng //5.64024165
		},
		'tilt': 0,
		'zoom': zoom,
		'bearing': bearing
	},
	'preferences': {
		'zoom': {
			'minZoom': 16,
			'maxZoom': 20
		},
		'padding': {
			'left': 9,
			'top': 9,
			'bottom': 9,
			'right': 9
		}
	}
});

map.addMarker({
   title: "  " + distance.toFixed(0) + " m",
  position: uLocation, //live
  draggable: false,
},
function(marker) {

  marker.setDisableAutoPan(true);

});

The maps plugin does not do anything when you tap on disabled auto pan marker.
I think your code of animateCamera() has problem.
If you can't solve the issue by yourself, please share your project files on GitHub (or other git repo services).

I have created a test project on Github with similar settings as in my app.
https://github.com/dennis-wedevise/googlemaps
If you click on the maker, the map will automatically turn. I want to avoid this.
As you can see, setDisableAutoPan is set to true.

Remove the plugins folder.

When cordova project folder  contains plugins directory, cordova use the installed plugin of the directory instead of downloading from npm.
So, even if you specify 2.3.4, you still use 2.2.8-beta-20180315-1233, which is very old version.

I can not reproduce your issue at all.

Tentatively, the below code works as you expect.
map.addMarker({
   title: "  " + distance.toFixed(0) + " m",
  position: uLocation, //live
  draggable: false,
  disableAutoPan: true
});

Fixed.

@wf9a5m75 thanks for your quick response. It works now!


Fixed lookup for .ovf descriptor doing a recursive search

Fixed OVF lookup for .ovf descriptor doing a recursive search instead of looking only at the same level as the GCS path provided.

Overall LGTM, is it ready to review?


[v3.2-branch] mgmt: mcumgr: transport: smp_bt: Fix deadlock on disconnect with data

This fixes an issue with the bluetooth transport whereby if a device drops the connection prior to receiving all the output data it could cause a deadlock.
Fixes #51641

Backport of https://github.com/zephyrproject-rtos/zephyr/pull/51597


Added Kizie in Twitter section

Resolved conflicts from https://github.com/pluja/awesome-privacy/pull/168, cc: @pluja
Kizie is a privacy focussed Twitter client with features like Thread Writer, Analytics, Undo tweet and more.

Kizie only uses Pirsch for analytics(🖤 Pirsch)
No ads anywhere on the site or third-party service except Stripe and Sentry, so no pixel peeking from any service
None of user's data is collected except for bare minimum to make the app work
Protected profiles/tweets are respected and shown only to intended users

Hi, forgot to add this one 😅, Kizie doesn't let Twitter track link clicks/profile views etc. by using direct linking to actual URLs instead of using t.co links(which Twitter uses to track clicks etc.)

Merging it. Thank you. Do you plan to open-source the code?

@pluja Thanks :), not the existing code but I've plans to work on some standalone features which I am planning to open source.


Table 'Your Tickets' in tickets list sometimes overflow

The table overflows to the right on some mobile devices.

This could not be reproduced.


Trying to buy - Mandatory parameter 'symbol' was not sent, was empty/null, or malformed.

Hello,
I'm trying to do a simple buy order, but I'm getting an error stating the symbol was not sent. I've made this as simple as I can, but I'm still getting the error.
I've got Bitcoin in my Binance wallet and my API key is allowed to do Spot & Margin Trading. I can read everything fine, but as soon as I try a buy, I get the error.
I'm running Python 3.8 on Windows WSL2, with Ubuntu 20.04.
Thanks for any advice.
David
Here's my code:
print(binance_client.get_symbol_ticker(symbol='CRVBTC'))
order = binance_client.order_market_buy(symbol='CRVBTC',quantity=6)
Here's the output/error I get:
{'symbol': 'CRVBTC', 'price': '0.00004500'}
Traceback (most recent call last):
  File "./buy.py", line 220, in <module>
    main()
  File "./buy.py", line 215, in main
    buy_coin(stake)
  File "./buy.py", line 172, in buy_coin
    order = binance_client.order_market_buy(symbol='CRVBTC',quantity=6)
  File "/home/david/env3/lib/python3.8/site-packages/binance/client.py", line 1366, in order_market_buy
    return self.order_market(**params)
  File "/home/david/env3/lib/python3.8/site-packages/binance/client.py", line 1338, in order_market
    return self.create_order(**params)
  File "/home/david/env3/lib/python3.8/site-packages/binance/client.py", line 1200, in create_order
    return self._post('order', True, data=params)
  File "/home/david/env3/lib/python3.8/site-packages/binance/client.py", line 240, in _post
    return self._request_api('post', path, signed, version, **kwargs)
  File "/home/david/env3/lib/python3.8/site-packages/binance/client.py", line 202, in _request_api
    return self._request(method, uri, signed, **kwargs)
  File "/home/david/env3/lib/python3.8/site-packages/binance/client.py", line 197, in _request
    return self._handle_response()
  File "/home/david/env3/lib/python3.8/site-packages/binance/client.py", line 230, in _handle_response
    raise BinanceAPIException(self.response)
binance.exceptions.BinanceAPIException: APIError(code=-1102): Mandatory parameter 'symbol' was not sent, was empty/null, or malformed.

My fault. I was setting the API url to https://binance.com/api
I removed that and it worked.


Cdn invalidation

This adds support to the deploy script to invalidate the cloudfront distribution.

Thanks @aussielunix - we probably aren't intending future deploys, but I'll merge this if we ever do.


[dotnet-standard-sdk] Implement WebSockets

Implement WebSockets to stream to SpeechToText and TextToSpeech.

@atilatosta can you handle this one?

Nevermind about estimations - we are using GitHub Projects to track task and they don't support point estimates yet.

@mediumTaj I'm checking the implementation of websockets in the dotnet standard library, but from what I'm seeing, we'll have problems. :(

What kind of issues do you see? Is there no websocket library .NET Standard? Is there a way to get microphone access or play audio?

@mediumTaj I'm unsure about saying that WebSocket is not supported, but I'm not finding enough documentation. I believe there are third-party libraries, but I would like to use dotnet core's native libraries to the fullest. In case the SDK would not have access to the microphone or camera, who would do this would be the local application that would provide Stream to the SDK.

Yeah I think it would be best to use .NET Core native as well. I don't have any experience in that. Unity SDK used a 3rd party plugin. I think for things that developers have a standard plugin they use, it's fine to go 3rd party. For example, for the last .NET Platform SDK I was working on I used NAudio to get access to the microphone. It might be the case where we have to leave access to the camera/microphone to the developer depending on what platform they will use unless there is a viable cross platform solution.

@atilatosta I just talked to German. We don't need to worry about accessing the microphone, camera, etc. We just need to be able to stream a bytearray to the services. It will be the developer responsibility to connect their application to the stream

@mediumTaj Yes. That is it. We are receiving the stream, but i am still worry with websockets. I keep looking about this.

@atilatosta Has there been any progress in WebSockets at all?

@mediumTaj Not yet, I'm doing some testing with the System.Net.Websockets namespace but still unsuccessful. In parallel I'm seeing some third party components, but the ones I saw did not work. I'm still studying this.

OK Thanks for the update! Let me know if I can help in any way

@mediumTaj i developed an example using dotnet core and websocket. I was able to connect, send and receive data. I will create the branch of this issue and develop.

Gentlemen, based on reading through this issue it appears that Websockets should be working but I haven't found any example. Could you please clarify? Is there an example of how to call Watson Speech To Text using Websocket API using C# and the IBM Watson Developer Cloud .NET SDK?


[TB] Nodejs Alternatives

Suggestion/Concern
The current implementation is in a single JavaScript framework limiting it's use by developers.
Proposed Solution
Implement atomic components in another JavaScript language/framework.

@dscamahorn Are you suggesting to expand beyond MUI component library or Node or both?  Could you please elaborate?


External Secrets picks only the latest secret manager version not the latest enabled secret manager version

We are using external secret operator in GKE (GCP k8s), it works seamlessly fine as expected.
GCP secret manger has this feature of secret versioning which is not adhered by External secrets operator, as external secret operator picks only the latest secret version, and if the latest secret version is disabled/destroyed, it doesn't search to pick the lower enabled versions.
eg: version 3 was the latest version of the secret x-encryption-salt, when it was disabled followed by being destroyed:
Warning  UpdateFailed  119s (x7 over 4m31s)    external-secrets  unable to access Secret from SecretManager Client: rpc error: code = FailedPrecondition desc = Secret Version [projects/xxx/secrets/x-encryption-salt/versions/3] is in DISABLED state.
  Warning  UpdateFailed  28s (x3 over 89s)       external-secrets  unable to access Secret from SecretManager Client: rpc error: code = FailedPrecondition desc = Secret Version [projects/xxx/secrets/x-encryption-salt/versions/3] is in DESTROYED state.
didn't try picking version 2 which was enabled.

This would be helpful in cases were we can quickly revert to the old version if the newly added version secret has some flaw. Basically operator needs to pull the latest enabled version than just latest version.

This is not really related to external secrets, but rather how GCP works. I don't think we should iterate over it, as if the secret is version is disabled, it is intentional for the security team to break whatever was consuming from it - and so ESO should break. As mentioned in this slack thread - to achieve what you want @mpsanj  you can simply leverage GCP Secret Aliases:
if you alias the right version as e.g. production - you can then reference it on externalsecrets as this:
data:
...
  remoteRef:
    key: abc
    version: "production"


Provide local Search API option

Feature Description
As an alternative to the Tavily search API, use SearcXNG to provide a local search API. Since SearcXNG returns meta-search results, make it usable from LLM by embedding.
Use Case
Use it as an option for the search API when launching locally. It has advantages in terms of cost and privacy.
Additional context
refs: #34 #175

https://github.com/Snazzah/duck-duck-scrape
Possibly DDG support?

Recently tried to get data from this endpoint and our current search providers returned an error:
The site is accessible but does not have https so it gets flagged as unsafe.

Would be great to have control all the way down to the web scrapper.

What kind of data do you expect from it? For instance, this is how you'd call the API, with useful configurable options such as specifying engines or categories (useful for targeted research like academic or social media focused). Is this any different, broadly speaking, than what you receive with Tavily or Serper?

@miurla

PR: #309


Package not found [solved]

The requested package way/generators dev-feature/laravel-five-stable exists as way/generators[1.0, 1.1, 2.0, 2.1, 2.2, 2.3, 2.4, 2.5, 2.6, 2.6.1, 3, 3.0.1, 3.0.2, 3.0.3, dev-master, dev-rewrite] but these are rejected by your constraint.
Pulling in way/generators:dev-master does work but then the migrations-generator fails with
" - Installation request for xethron/migrations-generator dev-l5 -> satisfiable by xethron/migrations-generator[dev-l5].
- xethron/migrations-generator dev-l5 requires way/generators dev-feature/laravel-five-stable -> no matching package found"

This issue is not solved as I get the same error

Oh wait... The description on how to install is incorrect. The last line should be:
composer config repositories.repo-name git "https://github.com/jamisonvalenta/Laravel-4-Generators.git"

This seems to be related to #82 who requires git to install it. Will try updating the url to the https version.
Also, #80 suggests replacing git with vcs to fix another bug


Remote code execution vulnerability - CVE-2021-24112

See https://github.com/jborean93/PSWSMan/issues/11 and https://github.com/jborean93/PSWSMan/issues/13.


My version of auto purchase

Buys the best weapon upgrade based on damage increase per dollars spent.
Prioritizing between clicking and auto upgrades can be adjusted with avgClicksPerSecond parameter.
Buys armor if best one(hp increase/$) can be bought and current health is below 30%.
Left out elemental damage because it valued it too much, it could be fiddled with.
*Also no crit damage

I need two people to independently test this for errors and functionality.

Maybe try using .25 for the oddsOfElement. This assumes that at any given time, there is a 1 in 4 chance that the enemy will be weak to that element. I don't believe this will entirely fix the problem though, as I think g_Minigame.CurrentScene().GetUpgradeCost(i) is returning a value that is far lower than the actual upgrade cost for the elemental upgrades.

I resolved merge conflicts on my own branch in order to test (gapple/steamSummerMinigame:purchaser)
No JS errors, and it seemed to do a good job of catching up on the minor upgrades that I had neglected manually.
--
Another upgrade manager (https://gist.github.com/meishuu/f83ee1de2992d5fc656c) has a check on the time it will take for the player to die based on the highest enemy DPS.
This might be a good condition to skip other upgrades in order to save for and purchase the most affordable shield.

When this is ready for merge, inform me and I will fix the various merge issues due to the filename change.

If someone can get this to work on the SteamDatabase/steamSummerMinigame fork i'll test it.

The file rename made a merge or rebase fail, so I exported the commits as patches, edited them, then applied them to a new branch.  My changes are at https://github.com/gapple/steamSummerMinigame/tree/purchaser

@gapple Yes, that does help indeed. I was planning on doing that myself, but now I don't have to. When it is ready to be merged (soon?), feel free to make a PR.

This pull request has been moved to https://github.com/mouseas/steamSummerMinigame/issues/74. Closing for now.


Update badges

Update the badges for rprt.  Also added coveralls badge (which required adding coveralls to the travis build)

Looks good to me. :+1:

I'll merge this branch and also will rebase https://github.com/rprt/rspec-page-regression/tree/v1.0 and push it.

Thanks!


add tests for ad-hoc commands for regular and smart inventories

part of :
https://issues.redhat.com/browse/AAP-24972
https://issues.redhat.com/browse/AAP-24973
tickets


if macro?

I've found that quite often I want to output an element only if a certain condition is true. Currently that means I have to use an if expression that returns an Option, which is rather cumbersome. Should render provide an if macro to make this nicer?

Have definitely run into this one myself.


Feature request: exceptions when alignment fails

When insufficient moving spots are found, currently the issue is logged and the identity matrix is returned. It would be nice to throw an exception in this and other exceptional cases.

Hi @krokicki and @cgoina!
I have added this feature to the master branch. There are three relevant commits.
Here I update the docstring to describe the new functionality: https://github.com/JaneliaSciComp/bigstream/commit/6afdb8b9daaa5e610aa2785059ac032c859f7277
Here I update the code so that failed safeguards now raise a ValueError: https://github.com/JaneliaSciComp/bigstream/commit/0930479a07f04958462b8cf0861f69b834100bf7
Here I make sure that this behavior is turned off in the distributed context (where we want warnings and defaults instead of exceptions): https://github.com/JaneliaSciComp/bigstream/commit/d81ad7b67541d607c7680d18ae0a63832c895347
I'll wait a bit before closing the thread in case either of you want to look at the update or comment?


Bug in Level 15

I successfully created a circle inscribed in the triangle, but the game is not registering the level as complete.  In fact, when I created the circle, the progress bar dropped from 2/3 full to 1/3 full.  I've tried several methods and they've all had the same result. This is one of these instances.

Thanks for your report!
Could you try to move around point A,B or C (with the point tool) and see if the solution still appears to be correct ?

Whoops, my bad.  I moved around the points and saw my mistake, sorry about that!


updated package.json

updated package tsutils from 2.3.0 to 2.4.0
Npm link :  https://www.npmjs.com/package/tsutils
Repository link : https://github.com/ajafff/tsutils/releases

Thanks for your interest in palantir/tslint, @EsrefDurna! Before we can accept your pull request, you need to sign our contributor license agreement - just visit https://cla.palantir.com/ and follow the instructions. Once you sign, I'll automatically update this pull request.

fyi cla signed

why do we need this? I'd rather upgrade tsutils when we need one of its newer features or if an automated tool like Greenkeeper made this PR.
also, when updating dependencies, we need to update the yarn.lock file as well.

Ok


Display line numbers in code samples

For example when looking at a description in the Python Tutorial #6 like

(32) At this point we can sit back and wait until the proper response arrives.

... it's quite hard to follow which code line this refers to, without seperately opening the source code either in GitHub or your own editor. Code blocks (maybe only longer ones) should have line numbers to make it easier to follow the tutorials.

highlight.js does not support line numbers by design. FWIW this is not a common request. I'd consider linking to executable (GitHub) repo more. A PR that does that would be considered.


WHMCS Support?

Is it possible to integrate MCHostPanel with WHMCS?

There's currently no support for this, and I don't plan on building it myself, but it does sound like a useful feature. I may look into what would be involved with integrating them.


SAME70 work in progress

In progress updates for atsame70q21b (mcu on the "ATSAME70 Xplained" eval board I have)
Will create a test app and try uart on the board before marking ready for review. Any feedback welcome in the meanwhile.

@tstellanova thank for taking part in this, your efforts are really appreciated as I don't have time to work on this.
You mobilized me to focus a bit on this. So, first things first:

There is no way I can let 863 files of PR to go in, not even telling about reviewing
If you need SVD and PAC crates for SAME70 chips, let me handle this somewhere this week
Then you can focus on tidying up your PR just to HAL stuff

Thank you Michal, I’m happy to submit whatever format/files are helpful.  I’m starting a new project first on atsame70 and then moving it to atsamv71.

It looks like the bulk of what I submitted has been moved to PAC already (along with additional SAME7 family device support). To move forward with the HAL, would it make sense to move the HAL to a separate repo? I'm thinking of how eg stm32-rs splits the pac and hal crates (eg pacs and one hal

STM32 crates are more advanced already. For now it's easier to use for me when this is together, at least unless there are more people interested in this family of MCUs and we could turn these into organisation. At the moment to test the build I need whole thing + extra code I have for my own project which isn't open source.
In the long term I agree both types have to be split into separate repositories. But then would be nice to configure various automation and CI as well. Interest in these crates was non-existent until you came with this PR so I didn't pay that much attention to it.
Let's keep the discussion going. We can move it to gitter or start channel on Matrix like atsamd-rs did.
I'm willing to do anything for the best of this project as long it doesn't mean too much fragmentation.

@tstellanova FYI I have a file called framework.rs which is intended to mimic some functions from Atmel Software Framework, it has routines to enable UARTs in PMC, enable some PIO peripherals, and initialize system. This is the foundation for what I wanted to call atsamx7x-framework crate and use it for HAL implementation. Another file I have some extra initialisation routines for USARTs, that aren't normally part of HAL, but could be moved into framework. I enclosed them if you're interested.
framework.zip

Thanks for the framework ref, I'll take a look.  The HAL split suggestion arose because I had a little trouble accessing the hal and pac separately from a consuming project's Cargo.toml (I typically use hal_crate = { git="repo_url" } to access these while under development, prior to crates.io publication.)
Unfortunately the project that was going to use atsame70 has moved to another M7 processor; however, I've got the dev board and I'm still interested in helping move the HAL forward.

@tstellanova Out of curiosity, can I ask what CPU has been chosen? SAMV, SAME, SAMS aren't very popular among community developers.
I'm thinking about separation, but that makes sense only if we have more people on board and do that as organisation.


The additional content, which is being displayed on mouse hover, is disappearing while moving focus on it, in Widget Builder screen.

Describe the bug
The additional content, which is being displayed on mouse hover, is disappearing while moving focus on it, in Widget Builder screen.
To Reproduce
Steps to reproduce the behavior:

Go to Widget Builder  (http://localhost:9992/cm/app/?view=widgetbuilder&site=test&path=%2FSites%2Ftest%2F&pathType=page)
Mouse hover on the Folder icon. It will show "Click to access package manager" label.
Now try move the pointer over the "Click to access package manager", the label disappears.
User should be able to move pointer over the additional content (tool tip, label etc.).

Expected behavior
User should be able to move pointer over the additional content (tool tip, label etc.), and this additional content should not disappear, while moving focus on it.
Additional context
Navigate all the options available for similar issue and fix.

This is not a bug as there is no additional content on Hover. In application on Hover, only title is displayed. So closing this.


Addon profile for Azure Monitoring for Containers + Update to Image Tag Release documentation

Addon Profile for oms agent.
Updated documentation on how to setup Service Connections on Image Tag Release README.

Note: Disregard commits on Rings. That has been removed and is now in a separate repo.

Closes https://github.com/microsoft/bedrock/issues/499.

You can confirm that Azure Monitoring is enabled for the container by checking for “omsagent” pods, or via Azure Portal. By default the add on is disabled (false).

@yradsmikham can we separate these two items into two PRs? I would like to try the ACR instructions but don't want to delay the other PR.

Removed conditionals because it terraform will fail if log analytics workspace resource is not created even though oms_agent is disabled. Azure Log Analytics is billed per GB. So if data is not ingested, it will no incur cost to create and maintain the resource.
Source: https://azure.microsoft.com/en-us/pricing/details/monitor/


Blank terminal - Git Bash

We have written the needed data into your clipboard because it was too large to send. Please paste.
Issue Type: Bug
I have a node.js server running and I'm using Git bash on Windows 10 Pro 64-bit. My terminal doesn't show text after some time when my node server is running. I can copy the text and read it on a txt file but the terminal stays blank. I can only see the cursor position.
 If it was blank some time later, did you sleep/resume your OS at some point?

No, it wasn't blank from the beginning. I cannot remember if my computer went to sleep but I was working on it all along. I don't think it went to sleep. I have tried sleeping OS but that doesn't seem to affect the terminal.

This looks like an issue with our old terminal backend "winpty", going forward we are focusing our efforts on the new backend "conpty" which is build by the Console team at Microsoft and should fix many issues with the terminal under Windows. You can read more about getting ConPTY here.
/duplicate https://github.com/Microsoft/vscode/issues/45693


also mention DispatcherTimer

In the green tip box, it mentions 4 different types of timers including one from Windows Forms. It would also be nice to mention the DispatcherTimer from WPF there.

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

ID: 16af3efd-8c5a-22a6-0144-d18b960fd2c6
Version Independent ID: 2a250bff-edd7-38bd-f0b3-2399a9e913c0
Content: Timer Class (System.Timers)
Content Source: xml/System.Timers/Timer.xml
Product: dotnet-api
GitHub Login: @rpetrusha
Microsoft Alias: ronpet

Thanks for pointing this out @vslee
I've added this to our backlog, and the contributor project. I've also added the up-for-grabs label. If you'd like to submit a PR to add the DispatcherTimer, we'll watch for it.

I think that the reason for why DispatcherTimer is not mentioned is that the box only mentions "Be aware that .NET includes four classes named Timer, each of which offers different functionality:" (emphasis is mine). So if we decide to add DispatcherTimer we will need to change the initial sentence. We can probably be inspired by the text from https://docs.microsoft.com/en-us/dotnet/standard/threading/timers

System.Windows.Threading.DispatcherTimer: a timer that is integrated into the Dispatcher queue which is processed at a specified interval of time and at a specified priority.


Fix raw query placeholder for Pg SQL

Thanks for this. I tried using it in a project with Postgres but kept on coming across an error, and managed to fix it myself so thought I'd fire off a pull request for you.
Knex uses ? for raw query placeholders, however the script was using $1, $2 etc. for Postgresql.
Without them, Knex would throw,
    at replaceRawArrBindings (/Users/dan/git/travelstories/node_modules/knex/lib/raw.js:96:11)
    at Raw.assign.toSQL (/Users/dan/git/travelstories/node_modules/knex/lib/raw.js:50:22)
    at /Users/dan/git/travelstories/node_modules/knex/lib/runner.js:35:32
    at /Users/dan/git/travelstories/node_modules/knex/node_modules/bluebird/js/main/using.js:165:30
    at tryCatcher (/Users/dan/git/travelstories/node_modules/knex/node_modules/bluebird/js/main/util.js:24:31)
    at Promise.module.exports.Promise._settlePromiseFromHandler (/Users/dan/git/travelstories/node_modules/knex/node_modules/bluebird/js/main/promise.js:454:31)
    at Promise.module.exports.Promise._settlePromiseAt (/Users/dan/git/travelstories/node_modules/knex/node_modules/bluebird/js/main/promise.js:530:18)
    at Promise.module.exports.Promise._settlePromises (/Users/dan/git/travelstories/node_modules/knex/node_modules/bluebird/js/main/promise.js:646:14)
    at Async._drainQueue (/Users/dan/git/travelstories/node_modules/knex/node_modules/bluebird/js/main/async.js:177:16)
    at Async._drainQueues (/Users/dan/git/travelstories/node_modules/knex/node_modules/bluebird/js/main/async.js:187:10)
    at Immediate.drainQueues [as _onImmediate] (/Users/dan/git/travelstories/node_modules/knex/node_modules/bluebird/js/main/async.js:15:14)
    at processImmediate [as _immediateCallback] (timers.js:358:17)```

Thank you!


Input validation styles

We should provide some basic styles for :valid and :invalid states of form fields. Here is some work that was done speccing some of this out:

:tada:   500 Issues!   :tada:

Sounds like my last relationship.

zing

http://codepen.io/boast/pen/pLjld
Has some nice stuff - some caveats that might bite us.

Isn't that codepen demo the opposite of this issue? It hijacks validation for "floating labels".

@asangma ^

Okay, matched the first spec in #538


Macos broke after using wal command

Alright I am going to try to give as much relevant information as I can, but I am in a specific scenario. I install yabai on my mac and also disabled SIP, so this is what I think is the main issue. I used this for about a week with no issues. I then installed pywal with pip3. Upon using the "wal -i" command with an image, my background went black, the dock.app stopped running, workspaces and mission control stopped running. Applications will still run and finder works, but dock.app wont restart, and upon trying to kill any instances of it already running, there are none to be found. I think this is an issue with running wal with SIP disabled, does it edit any system files that could be an issue?
Also let me know if you need more information to diagnose this.

The issue is related to the file Library/Application Support/Dock/desktoppicture.db.  If you delete this file, macOS will rebuild it and your dock will be restored.
Originally, I thought the issue had something to do with screen rotation, but I cannot replicate it with one external monitor locally regardless of rotation.
How many monitors do you have?
If possible, can you share your Library/Application Support/Dock/desktoppicture.db both before and after running Pywal?

Thank you for the information. Not knowing was going wrong, I created a backup (after the incident) and messed around with reinstalling macos, system stuff, etc., but I didn't know what I was doing. I am restoring from the backup and will try to delete this file to see if that fixes the problem.
I have only my monitor, the one attached to my macbook, but I do use multiple workspaces/desktops (whatever they are called). I will get back to you with the Library/Application Support/Dock/desktoppicture.db files as soon as I can.

On MacOS Catalina 10.15, and iTerm2 I did wal -i. The colors in iTerm2 changed. Then Dock/Mission Control stopped working. I noticed that there was a problem when my keyboard shortcut to switch desktops stopped working and just sent the key codes to the terminal.
It wasn't obvious that wal had caused the problem, so I googled "restart Mission Control." Results instructed me to do a killall Dock, but the response was that there were no active Dock processes. I searched in the Activity Monitor for "Dock", nothing came up. Restarted my MacBook a couple times, no change.
I was able to restore Dock and Mission Control using the accepted answer from this thread. It seems that wal might be creating some sort of corrupted wallpaper file?

@robwaz I have an external monitor that I use with my MacBook. I also use a bunch of the workspaces, not sure if that's related.

@dawsoneliasen thanks for the information!
For anyone interested, here's the issue:
When MacOS introduced live wallpapers, the ones that change throughout the day (Mojave?), the way wallpaper information was stored.  Currently, wallpaper data is stored in ~/Library/Application Support/Dock/desktoppicture.db, a small sqlite database.  As far as I know, this database is undocumented.  I submitted the original changes to Pywal that updated this database.
To date, my original changes still work on my macbook pro, running the latest version of Catalina with one external monitor connected.
In order to fix the issue, I need to identify what is different between my setup and those that experience this issue.  The best thing to determine this is the desktoppicture.db both before and after running Pywal.  With that, I can identify what fields in the database need to be changed.

Thank you again, that fixed everything. Here is the default .db file that was created after removing the old one, and the .db that was after I ran the wal command. I did customize my dock quite a bit, so I can try to recreate the conditions I was in before I ran wal and get a copy of that .db if you want. (I renamed file extension to txt to upload)
Default desktoppicture.txt
Post wal desktoppicture.txt

Please uninstall pywal and try using this fork.  Let me know if the issue persists.
You can install this local fork via the following steps.

Uninstall existing pywal (sudo pip3 uninstall pywal; sudo rm $(which wal)
git clone https://github.com/robwaz/pywal
cd pywal
sudo pip3 install -e ./

@AWOLASAP , @dawsoneliasen ,
Please update on here if the changes in the fork address your issue and I will submit a PR.

I followed your instructions and it worked perfectly. My background was changed and the Iterm2 terminal color scheme changed accordingly. Here are the before and after desktoppicture.db files:
desktoppicture(after).db.txt
desktoppicture(before).db.txt

Great!
While looking into the issue, I believe I was able to replicate the issue.  Originally, I cleared the data table, which holds the the wallpaper paths and rewrote it.  I then set all virtual desktops to the new background.
It appears that in some cases, the Dock will read the database before the update is complete, resulting in a failed state (Since the preferences table is referencing non-existent row briefly.).
The current approach appends the new background to the data list and rebuilds the preferences table with the new wallpaper using the stored virtual desktops.  Dock seems to be okay with the preferences table is empty.
It is possible that pywal will not update a virtual desktops if the OS has not yet added an entry to the database for it.  Unfortunately, I cannot add virtual desktops to the database, as I am unsure of how some of the values are being generated or if they are being used elsewhere (UUID in particular).  If other users encounter this scenario, I would recommend manually changing the background for each of your virtual desktops via the MacOS "Desktop & Screen Saver" settings.  This should add a virtual desktop entry to the database.

It seems the PR with the fix for this bug has been open for a few months now.   Really quite a shocking experience.  However, I found this issue, deleted my desktoppicture.db file, and installed the fork, and it appears my laptop is back to normal. Any reason to withhold merging the PR? https://github.com/dylanaraps/pywal/pull/518

I experienced the issue myself today. Any updates on the PR?

Just got the same problem, Dock, Mission Control, and some other gestures do not work along with black wallpaper.
I tried at doing the killAll Dock commands in Bash but it said the process didn't exist, then tried deleting com.apple.dock.plist, to no avail it did not restore a thing.
After that I saw the solution is in desktoppicture.db, I went to look for the folder only for it to literally not exist. My presumption is that it was because I deleted the .plist file or the fact that I am on a Big Sur update (11.01 Beta), and it perhaps was relocated.
I am going to try restoring the .plist file, but I am completely lost on what to do.

Just experienced the same problem but I am not finding a fix. I first tried deleting the plist file for the dock in preferences folder, then tried using the killAll Dock command, none of it worked.
I would try messing around with the folder in Application Support but the Dock folder inside of it literally does not exist for me. Not sure if it has to do with me being on Big Sur Beta, or something else I might have done. I have restored the plist file, and I have tried downgrading updates, but the updater wouldn't let me go through with installing. Not quite sure where to go from here.

Unfortunately, I cannot provide support for any MacOS Beta.  As you mentioned, the mechanisms involved may have changed.
In the event they haven't, I would recommend running the following command in your terminal to delete the desktoppicture.db file.
rm  ~/Library/Application\ Support/Dock/desktoppicture.db

Hey, that worked. Turns out I was looking in the slightly wrong location, it was in the users folder rather than the root. Thanks for the quick response.

Unfortunately, I cannot provide support for any MacOS Beta. As you mentioned, the mechanisms involved may have changed.
In the event they haven't, I would recommend running the following command in your terminal to delete the desktoppicture.db file.
rm  ~/Library/Application\ Support/Dock/desktoppicture.db

Thanks for this.
Ran into the same issue as others here and this was the only solution for me. As nv00 also mentioned I could not see that folder in Application Support, as it may have been hidden. Running the command worked instantly.

Unfortunately, I cannot provide support for any MacOS Beta. As you mentioned, the mechanisms involved may have changed.
In the event they haven't, I would recommend running the following command in your terminal to delete the desktoppicture.db file.
rm  ~/Library/Application\ Support/Dock/desktoppicture.db

Thanks for this.
Ran into the same issue as others here and this was the only solution for me. As nv00 also mentioned I could not see that folder in Application Support, as it may have been hidden. Running the command worked instantly.

This just came in super handy. Thanks you all. 🥇
Just to report, I had the same problem running:
macOS Big Sur 11.1, yabai, SIP disabled, one external monitor, and several space.
Deleting the desktoppicture.db fixed it.

This just came in super handy. Thanks you all. 🥇
Just to report, I had the same problem running:
macOS Big Sur 11.1, yabai, SIP disabled, one external monitor, and several space.
Deleting the desktoppicture.db fixed it.

This happened to me too...

Please uninstall pywal and try using this fork. Let me know if the issue persists.
You can install this fork via the following steps.
1. Uninstall existing pywal `sudo pip3 uninstall pywal; sudo rm $(which wal)`

2. Clone the fork `git clone https://github.com/robwaz/pywal`

3. Enter the project directory `cd pywal`

4. Install the local project `sudo pip3 install -e ./`

After doing this, pywal no longer works for me.
zsh: command not found: wal

udo pip3 uninstall pywal; sudo rm $(which wal)

I get an error of "command not found: wal"
Any idea how I can fix this? On an M1 Mac on Monterey.

Please uninstall pywal and try using this fork. Let me know if the issue persists.
You can install this fork via the following steps.
1. Uninstall existing pywal `sudo pip3 uninstall pywal; sudo rm $(which wal)`

2. Clone the fork `git clone https://github.com/robwaz/pywal`

3. Enter the project directory `cd pywal`

4. Install the local project `sudo pip3 install -e ./`

I get an error of "command not found: wal"
Any idea how to fix this?

Still happens on MacOS Monterey 12.1 (21C52).
The only thing that worked was to remove 'Library/Application Support/Dock/desktoppicture.db' and to wait for my wallpaper to cycle since it cycles every 5 minutes.

@SamuelBanya, I just pulled the master branch, and ran pywal on macOS Monterey 12.2 without issue.  I did some testing with cycling wallpapers enabled, but I cannot replicate your issue.
If you wold provide additional information similar to the earlier reported issue , I will look into the issue further.

I think that I have been able to reproduce the issue. I am on Monterey 12.2 also.
When I install by doing 'pip3 install pywal' then that version still has the problem.  Cloning the repo and installing with pip3 install . works for me.
I think wherever pip3 gets the version from is broken/not updated?

I think wherever pip3 gets the version from is broken/not updated?

Yeah the package hasn't been updated since 2019, but master is on a commit from 2021, so this project seems to be quite dead.
You should be able to do pip3 install git+https://github.com/dylanaraps/pywal.git to install master as a package directly without going through the step of cloning manually.

HI everyone! I've also recently encountered this issue. Besides just deleting the db, can I ask how everyone is "saving" their environments? (AKA saving in the sense of rescuing) It seems like installing this has really hardcore messed up my environment (just as above, like everyone else is describing)


make mention bot config valid

I'm not 100% sure this will work, but I think that the trailing comma/comments might be the problem. Nowhere does it say that mention-bot's configuration is JSON, but it's written in JavaScript and looks a lot like it.
As reference, nixpkg's mention-bot configuration doesn't contain a trailing comma and is valid JSON, and it works for them!
hopefully fixes #1715

[x] Installs cleanly on a fresh build of most recent master branch
[x] Upgrades cleanly from the most recent release
[x] Updates documentation relevant to the changes

lgtm


Adjusted parse_requirements for PIP versions 10>.

<!-- Make sure you have read http://napalm.readthedocs.io/en/latest/contributing/index.html --!>

Added import statement for PIP versions above 10. Fixes #57.

LGTM thx

@TheNetworkGuy This merge failed and is still on the develop branch.
Can it be pushed to the master ?

nevermind.. it is the pyfg package that has the same problem,,, but it is abandoned,, too bad.. no napalm fortios for me :-)


Go SDK: Sentry only recognizes custom error type if it is a struct

Important Details
How are you running Sentry?
Saas (sentry.io)
Description
Sentry only recognizes a custom error type if it is a struct. Meaning, an error type (no struct) would show up as the underlying error. See example below.
Steps to Reproduce
This code illustrates my point.
package main

import (
	"errors"
	"github.com/getsentry/sentry-go"
	"time"
)

type (
	operationTimeoutError error
	anotherTimeoutError   struct {
		msg string
	}
	thirdTimeoutError struct{ error }
)

var errOperationTimeout operationTimeoutError = errors.New("TIMEOUT")

func (e *anotherTimeoutError) Error() string {
	return e.msg
}

func foo() {
	sentry.CaptureException(errOperationTimeout)
}

func bar() {
	sentry.CaptureException(&anotherTimeoutError{"TIMEOUT"})
}

func blue() {
	sentry.CaptureException(&thirdTimeoutError{errors.New("TIMEOUT")})
}

func main() {
	if err := sentry.Init(sentry.ClientOptions{
		Dsn: dsn,
	}); err != nil {
		println("sentry.Init failed")
	}
	defer sentry.Flush(5 * time.Second)

	foo()
	bar()
	blue()
}

Running the code would produce this:

You can see that only the struct types show up as the custom types.
What you expected to happen
Expected the errorString in the screenshot to show up as operationTimeoutError.

@BYK moved and fixed permissions issue

Hi, @ditek!
The distinction is caused by error being an interface type. In all three cases we report the concrete type provided by Go's reflect package.
https://github.com/getsentry/sentry-go/blob/af57dac8e824517652d918bd828ac23ac6b628df/client.go#L443
All concrete types in your example happened to be struct, but there's nothing special about structs, you can see:

Your example changed with a few more types implementing the error interface:
package main

import (
	"errors"
	"fmt"
	"time"

	"github.com/getsentry/sentry-go"
)

type (
	operationTimeoutError error
	anotherTimeoutError   struct {
		msg string
	}
	thirdTimeoutError struct{ error }
	stringError       string
	intError          int
	chanError         chan bool
)

var errOperationTimeout operationTimeoutError = errors.New("TIMEOUT")

func (e *anotherTimeoutError) Error() string {
	return e.msg
}

func (e stringError) Error() string {
	return string(e)
}

func (e intError) Error() string {
	return fmt.Sprint(int(e))
}

func (e chanError) Error() string {
	return fmt.Sprint((chan bool)(e))
}

func foo() {
	sentry.CaptureException(errOperationTimeout)
}

func bar() {
	sentry.CaptureException(&anotherTimeoutError{"TIMEOUT"})
}

func blue() {
	sentry.CaptureException(&thirdTimeoutError{errors.New("TIMEOUT")})
}

func main() {
	if err := sentry.Init(sentry.ClientOptions{}); err != nil {
		panic("sentry.Init failed")
	}
	defer sentry.Flush(5 * time.Second)

	foo()
	bar()
	blue()
	sentry.CaptureException(stringError("Hello"))
	sentry.CaptureException(intError(404))
	sentry.CaptureException(make(chanError))
}

I see. Thanks for the explanation.


Upgrade deps

Hey,
I tried to be proactive about the go-datastore changes, I slapped the context in so maybe some changes are required
I opened this so the "work" doesn't stay on my computer but it's also to show Berty's interest in this package
There is some work that we'd like to upstream there: https://github.com/berty/go-ipfs-repo-encrypted/blob/master/sqlcipher.go
(support for sqlite and sqlcipher drivers), let me know if it's okay to open a PR for this (maybe an issue first ? ^^)
[EDIT] opened here https://github.com/ipfs/go-ds-sql/pull/21

This is great, thanks! I'll get a new version released for this.

I ran the tests manually since it doesn't look like the CI tests are running for some reason:
ctr_id=$(docker run -d -it --rm -e POSTGRES_HOST_AUTH_METHOD=trust -v $PWD:/m postgres)
docker exec -it $ctr_id

# then in the container
apt-get update && \
    apt-get -y upgrade && \
    apt-get -y install git curl build-essential && \
    cd && \
    git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.8.1 && \
    . ~/.asdf/asdf.sh && \
    asdf plugin add golang && \
    asdf install golang latest && \
    asdf global golang latest && \
    cd /m && \
    go test -v ./...

They pass

just realised I missed the gx part, no sure how to upgrade it though

just realised I missed the gx part, no sure how to upgrade it though

We're not using gx any more. I removed the file in #22.

@n0izn0iz is this ready for review?

@guseggert yep
The part I'm most unsure of is https://github.com/ipfs/go-ds-sql/pull/20/files#diff-c074dfb8e78c3fab42daae2eb64ba9af6c6930372c0372dc372994ae242fc8ddR40-R41

2022-01-07 conversation: @guseggert is in progress on getting this merged.

@n0izn0iz @guseggert : just checking - is this supposed to be closed given the PR wasn't merged?

The only thing missing is upgrading to<EMAIL_ADDRESS>do you need that @n0izn0iz ?

nope we don't use postgres, I saw the better changes merged to master so I happily closed :)


Hotfix init file loading code

Error messages replace $HOME with ~ (nicer replacements later)
Fix using the wrong path for $XDG_CONFIG_DIR
Fix not using $WAY_COOLER_INIT_FILE (breaking change)
Warnings when looking for the init file are improved

Coverage decreased (-0.04%) to 64.169% when pulling 1ffb4a28fd006a202bf91a1db2cd4dfcac8b9986 on lua-paths-fix into 21bd2c42e6c93f21d69b14f68e96cdcf9d06f260 on master.

Improved the messages somewhat, and added a warning at the end describing where the init file can be placed. Also mentioned that next version will not require this check.

Will merge in when docker passes

Coverage remained the same at 64.209% when pulling c6b4322680f9e7c4d283acd957a571dc6bc58267 on lua-paths-fix into 21bd2c42e6c93f21d69b14f68e96cdcf9d06f260 on master.


docs: update broken link (large functions)

Summary
Looks like this link was missed when updating the documentation yesterday. https://github.com/netlify/next-runtime/pull/1908
Thank you for your work!
Test plan

Verifiy link is correct

Relevant links (GitHub issues, Notion docs, etc.) or a picture of cute animal

Standard checks:

[ ] Verify link is correct

🧪 Once merged, make sure to update the version if needed and that it was published correctly.

Hey @charkour.
Thanks for this PR but we wanted to keep the short link so we've updated that now.
Closing this as it's fixed internally.
Thanks!


MeterialViewPager with fragment data mess up

MeterialViewPager hold five  fragments , each fragment get data from internet .  but when change the page in the viewpager , the data messed up.  eg: when i change the index to second one ,but the data of the page is not right , not the second page but the third page .

Could you show me the code, I think this is a problem in your fragment code.


Issue #618 Make /etc/hosts file in mac user writeable.

During the refactor to add gosec in our CI we changed the file
permission from 655 to 500 and this file should be write able
by the user so permission should be 0600

ci error is not related.


Add support for scoped npm modules

Hello,

This pull request introduces support for scoped npm modules. We currently have a need for this in my organization. Nutshell: Slush is now able to find modules like @company/slush-foo.
I have also added the ability to detect paths via process.env.NODE_PATH in an effort to avoid hard-coded paths.
I've also stopped converting paths to lower case, to address #17.
Lastly, I've fixed a failing test (it was failing before my edits).

I'd love to see this land soon! Let me know if you have issues / questions / concerns.

@doctyper great work! Thanks!


revert: install dex with jx boot, we need grpc certs created first

This reverts commit ad30947d86af4e80297250366bf65e0dbb7c3037.

not sure exactly why this change was made. I assume this chart was inspired by https://github.com/helm/charts/tree/master/stable/dex, which runs the job post-install.
When not using the jx helm wrapper, this chart times out because the job and SA are essentially waiting for each other.


Add clippy, update lints and add nightly for travis.

r? @canndrew
(maidsafe_highfive has picked a reviewer for you, use r? to override)

r? @Fraser999

Reviewed 3 of 3 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from the review on Reviewable.io


Refactor framework symbols.

Reference Issue

What does this implement/fix? Explain your changes.

Refactor framework symbols.

Use Preprocessor symbols

Any other comments?

Remove symbols defined by default.
https://learn.microsoft.com/dotnet/api/system.diagnostics.trace#remarks

This is PR before upgrading from .NET 5.

This is PR before upgrading from .NET 5.

So you want to make a new PR for that?

So you want to make a new PR for that?

Yes.
I've tested upgrade from .NET5 to .NET6 and know it's not just <TargetFrameworks> changes.
So I do not include it in this PR.


Add GCS Storage implementation

Adds support for an implementation of Sematic storage that leverages GCS.
Testing

Created a GCS Bucket and service account with access to it
deployed a key for that SA to my k8s namespace as a k8s secret
deployed Sematic to my namespace, configured to use GCS and that secret
Executed the testing pipeline: run with images, logs

@neutralino1 : GitHub's comment blackhole must have swallowed your naming nit! Can you post it again? Also, I did test it with a run that had images. See here

@augray naming nit was GCSStorage instead of GcsStorage, and same for all the other Gcs... classes.


Incorrect highlighting when using angle brackets in a comment

Given the following snippet of code:
enum Foo {
    A = 1 << 11, // A comment with "(" and ")"
    B = 2 << 12, // A comment with "<" and ">"
    C = 3 << 13, // A comment with "[" and "]"
}

This is the highlighting I obtain:

If I remove the comment after 12, then the highlighting is correct:

It works on my branch and my configuration. Would you like to try to disable other plugins?

Hmmm that's strange. I'm using Neovim BTW, but I have Treesitter highlighting disabled. These are the highlight groups applied to the 12:

Are you on the latest commit?

Okay it seems like the files that vim is using are outdated. I'll close the issue here.


Add some documentation

Hello,
I simply added a little a bit of documentation :

A minimal example in the readme with some links to the gazebo_ros_control repo and documentation
The link to this repo (and bug tracker) in the package.xml, so people installing the package via conda or apt can find the source code easily.

I also plan to auto-generate the wiki page /gazebo_ros_control_select_joints on wiki.ros.org, if it's ok with you. (because so far the link present in the package.xml points to a non-existing page)
Cheers.

Looks good, thank you for your contribution.


Delete VHX & Update Vimeo, Update Lazada, Add Qwant, BlaBlaCar, YesWeHack, DATADOME, ATG, Swapcard, MON ESPACE SANTÉ & Deezer

Looks good to me! Thanks for the contribution @akincibor

Commenting again to approve?


Make WSI iterable

Feature
Currently, WSI objects use a .build_generator() method to iterate through image tiles from the slide. For ease of use, WSI objects should be directly iterable.
Pitch
Iterable WSI objects which return ((loc_x, loc_y), image) for each image in the slide.
Alternatives
The current alternative is to call WSI.build_generator(), which is non-obvious to the end user.

Addressed in b745fc2, which implements an indexing interface for WSI.


UI for key security level

Background: Alphawallet security is being upgraded to the best achievable security whilst keeping convenience.
I have simplified the key usage for the sake of narrative, but it doesn't affect the UX.
Keys created by the Android security system are locked away from the user/OS. We use this system to protect the user's private crypto signing keys.
The keys can be created with usage constraints; for simplicity this is either that you need to authenticate (system fingerprint, PIN, swipe or facelock) before use, or you do not.
If you specify that the user needs to authenticate, then if any negative security event happens those keys are rendered unusable. Negative security events are mostly:

user adds a fingerprint.
user removes screen lock.
user removes the only fingerprint on the device.

Note that changing PIN is not a negative security event, but removing a fingerprint when there's only one fingerprint would count as a negative event.
Keys created without this constraint won't be affected by the security event.
Imagine the scenario where a user has created an account on alphawallet. Then they receive some ether on it, but still haven't backed up the account despite the app nagging them to.
They lend the phone to a friend who complains about the phone keeps locking up, so they remove security for the friend.
This event triggers all the protected keys to be destroyed.
Now, the user is really upset and will blame Alphawallet for losing their key, rather than their own actions. It's a grey area really.
After discussion we settled on the following solution:
At the time of key import/creation, the key requiring authentication is created as normal, but also another key is created which doesn't have the authentication requirement. Note that this second key is less secure.
In the same scenario, the user again receives eth, doesn't back up the key, removes their authentication lock, voids the secure key but there's a backup key which will still work. The app will automatically recover this key (should there be a warning? This is a UX design issue).
Once the user actually backs up their key, the key that doesn't have authentication can be erased as if the user does the same thing again they can restore the key from the backup.
What we need is a UX design for this process. Some points I thought of:

how should the user be told that their key security can be improved by backing up?
should the insecure key be erased after we confirm they backed up, or should we wait a bit, ask the user to re-import their key to prove they backed it up then erase it?
how to represent that the key is now more secure?

Cross reference this with #769

Tomek has:

When the key is used? A. when you want to open AlphaWallet app or B. only when importing a wallet C. when there is a need to confirm a transaction (and any other sensitive moment confirmation)

The key is used 𝑐

Of the key can be a faced or fingerprint then it also requires pin code as an alternative. This is how it works with my bank: I set a fingerprint + pin code. When I disable fingerprint for my phone then when logging in it asks me to enter pin code. So the fingerprint/faceid is a primary option, after three attempts or if you have this disabled it asks my pin code.

Currently, iOS and Android regards fingerprint/faceid/PIN/Pattern-protection the same. They are all provided by the OS. There is no app-level password, PIN, pattern etc. We can't change that decision at this stage of sprint.

Is backing up the key a different action then backing up seedphrase or this can be a part the same flow?

In either cases, if you backed up, the key can now be encrypted safely, since if the key gets destroyed due to the user disabling operating system level fingerprint/faceid/PIN/Pattern-protection the user can recover from the backup (be it seed phrase or keyStore).

Where the key is actually backed up? And how does it work?

If the wallet is a wallet created from seed, the seed phrases are backed up. If the wallet is a legacy wallet (existed before this new version of αWallet is released), then it is a keystore wallet, and the keystore is backed up.


refactor(ast_tools): reduce macro usage

Reduce the amount of code in define_derive! and define_generator! macros. This makes the code easier to read, and gives type hints in IDE.
Remove generated_header! macro and insert header as a blanket action, instead of repeated code in every generator.

#6895  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @overlookmotel and the rest of your teammates on  Graphite

Makes no difference to oxc_ast_tools's generated output, so merging without review.

Merge activity

Oct 25, 1:41 PM EDT: The merge label '0-merge' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.


Update auto-deploy-azure-monitoring-agent.md

Learn Build status updates of commit db77088:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/defender-for-cloud/auto-deploy-azure-monitoring-agent.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

@NettaNorman Glad to see that you feel comfortable submitting PRs. For small PRs like this, you can publish after the automatic checks finish by entering: #sign-off

#sign-off

#sign-off