New npm's audit feature complains a lot

Hi and thanks for this great lib!
Please, can you publish a new version of chokidar with upgraded dependencies?
Npm is reporting various vulnerabilities due to some packages like hoek, tough-cookie, sshpk, etc, used by this project.

Possible duplicate of #713

#713 is unfortunately closed. I posted a comment on it though. The problem is indeed with chokidar dependencies on Mocha, Coveralls and Istanbul. Upgrading those fixes the problem.

PR please.


Calling .reverse() changes length of query result to my page size limit

I've been banging my head over this and I have no idea why this is happening but in my code :
     this.currentQuery = Dexie.currentTransaction;
            var queryResult =self.db.partners;
            if (order === 'desc') {
              queryResult = queryResult.reverse();
            }

On a regular query where order ==='asc' , my queryResult returns 128 items, as soon as I reverse the order aka set order to 'desc', the queryResult returns 10 items, precisely same number I set for my page size in the pagination part :
                .offset((pageNumber - 1) * pageSize)
                .limit(pageSize)
                .toArray()

I confirmed this by changing page size to 17. Same thing, reversed the order and queryResult returned 17 items. Why does it do this?

limit(N) means that it will limit the number of results to maximum N records. So basically if you have a pageSize of 10, call limit(10), you should expect only 10 records in the result.
However, it sounds very strange that you would get 128 items just because not calling reverse().

I limit the returned query result to say 10. But my count is 128. When I just do a reverse after this, my count becomes 10. Just to clarify that part.

Can you post the entire code?

I mean post a code that reproduces it: both with and without reverse()

 query: function (searchString, order, pageSize, pageNumber) {
          var self = this;
          if (this.currentQuery) {
            this.currentQuery.abort();
          }
          this.db.transaction('r', this.db.partners, function () {
            this.currentQuery = Dexie.currentTransaction;
            var queryResult =self.db.partners;
            if (order === 'desc') {
              queryResult = queryResult.reverse();
            }
            if (!_.isEmpty(searchString)) {
              queryResult = queryResult.filter(function (partner) {
                return _.includes(partner.name.toLowerCase(), searchString.toLowerCase());
              });
            }
            Dexie.ignoreTransaction(function() {
              queryResult.count(function(count) {
                self._setTotalResults(count);
              });
            });
            return queryResult
                .offset((pageNumber - 1) * pageSize)
                .limit(pageSize)
                .toArray()

          }).then(function (result) {
            self._setFilteredPartners(result);
          }).catch(function (error) {
            console.error('Error querying partners: ', error);
          });
        }

Thats the function that gets called, the only difference betweeen a queryResult with count 128 and count 10 is the value of order.

Ok, it's because Dexie's Collection is not immutable and you are executing count() in parallell with setting a limit() onto the Collection. You can use Collection.clone() to make it immutable.
Also, it's always a good thing to await all promises (also the count()) promise. Use Promise.all() to await the count() and the query() in parallell.
{
    query: function (searchString, order, pageSize, pageNumber) {
          var self = this;
          this.db.transaction('r', this.db.partners, function () {
            var queryResult =self.db.partners;
            if (order === 'desc') {
              queryResult = queryResult.reverse();
            }
            if (!_.isEmpty(searchString)) {
              queryResult = queryResult.filter(function (partner) {
                return _.includes(partner.name.toLowerCase(), searchString.toLowerCase());
              });
            }
            return Dexie.Promise.all([
                queryResult.count(),
                // Use clone() as offset() and limit() otherwise mutates the same query that is counted
                queryResult.clone()
                    .offset((pageNumber - 1) * pageSize)
                    .limit(pageSize)
                    .toArray()]);
          }).then(function (countAndResult) {
              self._setTotalResults(countAndResult[0]);
              self._setFilteredPartners(countAndResult[1]);
          }).catch(function (error) {
              console.error('Error querying partners: ', error);
          });
        }
}

True, db.table is a Table instance, while db.table.reverse() returns a Collection instance. Table.reverse()

Seems all parts of your code only needs a Collection, so you could pass the Collection instead of the Table into your function to get less confusion.


Is this for ASP MVC?

Where is controllers and models folde?
plz check the image attached

And where I can add my own controller and models and my own stuff..please help...

Modules folder, use the serenity code generator in the packages folder to create a model from a database table.

Please Help how to do that?much needed..

Try the guide


Usage of vals exec -f envvar.yaml with example

vals exec command exactly solves my problem by keeping the secrets in a envvar.yaml file to populate env vars and execute them.
envvars.yaml file contains
test-secret: refref+azurekeyvault://********
By running the command vals exec -f envvars.yaml getting the  getting the error msg are "missing args"

@KALAKATASUNEETHA Hey! missing args means you are missing args; it would be run like vals exec -f yourenvs.yaml -- yourcommand yourarg1 yourarg2. vals exec is used to run your command with the envvars loaded from your yaml file, so it can't be run without any args.


OCDAV: map bad request and unimplemented codes

We now return a 400 bad request when a grpc call fails with an invalid argument status and a 501 not implemented when it fails with an unimplemented status. This prevents 500 errors when a user tries to add resources to the Share folder or a storage does not implement an action.
This is part of a series to get 500 errors returned as proper 400 errors: owncloud/product#7

@butonic can we make this a bit modular? So many switch cases make reading through the code a bit difficult.

@ishank011 I moved the switch to a function and now use that throughout the ocdav handler. using subloggers this even allows logging additional fields, eg. src or dst.

@butonic maybe rebase

@labkode I had swallowed a conflic status when refactoring ... good to merge now.


fix(Observable/Ajax): mount properties to origin readystatechange fn

Description:
xhr.onreadystatechange property may be monkey patched by other library such as zone.js.
It would cause AjaxObservable could not find subscriber, progressSubscriber and request property on xhr.onreadystatechange.
it's a simple example here: http://plnkr.co/edit/oX1v8tTjTog1T57Z0JnI?p=preview

Coverage remained the same at 97.039% when pulling 00fc6b1b1a9ebd5ded5b0ff333949575995824a5 on Brooooooklyn:issue/ajax into 1bee98a8af40e5e650c371a083237c56b5bd0911 on ReactiveX:master.

Coverage remained the same at 97.039% when pulling 4f2f376ffa7ee173e22c1c2e457d8a6326a15f48 on Brooooooklyn:issue/ajax into 1bee98a8af40e5e650c371a083237c56b5bd0911 on ReactiveX:master.

Coverage decreased (-0.03%) to 97.009% when pulling 3466354a2ed24692bfd57f4eccebfb154ce1791c on Brooooooklyn:issue/ajax into 1bee98a8af40e5e650c371a083237c56b5bd0911 on ReactiveX:master.

Coverage decreased (-0.03%) to 97.009% when pulling 3466354a2ed24692bfd57f4eccebfb154ce1791c on Brooooooklyn:issue/ajax into 1bee98a8af40e5e650c371a083237c56b5bd0911 on ReactiveX:master.

@Brooooooklyn ... I'm struggling to understand the issue. I think I get it... but can you create a test case as part of this PR that definitively shows the issue this is trying to correct? You don't need to use zones, maybe just monkey patch the handler or something?
It seems if there's a problem like this, the alternative solution would be to use the addEventHandler means of registering handlers.

@blesh Indeed the issue is that zone.js does not respect the identity of the function you assign to the event callbacks. It wraps the function here so a new function created internally is the one you actually receive when we xhr.onreadystatechange.something = 123 etc.
IMO is solution is acceptable and effectively the same we'd need to do if we used xhr.addEventListener -- that is, we need to assign the function to a local scope var first, then use that local scope var to assign the props, independently of setting up the listener logic.

Coverage increased (+0.2%) to 97.283% when pulling 5920621ee59581c8dc10b111b5c0b45435d29acd on Brooooooklyn:issue/ajax into 1bee98a8af40e5e650c371a083237c56b5bd0911 on ReactiveX:master.

@blesh I've added some test in a separate commit, could you please review it.

Coverage increased (+0.2%) to 97.284% when pulling 807cb7b67291115410e1921c80a9a7b6747189ae on Brooooooklyn:issue/ajax into 5460e7773d18f3e8c61ec09498121d837be3c2f5 on ReactiveX:master.

Oh. I understand. Not sure why it wasn't sinking in the first time I looked at it.

Coverage increased (+0.2%) to 97.284% when pulling 0101c522088fd977d3237d9f6d28ca5cce557cb2 on Brooooooklyn:issue/ajax into ece1b89f1b2e067d3ff9faec192ff5fd5a5681e6 on ReactiveX:master.

Coverage increased (+0.2%) to 97.224% when pulling 1a458054abeb4320a4e6bed893c26f5d08dda126 on Brooooooklyn:issue/ajax into f94ceb9b3eed06d46ab9f10c4060a99d9b7026e2 on ReactiveX:master.

LGTM


Consider moving ghc_boot_platform.h

I see a ghc_boot_platform.h in _build/stage0/compiler, and another in _build/stage0/compiler. I wonder if this should really live in _build/generated (where other generated headers go), which might let you simplify the header directory story?
Just a thought, please close if it doesn't seem useful.

Yes, we could keep all generated headers in generated, but there are two issues here:

These files are different in different stages, so this will force us to introduce subdirectories in generated.

These files are used only by compiler as far as I can tell. Perhaps, compiler/generated would be best?

Is ghc_boot_platform.h really different per stage? Looking at it, it seemed invariant on the stage.

Here is where these files are generated:
https://github.com/snowleopard/hadrian/blob/master/src/Rules/Generate.hs#L385-L438
Perhaps the difference occurs only when cross compiling.

Indeed, these will only differ while cross-compiling.

Ok, then my idea seems a bad one.


ciscoise_tacacs_command_sets fail with command arguments as empty string

Prerequisites

[x] Have you tested the operation in the API directly?
[x] Do you have the latest Terraform provider version?

Describe the bug
TACACS commands sets API request allows arguments attribute to be an empty string inside commands -> commandList -> command. But the the provider fails with below error when arguments = "" is used.
resource "ciscoise_tacacs_command_sets" "asa_read_only" {
  parameters {
    description      = "ASA Read Only"
    name             = "ASA Operator"
    permit_unmatched = "false"
    commands {
      command_list {
        grant     = "PERMIT"
        command   = "show"
        arguments = ""
      }
    }
  }
}

│ Error: Failure when executing CreateTacacsCommandSets
│
│   with ciscoise_tacacs_command_sets.asa_read_only,
│   on policy_elements_conditions.tf line 9, in resource "ciscoise_tacacs_command_sets" "asa_read_only":
│    9: resource "ciscoise_tacacs_command_sets" "asa_read_only" {
│
│ error with operation CreateTacacsCommandSets
│ {
│   "ERSResponse" : {
│     "operation" : "POST-create-tacacscommandsets",
│     "messages" : [ {
│       "title" : "Validation Error - Mandatory fields missing: [Arguments]",
│       "type" : "ERROR",
│       "code" : "Application resource validation exception"
│     } ],
│     "link" : {
│       "rel" : "related",
│       "href" : "https://mapper.cisco.com:9060/ers/config/tacacscommandsets",
│       "type" : "application/xml"
│     }
│   }
│ }

Actual API request sent by the provider: arguments field is missing.
POST /ers/config/tacacscommandsets HTTP/1.1
Host: mapper.cisco.com:9060
Cookie: APPSESSIONID=484DD05EA75430A41FD9399997A89583; JSESSIONIDSSO=51E335C6DB3D45B9940DD582FB700A64
Content-Type: application/json
Accept: application/json
User-Agent: go-resty/2.7.0 (https://github.com/go-resty/resty)
Authorization: Basic bWFwcGVyYXBpOlNvYXIuMTIzIQ==
Content-Length: 164
Accept-Encoding: gzip, deflate
Connection: close

{"TacacsCommandSets":{"name":"ASA Operator","description":"ASA Read Only","permitUnmatched":false,"commands":{"commandList":[{"grant":"PERMIT","command":"show"}]}}}

Expected behavior
Provider should include arguments field in the API call even when it is an empty string as it is required by the API.
Screenshots
Successful API call:

Environment:
terraform -version
Terraform v1.0.1
on darwin_amd64
+ provider registry.terraform.io/ciscoise/ciscoise v0.5.0-beta

Your version of Terraform is out of date! The latest version
is 1.1.9. You can update by downloading from https://www.terraform.io/downloads.html

OS version: macOS Big Sur 11.6.5

Additional context
N/A

Hi @chetanph new versions of ciscoise-go-sdk v1.1.4 and terraform-provider-ciscoise v0.6.0-beta has been released, try with these new versions and let us know if it work for you.

Yes, it works with newer version. Thank you!!


Enable cargo caching in check-codestyle-rust

This job takes an extraordinary amount of time for what I understand it to do. The obvious win is caching dependencies.
Rory disabled caching in cd5732d9d8ccd291f39ed41250072acdce3012e6. I assume this was to get gen3 runners up and running.

Aside: it would be awesome if we could get people to use their Neon git credentials!
Co-authored-by: Rory de Zoete<EMAIL_ADDRESS>

I don't know what effect this will have on our runners. Hopefully someone who is in the know (dev prod, sre?) can comment on if this is good go.

@bayandin would be the person to ask I'd presume

Makes sense. I noticed that we only have (or had) caching for the dependencies in the 'check-codestyle-rust' job, not in the actual build jobs ('build-neon'). Could they use caching too?


Fix jupyter server startup when xeus-cling is installed

For #7569
From looking at customer logs it seems like we're attempting to start something that isn't actually python to determine if it's python or not. This can hang so making a timeout of 5 seconds to skip these 'interpreters'

Codecov Report

Merging #7770 into release will decrease coverage by 0.04%.
The diff coverage is 33.33%.

@@             Coverage Diff             @@
##           release    #7770      +/-   ##
===========================================
- Coverage    58.81%   58.76%   -0.05%
===========================================
  Files          496      496
  Lines        22115    22116       +1
  Branches      3558     3558
===========================================
- Hits         13006    12996      -10
- Misses        8297     8301       +4
- Partials       812      819       +7

Impacted Files
Coverage Δ

src/client/common/process/pythonProcess.ts
31.11% <33.33%> (+1.56%)
:arrow_up:

src/client/common/utils/platform.ts
76.47% <0%> (-11.77%)
:arrow_down:

src/client/common/platform/pathUtils.ts
66.66% <0%> (-5.56%)
:arrow_down:

src/client/linters/pydocstyle.ts
84.61% <0%> (-5.13%)
:arrow_down:

src/client/datascience/debugLocationTracker.ts
79.24% <0%> (-3.78%)
:arrow_down:

src/client/interpreter/locators/helpers.ts
70.73% <0%> (-2.44%)
:arrow_down:

src/client/common/process/proc.ts
13.28% <0%> (-1.57%)
:arrow_down:

src/client/datascience/constants.ts
99.64% <0%> (-0.36%)
:arrow_down:

Continue to review full report at Codecov.

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

Reopening this against master. Can always cherry-pick it into release if we want to ship it


Autograd wrapper lin op

Alternative to #307 using init_subclass as I suggested in #68

@ckolbPTB

I removed all typing information from init_subclass. Myp will most likely never be able to check inside the autograd wrapper anyways and if I am not mistaken,currently mypy will works as-if there was no adjoint wrapper.
The forward, the adjoint and all calls of these will still be type checked.

There is a fundamental issue with using the adjoint as the backward:
During the forward inside the wrapper, autograd is disabled. Thus gradients from any parameters of self do not flow to the output.
This means, looking at for example the gridsampleop, the gradient wrt x of the operator will work, the gradient wrt the grid will not work.
this is difficult to solve without using a custom solution for each linearop.
We might be able to use it for operators that do not depend on any other tensor. But most of our operators will then not be covered by the solution:

Fourier: Should be differentiable wrt trajectory
CSM wrt csms
gridsample wrt grid
we need to disable it for all linear operator-magic operators, for the composition of linops to be differentiable to some attributes of one of the operators...

no idea how to pursue.
maybe we just do a custom autograd for the fourier operator?

There is a fundamental issue with using the adjoint as the backward:

That is a shame!

maybe we just do a custom autograd for the fourier operator?

Can we provide an custom gradient wrt to x but use pytorch autograd wrt to e.g. traj or would we have to provide our own autograd functionality for each parameter?

Now this can be enabled for operators, using the adjoint_as_backward setting, i.e.
class Op(LinearOperator, adjoint_as_backward=True). The default is false, it has to be enabled for each Operator that should use this.


Automatic Typescript route param parsing

This PR enables automatic type inference from provided route paths, ensuring that users can only access params defined in the route.
I've added type tests to cover these changes. I think they cover all possible eventualities, but would appreciate a second opinion.
Given that this is proposed for a major version upgrade, I did include one semi-breaking change. Instead of having to extend the Router in order to add custom methods, I've added a TMethods type parameter to Router. This allows the user to provide a union of any number of method types they would like (eg. 'puppy' | 'kitty'); all of which are mapped to the Route function type internally. This has the added benefit of ensuring the Route type remains consistent across all routes.
P.S. thanks to this gist and @supabase/postgrest-js for some of the inspiration on how to achieve this :)

Awesome, thanks David!
Re. your proposed breaking change, mind including (here) a brief before & after demo of what implementation would look like compared to what it is?

Briefly looking at the example.ts though, I think I def prefer your direction!

Re. your proposed breaking change, mind including (here) a brief before & after snippet of what implementation would look like compared to what it is?

I think the change to the example shows the difference pretty well.
The previous method is brittle in a couple of ways.

It requires the user to provide the Route type on their own. I think this should only be possible if they implement their own wrapper around Router.
It requires the user to provide their custom router type, every time they want to use their custom methods. Although custom methods should only be used sparingly, it's still overly verbose and doesn't feel right.

An alternative (possibly nicer?) option is to replace this with a simple Record<string, Route>, allowing users to use custom methods, while retaining niceties like completion for the methods in RouterHints.
Re my current implementation, say you want to support the puppy and kitty methods:
Before
interface CustomRouter extends RouterType {
  puppy: Route;
  kitty: Route;
}

const router = Router({ base: '/' })

router
  .all<CustomRouter>('*', () => {...})
  .puppy('*', () => {...})
  .kitty('*', () => {...});

After
const router = Router<'/', 'puppy' | 'kitty'>({ base: '/' })

router.puppy('*', () => {...})

router.kitty('*', () => {...});

If you agree, I think it would also be nice to allow providing your own extensions to the IRequest type, at the Router and Route level. itty v2 supported this, but the ts rewrite dropped it, which makes it more cumbersome to use custom properties added on to the request in previous handlers.

The particular issue I have is is the properties you wish to add on to IRequest must be optional. That's because request in the RouteHandler type is explicitly typed as IRequest. So if the extended properties aren't marked optional, TS complains that the type doesn't sufficiently overlap with IRequest.
In my current use case, I'm assigning an API client to request in a .all('*') handler before any other routes, so wherever I use the client, I have to tell TS that it definitely exists with request.myClient!.

Have a suggestion for solving this one in an elegant way?  I totally agree this is a problem, and one I too face all the time... usually forcing me to create a custom downstream request type and case the request as that in the downstream handlers (cumbersome/boilerplatey)

Additionally, I love this:

Know of an elegant way to allow this to work with withParams?  This is a middleware that proxies the request, checking attribute requests off the main request against the params object... meaning name and id could be requested directly off the request, as well as from request.params.

Ok, revisiting this one after some time off (and time spent tackling the greater TS issues):
First of all, guaranteed this no longer works with v4.x as it's made some heavy under-the-hood TS changes in the last several days (pending release).
I'd love to see a PR (based on the current types in v4.x) that just tackles the route params, while playing nicely with the typing methods described here:
https://itty.dev/itty-router/typescript
If we can get this in without adding too much complexity, or modifying the existing type signatures (described in the docs), that would be amazing!


Create operations_test.go

Description
This PR adds tests for internal/config/operations.go
This PR fixes #501
Notes for Reviewers
Signed commits

[ ] Yes, I signed my commits.

@Aisuko I signed off my last commit. Does this look ok?

Please signoff or we cannot merge this and more detail please check here https://github.com/meshery/meshery-linkerd/pull/502/checks?check_run_id=13145299095

@Aisuko I signed off the last commit.is it ok?

It is still failed

It is still failed

Shall I squash the commits and sign-off it will this solve?


Added missing space before exit code.

I could've sworn the script gave me an  exit1: command not found error at some point, but I can't reproduce it now.
In any case, here is the world's smallest bugfix.

Yea this happens if no command is given but only arguments (e.g. ./letsencrypt.sh -x), thanks.


Alert new properties without default

Describe the bug
After upgrading from 0.34.1 to 0.35.1 the Alert cannot be instantiated without props.
The minimum Alert is <Alert dismissable={false} accent={false}>
Reproduction
Try to use <Alert>....</Alert>, build and svelte-check shows this as error.
Flowbite version and System Info
0.35.1

Can you show us your code?
https://svelte.dev/repl/0bf3cd6600ff4625b7dd7af0885b23e6?version=3.59.1

Getting same error here using typescript:

Thanks. This is related to the Frame component.
@jjagielka Can you have a look at it?

0.35.2 solves this problem. Thank you!


Don't force mcs compiler in gtk-sharp.py

Otherwise we'd revert the work done in https://github.com/mono/gtk-sharp/pull/273.
Discovered in https://github.com/mono/mono/issues/17028.

@monojenkins backport 2019-08


cannot import name 'umask' from 'dvc_objects.fs.system'

Hello,
It seems like the latest version of dvc-objects is not working fine for an import. My Github pipeline just broke because of this import:
ERROR: unexpected error - cannot import name 'umask' from 'dvc_objects.fs.system' (/opt/hostedtoolcache/Python/3.10.4/x64/lib/python3.10/site-packages/dvc_objects/fs/system.py)
I was using this version of DVC:
pip install dvc==3.33.0 dvc-azure==2.23.0
I force an older version of dvc-object to fix this issue.
Thanks a lot

Same here

@charlesmelby @marinbouthemy @nbgit10 Hey folks, thanks for the report! dvc-data 2.22.4 is out with the fix and should be picked up by older dvc versions, but dvc 3.33.1 is also out with all fixes.


The option "hide silenced clients" seems doesn't works on 0.12.1-1

Recently I have updated my uchiwa to the 0.12.1-1 version and I have experimented this issue, well the select "hice silenced clients" seems does not work correctly, but the select "hide silenced checks" works perfectly

Thanks for reporting this issue!

I upgraded to 0.13.0 and still experience this problem.
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                            Version              Architecture         Description
+++-===============================-====================-====================-====================================================================
ii  uchiwa                          0.13.0-1             amd64                Uchiwa, a Sensu dashboard, created by Simon Plourde.````

Apologies, after futzing around with my cache, I was able to get it to work.


feat: adds request limiter

I personally had to use a limiter quite often so i thought it might be usefull here as well to.. will also reduce the amount of "useless" requests towards torn. Is actually more usefull in combination with the MultiKeyProvider from the other PR.
Also added a option to make async api-calls which also is usefull quite often and kinda fits the limit.

If I understand correctly, you wouldn't be able to use this with bursts of requests?
For example if I have a cron job every minute to make 10 requests within a second, but only once that minute, this would fail all but the first request?

It currently would sleep until the next api call would be allowed... should honestly be configurable if the user wants it to sleep or fail... 🤔

The limiter had issues which i had to fix.
It basically just looks up how many requests have been made within the timeframe of the limiter and lets the thread sleep or throw an exception if the limiter has reached the exception.
So if you CronJob has a client with a limit of 1 request every minute it would queue them all and make the first request, realise that the limit has been reached at the next request and lets it sleep for 1min. The third request would be executed 2min after the first one, and so on.
Or you enable exceptions and switch key etc...


⚠ ComboForum has degraded performance

In f57ee9f, ComboForum (https://comboforum.com) experienced degraded performance:

HTTP code: 200
Response time: 4059 ms

Resolved: ComboForum performance has improved in 77f6075.


Fix crosschain favorites names

Fixes #2043
Now, all Favorited Safe names will load regardless of the currently connected network.

@Da-Colon @mudrila can you help look into why the build is failing? it's broken for me locally, too, but I don't see why.

@adamgall

useGetDAOname or in this case useGetDAONameDeferred returns any (inferred) it looks like which is why we don't see the error in IDE.

duh, thank you @Da-Colon


json-rpc 403's despite -rpcallowip

Hi, I'm running DeepOnion version v<IP_ADDRESS>
My DeepOnion.conf contains:
[...]
rpcuser=XXX
rpcpassword=XXX
testnet=0
listen=1
rpcallowip=<IP_ADDRESS>/8
rpcallowip=<IP_ADDRESS>/24
debug=1
[...]

Unfortunately, telneting from <IP_ADDRESS>/24 network gives 403 no matter wherher request was sent or not:
curl <IP_ADDRESS>:1234 -v
* About to connect() to <IP_ADDRESS> port 1234 (#0)
*   Trying <IP_ADDRESS>...
* Connected to <IP_ADDRESS> (<IP_ADDRESS> port 1234 (#0)
> GET / HTTP/1.1
> User-Agent: curl/7.29.0
> Host: <IP_ADDRESS>:1234
> Accept: */*
>
< HTTP/1.1 403 Forbidden
< Date: Fri, 14 Sep 2018 11:17:31 +0000
< Connection: close
< Content-Length: 0
< Content-Type: application/json
< Server: DeepOnion-json-rpc/v<IP_ADDRESS>
<
* Closing connection 0

I've tried rpcallowip=192.168.1.*, 1.0/24, and <IP_ADDRESS>/0
Maybe there should be github wiki page about this?

Try with
server=1

Please come to the Forums for support. https://deeponion.org/community/ this appears to be configuration and not a bug in the code.


az lock delete Unexpected --namespace for lock XXX, expected microsoft.storage (got Microsoft.Storage) worked before

Describe the bug
az lock delete --name AzureBackupProtectionLock --resource-group rsg-hklife-prd-az2-ZZZ --resource MMMM --resource-type Microsoft.Storage/storageAccounts
ERROR: Unexpected --namespace for lock AzureBackupProtectionLock, expected microsoft.storage
resource type from az cli
+ az storage account list
      "keySource": "Microsoft.Storage",
    "id": "/subscriptions/XXX/resourceGroups/XXX/providers/Microsoft.Storage/storageAccounts/YYY",
    "type": "Microsoft.Storage/storageAccounts"
      "keySource": "Microsoft.Storage",

Command Name
az lock delete
Errors:
Unexpected --namespace for lock AzureBackupProtectionLock, expected microsoft.storage

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Run command above with "Microsoft.Storage"

Expected Behavior
Worked both ways.
Environment Summary
Linux-4.15.0-1113-azure-x86_64-with-debian-9.13
Python 3.6.10
Installer: DEB

azure-cli 2.21.0

Extensions:
account 0.2.1

Additional Context
Another storage account lock was processed successfully with "Microsoft.Storage" value
 + az lock delete --name AzureBackupProtectionLock --resource-group rsg-hklife-prd-az1-XXX--resource ZZZ --resource-type Microsoft.Storage/storageAccounts
 [Pipeline] sh
 + az lock delete --name AzureBackupProtectionLock --resource-group rsg-hklife-prd-az2-XXX --resource ZZZ --resource-type Microsoft.Storage/storageAccounts
 ERROR: Unexpected --namespace for lock AzureBackupProtectionLock, expected microsoft.storage

The error message  Unexpected --namespace is also confusing, no --namespace argument was given (it was parsed from resource-type and/or resource-name/ -id). I'd recommend changing the error outputs here.
MS Staff - contact me if you need a real tenant/subscription and resource Id(s)

ARM

@hayorov  Sorry, I can't reproduce your issue in the latest version of CLI at present. Could you run az upgrade --yes to upgrade CLI to the latest version (2.30.0) and try again?
If this issue can still be reproduced, please add the --debug parameter after the executed command, and then send the printed information to me by email. Thank you
My email address is<EMAIL_ADDRESS>

@zhoxing-ms  I cannot use 2.30.0 it has a critical bug(s) - #20327 #20269
I don't see any difference between 2.30.0 and 2.21.0 related to lock, could you please point to such fix/change and release version?

I get the very same message when attempting to delete a lock from a Firewall Policy. Like @hayorov I supply the fully qualified --resource-type:
az resource lock list --resource-group myRG --resource myResource --resource-type \Microsoft.Network/azureFirewalls
This is with version 2.44.1


remove captured image

Hi. how to removed the captured images? when i capture it and do the process, I navigate it to other page, then when i go back to the camera capture page, the previous image is still there. How do i reset ?

Read through the Capturing an Image section on the readme. The image is NOT deleted from the file system after you navigate away. It is stored in a cache folder, so the OS will clear these eventually. You can manually delete them by deleting the file or the folder which is accessible by import { CACHE_FOLDER_NAME } from 'react-native-rectangle-scanner;
If this is a question of the component not remounting when navigating BACK to the page, this is most likely an issue with your navigation package. Most often, when navigating back to a page, it does not remount the component, or unmount the component when leaving the page. You should turn off and on the camera on navigating to and from the page, rather than just relying on the mount function. (Or you can put the entire camera package in a modal and dismiss the modal after capture. )

Yeah, @humphreyja is right, the camera has problems with navigation libraries. So it's better to turn off the camera before navigating other pages. What I'm currently doing is using a conditional on a component to display or not the camera component.


abort previous pjax request when several requests are made by a crazy person clicking everywhere

Is there a way to handle this right now? Having this issue!

Nope. It's not really easy to cancel xhr request.
 :D

Ha maybe! No it's just a client request. No worries will try and find a workaround.

Feel free to make a PR if you find a solution!


[metricbeat] add host networking option

This PR add option to enable host networking on Metricbeat daemonset as it was done previously for Filebeat in #585
Fix #355, fix #394
Replace #449

[x] Chart version not bumped (the versions are all bumped and released at the same time)
[x] README.md updated with any new values or changes
[x] Updated template tests in ${CHART}/tests/*.py
[ ] ~Updated integration tests in ${CHART}/examples/*/test/goss.yaml~

backported to 7.7 branch in f59b2c86a751d3b511c379f2509e70317b627456


no _dump_data is defined for class Proc

Hi Pat,
I was previously using thinking sphinx version 2.1.0 and I was caching the ThinkingSphinx::Search Object but few days back I upgraded to thinking sphinx 3.1.4 and same code part has started to give me this exception.
TypeError - no _dump_data is defined for class Proc:
  activesupport (3.2.19) lib/active_support/cache.rb:561:in `initialize'
  activesupport (3.2.19) lib/active_support/cache.rb:363:in `block in write'
  activesupport (3.2.19) lib/active_support/cache.rb:520:in `instrument'
  activesupport (3.2.19) lib/active_support/cache.rb:362:in `write'
  activesupport (3.2.19) lib/active_support/cache.rb:299:in `fetch'
  app/controllers/used_cars_controller.rb:180:in `search'
```

I reverted back to my old commits to verify if any other change might have produced this exception but reverting back to 2.1.0 , the code started to work again.

I tried the following code in console on both version

```ruby
Marshal.dump ThinkingSphinx.search('honda')
```

with TS 3.1.4 it gives the same error

Any help ?

Thanks in advance

is there anything that we can do to resolve this issue ?

I tried investigating this the other week - but Marshal doesn't make it easy to find the Proc that's causing the error. I certainly want to figure it out, though… but life is a little busy right now, so I'm not sure when I can get it sorted.

Okay, so I think I may have something that works: 2aa5b850b2fc0f62934921675f340bc3cae991ef
If you want to try it in your Gemfile:
gem 'thinking-sphinx',
  :git    => 'git://github.com/pat/thinking-sphinx.git',
  :branch => 'develop',
  :ref    => '2aa5b850b2'


Hill cipher in python3

💥 Proposal
(A clear and concise description of what the proposal is.)
It is a polygraphic substitution cipher.
Have you read the Contributing Guidelines on Pull Requests?
Yes
(Write your answer here.)

/assign


discord bot

Add a discord bot to the server.

Feature requests (populate on gh issues)
Commands to retrieve/populate data
etc

Create a @2122 Pits and ping when needed in queue


do_sample is True,  nan appears in "eager"  mode

HI
When i run demp.py, in    attn_implementation="eager", the following problem occurs。
Traceback (most recent call last):
File "demo.py", line 44, in
output_ids = model.generate(input_ids, images=[video_tensor],  modalities=["video"],beacon_skip_first=beacon_skip_first,beacon_skip_last=beacon_skip_last, **gen_kwargs)
File "/opt/conda/envs/py38/lib/python3.8/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "/opt/conda/envs/py38/lib/python3.8/site-packages/videoxl/model/language_model/llava_qwen.py", line 1830, in generate
return super().generate(position_ids=position_ids, attention_mask=attention_mask,inputs=inputs,beacon_skip_first=beacon_skip_first, beacon_skip_last= beacon_skip_last, **kwargs)
File "/opt/conda/envs/py38/lib/python3.8/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "/opt/conda/envs/py38/lib/python3.8/site-packages/transformers/generation/utils.py", line 2024, in generate
result = self._sample(
File "/opt/conda/envs/py38/lib/python3.8/site-packages/transformers/generation/utils.py", line 3020, in _sample
next_tokens = torch.multinomial(probs.to("cpu"), num_samples=1).squeeze(1).to("musa")
RuntimeError: probability tensor contains either inf, nan or element < 0

Then I found him in this position，this softmax apperas nan

This problem does not occur when using “sdpa” mode

Hi, in my implementation the model are running with "falsh-attention2" mode. It may does not work in other mode.

In my implementation, the model is running with "flash-attention" mode. It may not work in other modes

HI When i run demp.py, in attn_implementation="eager", the following problem occurs。
Traceback (most recent call last): File "demo.py", line 44, in output_ids = model.generate(input_ids, images=[video_tensor], modalities=["video"],beacon_skip_first=beacon_skip_first,beacon_skip_last=beacon_skip_last, **gen_kwargs) File "/opt/conda/envs/py38/lib/python3.8/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context return func(*args, **kwargs) File "/opt/conda/envs/py38/lib/python3.8/site-packages/videoxl/model/language_model/llava_qwen.py", line 1830, in generate return super().generate(position_ids=position_ids, attention_mask=attention_mask,inputs=inputs,beacon_skip_first=beacon_skip_first, beacon_skip_last= beacon_skip_last, **kwargs) File "/opt/conda/envs/py38/lib/python3.8/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context return func(*args, **kwargs) File "/opt/conda/envs/py38/lib/python3.8/site-packages/transformers/generation/utils.py", line 2024, in generate result = self._sample( File "/opt/conda/envs/py38/lib/python3.8/site-packages/transformers/generation/utils.py", line 3020, in _sample next_tokens = torch.multinomial(probs.to("cpu"), num_samples=1).squeeze(1).to("musa") RuntimeError: probability tensor contains either inf, nan or element < 0

Then I found him in this position，this softmax apperas nan

This problem does not occur when using “sdpa” mode

where can i change the flash-implementation？
same problem


add name property to view

Framework7 modification to ba able to access a view throw his name property

IMO this can be easily done in user code, so no need to add to core:
var rightView = myApp.rightView = myApp.addView('.view-right', {
     // Enable Dynamic Navbar for this view
    dynamicNavbar: true
 });

associated with this PR
modif need for that

Merged, thanks!


feature request: generate version 0 pssh

some tools dont work correctly with version 1 pssh, so can you add an option to the generator to create a version 0 pssh?

Good suggestion, now implemented in the version online, thanks.


VS code git repo with live share issue

Product and Version [VS/VSCode]:
OS Version [macOS/Windows]:
Live Share Extension Version:
Target Platform or Language [e.g. Node.js]:
Steps to Reproduce / Scenario:

Not sure how to document this.  I am running vs code 1.23.1.
Before installing and enabling live-share I had 4 staged files ready to commit.

After installing, enabling and reloading vs code my file change list goes to

Disabling the extension and reloading gets the file change list back to what it was prior.

@lostintangent  That is correct.  I installed, and reloaded.  Never shared.

@jtc10005 by the look of it, all those files that get added to your file change list are not in the folder of your repository, correct? Since I cannot see the whole path next to each file I can't be sure but it looks to me like they are in a different location... I ask because my suspicion in #511 is that somehow the git commands are being executed in the wrong location.
I'm also guessing that the extension isn't making changes to the .gitignore file, right?

@alexvy86 just had time to look at this again. All of the files should be excluded by my .gitignore file.  It does not appear that my .gitignore is being modified.  I do see one strange thing which makes me believe that vscode is no longer using my .gitignore file.  When I open another git tool (specifically SourceTree) my working copy is clean and it appears that the .gitignore is being used.  In vscode it still shows 652 changed files....

@jtc10005 this looks like it may be related to 511. What do you think @jasongin ?

Yes, I already referenced this from #511, above. I'm not sure it's the same issue though, as the behavior is quite different. We have a fix queued for #511 that should be published Monday. Then hopefully @jtc10005 can check whether this issue is also resolved or not.

@jasongin I tried again today.  The update published Monday did not fix this bug.

@jtc10005 : the latest VS Live Share extension (0.3.317) that is now available in the Marketplace should address your issue. If you can confirm that the issue you reported is resolved it would be greatly appreciated. thanks!


Metamask requires Chain ID

[Enter feedback here]
What should be the value for Chain ID for default Azure Blockchain Service?
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: e27fa8d9-403c-653d-6a73-df7c358ac493
Version Independent ID: ba7cc0cd-6d4e-bf8e-6f27-d8f0e333d240
Content: Connect MetaMask to an Azure Blockchain Service network - Azure Blockchain
Content Source: articles/blockchain/service/connect-metamask.md
Service: azure-blockchain
GitHub Login: @PatAltimore
Microsoft Alias: patricka

@mjtpena Thanks for the feedback! We are currently investigating and will update you shortly.

@mjtpena You can call admin.nodeInfo.protocols geth call, this will give you the chain id. Let us know if that answers your query.

@mjtpena Please let us know if you have any further queries.

We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.

@AshokPeddakotla-MSFT  where do i use that command?
Also is there no other way that i can find out chaind id on Azure  portal  , since metamask has made it compulsory

@vijaytabhatt Using geth console you can connect to node then run the command.
Currently you cannot find this in the Azure portal.


Plant Database

Experience
Plant.Database.zip
Title
Plant Database
Screenshots

Description
Add characteristics, care, growing details and create a database of your plants using a customisable template.
Categories
Hobbies, Other
Language
en-US
Terms

[X] I agree that this Experience is licensed under the MIT License.
[X] I have intellectual property rights and/or permission to contribute the Experience and its content.
[X] I confirm that the Experience does not contain any harmful or malicious content.

/gallery approve


Query finished event

When executing a db.query function and reading by rows, it's not easy to tell when the query is finished. If you're loading row by row and other executions are waiting on the loading to be complete, then that is an issue. I edited query.js to emit an event when it is complete, now i can load row by row, but still emit an event when the rows are done, see: this.emit("finished"); I think it's a pretty useful event to add. Thanks.
data: function( r )
    {
        if (r.isEOFpacket())
        {
            var eof = r.readOKpacket();
            if (eof.server_status & 8) // SERVER_MORE_RESULTS_EXISTS
            {
                return 'rs_ok';
            }
            this.emit('finished');
            return 'done';
        }

need to double check, but I think all commands emit 'end' event at the end, should be equivalent to your 'finished' event

Ah, indeed you are right. Worth noting in the readme (where you list the supported events) i think. Many thanks, great package.

first line in 'client functions' documentation - "All commands fire 'end'() event at the end of command executing."


provide link for all a project single page

within a project (the ones listed on https://mapzen.com/documentation ) provide a link that expands all subsections into a single page to make it easier to search (via ctrl-f) and to download and save/view locally.
A potentially simple way to generate this would be to concatenate all the markdown files in the hierarchy into a single file and a dedicated view/save all project docs link below

an example: I would like to be able to view all of the Tangram concept overview subsections and syntax header subsections in a single page.

Thanks @burritojustice. Pulling together files like this isn't supported with our current tools, so this isn't going to happen soon.
Use cases:

To use Ctrl + F to find a certain term.
To print or save the whole documentation section, especially for offline reading or printing.

We should definitely improve the search experience, which may help with the Ctrl + F case. See #158.

Being able to see all of the subsections at once to be able to quickly go through docs calls to mind something resembling more of a API Reference, no?


Add a workaround to compare C++ types in mocked method

The description of types returned by @encode(typeof(expr)) and
-[[NSInvocation methodSignature] methodReturnType] are not equals
for C++ objects when building with libc++.
The depth of the recursive expansion of the fields are not the same
and the strings don't compare as equal. So when comparing the types
descriptions in that configuration skip over all the field expansion
since we only care if the types are the same.
BUG=https://github.com/erikdoe/ocmock/issues/96

Sorry for never replying. Yes #115 fixed the issue, thank you. However when testing it today I found another issue with #115 and I'll send a pull request to fix it.

See https://github.com/erikdoe/ocmock/pull/180


fix(DTFS2-6465): moving headers to date form component

Introduction
Date form component consist from 3 text input fields with 3 labels: day, month, year. These 3 elements need 1 shared/common label.
Resolution

All date components in TFM are used in pages with single question. Moving page header to govukDateInput fieldset label.
govukDateInput fieldset.label doesn't support custom attributes, to have our data-cy I had to add extra span element.
One govukDateInput uses different group approach because it was not possible to add custom element after heading.

Codecov Report
Attention: 15 lines in your changes are missing coverage. Please review.

Comparison is base (db0b6be) 21.59% compared to head (7477c0f) 3.84%.
Report is 52 commits behind head on main.

Files
Patch %
Lines

...rtal-api/src/v1/errors/invalid-user-id.error.js.js
0.00%
9 Missing :warning:

...rtal-api/src/crypto/pbkdf2-sha512-hash-strategy.js
50.00%
4 Missing :warning:

portal-api/src/v1/routes.js
0.00%
2 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #2345       +/-   ##
==========================================
- Coverage   21.59%   3.84%   -17.76%
==========================================
  Files        1131     742      -389
  Lines       26965   17530     -9435
  Branches     4437    2624     -1813
==========================================
- Hits         5824     674     -5150
+ Misses      18413   14758     -3655
+ Partials     2728    2098      -630

Flag
Coverage Δ

api-test
?

ui-test
?

unit-test
3.84% <92.02%> (+0.53%)
:arrow_up:

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

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


Update Fibonacci.fs

added a function to get the nth Fibonacci number

LGTM, thanks for your contribution.


move etcd checks from master to etcd.yaml for rke2 profiles

issue: https://github.com/rancher/cis-operator/issues/350

removed 1.1.7, 1.1.8 checks from master.yaml from rke2 profiles.
added 1.1.7, 1.1.8, 1.1.11, 1.1.12 checks to etcd.yaml for rke2 profiles.

As discussed, could you provide more details in this PR (and potentially commenting the checks) about why we are making this decision.


Feature/reenable plugins

This is a feature allowing reenabling of plugins, since the current interface lasts forever.

I'm closing this PR pending design discussion.


[PDI-20189]-Step (or Job) names are unchanged to Japanese character in PDI

PDI-20189-Step (or Job) names are unchanged to Japanese character in PDI

 Note:

Frogbot also supports Contextual Analysis, Secret Detection, IaC and SAST Vulnerabilities Scanning. This features are included as part of the JFrog Advanced Security package, which isn't enabled on your system.

🐸 JFrog Frogbot

:white_check_mark: Build finished in 28m 30s
Build command:
mvn clean verify -B -e -Daudit -Djs.no.sandbox -pl \
plugins/connected-to-repository/impl,plugins/credit-card-validator/impl,plugins/edi2xml/impl,plugins/email-messages/impl,plugins/export-repository/impl,plugins/ftp-delete/impl,plugins/ftps/impl,plugins/get-file-sftp/impl,plugins/get-file-with-ftp/impl,plugins/get-repository-names/impl,plugins/ivw-bulk-loader/impl,plugins/mail-job/impl,plugins/mail-validator/impl,plugins/mail/impl,plugins/mondrianinput/impl,plugins/monet-db-bulk-loader/impl,plugins/msg-box-info/impl,plugins/pentaho-reporting/impl,plugins/postgresql-db-bulk-loader/impl,plugins/put-a-file-with-ftp/impl,plugins/put-file-sftp/impl,plugins/random-cc-number-generator/impl,plugins/sftpput/impl

:ok_hand: All tests passed!
Tests run: 184, Failures: 0, Skipped: 2    Test Results

:information_source:  This is an automatic message


ci: add dependabot

Ensure we update github actions and don't miss image releases (I am not sure if it will work they way we use args in dockerfile for the version.

Thanks. According to the dependabot docker docs we also need to add the following line to the Dockerfile:
LABEL org.opencontainers.image.source="https://github.com/prometheus-pve/prometheus-pve-exporter/"
The docs also mentions that tags need to be in the same format on the git repo as well as in the image registry. Unfortunately we are using vX.Y.Z on the repo and X.Y.Z in the image registry. Guess we have to decide whether we change one or the other.
Regarding the base image version arg in the docker image. I'm open to drop those bits. I cannot imagine a use case where supplying a different base image version via build args would simplify anything.

I think there is a misunderstanding: the images we depend on must fulfill the requirements you described. Our image doesn't have to.


[Bug] Test Template with DataDriver Library don't need explicit keywords on test case

What happened?
Test Template with DataDriver Library don't need explicit keywords on test case but robocop assumes as an "issue". Example:
.....
Library         DataDriver      file=data_files\users_data.csv    dialect=unix
*** Test Cases ***
Scenario: Successful Registration With ${email}
[Documentation]    Tests successful registration with different email addresses from a CSV file.
[Template]         Scenario Outline: Successful Registration
# don't need nothing here
*** Keywords ***
Scenario Outline: Successful Registration
[Documentation]    Registers a user with the given email and password, then verifies the correct token is returned.
[Arguments]        ${email}     ${password}
Given Email And Password Are Defined As ${email} And ${password}
When Registration Is Executed
Then The Correct Token Is Returned
What command/code did you try to run?
Robocop
What is the full error message?
issue: [E] 0528 Test case 'Scenario: Successful Registration With ${email}' has too few keywords inside (0/1) (too-few-calls-in-test-case)
D:\WORK\Desktop\Projet
What did you expect to happen instead?
Should be ok with no issues
Operating System
windows
Robocop version
5.1.0

It's kind of special case - since DataDriver is suppliying information that normally should be present in test suite. We could try to detect if DataDriver was imported and then disable this rule. But I feel it would just unnecessarily complicate the rule. Did you consider disabling this rule in suites that use DataDriver? With # robocop: off disabler https://robocop.readthedocs.io/en/stable/disablers.html

In my opinion this should be adjusted, but what you say can be used to overcome the problem.
Thanks

I will think about it  - since DataDriver is popular library it may be reasonable to do so


Adding video tutorial for Clean Code section in README.md

Adding a new video tutorial for writting Clean Code and correct Coding Conventions  in Javascript

@leonardomso


Smoke Test: replace in search strange behavior

VSCode Version: 1.9.x
OS Version: Windows

Steps to Reproduce:

Follow the smoke and search for body
Replace with body2
Select a match and press replace

Observe: the match is not removed since body still matches. I would not expect this.

@dbaeumer Thanks for filing this but it is a known issue #9084. This is due to search being very dynamic and aggressive. This is not a very common issue (no user has not yet reported till now).
I would update the smoke test to a much common scenario.
Duplicates #9084

I see that the smoke test does not mention this case.


Syncing to External Midi Clock

I have a Hardware sequencer sending Midi Clock via USB Midi interface to my iPad.
Currently it seems that that the tempo is not synced to the External Clock. Can this be fixed in the next release?

MIDI Clock support has not been added to Synth One. This is not a bug. But, a feature request.

Can this be fixed in the next release?
@starfishmod you're welcome to take a stab at adding it. Please use the develop branch for your work. Thanks!

@analogcode Thanks, As much as I would love to code this myself, I have neither skill or available resources in iPad App development. However I have built code to calculate the tempo from a ext MIDI clock source (in JS though) which I'm happy to share if it is helpful?
So yes more of a feature request for someone who is skilled :)
Appreciate the great work everyone has done on this Synth!

@karnlund has graciously volunteered to take the lead on this 🙏

This is about the only really missing feature for me !

Some time ago I added capabilities to recognize and measure tempo of incoming midi clock.  Any connection between that tempo measurement and objects that use tempo will have to be someone else's responsibility at this point.  You can obtain similar measurements from the Ableton Link library.  My employer does not allow me to continue any more work on AudioKit.

Thanks Kurt!
That's good to know. Hopefully someone at some point will enable the arps
to be sync'd to it.
Thanks again
Sam
On Fri, 11 Mar 2022, 05:15 Kurt Arnlund, @.***> wrote:

Some time ago I added capabilities to recognize and measure tempo of
incoming midi clock. Any connection between that tempo measurement and
objects that use tempo will have to be someone else's responsibility at
this point. You can obtain similar measurements from the Ableton Link
library. My employer does not allow me to continue any more work on
AudioKit.
—
Reply to this email directly, view it on GitHub
https://github.com/AudioKit/AudioKitSynthOne/issues/12#issuecomment-1064779894,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AYFIMDCVJUGPQPE3JUQI6DDU7LJGPANCNFSM4FPPHJIA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID:
@.***>


please push a later version of arm64

rust 1.64 has some changes in the cargo/workspace stuff, which my projects uses.. I just switch to a M1 and now I can't optimize contracts anymore ;-(

I've been using https://github.com/mandrean/cw-optimizoor/ for this. Alternatively, you could build an arm image locally with make build-workspace-optimizer-arm64 (or make build-rust-optimizer-arm64).
But yeah, having a release of the latest version of this would be useful

To be honest, I am very sceptical about the existence of the *-arm64 images. Since they produce different build results than the Intel ones, they are not suitable for reproducible builds. And this is one of the main goals of this project.
If you do not need reproducible builds, you are better off not using a dockerized solution at all. cw-optimizoor does non-reproducible local builds with the native Rust compiler, this build script does the same.
See also #101 and #102.

thanks @webmaster128 .. personally new to the mac scene, and am trying to get my compile-test-swear-compile loop as fast as possiblel... I'll check out the build script & optimizoor.. as for the memory issues, I haven't seen them, but I have a larger memory capacity on my dev box.

Maybe adding that build script to the default template would help. The hard part is making sure it's not used for production 🤔
An option would be to just rename the outputs to include -non-reproducible or something?

The hard part is making sure it's not used for production 🤔

That's a fair point we need to consider on the education side. On the one hand you want a convenient development flow. On the other hand there needs to be a clear border between that and production builds. The same issue exists for cosmwasm/rust-optimizer-arm64, which produces different builds than cosmwasm/rust-optimizer.
In this case, maybe promoting cosmwasm/rust-optimizer-arm64 is even better than local build scripts since it is verifyable by other M1/M2 users and ARM64 servers.

I think that makes sense. The script to build locally (as well as cw-optimizoor) are useful for faster (and more colorful) builds, but they could be left as documentation for whoever needs them.
I'm thinking it might make sense to have a production feature flag that gets used in the x86 version of rust-optimizer but not the arm86 version. Wasmd can then check the feature and otherwise error with something like: You are trying to upload a wasm file that wasn't compiled for production use. Make sure X and Y for building contracts for production.
I was actually surprised when I first learned that contracts compiled to different wasm in arm64, and still don't understand why that's the case. Do you know if there will be a way to bridge that gap in the future?

a production feature flag that gets used in the x86 version of rust-optimizer but not the arm86 version.

Well, actually it is not necessarily wrong to compile with cosmwasm/rust-optimizer-arm64 for production. You just need to make that clear and only ARM users can do the verification then. But I think this is not a horrible limitation.
We can open up this warning: Arm images are released to ease development and testing on Mac M1 machines. For release / production use, only contracts built with the Intel optimizers must be used. and just say that cosmwasm/rust-optimizer-arm64 builds can only be verified using cosmwasm/rust-optimizer-arm64 and cosmwasm/rust-optimizer builds can only be verified using cosmwasm/rust-optimizer (which can be emulated on Macs using very much memory).

I was actually surprised when I first learned that contracts compiled to different wasm in arm64, and still don't understand why that's the case.

Because all the toolchains (Rust compiler, LLVM backend, wasm-opt, …) is compiled to ARM64 including thousands of low level CPU specific case distinctions. This toolchain just produces slightly different results than a toolchain compiled to x86. The results will both be very similar and both fully functional. But not bit-for-bit the same.

Right. So having the image available with a warning + maybe a note on https://docs.cosmwasm.com/docs/1.0/getting-started/compile-contract/#optimized-compilation about verifying the images

Version 0.12.11 was pushed for all 4 images. I think this closes this ticket. I'll write some follow up regarding the usage any verifyability of the 4 different images. There is a lot if README to be adjusted and I think the -aarch64 suffix in the Wasm output should be removed eventually.


refactor(disk-fill): Converting the daemonset into job

Signed-off-by: Raj<EMAIL_ADDRESS>
Converting the daemonset to job

What this PR does / why we need it:
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Checklist

[x] Does this PR have a corresponding GitHub issue?
https://github.com/litmuschaos/litmus/issues/1265
[ ] Have you included relevant README for the chaoslib/experiment with details?
[ ] Have you added debug messages where necessary?
[ ] Have you added task comments where necessary?
[ ] Have you tested the changes for possible failure conditions?
[ ] Have you provided the positive & negative test logs for the litmusbook execution?
[ ] Does the litmusbook ensure idempotency of cluster state?, i.e., is cluster restored to original state?
[ ] Have you used non-shell/command modules for Kubernetes tasks?
[ ] Have you (jinja) templatized custom scripts that is run by the litmusbook, if any?
[ ] Have you (jinja) templatized Kubernetes deployment manifests used by the litmusbook, if any?
[ ] Have you reused/created util functions instead of repeating tasks in the litmusbook?
[ ] Do the artifacts follow the appropriate directory structure?
[ ] Have you isolated storage (eg: OpenEBS) specific implementations, checks?
[ ] Have you isolated platform (eg: baremetal kubeadm/openshift/aws/gcloud) specific implementations, checks?
[ ] Are the ansible facts well defined? Is the scope explicitly set for playbook & included utils?
[ ] Have you ensured minimum/careful usage of shell utilities (awk, grep, sed, cut, xargs etc.,)?
[ ] Can the limtusbook be executed both from within & outside a container (configurable paths, no hardcode)?
[ ] Can you suggest the minimal resource requirements for the litmusbook execution?
[ ] Does the litmusbook job artifact carry comments/default options/range for the ENV tunables?
[ ] Has the litmusbooks been linted?

Special notes for your reviewer:

logs.txt

logs.txt

Can you please provide the update logs

logs.txt


rancher-compose Failed Starting service (Client.Timeout exceeded while awaiting headers)

Rancher versions:
1.1.4
Type/provider of hosts: (VirtualBox/Bare-metal/AWS/GCE/DO)
Bare-metal
Setup details: (single node rancher vs. HA rancher, internal DB vs. external DB)
HA rancher
Environment Template: (Cattle/Kubernetes/Swarm/Mesos)
Cattle
When I run docker-compose I am getting timeouts.
$ rancher-compose -p ${ENV}-blue up --force-upgrade --pull -d --confirm-upgrade
time="2017-06-22T10:31:17Z" level=info msg="[0/1] [messaging-service]: Starting "
time="2017-06-22T10:31:19Z" level=info msg="Finished pulling registry.example.com/backend/messaging:staging"
time="2017-06-22T10:31:19Z" level=info msg="Updating messaging-service"
time="2017-06-22T10:31:21Z" level=info msg="Upgrading messaging-service"
time="2017-06-22T10:31:49Z" level=error msg="Failed Starting messaging-service : Get https://rancher.example.com/v1/services/1s146: net/http: request canceled (Client.Timeout exceeded while awaiting headers)"
time="2017-06-22T10:31:49Z" level=error msg="Failed to start: messaging-service : Get https://rancher.example.com/v1/services/1s146: net/http: request canceled (Client.Timeout exceeded while awaiting headers)"
time="2017-06-22T10:31:49Z" level=fatal msg="Get https://rancher.example.com/v1/services/1s146: net/http: request canceled (Client.Timeout exceeded while awaiting headers)"
mesg: ttyname failed: Inappropriate ioctl for device
ERROR: Build failed: exit status 1

I followed the instructions in this issue, restarting rancher-compose-executor service and web-socket-proxy, and I'm still getting the error.
I am seeing one of my go machines is trying to be removed and seems to be stuck.

I am also seeing several volume purges that timed out, and an agent.reconnect that timed out.  I'm not sure if these are related and how to resolve it if they are.

Same issue here. Seems to happen if the compose file contains volumes (rancher-nfs in our case).

Closing this as it's reported on v1.1.4. @fkollmann @asciiman can you reproduce on a recent version and file an issue with the definition that produces this error so I can reproduce?


Shouldn't scroll be triggered by the bottom (or top) of element?

If using a handle, the scroll event is still only triggered by the position of the cursor. Shouldn't it be triggered by the bottom or top of the element being dragged instead?
http://recordit.co/RBTY1QCc6b

The calculations use the cursor is, the size of elements does not matter.


modules to consider retiring

There are a few modules in examples (ekf_att_pos_estimator, mc_att_control_multiplatform, mc_pos_control_multiplatform) that are still in every build, changed somewhat regularly as uORB messages and the system evolves, but never actually tested. As a result it's quite likely at least some functionality within them has regressed.
If there's any value in keeping these around I think preserving their last known working state is more valuable than keeping them compiling, but possibly broken.
I propose retiring these modules either by moving them to a new external repository (setup as out-of-tree modules) or deleting them entirely.
The retired modules repository might be a good stepping stone for phasing out things like sdlog2.

Maybe if there is Space SF1xx Driver could be included in the standard build, as this takes little Space?

@tops4u sf1xx is pretty small, we could readd it to px4fmu-v2_default.

@dagar is SF1xx going to be included in 1.7?

Partially done as part of v1.7.0.


Making Mesh Walls missing from the readme

I noticed that the section "Making Mesh Walls", referenced in the readme, is actually missing, and it seems like the the most important section. Would it be possible to document this process? Thanks!

That's a great idea. I won't be able to add it for a month or two, but I can give some pointers right now.
In your 3D software, start from origin (0,0,0) and create a mesh that spans the X axis. This is the mesh that will be wrapped around the shape. Make sure to add plenty of subdivisions to make it easier to wrap.
Take a look at the included cliff.obj mesh for clues.


[RFC] Native Bridge Supply Monitoring

Heuristic Description
A heuristic should exist that monitors for discrepancies between the locked ETH amount on the L1 OptimismPortal and the unlocked amount on L2. This allows for deep introspection into the safety of the native bridge and allows chain operators to detect real-time anomalies.
Consideration(s)

ETH can be burnt arbitrarily on L2 by either sending it to the 0x000 blackhole address or immobilizing it via SELFDESTRUCT operations that specify the calling contract as the beneficiary. This could result in potential discrepancies between the circulating supply on L2 and the locked supply on L1. Burns can also be trigged by anyone on the L2ToL1MessagePasser contract to delete initiated withdrawal funds.
This implementation requires having access to all historical L1/L2 bridge events from genesis of the L2 chain (first L2 block, first deposit transaction block on L1). Unfortunately, Pessimism has no way to persist this data nor does it have efficient backfilling capabilities. Integrating with the OP Indexer is required for seamless unblocking.

There are a few ways to calculate variations of the l1 supply:
prospective - Compute using initialized withdrawals from L2
Intermittent - Compute using proven withdrawals on L1
literal - Compute using accredited withdrawals on L1
Each of these can be subtracted by either the deposit sum or the OptimismPortal contract ETH value to represent an L1 supply.
Pseudocode
The following pseudocode demonstrates a high level implementation for how to compute different native bridge supplies on both L1 and L2. Additionally, it showcases a lightweight heuristic analysis example.

# Get L1 deposit supply by traversing all op_portal deposit events
def get_l1_deposit_supply() -> int:
    deposit_events = get_deposit_events(op_portal)
    return sum([ e for event.value in deposit_events])

# Get L2 deposit supply via summating all deposit tx type values
def get_l2_deposit_supply() -> int:
  all_deposits = get_deposit_txs()
  deposit_sum = sum([e for e.value in all_deposits])
  return deposit_sum

# Get L2 withdrawal supply via iterating through proven_withdrawals
# on L1 and finding the associated message event on L2 that holds the
# the ETH value, summate when found
def get_l2_withdrawal_supply() -> int:
   proven_withdrawals = get_l1_proven_withdrawals()
   amt = 0
   for withdrawal in proven_withdrawals:
     l2_message = get_l2_message(withdrawal.from, withdrawal.to)
     amt+=l2.message.value

   return amt

# Gets the total amount of ETH burnt via the L2ToL1MessagePasser on L2
def get_l2_burn_supply(message_passer) -> int:
   amt = 0
   burns = get_burn_events(message_passer)
   for event in burns:
      amt += event.value

    # lets assume any ETH locked in the contract will inevitably be burnt
    amt += message_passer.value()
   return amt

# Compute L1 supply by subtracting the amount burnt from the total amount deposited
# Note - there will be a slight discrepancy given that the l2_withdrawal_supply will likely
# have withdrawals that haven't been accredited/proven on L1 yet
prospective_l1_supply = get_l1_deposit_supply() - get_l2_withdrawal_supply()

# Compute L1 supply by subtracting the amount in proven withdrawals from the total amount
# Note - This will require correlating a withdrawal hash on L1 to a sentMessage on L2
l1_supply_waiting = get_l1_deposit_supply() - get_l1_proven_withdrawal_amount()

# Get the actual L1 supply by getting the ETH amount for the op_portal
actual_l1_supply = optimism_portal.balance()

# Compute L2 supply by subtracting the amount deposited from the amount burnt
# by the L2ToL1MessagePasser contract
l2_supply = get_l2_deposit_supply() - get_l2_burn_supply()

## Run invariant analysis
# NOTE - Assume x is a set of user defined float inputs per each invariant

# I0
if percent_diff(actual_l1_supply, l1_supply_waiting) > x0:
   ALERT()

#I1
if percent_diff(actual_l1_supply, prospective_l1_supply) > x1:
   ALERT()

#I2
if percent_diff(prospective_l1_supply, l2_supply) > x2:
   ALERT()

@epociask since "help wanted", I'll be interested

This is really interesting, and I can help

@lakefishingman522 , @GildedHonour We're currently working with OP to get an integration between Pessimism and their indexer to support stateful lookups of system smart contract bridge events (deposits, withdrawals). We're gonna provide a more technical spec in the following specs that'll better highlight implementation details. In the meantime, feedback on the proposed pseudocode and heuristic above would be greatly appreciated 🙏🏻

https://github.com/ethereum-optimism/optimism/pull/7680

https://github.com/base-org/pessimism/pull/189

Noted

https://github.com/ethereum-optimism/optimism/pull/8160 adds the ability to do type filtering for withdrawal types


Specification attributes from FR not filtered when values are empty

When importing from FR we invalidly looked at the key
specificationRequired when determining if the attribute in question
should only be accepted if it also provided specific attribute values
which had been approved by administrators.
The correct key is specification which this update changes to.
Relevant FR API export code:
https://github.com/ausaccessfed/federationregistry/blob/develop/app/plugins/base/grails-app/domain/aaf/fr/foundation/SPSSODescriptor.groovy#L113

cc @smangelsdorf for 2x eyes
cc @trsau as initial issue reporter


Meterdefinition catalog server final merge

Overview
This pr creates two controllers:

meterdefinition_install_controller :

watches for new subscriptions, looks up the InstalledCSV, and installs the appropriate meterdefinitions from the file server

deployment_config_controller :

Deploys:

DeploymentConfig: DeploymentConfig docs

The deploymentconfig has two containers:

kube-proxy: kube-proxy repo.
https file server built in golang: meterdefintion catalog server.

ImageStream: ImageStream docs
Service for the DeploymentConfig

The DeploymentConfig watches for new images to the file server image repo and rolls out a new deployment if the image in the repo changes
the deploymentconfig controller watches the DeploymentConfig status for new deployments. If a new deployment is detected it will perform a sync which compares the meterdefinitions in the latest file server image with the metetrdefinitions on the cluster.
A sync handles CRUD operations for the latest meterdefs coming from the file server

Create: if a new meterdef is in the latest image it gets added to the cluster.
Update: if a meterdefinition from the latest image contains an update to it's Annotations or Spec we find the correlating meterdefinition on the cluster and apply the update.
Delete: if a meterdefinition gets removed from the catalog and that meterdefinition is still on the cluster.

How to test:
Test Catalog
I've been using a catalog that has an ansible memcached operator
catalog source:
apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
metadata:
  name: max-test-catalog
  namespace: openshift-redhat-marketplace
spec:
  sourceType: grpc
  image: quay.io/mxpaspa/memcached-ansible-index:1.0.1

subscription:
apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
  labels:
    "marketplace.redhat.com/operator": "true"
  name: memcached-operator-rhmp
  namespace: openshift-redhat-marketplace
spec:
  channel: alpha
  installPlanApproval: Manual
  name: memcached-operator-rhmp
  source: max-test-catalog
  sourceNamespace: openshift-redhat-marketplace

The file server image:

the image is currently set to quay.io/mxpaspa/rhm-meterdefinition-file-server:sub-annotations-1.0.0 in config.go
this is the image built from the sub-annotations branch on the file server: https://github.com/redhat-marketplace/metering-extensions/tree/sub-annotations

make changes to the file server for testing:

clone: https://github.com/redhat-marketplace/metering-extensions/tree/sub-annotations
from the project root run docker build -t {your-repo:tag} . and push to your personal repository
in config.go change:

DeploymentConfig  string `env:"RELATED_IMAGE_DEPLOYMENT_CONFIG" envDefault:"{your-repo:tag}"`

run make skaffold-dev
check that the image stream is pulling from your repository by running oc describe imagestream. You should see something like:

Namespace:		openshift-redhat-marketplace
Created:		9 hours ago
Labels:			app=rhm-meterdefinition-file-server
Annotations:		openshift.io/image.dockerRepositoryCheck=2021-10-05T00:38:49Z
Image Repository:	{your-repo}
Image Lookup:		local=false
Unique Images:		1
Tags:			1

v1
  updates automatically from registry quay.io/mxpaspa/rhm-meterdefinition-file-server:sub-annotations-1.0.0
    will use insecure HTTPS or HTTP connections

  * quay.io/mxpaspa/rhm-meterdefinition-file-server@sha256:5db19bfcfcd1df209523ebeb4a1f1e6c8ec871d98e97916a012ee6e0866270e8
      2 hours ago

see #277 for latest


Add countBitsToflipAToB

This adds implementation of counting bits to convert a number A to B using bitwise operators, dependency https://github.com/trekhleb/javascript-algorithms/pull/152.

@tapasweni-pathak  Thank you for PR!


Add SPStorkController

Project URL
https://github.com/IvanVorobei/SPStorkController
Category
UI/Animation/Transition
Description
Very similar to the modal controller displayed in Apple Music, Podcasts and Mail apps. Customizable height of view. Check scroll's bounce for more interactive. Simple adding close button and centering arrow indicator.
Why it should be included to awesome-ios (mandatory)
It is an open source cocoapods with transition for controller that looks cool in apps. Easy customization. The author regularly updates the project.
Checklist

[x] Has 50 Github stargazers or more
[x] Only one project/change is in this pull request
[x] Isn't an archived project
[x] Has more than one contributor
[ ] Has unit tests, integration tests or UI tests
[x] Addition in chronological order (bottom of category)
[x] Supports iOS 9 / tvOS 10 or later
[x] Supports Swift 4 or later
[x] Has a commit from less than 2 years ago
[x] Has a clear README in English

          1 Warning

:warning:
Found 16 link issues, a project collaborator will take care of these, thanks :)

Link issues by awesome_bot

Line
Status
Link

237
301
https://www.bugsnag.com/platforms/ios-crash-reporting/ redirects tohttps://www.bugsnag.com/platforms/ios-crash-reporting

306
301
https://github.com/svtek/ARKitEnvironmentMapper redirects tohttps://github.com/svhawks/ARKitEnvironmentMapper

488
301
https://github.com/jianstm/Crayon redirects tohttps://github.com/luoxiu/Crayon

653
301
https://github.com/jianstm/Schedule redirects tohttps://github.com/luoxiu/Schedule

1383
301
https://www.urbanairship.com/products/mobile-app-engagement redirects tohttps://airship.com/products/mobile-app-engagement

1388
301
http://www.carnival.io redirects tohttps://www.sailthru.com

1438
301
https://github.com/DanToml/Jay redirects tohttps://github.com/endocrimes/Jay

1457
301
https://github.com/bernikowich/NSTEasyJSON redirects tohttps://github.com/bernikovich/NSTEasyJSON

1659
404
https://github.com/genadyo/Lyft

1806
404
https://github.com/loiclec/Apodimark

2923
301
https://github.com/jianstm/Once redirects tohttps://github.com/luoxiu/Once

2947
301
https://github.com/svtek/VideoSplashKit redirects tohttps://github.com/svhawks/VideoSplashKit

3045
301
https://github.com/facebook/FBSimulatorControl redirects tohttps://github.com/facebook/idb

3241
Error
https://www.raywenderlich.com/ios  Failed to open TCP connection to www.raywenderlich.com:443 (Connection refused - connect(2) for "www.raywenderlich.com" port 443)

3309
301
https://www.imore.com/node/24121 redirects tohttps://www.imore.com/debug

3319
302
http://consultpodcast.com/ redirects tohttps://consultpodcast.com/#_=_

  Generated by :no_entry_sign: Danger


Possible caching issue causing regression in PyData/Sparse in 0.54

As reported by @hameerabbasi in Gitter. Info from Hameer is as follows:

It happens on version 0.54, and not 0.53.1.
I don't know about the conda version as I primarily use conda-forge which doesn't have 0.54.
To install PyData sparse:

git clone git@github.com:pydata/sparse.git
pip install -e ".[tests]" (assuming you have a virtualenv or an empty conda env with just python set up).

The test that fails is sparse/tests/test_compressed.py::test_slicing[compressed_axes0-1], but it doesn't fail in isolation.

To reproduce the failure, you need to run pytest sparse/tests/test_compressed.py::test_slicing.

The failure isn't random, it's consistent, I'd put it down to some kind of cache poisoning.

Here are the CI logs on master, it's a segfault. https://github.com/pydata/sparse/runs/3394388032#step:6:94

This issue appears to be introduced in https://github.com/numba/numba/pull/7121, by the first two commits, ff5c5de and ed146d2 (the latter fixes a merge error in the first).

With valgrind:
==20240== Invalid read of size 8
==20240==    at 0x22F327E7: NRT_dealloc (nrt.c:323)
==20240==    by 0x22F3283B: NRT_MemInfo_destroy (nrt.c:331)
==20240==    by 0x22F328C1: NRT_MemInfo_call_dtor (nrt.c:348)
==20240==    by 0x2718EE9A: ???
==20240==    by 0x1101: ???
==20240==    by 0x1FFEFF7E37: ???
==20240==  Address 0x11 is not stack'd, malloc'd or (recently) free'd
==20240==
Fatal Python error: Segmentation fault

Current thread 0x000000000406adc0 (most recent call first):
  File "/home/gmarkall/numbadev/sparse/sparse/_compressed/convert.py", line 24 in convert_to_flat
  File "/home/gmarkall/numbadev/sparse/sparse/_compressed/indexing.py", line 91 in getitem
  File "/home/gmarkall/numbadev/sparse/sparse/tests/test_compressed.py", line 281 in test_slicing
  File "/home/gmarkall/miniconda3/envs/numbanp120/lib/python3.9/site-packages/_pytest/python.py", line 183 in pytest_pyfunc_call

The MemInfo object's external_allocator field is invalid. On line 323 of nrt.c:
mi->external_allocator->free(mi, mi->external_allocator->opaque_data);

we have:
(gdb) p *mi
$4 = {refct = 0, dtor = 0x7fffdced62f5 <nrt_internal_dtor_safe>, dtor_info = 0x0, data = 0x555556e48ac0, size = 0, external_allocator = 0x1}

I notice the refct field is zero, is that valid? Does it signify a refcounting issue?

NRT debug logs from the allocation to the deallocation are:
444 NRT_Allocate_External bytes=112 ptr=0x5569d97cd890
445 NRT_MemInfo_alloc_safe_aligned 0x5569d97cd8c0 0
446 NRT_MemInfo_init mi=0x5569d97cd890 external_allocator=(nil)
447 nrt_allocate_meminfo_and_data_align (nil)
448 nrt_allocate_meminfo_and_data (nil)
449 NRT_Allocate_External bytes=112 ptr=0x5569d970cd20
450 NRT_MemInfo_alloc_safe_aligned 0x5569d970cd60 0
451 NRT_MemInfo_init mi=0x5569d970cd20 external_allocator=(nil)
452 NRT_MemInfo_call_dtor 0x5569d970cd20
453 nrt_internal_dtor_safe 0x5569d970cd60, (nil)
454 NRT_dealloc meminfo: 0x5569d970cd20 external_allocator: (nil)
455 NRT_Free 0x5569d970cd20
456 nrt_allocate_meminfo_and_data_align (nil)
457 nrt_allocate_meminfo_and_data (nil)
458 NRT_Allocate_External bytes=120 ptr=0x5569d970cd20
459 NRT_MemInfo_alloc_safe_aligned 0x5569d970cd60 8
460 NRT_MemInfo_init mi=0x5569d970cd20 external_allocator=(nil)
461 NRT_MemInfo_call_dtor 0x5569d970cd20
462 nrt_internal_dtor_safe 0x5569d970cd60, 0x8
463 NRT_dealloc meminfo: 0x5569d970cd20 external_allocator: (nil)
464 NRT_Free 0x5569d970cd20
465 NRT_MemInfo_call_dtor 0x5569d97cd890
466 nrt_internal_dtor_safe 0x5569d97cd8c0, (nil)
467 NRT_dealloc meminfo: 0x5569d97cd890 external_allocator: 0x1
468 Fatal Python error: Segmentation fault

I notice the refct field is zero, is that valid? Does it signify a refcounting issue?

This is happening during deallocation, so I think the reference count should be zero at this point.

Looks like there will be a bugfix release

I filed and fixed  pydata/sparse#515. This can now be closed.

@hameerabbasi thank you. I can confirm the integration testing Sparse/Numba is working fine again with Spare 0.13.0:
https://app.circleci.com/pipelines/github/numba/numba-integration-testing/834/workflows/9f4f741c-acd3-418d-a9ac-adec2bf7f348/jobs/8397
Thank you again for looking into this and fixing it!


[Numpy][Bugfix] Add hybridization test to loss layers

Description
Small fix to the loss layer + add hybridization tests.

[x] Since the exclude flag is not supported yet, it will raise an error if batch_axis is not 0. Currently, it will raise an error if batch_axis != 0
[x] Fix sum in symbol.

Figured out that the all reduce operators do not support keepdims=None:
Root cause: https://github.com/apache/incubator-mxnet/blob/dde635f8c7666e205816da8ca4e519d0d213523f/src/operator/numpy/np_broadcast_reduce_op.h#L43


black list for completions, fixes #3047

This checklist is used to make sure that common guidelines for a pull request are followed.
General Guidelines

[ ] The PR has modified HISTORY.rst with an appropriate description of the change (see Modifying change log).

Command Guidelines

[ ] Each command and parameter has a meaningful description.
[ ] Each new command has a test.

(see Authoring Command Modules)

Codecov Report

Merging #3 into master will increase coverage by 0.19%.
The diff coverage is 83.37%.

@@            Coverage Diff             @@
##           master       #3      +/-   ##
==========================================
+ Coverage   70.14%   70.34%   +0.19%
==========================================
  Files         371      383      +12
  Lines       24588    24965     +377
  Branches     3770     3799      +29
==========================================
+ Hits        17248    17562     +314
- Misses       6233     6291      +58
- Partials     1107     1112       +5

Impacted Files
Coverage Δ

...ve/azure/cli/command_modules/interactive/custom.py
60% <ø> (ø)

...-interactive/azure/cli/command_modules/__init__.py
100% <ø> (ø)

...d_modules/azure-cli-interactive/azclishell/util.py
62.5% <ø> (ø)

...s/azure-cli-interactive/azclishell/color_styles.py
54.05% <ø> (ø)

...azure-cli-interactive/azclishell/_dump_commands.py
18.27% <ø> (ø)

...nd_modules/azure-cli-interactive/azure/__init__.py
100% <ø> (ø)

...ules/azure-cli-interactive/azclishell/telemetry.py
72.22% <ø> (ø)

...odules/azure-cli-interactive/azure/cli/__init__.py
100% <ø> (ø)

...s/azure-cli-interactive/azclishell/command_tree.py
86.84% <ø> (ø)

...dules/azure-cli-interactive/azclishell/__init__.py
100% <ø> (ø)

... and 42 more

Continue to review full report at Codecov.

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


Please upgrade the version of referenced packages

I used some other packages In my project such as Microcharts.Forms, which require newer version of Xamarin.Forms, SkiaSharp.Views.Forms, SkiaSharp, etcs.
Please upgrade the version of referenced packages in Mapsui.Forms.

NU1608: Detected package version outside of dependency constraint: Mapsui.Forms 2.0.3 requires Xamarin.Forms (>= 4.3.0 && < 5.0.0) but version Xamarin.Forms <IP_ADDRESS>2 was resolved.
NU1608: Detected package version outside of dependency constraint: Mapsui.Forms 2.0.3 requires SkiaSharp.Views.Forms (>= <IP_ADDRESS> && < 1.69.0) but version SkiaSharp.Views.Forms 2.80.2 was resolved.
NU1608: Detected package version outside of dependency constraint: Mapsui 2.0.3 requires SkiaSharp (>= <IP_ADDRESS> && < 1.69.0) but version SkiaSharp 2.80.2 was resolved.

I see the 3.0.0-alpha.4. thanks!


Movement in Gundo pane triggers random numbers

As shown in the screencast, using the arrow keys or hjkl to move around causes random numbers to appear in the command line. I have reproduced this issue on an iMac and a Macbook Pro with vim 7.4.889 and iTerm 3.0.4. I can provide any further details if necessary.

After commenting and uncommenting lines in vim/vundles/*.vundle, I am now unable to reproduce the issue. My conclusion is that vundle had to actually clean a certain plugin (not sure which one) and reinstall it because it was not updated for some reason.


[Authentication] Check if the username a user entered exists in the DB

fix #102

@shirmenzely why this PR is submitted from the master branch?
If it is ready for re-review, press the re-review button.
Verify CI run successfully on the PR.


Missing license

Hi!
Was just wondering if there's any open-source license that applies to the code in the repo
or if it was a conscious decision to leave one out.
I understand that different licenses apply to the different datasets in the repo. Perhaps it could be listed in the readme?
It would be nice to know what we can and can't do with the code

Thanks for noticing!
The code is released under the MIT license (added to the repository now).
The datasets are published under their own licenses and you should refer to their respective authors (and respective repositories).


Default GAU Allocation for $0 is created but then deleted if GAU Allocation is edited

Thread (also related support ticket)
If Default GAU Allocations are enabled, a GAU Allocation is not created if the Amount on the Opportunity is null. They are created if the Amount = 0. See related Idea here to prevent this behavior in the first place.
It appears the bug is that this Allocation is created when it shouldn't be, as if the GAU Allocation record is edited after creation, the GAU Allocation record is automatically deleted.
Steps to repeat:

Set default GAU Allocation in NPSP Settings
Create an Opportunity with Amount = 0
Confirm Default GAU Allocation created
Edit the GAU Allocation - you don't have to touch any fields, simply Edit then Save
GAU Allocation record is deleted

Either the GAU Allocation record for 0 should not be created, as suggested in the Idea - or this edit should not cause a deletion.

**lurch: add

Tracking W-027981

Salesforce has determined that this issue will not be explored further.


Unable to complete setup

I finished installing using AWS cloud9 and got this:
Fetching initial set of entries.
Traceback (most recent call last):
File "/usr/local/bin/diffengine", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.6/dist-packages/diffengine/init.py", line 473, in main
init(home)
File "/usr/local/lib/python3.6/dist-packages/diffengine/init.py", line 463, in init
setup_browser()
File "/usr/local/lib/python3.6/dist-packages/diffengine/init.py", line 421, in setup_browser
browser = webdriver.Firefox(options=opts)
File "/usr/local/lib/python3.6/dist-packages/selenium/webdriver/firefox/webdriver.py", line 174, in init
keep_alive=True)
File "/usr/local/lib/python3.6/dist-packages/selenium/webdriver/remote/webdriver.py", line 157, in init
self.start_session(capabilities, browser_profile)
File "/usr/local/lib/python3.6/dist-packages/selenium/webdriver/remote/webdriver.py", line 252, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "/usr/local/lib/python3.6/dist-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "/usr/local/lib/python3.6/dist-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.SessionNotCreatedException: Message: Unable to find a matching set of capabilities
**I downgraded selenium (I saw this might help and I'm really new to this stuff)
Then I got this:**
Traceback (most recent call last):
File "/usr/local/bin/diffengine", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.6/dist-packages/diffengine/init.py", line 473, in main
init(home)
File "/usr/local/lib/python3.6/dist-packages/diffengine/init.py", line 463, in init
setup_browser()
File "/usr/local/lib/python3.6/dist-packages/diffengine/init.py", line 421, in setup_browser
browser = webdriver.Firefox(options=opts)
TypeError: init() got an unexpected keyword argument 'options'
Please could someone help? Thanks!!

Hi @tokenjurno we're working on a new release that hopefully will make installation a bit smoother. If you want to try to install from a git clone of the master branch in the mean time let us know how it goes.


IGNITE-20061 Add SystemProperty for H2Connection#STATEMENT_CACHE_SIZE

JIRA: IGNITE-20061
When the memory is sufficient, we hope to increase the size of H2StatementCache to improve performance;
When the memory is limited, we hope to reduce the size of H2StatementCache to avoid memory overflow;
So I propose to add a system property IGNITE_H2_INDEXING_CACHE_STATEMENT_CACHE_SIZE to configure the H2StatementCache size.

@ptupitsyn Can you help to review this pr? Thanks


Silent crash when PostProcess is misused

Using PostProcess(shdr,rt,id,blend,{ num1, num2, num3, num4 }) instead of PostProcess(shdr,rt,id,blend,{{ num1, num2, num3, num4 }}) causes the application to silently crash, without any errors or mention on engine.log.

fixed 35b7daf947be6eefa097384e7dc06e0242e90bdf

No response for over 30 days, I will close it


Refactoring: Relationship.any()

Run 'mvn spotless:apply' to fix these violations.

Re: build failure Run 'mvn spotless:apply' to fix these violations.

Oops, my bad :)
Fixed.


BUG: Journal Right-Click Context Menu Gets Disabled

With the latest version of this module runniing, right-clicking a journal on the right-hand side journal list no longer shows the context menu, and gives this error.
BestiaryTracking.js:5691  Uncaught TypeError: Cannot read properties of undefined (reading 'type')
[Detected 1 package: pf2e-bestiary-tracking(<IP_ADDRESS>.1)]
at Object.condition (BestiaryTracking.js:5691:22)
at ContextMenu.render (foundry.js:68543:67)
at HTMLElement. (foundry.js:68464:19)
Edge and Chrome, Foundry 12.331, PF2E 6.2.3, PF2E Bestiary Tracking <IP_ADDRESS>.1

Thanks for reporting it. I pushed out v.<IP_ADDRESS>.2 just now to fix it. 🤖 👍


Add Collatz conjecture

Add Python implementation of the Collatz conjecture
Prints each step until it reaches 1 and prints the number of steps taken to get to 1

Follow me on github


Upgrade to Kotlin 2.0.0

Hey @DRSchlaubi,  thanks for the PR, we'll check.

Hey, @DRSchlaubi ! Thank you for the interest in the library and your effort the make it better! Unfortunately, I will need to postpone the update to 2.0.0 as it requires complete removal of KSP plugin and migration to Kotlin Compiler Plugin. Good news is, I'm already working on it, but it will be delivered with a delay, because compiler plugins require a lot of attention.

Just out of curiosity, why does KSP need to be removed, all the tests passed fine?

It's not just for 2.0.0, we are removing KSP from the whole project. Where are a couple of reasons: not working gradle configuration caches, no ability to hide generated code, necessity to explicitly add KSP gradle plugin. I didn't measure, but i suspect that KSP is also slower than kotlin compiler plugin

Happy to see you're moving to a compiler plugin. They seem like what the community will mostly work with in the future, if docs gets taken care of. KSP is nice for delivering fast, but getting rid of an additional build time dependency is always good.
OT, but my only doubt with compiler plugins is about processing order. If more and more plugins start popping up we might end up using many in our build, and I'm not sure if they'd interfere with each other.

@lppedd indeed the order of work for compiler plugins is what we are also looking into. Of course, not everything can be taken into account, but we will at least ensure our plugins work smoothly with very popular ones, like kotlinx.serialization


Added user device info in db for mobile auth

Fixes Issue
Closes #941
Changes proposed
POST API call which will take user-id and the device name in the body and stores them in DB.
Response

Please write tests for it

Please write tests for it

Added the test cases @prakashchoudhary07


Doesnt work on Microsoft Edge.

I think its due to dat.gui's css expression. Work on it.

resolved with pollyfill.


Login issues

Hi. I can't login in the app with 100% correct credentials.
Pixel 3, Android 11

And I can't see the 0auth authorization in the app

Same problem on One Plus 5T on android 9 for 1 day.

A solution have been implemented plus I can't  reproduce the issue.


FEEDBACK NEEDED:  STYLE: performance-avoid-endl clang-tidy recommendation

Checks for uses of std::endl on streams and suggests using the newline character '\n' instead.
Using std::endl on streams can be less efficient than using the newline character '\n' because std::endl performs two operations: it writes a newline character to the output stream and then flushes the stream buffer.  Writing a single newline character using '\n' does not trigger a flush, which can improve performance. In addition, flushing the stream buffer can cause additional overhead when working with streams that are buffered.
This has a side effect of making the code more compact as well, which sometimes makes Examples more readable.
PR Checklist

[x] No API changes were made (or the changes have been approved)
[x] No major design changes were made (or the changes have been approved)

/azp run ITK.macOS

I agree that there are times when flushing is essential. Perhaps the last element of all PrintSelf should be flushed, but we are flushing the buffer every few bytes in many cases.  This excessive flushing can slow down the progress of the application.
When doing registrations with lots of diagnostics, flushing can significantly slow down the registration process.  I think that flushing should be optional in more places (i.e. the default) and programmers can flush when they identify needing the output immediately.
I'm putting this in draft mode to gather more input.

To make the code easier to write and maintain, I would prefer to default to std::endl and substitute with \n in places where performance may be an issue.

@blowekamp @thewtex Thanks for your feedback.  It is greatly appreciated.

From a style perspective I think keeping std::ends is good in Examples and Tests. I am currious what the performance gain would be with this change in methods like PrintSelf.


Adding BZR token info and logo to Metamask

Bazaars website:

https://bazaars.io/
BZR token contract address

0x8d96B4ab6C741a4C8679AE323a100d74f085BA8F
Token tracker Etherscan
:
https://etherscan.io/token/0x8d96b4ab6c741a4c8679ae323a100d74f085ba8f
Coingecko:

https://www.coingecko.com/en/coins/bazaars
Whitepaper:

https://bazaars.io/wp-content/uploads/2022/06/Bazaars.io-Whitepaper-v2.pdf
Security Audit:

https://bazaars.io/wp-content/uploads/2022/06/audit.pdf

SVG image is required - can you please replace PNG one?

SVG image is required - can you please replace PNG one?

Also updated the contract-map.json
Thank you

@bazaars-project - SVG image should be vectorized, sharp and regular should be ~ 5kB. Could you improve your icon especially since you have so a nice one :)?

Do we need to do anything else ?

For some reason tests are failing for your PR @bazaars-project can you run npm tests on your branch an make sure that everything is fine?

Is it fine now?

I got this error on npm test
Test (14.x)Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16: actions/checkout, actions/setup-node, actions/checkoutShow less
Test (16.x)Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16: actions/checkout, actions/setup-node, actions/checkout

@bazaars-project you have to move image from main folder to images is why tests are failing

@bazaars-project you have to move image from main folder to images is why tests are failing

Done, thank you

Could we merge please