Custom load data tag script function

Hi there.
It seems I haven't thought my last pull request through entirely. It worked but only because I forgot about a change I also made in my experiments earlier: Added additional allowed URL patterns to the inject_script permission of the template. So now at implementing the feature in another container I hat do realize that the change failed to fullfill the actual intention:
Use the Data Tag linked to the version from the gallery while still loading the correct version of the data-tag-script from a custom source
So this is a pull request to support this case. My proposal is as follows
I introduced an option in the template that will make it load the data-script-tag (with the desired version) not using the gtm injectScript functionality, but a function that users have to have defined globally that can then be called using callInWindow.
In order for this to work (so that callInWindow will allow the usage of this function), it needs to have a defined name (I used loadDataTagScript) and the permissions for access_globals need to include this name.
The function is expected to take 3 parameters, the version of the script, a successCallback and an errorCallback. The successCallback or errorCallback should be called on every call of the function but it should be only attempted once to load the script.
For users that want to provide such a function I've added data-tag-load.js that can be used as content of a Custom HTML tag and adapted to use the desired url.
This way now users of Data Tag, if they want can remain linked to the gallery and still load the correct data tag script from their custom source.
I think current users of the Data Tag should not be affected by this change even if they used the lately introduced load_data_tag_script_url option. This is because in order for this to work they had to change permissions and therefore are detached from the gallery already.
Alex

It's quite a significant change. And at this moment, we are deciding inside the team if we should merge it.
Sorry for the late reply.

Hi @fleque,
Upon reviewing, we are not going to go ahead with merging this, because there isn’t really any demand for the feature and it feels like it would be exclusively used by yourself.
Our policy with tag templates is to keep them simple and accessible (to a point that functionality allows), introducing another setting that wouldn’t be used by 99%+ of users is not inline with that vision.
We do still appreciate your contribution.

Hi,
First of all, thanks for considering this.
I can understand your conclusions, especially due to the complex implementation, which could also deter users from using the feature.
However, I still think that the possibility of loading the script from a custom domain is of interest to some users. Perhaps we can find another, simpler way to make this possible.
I couldn't think of any other way except for the implemented one. Of course, you could simply add the domains of those who are interested to the list of allowed loadScript sources, but I don't think that is sustainable either.
If you have any ideas on that, please let me know :-)
Cheers,
Alex

Hi,
For now, we do not see a good solution.
We think Google Tag Manager will not allow us to use any script in the Tag because there is no ideal solution for permission settings.
Your solution overall is not bad, but too hard to use/explain to end customers.


fix: #[kube(crates(serde = "some_crate::serde"))] was not working

Motivation

#[kube(crates(serde = "some_crate::serde"))]
Solution

 - Usage of serde should be interpolated as #serde

#[serde(crate = "some_crate::serde")] should be added to generated struct

Not sure how to add a test becaues kube-derive already depends on serde.
We can probably add another crate just for testing. Not sure if that's overshoot.

Looks like I broke the test. Will investigate.

Updated.

Thanks for the quick merge! When will the next releases be?

Will probably try to make one next week. If you need this early, feel free to git pin via cargo.

Released in 0.83. Busy couple of weeks :sweat:
Thanks again!


Adapt for use with refresh token

how to do when authentication API asks for a username and password, and returns a HTTPOnly cookie (which is a JWT with an expiration date) also the basic user's information.
The idea is to have a timer that removes the cookie when the expiration date indicates it.
Look at the following example, the authentication.service.ts file is the one I want to adapt.
https://jasonwatmore.com/post/2020/07/25/angular-10-jwt-authentication-with-refresh-tokens#authentication-service-ts
look at the startRefreshTokenTimer()
I don't know where in the project to adapt that code

I would probably add that functionality to the Auth provider. You would need to wrap setAuthenticated() in a function where you start and stop the timer. Or replace setAuthenticated() with login() and logout(); you'd start the timer inside of login() and stop it in logout().
Does that make sense?


expose hysteresis values

Expose

setters for hysteresis, switch_on, switch_off value
getters for hysteresis, switch_on, switch_off

value
min
max
stepping

https://github.com/home-assistant/core/issues/123569#issuecomment-2291167861
fyi @ignazhabibi

      {
          "properties": {
              "value": {
                  "value": 5,
                  "unit": "kelvin",
                  "type": "number"
              },
              "switchOnValue": {
                  "value": 5,
                  "unit": "kelvin",
                  "type": "number"
              },
              "switchOffValue": {
                  "value": 5,
                  "unit": "kelvin",
                  "type": "number"
              }
          },
          "commands": {
              "setHysteresis": {
                  "uri": "https://api.viessmann.com/iot/v1/equipment/installations/XXXXXX/gateways/XXXXXX/devices/0/features/heating.dhw.temperature.hysteresis/commands/setHysteresis",
                  "name": "setHysteresis",
                  "isExecutable": true,
                  "params": {
                      "hysteresis": {
                          "type": "number",
                          "required": true,
                          "constraints": {
                              "min": 1,
                              "max": 10,
                              "stepping": 0.5
                          }
                      }
                  }
              },
              "setHysteresisSwitchOnValue": {
                  "uri": "https://api.viessmann.com/iot/v1/equipment/installations/XXXXXX/gateways/XXXXXX/devices/0/features/heating.dhw.temperature.hysteresis/commands/setHysteresisSwitchOnValue",
                  "name": "setHysteresisSwitchOnValue",
                  "isExecutable": true,
                  "params": {
                      "hysteresis": {
                          "type": "number",
                          "required": true,
                          "constraints": {
                              "min": 1,
                              "max": 10,
                              "stepping": 0.5
                          }
                      }
                  }
              },
              "setHysteresisSwitchOffValue": {
                  "uri": "https://api.viessmann.com/iot/v1/equipment/installations/XXXXXX/gateways/XXXXXX/devices/0/features/heating.dhw.temperature.hysteresis/commands/setHysteresisSwitchOffValue",
                  "name": "setHysteresisSwitchOffValue",
                  "isExecutable": true,
                  "params": {
                      "hysteresis": {
                          "type": "number",
                          "required": true,
                          "constraints": {
                              "min": 1,
                              "max": 10,
                              "stepping": 0.5
                          }
                      }
                  }
              }
          },
          "apiVersion": 1,
          "uri": "https://api.viessmann.com/iot/v1/equipment/installations/XXXXXX/gateways/XXXXXX/devices/0/features/heating.dhw.temperature.hysteresis",
          "gatewayId": "XXXXXX",
          "feature": "heating.dhw.temperature.hysteresis",
          "timestamp": "2023-05-11T14:01:17.221Z",
          "isEnabled": true,
          "isReady": true,
          "deviceId": "0"
      },

@ignazhabibi there are three values with the ability to change them: hysteresis, hysteresis switch on value and hysteresis switch off value.
What would you need to see / control?

In my case (Vitocal 250-A) I can see and change switchOn and switchOff value in ViGuide. Most important to me is switchOn which means only start water heating when current value is „5“ K below. However, someone else may also need the other values, I don‘t know.

Would you mind testing this in the HA integration?
https://github.com/home-assistant/core/pull/124294

Of course I will help testing

You can use https://gist.github.com/bdraco/43f8043cb04b9838383fd71353e99b18 to test the PR:
curl -o- -L https://gist.githubusercontent.com/bdraco/43f8043cb04b9838383fd71353e99b18/raw/core_integration_pr | bash /dev/stdin -d vicare -p 124294

switchOn and switchOff work as expected. When changing switchOn it also changes the pure hysteresis value. So in my installation this seems to be identical and the pure hysteresis value can be removed.

I guess that other installations (not E3) only have hysteresis and no dedicated switchOn and switchOff values. But I can't test this.

Done, maybe you can give your 👍 on the PR.


'addClassToHast' was not found in './core.mjs'

I'm trying to use rehype-pretty-code in a Next.js 14+ application (app-directory) together with next-mdx-remote/rsc. After adding the plugin, I'm seeing this error:
⨯<EMAIL_ADDRESS>export 'addClassToHast' (reexported as 'addClassToHast') was not found in './core.mjs' (module has no exports)

Import trace for requested module:
<EMAIL_ADDRESS>./node_modules/.pnpm/rehype-pretty-code<EMAIL_ADDRESS>
Here's a code-snippet from my application:
import { MDXRemote } from "next-mdx-remote/rsc";
import rehypePrettyCode from "rehype-pretty-code";

// ...

        <MDXRemote
          source={markdown}
          options={{
            // @ts-ignore
            mdxOptions: { rehypePlugins: [[rehypePrettyCode, {}]] },
          }}
        />

Is there anything I can do about that? Maybe I'm misusing the plugin?
You can take a look at the code in context here: https://github.com/tim-hilt/website/tree/feat/better-mdx-code-highlighting

This seems like an error with your bundler or something as that function is exported from node_modules/shikiji/dist/core.mjs.

Strange.
The error I showed earlier happend while serving with next dev.  This is what happens when running next build:
❯ pnpm build

><EMAIL_ADDRESS>build /Users/timhilt/dev/website
> next build

   ▲ Next.js 14.0.3

Failed to compile.

<EMAIL_ADDRESS>export 'addClassToHast' (reexported as 'addClassToHast') was not found in './core.mjs' (module has no exports)

Import trace for requested module:
<EMAIL_ADDRESS>./node_modules/.pnpm/rehype-pretty-code<EMAIL_ADDRESS>./app/blog/[article]/page.tsx

<EMAIL_ADDRESS>export 'getHighlighterCore' (reexported as 'getHighlighterCore') was not found in './core.mjs' (module has no exports)

Import trace for requested module:
<EMAIL_ADDRESS>./node_modules/.pnpm/rehype-pretty-code<EMAIL_ADDRESS>./app/blog/[article]/page.tsx

<EMAIL_ADDRESS>export 'getShikiContext' (reexported as 'getShikiContext') was not found in './core.mjs' (module has no exports)

Import trace for requested module:
<EMAIL_ADDRESS>./node_modules/.pnpm/rehype-pretty-code<EMAIL_ADDRESS>./app/blog/[article]/page.tsx

<EMAIL_ADDRESS>export 'isPlaintext' (reexported as 'isPlaintext') was not found in './core.mjs' (module has no exports)

Import trace for requested module:
<EMAIL_ADDRESS>./node_modules/.pnpm/rehype-pretty-code<EMAIL_ADDRESS>./app/blog/[article]/page.tsx

<EMAIL_ADDRESS>export 'isSpecialLang' (reexported as 'isSpecialLang') was not found in './core.mjs' (module has no exports)

Import trace for requested module:
<EMAIL_ADDRESS>./node_modules/.pnpm/rehype-pretty-code<EMAIL_ADDRESS>./app/blog/[article]/page.tsx

> Build failed because of webpack errors
   Creating an optimized production build  . ELIFECYCLE  Command failed with exit code 1.

so it seems like it doesn't find any exports at all? Did you ever try building a rehype-pretty-code bundle with pnpm? Or maybe it's because of using it in a server-component?

@NakaiKazuki works for me too! How did you find that? What exactly does it do? @atomiks is this Next.js-specific or could there be a fix that can be applied to rehype-pretty-code?

It seems like your webpack setup can't read .mjs files as JavaScript like .js, which that fixes. The default Next.js bundler should work though and does in this repo 🤔

@tim-hilt
Sorry, I don't know much about it either.
I used this link for reference
reference

@atomiks before I spam you with a new issue - the website states that every Vs Code theme can be used with rehype-pretty-code. How does this work? I naively tried „github-dark-default“ and it failed

For plain strings, there is no github-dark-default, only github-dark.
For themes that aren't pre-packaged in shikiji, you need to save the theme's json locally and import it.
Both details documented here: https://rehype-pretty-code.netlify.app/#theme


fix: allow to optionally propagate accept-encoding

Issue
https://github.com/gravitee-io/issues/issues/7935
Description
See https://github.com/gravitee-io/gravitee-connector-http/pull/43 for details
** Additional information **
The option "Propagate client Accept-Header header" is accessible only if "Enabled compression" is disabled

📚  View the storybook of this branch here

🚀 CI was able to deploy the build of this PR, so you can now try it directly here
Notes: The deployed app is linked to the management API of APIM master. (Same login and password as APIM master)

Some changes are required to properly manage the configuration at group level and make it inherited by the endpoints.


Can we add the Hacktoberfest tag to the repository?

https://hacktoberfest.digitalocean.com/resources/maintainers
If you complete the challenge you can choose to plant a tree in your name or you can get a tshirt.
There are two ways to participate: as a maintainer or as a contributor.
Maintainer has to add the tag hacktoberfest to the repo or apply tag hacktoberfest-accepted to the PR and merge 5 PRs.
Contributors have to submit 5 PRs which get merged in this month.
I've played for two years now and I have one tree planted and one t-shirt 👍

looks awesome I will take look at it soon, thanks again for the PR!

Sure thing, but could you add the tag hacktoberfest-accepted to my PR so that I would get credited?


How to apply force to a body?

for example, i want a ball move to right side,
and i have tried to use body.applyImpulse ({
x:0, y:0, z:100
}, 10);
unfortunately it dosen't work.
BTW:  how to make a ball jump in this case?

Forces are directional, hence your force should be a vector3 too.
https://github.com/lo-th/Oimo.js/blob/159ef4e24c79786e779826d6f9273378be2211c8/src/core/RigidBody.js#L425

@w84miracle thanks for reply, have you some example to show how this works?

has other way to apply force except body.applyImpulse ?
if i want to keep the gravity [0, 9.8 ,0]

no look code in
http://lo-th.github.io/Oimo.js/#planet
you can keep gravity ;)

maybe your impulse is no strong enouth to jump
i try a example soon

force in oimo needs to be updated in every frame. no update will not see the effect.
body.applyImpulse ({x:0, y:0, z:0}, {x:0, y:20, z:0});


CASMCMS-9028 - clarify rbd instructions for an IMS remote build node.

Description
Include additional information on the rbd mounts described in the documentation to assist the user in both setting up the original mounts as well as clarify how to use these mounts with multiple remote nodes, and what must be done if the node gets rebooted.
Checklist

[X] If I added any command snippets, the steps they belong to follow the prompt conventions (see [example][1]).
[X] If I added a new directory, I also updated .github/CODEOWNERS with the corresponding team in [Cray-HPE][2].
[X] My commits or Pull-Request Title contain my JIRA information, or I do not have a JIRA.

/backport release/1.5


Guarantee new variants are not published

Fixes #19007
For a quick review, let me know how what you think of this.  Mark the attributes which ought not to be published at creation time, then check for the new flag at publishing time.

@bot-gradle test QFL

OK, I've already triggered QuickFeedbackLinux build for you.

Replaced by https://github.com/gradle/gradle/issues/19231


leaving a box open with tens of thousands of objects open?

Question
I come from SQLite and I'm trying Hive now, I need to store 50 000+ json objects, are you sure it's ok to leave the box open and keep all of them in RAM?

50,000 will be too much for a normal box and maybe even for a lazy box. In your case, I would recommend using SQLite.

@leisim what if I split the entries into different files, will a hive box open faster than a sqlite query and what's the actual limit for the number of entries per box?

@VadimOsovsky Splitting the data helps if you don't need all the entries at the same time. There are two problems with too many entries:

RAM usage: Normal boxes keep all keys and values are in memory. Lazy boxes only keys. But 50,000 keys still add up.

CPU: When a box is being opened, all of its entries have to be read and decoded. Your UI will freeze with a huge amount of entries.

will a hive box open faster than an sqlite query

It will depend on the SQLite query. If you query all the entries, Hive will probably be faster. If you have a condition and an index, SQLite might win.

what's the reasonable limit for the number of entries

This obviously depends on your device but I recommend keeping it below 1000 (5000 max) for best performance. In some cases 10,000 entries might work as well.
That being said, SQLite might also have problems too with your huge number of entries. May I ask why you need to store them on the device and can't rely on a backend?

@leisim sure, the use case is that a have a mail app that needs to download all user emails to work offline. In sql I can keep all of them in one table and query them depending on an account a folder (like inbox) selected

I think you should stick to SQLite then for your use case.

I have a similar requirement where almost 30k entities have to be stored. In addition, the entities must be sorted and filtered according to an integer property and must be searchable by a search string.
I have chosen an approach where I use 2 boxes in an isolate. A LazyBox that contains the entities and a Box that contains the "index" as key and the entity ID as value.
A key contains the integer property and the searchable text. (eg: 050_searchabletext)
Those keys are then filtered in a query and the associated entities are read in parallel from the LazyBox.
Some performance measurements (iPhone 5!):

Write: All entities (~4 sec) & index values (~1.3 sec) -> ~ 4.3 sec
Opening the two boxes: ~1.3 sec
Query limited to the first 100 matches + transport to main isolate: ~110 ms

Of course I also tried SQLite using moor. Since it took a long time to write the entities in the isolate, I did not pursue this approach any further.

has this changed in 2 years or still the same?


policy services running db migrations for each policy service

I don't think this was intended with the db client changes but it seems like we are generating a db client for each policy service and also running the migrations multiple times.
time=2024-05-06T08:32:03.913-04:00 level=INFO msg="creating database client" namespace=policy
time=2024-05-06T08:32:03.954-04:00 level=INFO msg="running database migrations"
time=2024-05-06T08:32:03.954-04:00 level=INFO msg="running migration up" schema=opentdf_policy database=opentdf
time=2024-05-06T08:32:03.984-04:00 level=INFO msg="migration db info " "current version"=20240405000000
time=2024-05-06T08:32:03.993-04:00 level=INFO msg="migration up complete" "post-op version"=20240405000000
time=2024-05-06T08:32:03.993-04:00 level=INFO msg="database migrations complete" applied=0
time=2024-05-06T08:32:03.993-04:00 level=INFO msg="started service" namespace=policy service=policy.namespaces.NamespaceService
time=2024-05-06T08:32:03.993-04:00 level=INFO msg="creating database client" namespace=policy
time=2024-05-06T08:32:04.024-04:00 level=INFO msg="running database migrations"
time=2024-05-06T08:32:04.024-04:00 level=INFO msg="running migration up" schema=opentdf_policy database=opentdf
time=2024-05-06T08:32:04.045-04:00 level=INFO msg="migration db info " "current version"=20240405000000
time=2024-05-06T08:32:04.057-04:00 level=INFO msg="migration up complete" "post-op version"=20240405000000
time=2024-05-06T08:32:04.057-04:00 level=INFO msg="database migrations complete" applied=0
time=2024-05-06T08:32:04.057-04:00 level=INFO msg="started service" namespace=policy service=policy.resourcemapping.ResourceMappingService
time=2024-05-06T08:32:04.057-04:00 level=INFO msg="creating database client" namespace=policy
time=2024-05-06T08:32:04.093-04:00 level=INFO msg="running database migrations"
time=2024-05-06T08:32:04.093-04:00 level=INFO msg="running migration up" schema=opentdf_policy database=opentdf
time=2024-05-06T08:32:04.112-04:00 level=INFO msg="migration db info " "current version"=20240405000000
time=2024-05-06T08:32:04.120-04:00 level=INFO msg="migration up complete" "post-op version"=20240405000000
time=2024-05-06T08:32:04.120-04:00 level=INFO msg="database migrations complete" applied=0
time=2024-05-06T08:32:04.120-04:00 level=INFO msg="started service" namespace=policy service=policy.subjectmapping.SubjectMappingService
time=2024-05-06T08:32:04.120-04:00 level=INFO msg="creating database client" namespace=policy
time=2024-05-06T08:32:04.147-04:00 level=INFO msg="running database migrations"
time=2024-05-06T08:32:04.147-04:00 level=INFO msg="running migration up" schema=opentdf_policy database=opentdf
time=2024-05-06T08:32:04.166-04:00 level=INFO msg="migration db info " "current version"=20240405000000
time=2024-05-06T08:32:04.174-04:00 level=INFO msg="migration up complete" "post-op version"=20240405000000
time=2024-05-06T08:32:04.174-04:00 level=INFO msg="database migrations complete" applied=0
time=2024-05-06T08:32:04.174-04:00 level=INFO msg="started service" namespace=policy service=policy.kasregistry.KeyAccessServerRegistryService
time=2024-05-06T08:32:04.174-04:00 level=INFO msg="creating database client" namespace=policy
time=2024-05-06T08:32:04.201-04:00 level=INFO msg="running database migrations"
time=2024-05-06T08:32:04.201-04:00 level=INFO msg="running migration up" schema=opentdf_policy database=opentdf
time=2024-05-06T08:32:04.222-04:00 level=INFO msg="migration db info " "current version"=20240405000000
time=2024-05-06T08:32:04.232-04:00 level=INFO msg="migration up complete" "post-op version"=20240405000000
time=2024-05-06T08:32:04.232-04:00 level=INFO msg="database migrations complete" applied=0

Yea this shouldn't be happening. Going to investigate.


Nested object schema validation in query params

Given my understanding of JSON schema and OpenAPI (3.1) the following schema is supposed to be valid:
paths:
  /path:
    get:
      parameters:
        - name: obj
          in: query
          style: deepObject
          schema:
            type: object
            properties:
              root:
                type: string
              nested:
                type: object
                properties:
                  child:
                    type: string
          required: true

Meaning an URL like /path?obj[root]=test1&obj[nested][child]=test2 should pass the validation against the schema above.
As far as I can tell from the code deepObject style query parameters are decoded to a flat map of QueryParam arrays. This works for objects with a depth of one, but won't work for objects with more depth.

Since this type of notation isn't really standardized anywhere, I think this behavior is generally not an issue.
OpenAPI 3.1 makes no remarks about the level of nesting, where as 3.0 does specify only a single level of nesting.
But in general, there is an ongoing discussion: https://github.com/OAI/OpenAPI-Specification/issues/1706
Since behavior isn't well defined, I think it might still be a good idea to implement the "qs" style of notation, since nested object schemas are generally definable in OAS 3.x.
However, there is a workaround to this issue, which is just flattening the object keys.
paths:
  /path:
    get:
      parameters:
        - name: obj
          in: query
          style: deepObject
          schema:
            type: object
            properties:
              root:
                type: string
              nested[child]:
                type: string
          required: true

I don't think it has the exact same semantics and definitely doesn't allow as fine grained of a control as one would have with using object type schemas, but I think it is decent enough for a lot of cases.
@daveshanley What do you think about this? Worth keeping it open or should this be closed and the behavior stay as is?

I have not spent a huge amount of time here in deeply nested deepObject encoding (it seems like a anti-pattern to me) however I do think there is value is growing support for it, as I have seen this type of design a few times and there is a need to support it.


access: requesting access for running the try bots (Try-bots+1)

See https://go.dev/wiki/GerritAccess
May I request an access to run the Try-bots? If then it will be more convenient for me.
User<EMAIL_ADDRESS>Thanks,
Ruinan

Hi Ruinan,
Thank you for your contributions and for requesting Trybots access! I've added you to the may-start-trybots group, so you should be able to do so now.
As you've likely read at https://go.dev/wiki/GerritAccess#running-trybots-may-start-trybots, please be sure to at least skim CLs before starting a Trybot run.
Let us know if you have any questions or issues with it, and thanks again!


example: zcash_address parsing example

Motivation
Arya asked for this example of how to use zcash_address to parse addresses and extract information for the RPCs.
It's not for review, and it shouldn't be merged.

Hopefully this is enough to get you started, here is what I get from this PR's RPC (it is not the right format):
$ zcash-cli parseaddress t1bDSccEgrRPu5J6EFsKGKbFPJqtDCXWdMJ
isvalid: true,
address: t1bDSccEgrRPu5J6EFsKGKbFPJqtDCXWdMJ,
scriptPubKey: TODO,
ismine: false,
isscript: false,
pubkey: TODO,
iscompressed: TODO,
account: ""

Hopefully this is enough to get you started

This is perfect, thank you!!

Arya has seen this, so I'm just going to close it


connman: fix build with upstream patch

This is needed for newer kernels, apparently.
Motivation for this change
Fixes #35332 on my NixOS system.
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[X] Fits CONTRIBUTING.md.

@GrahamcOfBorg build connman

Failure on x86_64-darwin (full log)
Partial log (click to expand)
Package ‘connman-1.35’ in /private/var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/lnl7-mac/pkgs/tools/networking/connman/default.nix:63 is not supported on ‘x86_64-darwin’, refusing to evaluate.

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Partial log (click to expand)
shrinking /nix/store/l0wkqxirgxgnf9d2xnva4p4qb6p7mapx-connman-1.35/lib/connman/scripts/openvpn-script
shrinking /nix/store/l0wkqxirgxgnf9d2xnva4p4qb6p7mapx-connman-1.35/lib/connman/scripts/libppp-plugin.so
shrinking /nix/store/l0wkqxirgxgnf9d2xnva4p4qb6p7mapx-connman-1.35/lib/connman/scripts/openconnect-script
gzipping man pages under /nix/store/l0wkqxirgxgnf9d2xnva4p4qb6p7mapx-connman-1.35/share/man/
strip is /nix/store/b0zlxla7dmy1iwc3g459rjznx59797xy-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/l0wkqxirgxgnf9d2xnva4p4qb6p7mapx-connman-1.35/lib  /nix/store/l0wkqxirgxgnf9d2xnva4p4qb6p7mapx-connman-1.35/bin  /nix/store/l0wkqxirgxgnf9d2xnva4p4qb6p7mapx-connman-1.35/sbin
patching script interpreter paths in /nix/store/l0wkqxirgxgnf9d2xnva4p4qb6p7mapx-connman-1.35
checking for references to /tmp/nix-build-connman-1.35.drv-0 in /nix/store/l0wkqxirgxgnf9d2xnva4p4qb6p7mapx-connman-1.35...
moving /nix/store/l0wkqxirgxgnf9d2xnva4p4qb6p7mapx-connman-1.35/sbin/* to /nix/store/l0wkqxirgxgnf9d2xnva4p4qb6p7mapx-connman-1.35/bin
/nix/store/l0wkqxirgxgnf9d2xnva4p4qb6p7mapx-connman-1.35

Success on aarch64-linux (full log)
Partial log (click to expand)
shrinking /nix/store/c2wrimhm3grys0lihfnv07x7fd3dma38-connman-1.35/sbin/connmand-wait-online
shrinking /nix/store/c2wrimhm3grys0lihfnv07x7fd3dma38-connman-1.35/sbin/connmand
shrinking /nix/store/c2wrimhm3grys0lihfnv07x7fd3dma38-connman-1.35/bin/connmanctl
gzipping man pages under /nix/store/c2wrimhm3grys0lihfnv07x7fd3dma38-connman-1.35/share/man/
strip is /nix/store/lvx1acn1ig1j2km8jds5x3ggh3f2wa8v-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/c2wrimhm3grys0lihfnv07x7fd3dma38-connman-1.35/lib  /nix/store/c2wrimhm3grys0lihfnv07x7fd3dma38-connman-1.35/bin  /nix/store/c2wrimhm3grys0lihfnv07x7fd3dma38-connman-1.35/sbin
patching script interpreter paths in /nix/store/c2wrimhm3grys0lihfnv07x7fd3dma38-connman-1.35
checking for references to /build in /nix/store/c2wrimhm3grys0lihfnv07x7fd3dma38-connman-1.35...
moving /nix/store/c2wrimhm3grys0lihfnv07x7fd3dma38-connman-1.35/sbin/* to /nix/store/c2wrimhm3grys0lihfnv07x7fd3dma38-connman-1.35/bin
/nix/store/c2wrimhm3grys0lihfnv07x7fd3dma38-connman-1.35


Add a "read later" status

Add a new status for items "read_later"
Probably a new section like the bookmarks page
Bind some external services on that (Pocket and Instapaper)

i'd love to have this, i've got about 200 or so bookmarks i reference all the time, so need everywhere. I previously used tiny tiny rss, but loving miniflux.

I can get by with one set of bookmarks, but some idea of how "read later" would work.
Here is my idea.
Maybe provide more than one "category" of bookmarks. The bookmark screen would provide a settable filter: all|recent| category1|category2| etc. All bookmarks to go "recent" first. Recent bookmarks can then be re-categorized only on the bookmarks screen.

in ttrss, I used star for marking RSS articles I wanted to look at later and used the publish article feature to store my bookmarks.
bookmarks would of been added via a bookmarklet on my PC or share feature on the browser pointing to the ttrss app on my android devices. you could also put RSS articles in the published bit too.

Using Wallabag as an external service binding would be nice.
https://github.com/wallabag/wallabag

@Charsel for Wallabag I'm waiting the v2: https://github.com/wallabag/wallabag/issues/1147

@pcwalden +1, but I offer to go further and create more flexible solution - tagging of articles. After that, I offer to considered bookmark as one of tags, a kind of "built-in" tag. Additionally, users will be able to create their own "custom" tags, such as "favorites", "read later" and so on and filtering articles by any tag.

@fguillot It seems that Wallabag v2 has been released, so I guess the API has been finalised?

Ohh, it's quite heavy, clean installation about 140 Mb.
The list of dependencies are scaring, more than 100 packages.

Maybe I have misunderstood this ticket? In "Preferences->External Services" under Pinboard and Instapaper a new section could be added named Wallabag 2, with the option "Send bookmarks to Wallabag 2"?

@jenspa You see, Wallabag is a self hostable application. So at first you need to install it on your server and only after that you will be able to use it as external service in Miniflux.

@denfil Yes, I understand that, and I am already using a selfhosted instance of Wallabag 2. I would just like to be able to send bookmarks from Miniflux to my own Wallabag 2 instance, so that I do not need to use Instapaper anymore.
Would it be possible for Miniflux to handle the refresh tokens used by Wallabag 2 as described here?: http://doc.wallabag.org/en/master/developer/api.html
Or in some other way use the Wallabag 2 api to send Miniflux bookmarks to it? And would any of you like to implement this feature? :)

I don't really understand a profit of such integration.
What do you want? Store one part of bookmarks in Miniflux and another in Wallabag?! Why, for what?
Or do you want to use Mniflux only for aggregate your rss feeds and store all bookmarks in Wallabag? If so, you could open articles in Miniflux and using Wallabag browser addons to add interesting ones to Wallabag.

@denfil The profit of such an integration would be the same as the integration with Instapaper, which I am using at the moment and am very happy with, except; I would rather host the read-it-later service myself.
At the moment i read the headlines and preview text of the articles Miniflux fetches from RSS. Some of them I read directly in Miniflux, others I star to export them to Instapaper. Instapaper can fetch multipage articles, and also allows me to add articles from webpages behind paywalls etc. Also, a direct integration with Wallabag would be easier that to open 50 tabs from Miniflux in my browser and then press the "add to Wallabag" button on each one of them.
I hope that you now see the profit in such an integration from my point of view, even though you do not necessarily need to agree with me :)

Closing this for now, external read later services could be used instead (Wallabag/Instapaper).


Add assert False

Please add assert False, this should be related too, since it should always be raise AssertionError

assert False could be useful with automated tests (which is the primary target of this package)


How to reverse sort

I'd like to sort such that the largest outbound capacity is at the top.
lightning-cli summars summars-columns=ALIAS,GRAPH_SATS summars-sort-by=-OUT_SATS
"Not a valid column name: `-OUT_SATS`.

There is currently no way to reverse sort, sorry. But i thought about this a little already. You think using a - before the name is a good idea? I like it.

You can try this now if you build main

Works!


Slop support for phrase queries

Implements slop for phrase queries (https://github.com/tantivy-search/tantivy/issues/1068).
Currently the phrase query only supports exact matching. The algorithm used does a set intersection between the position of the last term in the phrase and the positions of all the prior terms in the phrase offset by their position in the phrase.
Looked at the Lucene implementation and the description in "Information Retrieval: Implementing and evaluating search engines".
I modified the current algorithm slightly to keep track of:

The start of each candidate phrase. Stored in a separate array.
The first possible end of the phrase. (searching for a b . in a c b d e it stores the 0 as the start and 1 as the end). There is never any benefit from picking a later instance of the term. This is stored in what was previously called left.

I'll test the efficiency and try to optimize, but the is no change in complexity.

I did not understand the description. Is this really about slop queries?
Slop queries are about relaxing the constraints of phrase query matching.
For instance, with a slop of 1, the query "my bag" matches on a document that contains "my favorite bag".

@fulmicoton I'm still working on the description.
It's the same logic as here right?
https://lucene.apache.org/core/7_4_0/core/org/apache/lucene/search/spans/SpanNearQuery.html
https://github.com/apache/lucene/blob/main/lucene/queries/src/java/org/apache/lucene/queries/spans/SpanNearQuery.java
https://github.com/apache/lucene/blob/main/lucene/queries/src/java/org/apache/lucene/queries/spans/NearSpansOrdered.java
The exact definition I'm working off is:
Given a slop value, a phrase matches the query if the sequence from the phrase appears within length of the phrase + slop token positions.
If ~ marks slop:
a b b c d a c d
"c d" -> 2 matches
"a d" -> 0 matches
"a d"~1 -> 1 matches (a c d)
"a d"~3 -> 2 matches (a b b c d, a c d)
"a d"~100 -> 3 matches (a b b c d, a c d, a b b c d a c d)
The challenges I'm currently thinking about:

Keeping track of both where all the phrases ending at the same token started. Exact matching of a phrase does not allow for multiple matches to end on the same token position, while slop matching does. Also if we want to know how much of the slop was used for the match we can use the start and compare it against the end.
How is the score for a match calculated? In the case above a c d should have a higher score than a b b c d when both are a match.
What are the edge cases? For example a document with 1 million a b a b and then searching for "a b"~1000000.

Is there any way to help completing this feature and having it merged?

I'm looking into it this weekend.

Sorry, I've not had any capacity. Going back to work on the PR now.

Do you need help to land this PR? @halvorboe
Also if you are interested we have created a discord channel. I think you are one of the oldest user of tantivy. :)
https://discord.gg/MT27AG5EVE

Hey @fulmicoton. Sorry again.


Show DMs in right order

when a user run mostro-cli getdm it should show messages in chronological order

is this fixed by #49 ?

yes, fixed by #49


Don't combine segments  asynchronously

A example of calling everything asynchronously doesn't necessary result in faster programs in this case combining segments should be done synchronously otherwise the statusline will be flashed upon the defualt one which result in bad UX (#162).

I think if we want to "really" takes advantages of new async API we should use it in loading segments

this problem disappeared after lazy loaded some plugins...


FB to discord messages not working since npm update

The bot crashed out on me last night, and there was a message that npm needed to be updated, which I did.  After that npm start wouldnt work, so I used npm install and then npm start and it seemed to start ok, however it only lasted a few seconds before crashing out.
I noticed a new version had been uploaded to github, so I have downloaded this, copied over the required information to the config file, ran npm install / npm start again and the bot ran ok.   I made a message from the discord side to say the bot had been restarted and this appeared in the FB messenger with no problem.   Someone then replied on FB, and the bot crashed out.
This is the error report  (I have replaced my folder names with ..\ to shorten the text
ERR! listen TypeError: config.facebook.client.getThreadInfoGraphQL is not a function
ERR! listen     at module.exports.opts (..\Facebook-to-discord\lib\listeners\facebook.js:19:26)
ERR! listen     at config.facebook.client.listen (..\Facebook-to-discord\index.js:12:51)
ERR! listen     at resolveAttachmentUrl (..\Facebook-to-discord\node_modules\facebook-chat-api\src\listen.js:262:29)
ERR! listen     at parsePackets (..\Facebook-to-discord\node_modules\facebook-chat-api\src\listen.js:281:23)
ERR! listen     at Array.forEach (<anonymous>)
ERR! listen     at ..\Facebook-to-discord\node_modules\facebook-chat-api\src\listen.js:151:14
ERR! listen     at tryCatcher (..\Facebook-to-discord\node_modules\bluebird\js\main\util.js:26:23)
ERR! listen     at Promise._settlePromiseFromHandler (..\Facebook-to-discord\node_modules\bluebird\js\main\promise.js:510:31)
ERR! listen     at Promise._settlePromiseAt (..\Facebook-to-discord\node_modules\bluebird\js\main\promise.js:584:18)
ERR! listen     at Promise._settlePromises (..\Facebook-to-discord\node_modules\bluebird\js\main\promise.js:700:14)
ERR! listen     at Async._drainQueue (..\Facebook-to-discord\node_modules\bluebird\js\main\async.js:123:16)
ERR! listen     at Async._drainQueues (..\Facebook-to-discord\node_modules\bluebird\js\main\async.js:133:10)
ERR! listen     at Immediate.Async.drainQueues (..\Facebook-to-discord\node_modules\bluebird\js\main\async.js:15:14)
ERR! listen     at runCallback (timers.js:789:20)
ERR! listen     at tryOnImmediate (timers.js:751:5)
ERR! listen     at processImmediate [as _immediateCallback] (timers.js:722:5)
ERR! listen  TypeError: config.facebook.client.getThreadInfoGraphQL is not a function
ERR! listen     at module.exports.opts (..\Facebook-to-discord\lib\listeners\facebook.js:19:26)
ERR! listen     at config.facebook.client.listen (..\Facebook-to-discord\index.js:12:51)
ERR! listen     at resolveAttachmentUrl (..\Facebook-to-discord\node_modules\facebook-chat-api\src\listen.js:262:29)
ERR! listen     at parsePackets (..\Facebook-to-discord\node_modules\facebook-chat-api\src\listen.js:281:23)
ERR! listen     at Array.forEach (<anonymous>)
ERR! listen     at ..\Facebook-to-discord\node_modules\facebook-chat-api\src\listen.js:151:14
ERR! listen     at tryCatcher (..\Facebook-to-discord\node_modules\bluebird\js\main\util.js:26:23)
ERR! listen     at Promise._settlePromiseFromHandler (..\Facebook-to-discord\node_modules\bluebird\js\main\promise.js:510:31)
ERR! listen     at Promise._settlePromiseAt (..\Facebook-to-discord\node_modules\bluebird\js\main\promise.js:584:18)
ERR! listen     at Promise._settlePromises (..\Facebook-to-discord\node_modules\bluebird\js\main\promise.js:700:14)
ERR! listen     at Async._drainQueue (..\Facebook-to-discord\node_modules\bluebird\js\main\async.js:123:16)
ERR! listen     at Async._drainQueues (..\Facebook-to-discord\node_modules\bluebird\js\main\async.js:133:10)
ERR! listen     at Immediate.Async.drainQueues (..\Facebook-to-discord\node_modules\bluebird\js\main\async.js:15:14)
ERR! listen     at runCallback (timers.js:789:20)
ERR! listen     at tryOnImmediate (timers.js:751:5)
ERR! listen     at processImmediate [as _immediateCallback] (timers.js:722:5)
Unhandled rejection TypeError: Cannot read property 'threadID' of undefined
    at module.exports.opts (..\Facebook-to-discord\lib\listeners\facebook.js:19:55)
    at config.facebook.client.listen (..\Facebook-to-discord\index.js:12:51)
    at ..\Facebook-to-discord\node_modules\facebook-chat-api\src\listen.js:443:11
    at tryCatcher (..\Facebook-to-discord\node_modules\bluebird\js\main\util.js:26:23)
    at Promise._settlePromiseFromHandler (..\Facebook-to-discord\node_modules\bluebird\js\main\promise.js:510:31)
    at Promise._settlePromiseAt (..\Facebook-to-discord\node_modules\bluebird\js\main\promise.js:584:18)
    at Promise._settlePromises (..\Facebook-to-discord\node_modules\bluebird\js\main\promise.js:700:14)
    at Async._drainQueue (..\Facebook-to-discord\node_modules\bluebird\js\main\async.js:123:16)
    at Async._drainQueues (..\Facebook-to-discord\node_modules\bluebird\js\main\async.js:133:10)
    at Immediate.Async.drainQueues (..\Facebook-to-discord\node_modules\bluebird\js\main\async.js:15:14)
    at runCallback (timers.js:789:20)
    at tryOnImmediate (timers.js:751:5)
    at processImmediate [as _immediateCallback] (timers.js:722:5)

Steps to Reproduce the Problem

Run the bot with npm start
Send a message from The FB Side
Crashes out every time

Specifications

Platform:  Windows 10  Professional
Version (can be found in package.json):   2.6.9
Node.js version (node -v):  v8.9.4

Can you try this with dev version?

I got the same error

That's weird... have you got git installed?

yes I do, but just noticed its 1 version behind.   Shall I update and try again?

Yup, try updating

Can you show me the output of npm ls?

<EMAIL_ADDRESS>C:\Users\phil-\Documents\Pokemon Go\miscord-dev\miscord-dev
+-- UNMET PEER DEPENDENCY<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>| | --<EMAIL_ADDRESS>| |   --<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>| --<EMAIL_ADDRESS>|   --<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>| --<EMAIL_ADDRESS>|   +--<EMAIL_ADDRESS>|   +--<EMAIL_ADDRESS>|   --<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>| --<EMAIL_ADDRESS>+-- UNMET PEER DEPENDENCY erlpack@discordapp/erlpack +--<EMAIL_ADDRESS>(github:Schmavery/facebook-chat-api#cf797d8e0612e71b88f06648f9fccb54d3955ef7) | +--<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>| | +--<EMAIL_ADDRESS>| | | +--<EMAIL_ADDRESS>| | | +--<EMAIL_ADDRESS>| | | +--<EMAIL_ADDRESS>| | | | --<EMAIL_ADDRESS>deduped
| | | --<EMAIL_ADDRESS>| | |   --<EMAIL_ADDRESS>deduped
| | +--<EMAIL_ADDRESS>| | | +--<EMAIL_ADDRESS>| | | --<EMAIL_ADDRESS>deduped | | +--<EMAIL_ADDRESS>| | +--<EMAIL_ADDRESS>| | | +--<EMAIL_ADDRESS>| | | +--<EMAIL_ADDRESS>| | | | --<EMAIL_ADDRESS>deduped
| | | +--<EMAIL_ADDRESS>| | | | +--<EMAIL_ADDRESS>deduped
| | | | --<EMAIL_ADDRESS>deduped | | | +--<EMAIL_ADDRESS>| | | --<EMAIL_ADDRESS>| | |   +--<EMAIL_ADDRESS>deduped
| | |   +--<EMAIL_ADDRESS>deduped
| | |   +--<EMAIL_ADDRESS>| | |   --<EMAIL_ADDRESS>| | --<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>| | +--<EMAIL_ADDRESS>| | +--<EMAIL_ADDRESS>| | | +--<EMAIL_ADDRESS>deduped
| | | --<EMAIL_ADDRESS>deduped | | --<EMAIL_ADDRESS>| |   +--<EMAIL_ADDRESS>deduped
| |   +--<EMAIL_ADDRESS>deduped
| |   +--<EMAIL_ADDRESS>| |   +--<EMAIL_ADDRESS>| |   --<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>| --<EMAIL_ADDRESS>|   +--<EMAIL_ADDRESS>|   +--<EMAIL_ADDRESS>|   +--<EMAIL_ADDRESS>|   +--<EMAIL_ADDRESS>|   | --<EMAIL_ADDRESS>|   +--<EMAIL_ADDRESS>deduped |   +--<EMAIL_ADDRESS>|   +--<EMAIL_ADDRESS>deduped |   +--<EMAIL_ADDRESS>|   | +--<EMAIL_ADDRESS>|   | | +--<EMAIL_ADDRESS>|   | | +--<EMAIL_ADDRESS>|   | | +--<EMAIL_ADDRESS>|   | | --<EMAIL_ADDRESS>|   | --<EMAIL_ADDRESS>|   +--<EMAIL_ADDRESS>|   | +--<EMAIL_ADDRESS>|   | | --<EMAIL_ADDRESS>deduped
|   | +--<EMAIL_ADDRESS>|   | | --<EMAIL_ADDRESS>|   | |   --<EMAIL_ADDRESS>deduped
|   | +--<EMAIL_ADDRESS>|   | --<EMAIL_ADDRESS>|   |   --<EMAIL_ADDRESS>deduped
|   +--<EMAIL_ADDRESS>|   | +--<EMAIL_ADDRESS>|   | +--<EMAIL_ADDRESS>|   | | +--<EMAIL_ADDRESS>deduped
|   | | +--<EMAIL_ADDRESS>|   | | +--<EMAIL_ADDRESS>|   | | --<EMAIL_ADDRESS>|   | |   +--<EMAIL_ADDRESS>deduped |   | |   +--<EMAIL_ADDRESS>deduped |   | |   --<EMAIL_ADDRESS>deduped
|   | --<EMAIL_ADDRESS>|   |   +--<EMAIL_ADDRESS>|   |   +--<EMAIL_ADDRESS>deduped |   |   +--<EMAIL_ADDRESS>|   |   | --<EMAIL_ADDRESS>|   |   +--<EMAIL_ADDRESS>|   |   | --<EMAIL_ADDRESS>deduped |   |   +--<EMAIL_ADDRESS>|   |   | --<EMAIL_ADDRESS>deduped
|   |   +--<EMAIL_ADDRESS>|   |   | --<EMAIL_ADDRESS>deduped |   |   +--<EMAIL_ADDRESS>|   |   --<EMAIL_ADDRESS>|   +--<EMAIL_ADDRESS>|   +--<EMAIL_ADDRESS>|   +--<EMAIL_ADDRESS>|   +--<EMAIL_ADDRESS>|   | --<EMAIL_ADDRESS>|   +--<EMAIL_ADDRESS>|   +--<EMAIL_ADDRESS>|   +--<EMAIL_ADDRESS>deduped |   +--<EMAIL_ADDRESS>deduped |   +--<EMAIL_ADDRESS>|   +--<EMAIL_ADDRESS>|   | --<EMAIL_ADDRESS>|   +--<EMAIL_ADDRESS>|   | --<EMAIL_ADDRESS>deduped |   --<EMAIL_ADDRESS>+-- UNMET PEER DEPENDENCY<EMAIL_ADDRESS>+-- UNMET PEER DEPENDENCY<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>| | +--<EMAIL_ADDRESS>| | --<EMAIL_ADDRESS>| |   +--<EMAIL_ADDRESS>deduped | |   +--<EMAIL_ADDRESS>deduped | |   +--<EMAIL_ADDRESS>| |   +--<EMAIL_ADDRESS>deduped | |   +--<EMAIL_ADDRESS>deduped | |   +--<EMAIL_ADDRESS>| |   | --<EMAIL_ADDRESS>deduped
| |   --<EMAIL_ADDRESS>deduped | +--<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>| | +--<EMAIL_ADDRESS>| | +--<EMAIL_ADDRESS>deduped | | +--<EMAIL_ADDRESS>| | +--<EMAIL_ADDRESS>| | +--<EMAIL_ADDRESS>| | +--<EMAIL_ADDRESS>| | | +--<EMAIL_ADDRESS>| | | +--<EMAIL_ADDRESS>| | | | --<EMAIL_ADDRESS>| | | --<EMAIL_ADDRESS>deduped | | +--<EMAIL_ADDRESS>| | | --<EMAIL_ADDRESS>| | --<EMAIL_ADDRESS>| |   --<EMAIL_ADDRESS>deduped
| --<EMAIL_ADDRESS>+-- UNMET PEER DEPENDENCY<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+-- UNMET PEER DEPENDENCY<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>| | --<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>| | +--<EMAIL_ADDRESS>| | +--<EMAIL_ADDRESS>deduped
| | --<EMAIL_ADDRESS>deduped | +--<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>| --<EMAIL_ADDRESS>|   +--<EMAIL_ADDRESS>|   +--<EMAIL_ADDRESS>|   +--<EMAIL_ADDRESS>|   +--<EMAIL_ADDRESS>|   +--<EMAIL_ADDRESS>deduped
|   +--<EMAIL_ADDRESS>|   | --<EMAIL_ADDRESS>deduped |   --<EMAIL_ADDRESS>+-- UNMET PEER DEPENDENCY<EMAIL_ADDRESS>`--<EMAIL_ADDRESS>npm ERR! peer dep missing<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>npm ERR! peer dep missing: erlpack@discordapp/erlpack, required by<EMAIL_ADDRESS>npm ERR! peer dep missing<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>npm ERR! peer dep missing<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>npm ERR! peer dep missing<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>npm ERR! peer dep missing<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>npm ERR! peer dep missing<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>

Oh, I see now... In this commit (https://github.com/Schmavery/facebook-chat-api/commit/419c64405182ef0f38cebafbd66a307eaa0e4f51) getThreadInfoGraphQL was renamed to getThreadInfo...

so its an easy-ish fix?

If the message format stays the same, then yes. I'll check it in a minute

Thank you. working perfect again


Wait should emit some output

Describe the solution you'd like
The --wait functionality of run/delete is great but run, since it can take so long, can really be difficult for a user to know if the process is still running as expected.
I think we should have a reasonable default that looks good to users sitting in front of the machine but allow an ovverride via a flag so that people in other situations/preferences can override for their use case.
Suggestion:
Default: A simple spinner that might also show the statement like "sonobuoy state is xyz, this command will return after it completes or errors"
Alternative options via flag:

just lazily output a stream of dots every few min so it doesnt read as a dead process. Can be ugly if its a long run but may really be the preference of some people who just want an 'alive' signal.

no output, just wait quietly as we do today

Anything else you would like to add:
The reason I say the default should be the good looking but (maybe) slightly less robust one is that people writing CI scripts or with strong preferences dont mind adding the flag. People typing quickly just getting it working will want/like the nicer output IMO.

Very similar to https://github.com/heptio/sonobuoy/issues/354

I agree it is similar in that if you gave progress then you could output that while you wait. I think the way in which it is different is that the 'progress' ticket is pretty architectural and needs to have a lot of thought about how the system will work with all the plugins and such.
This is a much smaller scoped (as your tags imply) issue. I think that effectively we can implement this in the short term while we design/build the progress indicator stuff. Then once that is working and working well, it would become the default (rather than a spinner/general status) for instance.

Sure, not talking implementation time, just discussing features so it gets put into consideration.

I am interested. Can i try this @johnSchnake ?
Can we use "github.com/briandowns/spinner" to show the progress? Is it required only for run/delete commands?

@ekj1711 Awesome, thanks for another contribution :)


[CFD-39] Push notifications

Description

Backend: creates endpoint to send a notification to a given list of devices
Frontend: adds methods to register the device for notifications, as well as an example component that can display incoming notifications and send a notification to self.
Reason for Change

Completes CFD-39
Type of change

[x] New feature (non-breaking change which adds functionality)

Testing

Using the push token displayed on the Expo app, notifications can successfully be sent when tested with the following methods:

Expo's push notification tool
tRPC panel
The send notification button on the Expo app

hmmmm not sure why actions aren't being activated -- maybe try making an empty commit + pushing


Row with data at top and bottom of different cells become more than one row of text

I am trying to interpret files like:
https://www.sccgov.org/sites/proc/DoingBusinesswiththeCounty/Documents/Contracts Report for Month of November 2019.pdf
Here is a small screenshot:
https://opencalaccess.org/img/Screen_Shot_2021-03-31_at_4.00.22_PM.png
See the 4th and 8th row in the pic.
If you have a pdf with:
-----------------------------------------------
|                 |     AAAAA   |    BBBBBB    |
|                 |             |              |
|   CCCCC         |             |              |
-----------------------------------------------

This is one row with three cells. I would like to get:
CCCCC tab  AAAAA tab BBBBBB eol
What I get is actually:
"" tab  AAAAA tab BBBBBB eol
CCCCC tab tab eol
I have forked and will check out the source and see about finding a minimal test case. And I will try to determine whether this is a duplicate bug or not.
cheers - ray

I think that this may be an error on my part. I was using --stream and I think I should have been using --lattice for these reports. Will confirm.

Even with --lattice there is a problem.
See the pic of one row at https://opencalaccess.org/img/Screen_Shot_2021-04-01_at_10.53.54_AM.png
This is of the form:
-------------------------------------------------
|          |           |   AAAA     |   BBBBB   |
|          |           |   CCCCC    |           |
|  DDDDD   |   EEEEEE  |   FFFFFF   |           |
-------------------------------------------------

There are different ways this could be interpreted. What happens, though, is:
DDDDD tab EEEEEE tab AAAA tab eol
CCCCC eol
FFFFFF tab BBBBB eol
As I say, there are different ways this could be interpreted, but this does not make sense.
Whatever comes out, it should be determinable that AAAA, CCCCC, and FFFFF are in the same column, that BBBBB is in its own column, and the data coming out here does not show these things.

Well, now I am more confused. I am looking at the TestSpreadsheetExtractor class.
It appears that
--------------------
| AAAAA   |        |
| BBBBB   | CCCCC  |
--------------------

becomes:
AAAAA eol
BBBBB tab CCCCC eol
There seems to be no way to differentiate the eol that is inside the column header from the eol that is at the end of the line.
How is that supposed to work? One would never be able to tell which part of the output goes into which column. It seems wrong.

Pilot error. I was reading the file in with the java.util.Scanner class, which breaks on both \n and \r. So, I did not see that the "in cell" values were only separated by a \r and the lines were separated by a \n. Very good.
If this could have been documented somehow, that would have been great, but o well.

@rkiddy Glad you figured it out! If there's documentation we're missing, would you be willing to suggest what to write and where to put it (i.e. where you first sought the answer you eventually learned the hard way) and submit that as a PR? It'd be a big help and -- as you can perhaps imagine, as a maintainer, I'm pretty bad at writing documentation for software whose quirks, nuances and assumptions are burned into my brain.

I can create a doc folder and put something into it, unless you get to it first.

A code comment might be best, or, someplace where you originally looking for an answer to this question. (Might be the readme, there's no other place for documentation that I'm aware of.)

If you do not like having a doc folder, I am not sure what to suggest. The wiki could be a good place but it points to the install site and the code. The install site does not look like a better place to have documentation, especially if it does not allow other contributors to help. Can I try adding to the wiki? This will be done via a pull request, so any change can be looked at and/or backed out.


Offline version

As I've said elsewhere, there's no way to make the current custom sample code work with local html files, which is the way the BeepBox/JummBox/etc offline versions work. Only the legacy/nintaribox/paintbox samples are viable, which doesn't seem worth it.
When testing changes here, I do so by starting a web server (python3 -m http.server --directory website works fine), but that's very much not user-friendly. So it's likely that we'll need some kind of Electron/NW.js application instead, to support custom sampling. It might be worth investing time into a local custom sample feature if that's done.

Would it be possible to make a temporary offline build that doesn't contain the custom sample code? I'd like to be able to play some of my music off the grid.

I think putting them in releases would be a good idea. Thank you for sharing that build, by the way.

Since the offline version of Ultrabox is coming soon, I'm gonna go ahead and close this issue

@Epictyphlosion apologies for closing this, I assumed it would be done faster than it was

https://github.com/ultraabox/ultrabox_typescript/releases


Making the script run for my own model

Hey, thank you for making a brilliant demo but I have a few doubts.
I built a mask detector model that I am trying to host as a web app and I don't know how to give it as an input. I'm fairly new to this so I'm hoping you'd help. I've attached the screenshots here, please let me know what changes do I make in the code (my 'models' folder has 3 shard files and 1  JSON file)

Did you solve this problem yet? I'm working with a mask detect system now,  get in trouble with this problem.

@Reaper622 did you solved it yet?
I am running facial recognition, but it fails with the images which has masks on.

@amiralam0  Try this one. https://github.com/vladmandic/face-api


Options to remove series related info from title and subtitle

Adds a couple new options to remove series related info in title and subtitle. Default options maintains the current behavior.
remove_series_reference_in_title: false # remove ", Book X" from end of titles
remove_series_reference_in_subtitle: false # remove subtitle if it contains the series name and the word book ex. "Book 1 in Great Series", "Great

Addresses Book in the title I brought up in #2

What is the use case for this?

What is the use case for this?

When book title or subtitle has unnecessary info, since we are saving series and series position. I don't want that info duplicated in title/subtitle
Title example
Harry Potter and the Chamber of Secrets, Book 2 -> Harry Potter and the Chamber of Secrets
Subtitle example
Caliban's War
The Expanse, Book 2 -> Caliban's War (no subtitle)

Created new PR instead of rebasing this one. All feedback included in new PR


Fix issue 23: kek_lr and tqdm

As lerning rate finder uses kek() with skip_val=True,
so close the tqdm after train epoch is ended too.

Sorry,  it is incorrect(!): It  breaks further progress bar while trainig ( validation metrics doesn't print).
May be skip_val=False fix the problem?


Embed image into centre of QR code

Hi, are there examples of placing a logo in the centre of a qrcodeData, _ := qrcode.Encode(encodeme, 2, 256) call?

@kaihendry have you found a solution to this?

No

found a solution?

This lib seems to offer this function: https://github.com/yeqown/go-qrcode


processing time

why does it take so much time to parse, 30 minutes and still waiting .......

Hey, @gideononyewuenyi - I've been having issues all day. Will you let me know if you get a server error?

Started parsing the file under job_id 50001bc4-ca6c-4c7b-842b-ef9942ebf5df
Error while parsing the PDF file '/Users/mac/Project-Hillda-AI/Gideon-Onyewuenyi-Resume.pdf': Server disconnected without sending a response.
Failed to load file /Users/mac/Project-Hillda-AI/Gideon-Onyewuenyi-Resume.pdf with error: Server disconnected without sending a response.. Skipping...
[]
@rwclayton

Have had the same issue all day, @gideononyewuenyi. Must be an issue with the API. Maybe the server is down?  Hopefully we'll have answers soon.

I think it works now, thank you.

This is one pdf document (48mb) and running for over 1 hour.
A nice start but too slow.

@qboy21 can you share the PDF? Some documents will be slower if they have many images that need to be OCR'd

@qboy21 can you share the PDF? Some documents will be slower if they have many images that need to be OCR'd

Hi. Unfortunately, it's proprietary data that I cannot share. I can try with a public file of similar size and then revert back to you.

Closing this one since we improve quite a lot on this point. If you see any performance issue again, please reopen!


Login timed out after 60 seconds

Hello,
I have accessed the wetty web terminal from my browser. I kept my session idle for one minute. My session has timed out and I need to refresh the page to establish the connection again. I have checked my debugger console. There is no polling request sent to the server. I have explored the application and socket io lib. I cant find any way to change the config to extend the socket time out. Is there any way to increase the time out and keep the session alive for 5mins before login to the web terminal.
Is there any way to increase the time out in web terminal after login to the application. I am having this problem when more than 50 users accessing the web terminal concurrently. I have seen the application log. It states that log out action happens at one minute interval for each login.
To alleviate the above problem, I have deployed the application behind apache which maintains the session alive between apache and user session.
Can I achieve this without deploying the web application behind apache server.
Best Regards,
Radhakrishnan Rk

The timeout can be changed by modifying LOGIN_TIMEOUT in /etc/login.defs
Reference: link

Can multiple users use it simultaneously?


please update the dependency location_permissions to use v2 embedding

After I updated to Flutter 1.17 I can no longer use this lib with Android, it crashes. I stopped using the pubdev version and started using master cause it has the v2 embedding for Android. But it still crashes because there is a dependency that still uses v1 embedding. Please update this dependency. I made a pull request: https://github.com/Baseflow/flutter-permission-plugins/pull/42

I have just released Geolocator version 5.3.2 which now uses version 3.0.0 of the location_permissions plugin which contains your pull-request.


listing badges

.badges docstring says it returns users, but actually it just seems to return the badge object. Is this the intended behavior?
In [60]: so = stackexchange.Site('stackoverflow')

In [61]: so.badges?
Type:       instancemethod
String Form:<bound method Site.badges of <stackexchange.Site object at 0x7fc1150b3210>>
File:       /home/aaron/sandbox/Py-StackExchange/demo/build/bdist.linux-x86_64/egg/stackexchange/__init__.py
Definition: so.badges(self, ids=None, **kw)
Docstring:  Returns the users with the badges with IDs.

In [62]: so.badges(22)
Out[62]: (<Badge 'Great Question' @ 7fc1150b3d90>)

Sorry for the late reply, thanks a lot for pointing this out to me. That is indeed a documentation issue, which I've fixed in the latest commit.
While digging into it, however, there were a few other issues with the badge methods which should now be fixed in the latest commit. If you want to get the recipients of a particular badge, you can use the recipients field of the Badge object, e.g. so.badge(22).recipients. Bear in mind this is an 'infinite' generator, so don't try and turn it into a list all at once. For something closer to the documented API endpoint, the Site#badge_recipients method returns a set of Badges as described here.


[LANDGRIF-1155]: fixes issue with tree-select focus

General description
https://vizzuality.atlassian.net/browse/LANDGRIF-1155

Changed tree-select chevron icon from outline to solid. Removed left padding.
tree-select now defaults to fit the content of the input.
autoFocus in tree-select is now handled via property.

Before vs. After

Designs
Link to the related design prototypes (if applicable)
Testing instructions
Provide minimal instructions on how to test this PR.

Apart from the added feature / bug fix, check overall performance, styling...

Checklist before merging

[x] Branch name / PR includes the related Jira ticket Id.
[x] Tests to check core implementation / bug fix added.
[x] All checks in Continuous Integration workflow pass.
[ ] Feature functionally tested by reviewer(s).
[ ] Code reviewed by reviewer(s).
[x] Documentation updated (README, CHANGELOG...) (if required)

Closing in favor of https://github.com/Vizzuality/landgriffon/pull/853


[Feature] Inherited column description documentation

Is there an existing feature request for this?

[X] I have searched the existing issues

Describe the Feature
Currently my company uses dbt to manage our data warehouse with data flowing from source databases to staging tables in the warehouse (staging tables are deployed in dbt) and then are ultimately combined in a series of mart level views and tables for end user's reporting and analytics.  We require all staging tables to have descriptions for every column, however we have not been able to enforce the same standards on the downstream mart tables primarily because it's just a lot of work to copy and paste descriptions multiple times.  Instead we currently rely on users tracing blank descriptions themselves if a mart level description is blank.
It would be nice if there was a setting in dbt that would allow downstream models to inherit the documentation of columns with the same names as upstream data, if the downstream description is not filled in by the user.  In the event the column is new or there is an ambiguous description (i.e. a view pulls from two tables with the same column name), dbt would simply have a blank description that would need to be filled out by the developer; otherwise it would find the last upstream table with the same column name and use that as the column description.
Describe alternatives you've considered
Shared descriptions are an ok solution for this; we've tried migrating descriptions of staging tables into shared descriptions and using the docs function on downstream tables, but this can still be quite cumbersome and requires us to have a solid and robust naming convention for all our staged descriptions which can get confusing.  Ideally column descriptions could automatically be inherited.
Another consideration was adding a meta tag with a list of the inherited columns so users could see what columns should have inherited definitions, but this was difficult to trace and we ultimately didn't feel like it added much value in the dbt docs.
Who will this benefit?
Anybody that uses multiple layers of data within dbt and wants to make documentation easier.
Are you interested in contributing this feature?
No response
Anything else?
No response

Thanks for opening this up @jakemcaferty!  Having to duplicate all of the documentation is not ideal, for sure.  Inheriting column descriptions largely relates to an open discussion we're having about Column Level Lineage.
Column level lineage would essentially allow dbt to know about column's properties (description, tests, meta, tags, etc) based on its upstream antecedents.  Definitely check out the discussion to get more details on what we're thinking and jump in if you have anything to add!
I'm going to close this issue as it is ultimately a duplicate of #2995, which is linked to Column Level Lineage.

Thanks @emmyoop after talking to some colleagues they also mentioned that, but i kept looking for "inherit" so i missed that.  Thanks for responding and closing this out!


Can't compile, got 17 errors.

Installed via CocoaPods.
You use TimeInterval instead of NSTimeInterval, URL instead of NSURL and so on.
What am I missing here?

I wrote this a few weeks ago, I think on Xcode 8 Beta 2. The Xcode 8 GM made some big changes to Swift (it's now the Swift 3.0 final), including several naming changes such as these.
Feel free to submit a quick pull-request, hopefully it's pretty quick to get this compiling on Xcode 8 GM & Swift 3.0

Ah, interesting! Thanks for your quick reply 👍  :)

Can I use this with Swift 2 and Xcode 7.3?

@TEJ227 it should be compatible with Swift 2, yes.

Thanks for the reply @tsheaff . Update after trying: Code is not compatible with Swift 2.

@TEJ227 can you be more specific. Which swift version (Swift 2.x?) are you on? What Xcode are you on? What are the errors.  I developed this repo about two months ago, on Swift 2.3 and Xcode 7.  I no longer have Xcode 7 Installed on my machine. I recommend upgrading to Xcode 8 regardless (you can't submit apps for iOS 10 without it)

@tsheaff Errors I was having are same as stated in this issue. I'm currently using Swift 2.2 and Xcode 7.3
Will update it now as you have recommended.

Awesome thanks


Create real atm fields for SCHISM Shinnecock domain RTs

Needed to build realistic wind fields case for UFS-CAT tutorial on March 1. These new RT configs will then be tested by @yunfangsun, to replace: coastal_ike_shinnecock_atm2sch_intel, coastal_ike_shinnecock_atm2ww3_intel, coastal_ike_shinnecock_atm2sch2ww3_intel (when Ufuk confirms it's ready)
Possibly use the previous test case for Sandy on Shinnecock domain

@yunfangsun , Yunfang I have put the Sandy Shinnecock data in "hera" at: /scratch2/STI/coastal_temp/save/Panagiotis.Velissariou/shinecock_atm. Could you please plot the 2D wind speeds and the Shinnecock domain on top as well as the path of the hurricane Sandy (with the 35 kn contour)? I will update the test cases for SCHISM after that.

@pvelissariou1
The Sandy path and computation domain is as follows:

Hera is on maintenance today 8:00-16:00, therefore, I can't see your atm forcing, and I don't have Python script to plot the vector field.

@yunfangsun Thank you. So I will set the test cases for Sandy, as in SCHISM+PAHM cases.

@yunfangsun Hera is up, could you please get the atm fields and see if you can plot the wind maps?

@yunfangsun The only CO-OPS station I found is: 8512354 SHINNECOCK INLET OPEN COAST, NY but contains only tide elevations

@pvelissariou1 @yunfangsun -- nope, I'm wrong, Montauk is not in the domain!

@janahaddad It is outside the computational domain of Shinnecock inlet
I believe.

There is apparently a USGS station in the bay: https://waterdata.usgs.gov/monitoring-location/01304746/#parameterCode=62619&period=P7D&showMedian=true
WL data is available above NAVD88 starting Oct 2016.

@janahaddad Thank you Jana for checking on this. I checked this station, but has no data for 2012 (Sandy). I might check the global database, but I dont't think we can find anything. @yunfangsun let's see if we can have those 2D maps for Shinnecock. We might do comparison of the tidal water levels only. Anyway, I am working on the test case so Ufuk and I can test ...

Hi @pvelissariou1 ,
I have plotted the atmospheric wind filed from the forcing file you generated, however, the file is larger than 10MB, which could not be uploaded on Github, then I put it in /scratch2/STI/coastal/Yunfang.Sun/Sandy/wind_vector_field.gif on Hera, please check it there. Thank you.

@yunfangsun Thank you. I was thinking contour maps not vector fields. Also it might be helpful to include the mesh domain over the contour maps as well.

Hi @pvelissariou1 , I have plotted the field, with the color showing the wind speed, and also included the mesh domain, please find it in /scratch2/STI/coastal/Yunfang.Sun/Sandy/wind_vector_field_colored_by_speed_domain.gif on Hera, and I will download the station 8512354 to do the plot. Thank you.

@yunfangsun Is it possible to fix the colorbar range, say 0 - 20 m/s, so we can clearly see what is going on from frame to frame?

@pvelissariou1 ok, I will do it

Hi @pvelissariou1
I have fixed the colorbar and changed the colormap, please take a look at /scratch2/STI/coastal/Yunfang.Sun/Sandy/wind_vector_field_colored_by_speed_fixed_colorbar.gif on Hera

@yunfangsun It looks much better, thank you. Is it possible to also do a contour map, without the vector field?

@yunfangsun Thank you very much. It looks good.


Prompt for manual input if the battle script fails (especially before final wave)

Preparation

[X] No one has asked for this feature before in other issues (even the closed ones)

Describe the feature
As discussed on discord, this feature is useful when you are running not 100% consistent setup (say 99%), or FGA messes up due lag spikes (which can't be dealt with by increasing delays, like on my device, since those are while rare are not consistent and can take up to 10 seconds).
If the script assumed that there will be NP on wave 2 and then it'll switch to wave 3, but for some reason it didn't happen when expected, there is almost no way for FGA to automatically recover. Most often it'll try to facecard wave 2 and even if it succeeds, it'll definitely fail on wave3 since the buffs will be gone and it'll be almost impossible to blindly face card.
So I propose in such situations (could be controlled via simple checkbox option) to just stop prompting user for a manual input, as it can currently do when failing to find the specified support after some number of retries. Since currently it'll require manual intervention anyway, but the user will be faced will "party wipe" screen and will have to decide to either waste time/AP or use CS/sq to revive.

Nero Fest runs getting totally derailed by lag spikes has been driving me crazy, so very in favor of this; I'd love to not have to intervene at all, but if I have to, I'd rather do so before one or more turns have been wasted trying to face card through a wave.

I was about to write an issue for this same problem after I found a couple of my runs dead today.  It seems to me like you could actually handle checking for a failure fairly easily by being able to set how many rounds in a wave you'll allow before considering the run a failure.
For instance, if you're expecting a script to take 3 turns every time, you might specify that any time you have two rounds on a single wave it fail back to manual entry (and ideally trigger a notification sound).  If your script and spam options are a bit more resilient, you might let it run a round or two on each wave, but if it goes over 3 you can assume something went disastrously wrong and it needs manual intervention.
Ideally, I think this would be something you would want to set per wave as well (since you might be face carding an entire wave), likely in the same place you indicate face card and servant priority.


Dedicated website

A GitHub pages website for CocosSharp to increase exposure and more importantly to advertise a clear and publicly visible road-map. Hopefully this should encourage more contributions.

how come this was closed?

See https://github.com/mono/CocosSharp/tree/gh-pages


bug(wmg): respiratory system is empty when filtering by melanocyte

Go here: cellxgene.cziscience.com/gene-expression
Filter by melanocyte using the cell type filter
Observe respiratory system being empty:

Now that we filter out system-level tissues, this bug doesn't seem to exist anymore. Closing this out unless we see this being a problem for other tissue types.


Animated gif for K-Means

show how k-means works iteratively

an interactive plot: https://www.kaggle.com/kmader/how-k-means-works


fix(client): minimal errors

fixes https://github.com/prisma/prisma/issues/12130

Nice catch, thanks. Yes, let's definitely make it required.


Integrate login and signup feature

integrate frontend and backend for login and signup feature
add custom validations and messages to update users on their current status

What the issue now?  Like what needs to be done with it.

@BRAVO68WEB Check pages/_app.js in frontend directory. We need to add user to context as soon as they are authenticated.

Ok Go it

Fixed #62


Preview 7 Blazor ServerSide @Bind VS (value + @onchange)  Type Conversion

Hello!
I open another issue here, since @guardrex recommended so here https://github.com/aspnet/AspNetCore.Docs/issues/13539#issuecomment-516067902
It's related to https://github.com/aspnet/AspNetCore/issues/12690
The issue is that if I use  @bind   inside a custom input component,  while it binds the property with the <input> value,   it doesn't raise any callback for parent components using it be notified.
So @mkArtakMSFT recommended using the (value + @onchange) route,  which is fine...  but then I lose the automatic type conversion that @bind provides....
For example,  if I use @bind , the <input> value (if I use decimal type),  gets formatted with my current computer's number formatting settings..... If I change those settings, the formatting works accordingly.
With the (value + @onchange) way,  I have to provide the type conversion system myself,  is this the way it should work?
Regards!!

@chrdlx There are a couple of doc issues for Pre8 that indicate new functionality in these areas for Pre8. I suppose none of it will work until Pre8, but you could try adding type="number" to your <input> to see if it has any effect.

https://github.com/aspnet/AspNetCore.Docs/issues/13435
https://github.com/aspnet/AspNetCore.Docs/issues/13436

Thanks for contacting us, @chrdlx.
It's not really clear what you are trying to do and what is specifically not working. Can you please provide more context?

Cross-ref to my possible hacky workaround 🙈 (that does work in this scenario) ...
https://github.com/aspnet/AspNetCore.Docs/issues/13539#issuecomment-516202149

Thanks for contacting us, @chrdlx.
It's not really clear what you are trying to do and what is specifically not working. Can you please provide more context?

I'm trying to create a custom input component.. a basic one, like this:
@typeparam T
<div>
    My custom input -->
    <input @bind-value="@val" />
</div>
@code
{
    [Parameter]
    public T val { get; set; }
}

I want to use @bind because it provides/will provide out of the box:
1) Automatic formatting of types depending culture.
2) Custom formats
3) Rollback the typed changes in the input if the format isn't valid.
BUT...  using @bind doesn't have an eventcallback,  so a parent component using my custom input component will never get notified of a property change, thus not updating the required UI.
The given alternative is to use (Value + @onchange),  which is fine, but I couldn't replicate the three features I need from @bind  which I enumerated previously.
That's why in my project, for the moment, I endedup using strings everywhere, and then using Convert when required.
Regards!

If you're trying to duplicate what InputNumbers and others do, then it's probably best to just use those as examples.
Preview7: https://github.com/aspnet/AspNetCore/blob/v3.0.0-preview7.19365.7/src/Components/Components/src/Forms/InputComponents/InputNumber.cs
Preview8: https://github.com/aspnet/AspNetCore/blob/release/3.0-preview8/src/Components/Web/src/Forms/InputNumber.cs


Fix c-ares on Windows "DNS resolution failure" triggered by logging

Fixes https://github.com/grpc/grpc/issues/18074
After initiating a read from a DNS server, we check if WSAGetLastError() == WSA_IO_PENDING, and read asynchronously if so, otherwise we error out. This is broken because between the initial WSA operation and that comparison, we log the WSA error (when error_refcount and/or cares_resolver tracing is on - because of this line and the subsequent one), which has the potential to reset the value of WSAGetLastError() and cause us to incorrectly error out (this is especially probable in C#, because C# uses the gpr_set_log_function so that gpr_log actually wraps a pluggable C# logger).
@jtattermusch for review of C# test - note I've added the test in C# just since the repro was in C# - might also want to have a C test but I'd tend to do that in a follow-up if so to keep this PR smaller (hoping to backport to 1.19).
Example test failure of new test, when fix is removed https://source.cloud.google.com/results/invocations/14c94aca-0972-4002-99fa-74c7a73fe564/targets/github%2Fgrpc%2Fcsharp_windows_dbg_native/tests

basic tests objc mac: https://github.com/grpc/grpc/issues/17851
ios binary size diff: https://github.com/grpc/grpc/issues/17550


pass into locale to usages of getExpression function

Change key of constitutionData to en aligns with i18next country codes
passed in local to getExpressions
refactored getExpression, so if the language key is results to nothing, data by default accesses the english content. (something constitution.json show always have an English key)

@longhotsummer could we chat through this PR when you have capacity?


Unified launcher's boot action gets stuck

Using Bazel 0.11 on Ubuntu 14.04, building //tools/android/emulated_devices/generic_phone:android_24_x86_qemu2 gets stuck at creating android images... and terminates after 5 minutes.
To get to this point, it also requires a manual patch to emulated_device.py to force -no-window if testing with emulator v27.
Full log:
jingwen@testing-ubuntu1404:~/android-testing$ bazel build @android_test_support//tools/android/emulated_devices/generic_ph
one:android_24_x86_qemu2
.....................
INFO: Analysed target @android_test_support//tools/android/emulated_devices/generic_phone:android_24_x86_qemu2 (24 package
s loaded).
INFO: Found 1 target...
ERROR: /home/jingwen/.cache/bazel/_bazel_jingwen/ac19bcc67b1d047b3dd7d09ea2e20b5c/external/android_test_support/tools/andr
oid/emulated_devices/generic_phone/BUILD:43:1: creating android images... failed (Exit 1)
debugfs: rm /lib/hw/hwcomposer.goldfish.so
debugfs: rm /lib/hw/hwcomposer.ranchu.so
debugfs: rm /lib/hw/hwcomposer.goldfish.so
debugfs: rm /lib/hw/hwcomposer.ranchu.so
debugfs: rm /lib/hw/hwcomposer.goldfish.so
debugfs: rm /lib/hw/hwcomposer.ranchu.so
debugfs: rm /lib/hw/hwcomposer.goldfish.so
debugfs: rm /lib/hw/hwcomposer.ranchu.so
If you want to add certificates to the emulator, Please install MCrypt library using sudo apt-get install python-mcrypt .
debugfs 1.42.9 (4-Feb-2014)
rm: File not found by ext2_lookup while trying to resolve filename
rm: File not found by ext2_lookup while trying to resolve filename
8012 blocks
12149 blocks
debugfs 1.42.9 (4-Feb-2014)
rm: File not found by ext2_lookup while trying to resolve filename
rm: File not found by ext2_lookup while trying to resolve filename
8012 blocks
12149 blocks
debugfs 1.42.9 (4-Feb-2014)
rm: File not found by ext2_lookup while trying to resolve filename
rm: File not found by ext2_lookup while trying to resolve filename
8012 blocks
12149 blocks
debugfs 1.42.9 (4-Feb-2014)
rm: File not found by ext2_lookup while trying to resolve filename
rm: File not found by ext2_lookup while trying to resolve filename
8012 blocks
12149 blocks
Traceback (most recent call last):
  File "/home/jingwen/.cache/bazel/_bazel_jingwen/ac19bcc67b1d047b3dd7d09ea2e20b5c/bazel-sandbox/7904738133470682564/execr
oot/__main__/bazel-out/host/bin/external/android_test_support/tools/android/emulator/unified_launcher_head.runfiles/__main
__/../android_test_support/tools/android/emulator/unified_launcher.py", line 1002, in <module>
    app.run()
  File "/home/jingwen/.cache/bazel/_bazel_jingwen/ac19bcc67b1d047b3dd7d09ea2e20b5c/bazel-sandbox/7904738133470682564/execr
oot/__main__/bazel-out/host/bin/external/android_test_support/tools/android/emulator/unified_launcher_head.runfiles/google
_apputils/google/apputils/app.py", line 238, in run
    return _actual_start()
  File "/home/jingwen/.cache/bazel/_bazel_jingwen/ac19bcc67b1d047b3dd7d09ea2e20b5c/bazel-sandbox/7904738133470682564/execr
oot/__main__/bazel-out/host/bin/external/android_test_support/tools/android/emulator/unified_launcher_head.runfiles/google
_apputils/google/apputils/app.py", line 267, in _actual_start
    really_start()
  File "/home/jingwen/.cache/bazel/_bazel_jingwen/ac19bcc67b1d047b3dd7d09ea2e20b5c/bazel-sandbox/7904738133470682564/execr
oot/__main__/bazel-out/host/bin/external/android_test_support/tools/android/emulator/unified_launcher_head.runfiles/google
_apputils/google/apputils/app.py", line 220, in really_start
    sys.exit(main(argv))
  File "/home/jingwen/.cache/bazel/_bazel_jingwen/ac19bcc67b1d047b3dd7d09ea2e20b5c/bazel-sandbox/7904738133470682564/execr
oot/__main__/bazel-out/host/bin/external/android_test_support/tools/android/emulator/unified_launcher_head.runfiles/__main
__/../android_test_support/tools/android/emulator/unified_launcher.py", line 982, in main
    raise e
tools.android.emulator.emulated_device.TransientEmulatorFailure: Could not cleanly shutdown emulator
Target @android_test_support//tools/android/emulated_devices/generic_phone:android_24_x86_qemu2 failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 264.978s, Critical Path: 242.97s```

cc @vsethia

From unified_launcher.log
root      1256  2     0      0     rescuer_th 00000000 S ext4-rsv-conver
root      1262  2     0      0     kauditd_th 00000000 S kauditd
root      1313  1<PHONE_NUMBER>  goldfish_p 080aa68b S /sbin/pipe_traversal
root      1343  1     5612   504   poll_sched b2d64424 S /sbin/adbd
root      1536  1     4880   1356  poll_sched aacd1424 S sh
root      3031  2     0      0     wait_rcu_g 00000000 D kworker/1:2
root      3073  1313  6264   1408           0 a9fbc424 R ps
/data/var/run/netns: Could not be umounted. Error: umount: /data/var/run/netns: Device or resource busy
/data: Could not be umounted. Error: umount: /data: Device or resource busy
Transient failure: Could not cleanly shutdown emulator
Cannot find runfiles (via env vars). Defaulting to $CWD.
Cannot find runfiles (via env vars). Defaulting to $CWD.
Lack of idle data, pretend to be busy.
Lack of idle data, pretend to be busy.
Lack of idle data, pretend to be busy.
Lack of idle data, pretend to be busy.
Some process is still running: USER      PID   PPID  VSIZE  RSS   WCHAN            PC  NAME
root      1     0     8232   1476  SyS_epoll_ b2189424 S /init
root      2     0     0      0       kthreadd 00000000 S kthreadd
root      3     2     0      0     smpboot_th 00000000 S ksoftirqd/0
root      4     2     0      0     worker_thr 00000000 S kworker/0:0
root      5     2     0      0     worker_thr 00000000 S kworker/0:0H
root      6     2     0      0     worker_thr 00000000 S kworker/u4:0
root      7     2     0      0     smpboot_th 00000000 S migration/0
root      8     2     0      0     rcu_gp_kth 00000000 S rcu_preempt
root      9     2     0      0     rcu_gp_kth 00000000 S rcu_bh
root      10    2     0      0     rcu_gp_kth 00000000 S rcu_sched
root      11    2     0      0     smpboot_th 00000000 S migration/1
root      12    2     0      0     smpboot_th 00000000 S ksoftirqd/1
root      13    2     0      0     worker_thr 00000000 S kworker/1:0
root      14    2     0      0     worker_thr 00000000 S kworker/1:0H
root      15    2     0      0     rescuer_th 00000000 S khelper
root      16    2     0      0     rescuer_th 00000000 S netns
root      17    2     0      0     worker_thr 00000000 S kworker/u4:1
root      325   2     0      0     rescuer_th 00000000 S writeback
root      327   2     0      0     rescuer_th 00000000 S bioset
root      329   2     0      0     rescuer_th 00000000 S kblockd
root      423   2     0      0     rescuer_th 00000000 S ata_sff
root      434   2     0      0     hub_thread 00000000 S khubd
root      443   2     0      0     rescuer_th 00000000 S md
root      452   2     0      0     rescuer_th 00000000 S cfg80211
root      453   2     0      0     worker_thr 00000000 S kworker/1:1
root      547   2     0      0     worker_thr 00000000 S kworker/0:1
root      564   2     0      0         kswapd 00000000 S kswapd0
root      632   2     0      0     fsnotify_m 00000000 S fsnotify_mark
root      651   2     0      0     rescuer_th 00000000 S crypto
root      681   2     0      0     worker_thr 00000000 S kworker/u4:2
root      774   2     0      0     rescuer_th 00000000 S iscsi_eh
root      788   2     0      0     scsi_error 00000000 S scsi_eh_0
root      791   2     0      0     scsi_error 00000000 S scsi_eh_1
root      794   2     0      0     worker_thr 00000000 S kworker/u4:3
root      847   2     0      0     rescuer_th 00000000 S uether
root      868   2     0      0     rescuer_th 00000000 S dm_bufio_cache
root      900   2     0      0     rescuer_th 00000000 S binder
root      903   2     0      0     rescuer_th 00000000 S hd-audio0
root      924   2     0      0     rescuer_th 00000000 S deferwq
root      1243  2     0      0     worker_thr 00000000 S kworker/0:1H
root      1244  2     0      0     worker_thr 00000000 S kworker/1:1H
root      1245  2     0      0     kjournald2 00000000 S jbd2/vda-8
root      1247  2     0      0     rescuer_th 00000000 S ext4-rsv-conver
root      1248  2     0      0     kjournald2 00000000 S jbd2/vdb-8
root      1249  2     0      0     rescuer_th 00000000 S ext4-rsv-conver
root      1254  2     0      0     kjournald2 00000000 S jbd2/vdc-8
root      1255  2     0      0     rescuer_th 00000000 S ext4-rsv-conver
root      1261  2     0      0     kauditd_th 00000000 S kauditd
root      1310  1<PHONE_NUMBER>  goldfish_p 080aa68b S /sbin/pipe_traversal
root      1360  1     5612   488   poll_sched b65fc424 S /sbin/adbd
root      1414  2     0      0     worker_thr 00000000 S kworker/1:2
root      1505  1     4880   1360  poll_sched b2ed8424 S sh
root      2015  2     0      0     wait_rcu_g 00000000 D kworker/0:2
root      3066  1310  6264   1412           0 b3cf6424 R ps
/data/var/run/netns: Could not be umounted. Error: umount: /data/var/run/netns: Device or resource busy
/data: Could not be umounted. Error: umount: /data: Device or resource busy
Tried 4 times - failure: Could not cleanly shutdown emulator```

I've stopped running into this issue with emulator v27.1.12.


feat: redux logging with diff

Description
Adds a diff section to the new Redux logging when enabled. Some tidy of the middleware naming.
Requested here
Notice

[x] Have you followed the guidelines in our Contributing guide?
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Pull Request Type

[ ] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[ ] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[x] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)

Risk
Very minimal. Changing existing middleware and tested.

Testing
Loaded wallet connect and dashboard pages as well as dummy transaction.

Screenshots (if applicable)

@afenton90 you're ninja fast. are you in our discord? discord.gg/shapeshift

@0xdef1cafe yeah I'm in the shapeshift discord

hey @afenton90 - i'm going to close this PR for housekeeping but please see my comment above, we'd still like this pretty diff functionality


make extrinsics an independent crate

I wanted to access the types we define in the extrinsics module on their own without accessing functionality of th e api-client itself multiple times already.
I suggest we make it a crate on its own to be able to import it independently.

Will be closes in a slightly different way with #186.
Instead of extracting extrinsics as a whole we do:

extract only compose-macros
move xt_primitives to primitives.


Ammo.js library updates

Ammo.js with Native Bullet Physics contact callbacks (Global Collision Detection)

Thanks!


Add dehoist command.

Originally got the idea from the Vortex bot and thought why not implement this in the pydis bot.
Basically, Vortex's way of doing it makes you provide the character in the command then everyone who is hoisted with that character and above will be dehoisted. I don't know if that's how python discord would want to do it. I was thinking of having more of an automated command that doesn't have any character input and dehoists people with characters from a set list. Here is an example of how vortex has implemented it.

I'm not sure how much we really care about members hoisting themselves up the member list, since you already need to scroll, ~6 pages just to get to normal members.
I don't think a command that will make that many api requests would be worth it for us, since I imagine there are easily >1k users with a symbol in their name.

It would only initially be a problem for the first time the command is run other than that it should be fine. But I understand where you are coming from.

I'll close this issue as I agree with Chris that members hoisting themselves isn't something we're worried about. There will always be people at the top of the online members list, who they are doesn't really matter.


Automated cherry pick of #1569: fix sku PropertyInstanceSpecs

Cherry pick of #1569 on release/2.11.0.
#1569: fix sku PropertyInstanceSpecs

Codecov Report

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

@@               Coverage Diff                @@
##             release/2.11.0   #1762   +/-   ##
================================================
  Coverage                  ?   7.64%
================================================
  Files                     ?     412
  Lines                     ?   63204
  Branches                  ?       0
================================================
  Hits                      ?    4829
  Misses                    ?   57964
  Partials                  ?     411

Flag
Coverage Δ

#aFlag
7.64% <0%> (?)

Impacted Files
Coverage Δ

pkg/compute/models/skus.go
1.55% <0%> (ø)

Continue to review full report at Codecov.

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

/approve
/lgtm


Error on meteor add alanning:roles

I believe there's a bug in the roles init, which is preventing me from using the package, here's a summarised trace:
Error: use "new" to construct a Mongo.Collection
at new Mongo.Collection (packages/mongo/collection.js:29:1)
at [object Object].ns.Collection (packages/matb33:collection-hooks/collection-hooks.js:190:1)
at Roles (packages/alanning:roles/roles_server.js:9:1)
at packages/alanning:roles/roles_server.js:27:1
Meteor.roles = new Meteor.Collection("roles")

Should be:
Meteor.roles = new Mongo.Collection("roles")

I'm using Meteor <IP_ADDRESS>

Thanks for the report.  Can you upload a reproduction to github, please?
I am having trouble reproducing this issue with Meteor <IP_ADDRESS> and <IP_ADDRESS>.

What do you mean by reproduction? I can't share full project code unfortunately, although I'm willing to share pieces if that helps. Basically I got this error right after I installed the package and ran meteor again.

A reproduction in this case would be a minimal Meteor application that has the same issue.  Basically something I can git clone ... and see the issue happening.  Please see this section of the meteor wiki for more details:  https://github.com/meteor/meteor/wiki/Contributing-to-Meteor#reporting-a-bug-in-meteor
The reason this is important is because the issue does not appear to happen with a clean app and adding the roles package.  So there is something that is happening in your actual app that is not in a simple app.  Often-times, just creating the reproduction helps identify where the problem lies (like noticing that it only happens once another package is added or something).

Thanks for the explanation, as you cant tell I'm a bit new to this process. I'll see what I can whip up to replicate the issue.

https://github.com/ianjonesidau/roles_bug_94
Ok, I reproduced it very easily:

meteor create roles_bug_94
meteor add sewdn:collection-behaviours
meteor add alanning:roles
meteor update --release <IP_ADDRESS>

Thanks.  It seems that the problem starts when adding sewdn:collection-behaviours.  If I remove that package, it works.  So the next step is determining why that package causes the error...

Changing the load order of the packages fixes this:
.meteor/packages
meteor-platform
alanning:roles
sewdn:collection-behaviours

I guess collection-behaviours is doing something that causes the built-in aliasing of Meteor.Collection => Mongo.Collection to fail.
We can probably fix this in roles by using the newer syntax Mongo.Collection instead but haven't confirmed.

Yes this is what I was thinking, change the syntax as you mentioned. I'm looking into matb33:collection-hooks to see if I can figure out it's influence here.

Looks like matb33:collection-hooks doesn't cause the same issue so seems to be just sewdn:collection-behaviours (which uses collection-hooks).

sewdn:collection-behaviours refers to Mongo.Collection.prototype = Object.create(constructor.prototype); so I'd imagine this is relevant, although I'm having trouble fully understanding the source (lack of experience).

Yeah, for now I'd just make sure roles is first in your app's package list
file.
On Tue, Mar 24, 2015 at 10:25 AM ianjonesidau<EMAIL_ADDRESS>wrote:

sewdn:collection-behaviours refers to Mongo.Collection.prototype =
Object.create(constructor.prototype); so I'd imagine this is relevant,
although I'm having trouble fully understanding the source (lack of
experience).
—
Reply to this email directly or view it on GitHub
https://github.com/alanning/meteor-roles/issues/94#issuecomment-85520546
.

So you mean literally shift it before, within .meteor/packages ?

Huh, that actually worked... thanks so much!!!


Black-list of deserialized classes need to be implemented

Currently there is no limitations on deserialized classes
Black list with prohibited classes/packages need to be implemented

Is this old? I thought your patch went in already?

Yep
this one super old :)


fix(noirc_errors): Switch update_acir to use for-loop instead of iter

Description
Problem*
Some context here: https://github.com/noir-lang/noir/issues/2645#issuecomment-1714640028
Iterators are lazy in Rust. In update_acir we did not use the iterator for new_locations. This means we are calling mem::take on our location data, but never inserting back into it, thus removing all our runtime location data.
Summary*

Documentation

[ ] This PR requires documentation updates when merged.

[ ] I will submit a noir-lang/docs PR.

[ ] I will request for and support Dev Rel's help in documenting this PR.

Additional Context

PR Checklist*

[X] I have tested the changes locally.
[X] I have formatted the changes with Prettier and/or cargo fmt on default settings.

I've got an existing PR for this here:  https://github.com/noir-lang/noir/pull/2643

@TomAFrench oops I missed that thanks!